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

Configure DisableNullChecks at query and/or mapper level #238

Closed
k94ll13nn3 opened this issue Dec 2, 2024 · 4 comments · Fixed by #239
Closed

Configure DisableNullChecks at query and/or mapper level #238

k94ll13nn3 opened this issue Dec 2, 2024 · 4 comments · Fixed by #239
Labels
enhancement New feature or request

Comments

@k94ll13nn3
Copy link

Details

Hi, would it be possible to allow the configuration of DisableNullChecks and/or EntityFrameworkCompatibilityLayer in the mapper configuration or when executing the query?
I want to use Gridify in a shared package in our company, but I want to be sure that the configuration stays the same depdending on what configuration the consumers have since what I will be doing requires a specific value for these properties.

@k94ll13nn3 k94ll13nn3 added the enhancement New feature or request label Dec 2, 2024
@alirezanet
Copy link
Owner

Hi @k94ll13nn3,

Unfortunately, this isn't possible at the moment. This issue is related to #179. Currently, these settings can only be used globally. However, I'm planning to release a new version that addresses this problem. The main obstacle is the breaking changes required to implement this feature, as it necessitates changes to the static global configuration class. (we should remove it)

I anticipate that this will be available in the next major version.

@alirezanet
Copy link
Owner

Although ... 🤔
I initially thought it wasn't possible, but after reconsidering, it might be feasible without changing the global configuration implementation. I'll take a closer look and see if we can add this feature sooner.

@k94ll13nn3
Copy link
Author

That was fast, thank you 👍 .

@alirezanet
Copy link
Owner

Yeah, It was easier than I thought so I didn't want to postpone it ...😊 I released v2.16.0 so you can try it now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
2 participants