Replies: 1 comment
-
I'd vote to make that a completely semantically different operation. Sounds like a great pull request;) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Currently when a save conflict is detected an exception is raised (if optimistic concurrency is enabled). Maybe we could minimize a conflict situation by adding an option to the merge the conflicted documents into one document and only raise an exception when a conflict is found during merging.
I think this option should have a documentstore default and can be overriden at document level or session level (or during SaveChanges(..) )
Something like this https://github.com/khalidsalomao/SimpleHelpers.Net/blob/master/docs/objectdiffpatch.md or https://github.com/wbish/jsondiffpatch.net could help with function
Beta Was this translation helpful? Give feedback.
All reactions