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

Fixed attaching a self-referenced entity to an entity manager #88

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

erestor
Copy link

@erestor erestor commented Nov 15, 2024

Fixes #87

@erestor
Copy link
Author

erestor commented Dec 20, 2024

The second commit is necessary to preserve navigation properties that might have been loaded from the server and are present on the original entity (think 'user.orders') but they're empty on the duplicate.

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.

Entity returned from server is left in a Detached state when it references itself
1 participant