Skip to content

fix: apply correct logic to consistency#31

Merged
tanczosm merged 1 commit intoJalexSocial:mainfrom
epbensimpson:fix-consistency
Sep 12, 2025
Merged

fix: apply correct logic to consistency#31
tanczosm merged 1 commit intoJalexSocial:mainfrom
epbensimpson:fix-consistency

Conversation

@epbensimpson
Copy link
Contributor

Fixes #30

  • Adds AtExactSnapshot consistency option
  • Applies the appropriate consistency to the request based on the provided options
  • zedToken is ignored when using AnyFreshness / MustRefresh
  • When zedToken is not provided and AtLeastAsFreshAs or AtExactSnapshot is specified, an exception is thrown

@tanczosm
Copy link
Contributor

Good catch and better logic implementation. Any chance you'd be okay being added as a co-maintainer to this project? I am not using SpiceDb at the moment and the previous project I used it for did not get released. If you have some skin in the game I'd like to keep it going at least.

@tanczosm tanczosm merged commit 5cd8eef into JalexSocial:main Sep 12, 2025
1 check failed
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.

Consistency logic is flawed

2 participants