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

Added Optimistic Concurrency handling #84

Merged
merged 14 commits into from
Sep 29, 2024
Merged

Conversation

oskardudycz
Copy link
Contributor

@oskardudycz oskardudycz commented Sep 27, 2024

Fixes #52

Added implementation of conventional-based _version and expectedVersion handling.

As it's a bigint type, I had to also add JSONSerializer with custom bigint handling.
WARNING: Now, all numeric strings will be deserialised as bigint type.

TODO:

  • Add custom documents code to enable custom field (de)serialisation,
  • Upsert handling for update or explicit upsert function

@oskardudycz oskardudycz force-pushed the optimistic_concurrency branch from 04d6dd5 to b9b1e59 Compare September 27, 2024 13:12
@oskardudycz oskardudycz force-pushed the optimistic_concurrency branch from 3a5ed9f to a103912 Compare September 27, 2024 16:10
@oskardudycz oskardudycz force-pushed the optimistic_concurrency branch from d5df41f to ef69dee Compare September 28, 2024 08:49
@oskardudycz oskardudycz force-pushed the optimistic_concurrency branch 3 times, most recently from 8b71550 to 618efa3 Compare September 29, 2024 08:31
@oskardudycz oskardudycz force-pushed the optimistic_concurrency branch from 618efa3 to 4b10770 Compare September 29, 2024 08:33
@oskardudycz oskardudycz force-pushed the optimistic_concurrency branch from 73d36fd to 7a0d757 Compare September 29, 2024 09:07
@oskardudycz oskardudycz force-pushed the optimistic_concurrency branch from ae25ec5 to b333a2a Compare September 29, 2024 12:27
@oskardudycz oskardudycz added the enhancement New feature or request label Sep 29, 2024
@oskardudycz oskardudycz added this to the 0.15.0 milestone Sep 29, 2024
@oskardudycz oskardudycz merged commit ca81e7f into main Sep 29, 2024
1 check passed
@oskardudycz oskardudycz deleted the optimistic_concurrency branch September 29, 2024 15:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add optimistic concurrency
1 participant