Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enhancement: Introduce the initialization within the library using an ApplicationConfigOptions class #1087

Closed
mikependon opened this issue Sep 17, 2022 · 1 comment
Assignees
Labels
enhancement New feature or request fixed The bug, issue, incident has been fixed.

Comments

@mikependon
Copy link
Owner

mikependon commented Sep 17, 2022

Describe the enhancement

Add a possibility to pass the desired setup values to the application. With this capability, it would enable the user to set the behavior of the library in generalized context.

See below the sample desired code.

RepoDb.ApplicationConfiguration.Setup(new ApplicationConfigurationOptions
{
     ConversionType = ConversionType.Automatic,
     DefaultBatchOperationSize = 30,
     EnumDefaultDatabaseType = EnumDefaultDatabaseType.String,
     PushOperationReturnValue = PushOperationReturnValue.IdentityPrimary,
     ...
});

This method is recommended to only be called during the startup.

@mikependon mikependon added the enhancement New feature or request label Sep 17, 2022
@mikependon mikependon self-assigned this Sep 17, 2022
@mikependon mikependon pinned this issue Sep 20, 2022
@mikependon mikependon changed the title Enhancement: Introduce the Initialization within the library Enhancement: Introduce the initialization within the library using an ApplicationConfigOptions class Sep 20, 2022
mikependon added a commit that referenced this issue Sep 20, 2022
mikependon added a commit that referenced this issue Sep 21, 2022
mikependon added a commit that referenced this issue Sep 21, 2022
mikependon added a commit that referenced this issue Sep 21, 2022
mikependon added a commit that referenced this issue Sep 21, 2022
mikependon added a commit that referenced this issue Sep 21, 2022
mikependon added a commit that referenced this issue Sep 21, 2022
@mikependon mikependon unpinned this issue Sep 21, 2022
@mikependon mikependon added the fixed The bug, issue, incident has been fixed. label Sep 21, 2022
@mikependon
Copy link
Owner Author

The fixes to this will be available on the next version > RepoDB v1.12.10.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request fixed The bug, issue, incident has been fixed.
Projects
None yet
Development

No branches or pull requests

1 participant