Skip to content

Return new instance after incrementing version property on immutables. #2154

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

Closed
meistermeier opened this issue Feb 18, 2021 · 0 comments
Closed
Assignees
Labels
type: bug A general bug

Comments

@meistermeier
Copy link
Collaborator

If an entity is immutable, a new entity created indirectly by the version set does not get returned.
Instead the "old" entity comes back from the called method.

Probably related https://community.neo4j.com/t/sdn6-version/33864

@michael-simons michael-simons added the type: bug A general bug label Feb 18, 2021
@michael-simons michael-simons added this to the 6.0.5 (2020.0.5) milestone Feb 18, 2021
@michael-simons michael-simons changed the title Optimistic locking does not return new instance Return new instance after incrementing version property on immutables. Feb 18, 2021
michael-simons added a commit that referenced this issue Feb 18, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug A general bug
Projects
None yet
Development

No branches or pull requests

2 participants