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

Add EF IgnoreAutoIncludes support #436

Open
TonEnfer opened this issue Feb 12, 2025 · 1 comment
Open

Add EF IgnoreAutoIncludes support #436

TonEnfer opened this issue Feb 12, 2025 · 1 comment

Comments

@TonEnfer
Copy link

I ran into a situation where 99% of the time I need to include one of the navigation fields, but for some queries it is not required and even hurts the performance and clarity of the code using the loaded entities.
I wanted to disable AutoInclude, but found out that it is not supported at the moment
EF method: https://learn.microsoft.com/ru-ru/dotnet/api/microsoft.entityframeworkcore.entityframeworkqueryableextensions.ignoreautoincludes?view=efcore-9.0

@fiseni
Copy link
Collaborator

fiseni commented Feb 13, 2025

We'll consider adding it in the next version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants