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

don't return tracked objects from the dbContext to avoid clients modifying objects which EF tracks #21

Merged
merged 1 commit into from
Dec 11, 2024

Conversation

hahn-kev
Copy link
Collaborator

in the future we can probably make this more systematic so new apis don't have to think about exposing tracked objects, but this patches the existing holes we have

Copy link
Contributor

@myieye myieye left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice!

@hahn-kev hahn-kev merged commit f400e26 into main Dec 11, 2024
4 checks passed
@hahn-kev hahn-kev deleted the chore/do-not-return-tracked-objects branch December 11, 2024 10:30
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

Successfully merging this pull request may close these issues.

2 participants