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

Updates ReflectionBasedDestructurer to destructure IQueryable values to prevent enumeration. #425

Merged
merged 2 commits into from
Nov 5, 2021

Conversation

almostchristian
Copy link

Resolves #100

Updates ReflectionBasedDestructurer to destructure IQueryable values to prevent enumeration.

@almostchristian almostchristian changed the title Resolve #100 Updates ReflectionBasedDestructurer to destructure IQueryable values to prevent enumeration. Nov 1, 2021
@RehanSaeed RehanSaeed merged commit 472b9c9 into RehanSaeed:main Nov 5, 2021
@RehanSaeed RehanSaeed added enhancement Issues describing an enhancement or pull requests adding an enhancement. major Pull requests requiring a major version update according to semantic versioning. labels Nov 5, 2021
@almostchristian almostchristian deleted the destructure-iqueryable branch November 5, 2021 14:48
@sorenlorentzen
Copy link

sorenlorentzen commented Nov 18, 2021

After updating to v8.0.0 I'm seeing weird behaviour when logging DbUpdateExceptions. The Log method simply never returns but keeps one of my CPU cores pinned at 100%.
The issue with Maximum destructuring depth is solved though and the exception is logged before the application locks up

Everything works as expected if I downgrade to v 7.1.0 and install the ef core specific package with version 5.7.0. (I'm still on EF Core 3.1)

@krajek
Copy link
Collaborator

krajek commented Nov 19, 2021

@sorenlorentzen thanks a lot for the report. Could you use a profiler to identify what is taking 100% CPU?

@sorenlorentzen
Copy link

I sure can. Would you like me to open a new issue or is it fine to just keep the discussion here?

@krajek
Copy link
Collaborator

krajek commented Nov 19, 2021

I guess new issue is cleaner, but do as you like.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Issues describing an enhancement or pull requests adding an enhancement. major Pull requests requiring a major version update according to semantic versioning.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Destructuring EntityFramework's DbUpdateException causes DB Queries
4 participants