Skip to content

Add Client interface and tests for prepare#39

Open
ivanauth wants to merge 1 commit into
authzed:mainfrom
ivanauth:fix/thumper-issue-29-add-prepare-tests
Open

Add Client interface and tests for prepare#39
ivanauth wants to merge 1 commit into
authzed:mainfrom
ivanauth:fix/thumper-issue-29-add-prepare-tests

Conversation

@ivanauth

Copy link
Copy Markdown

Adds a Client interface and comprehensive tests for the prepare logic.

  • Introduces Client interface (9 methods) so tests can use a mock instead of a live SpiceDB
  • 35 tests covering parsing, consistency, and all 9 operation types
  • Backward-compatible: *authzed.Client implicitly satisfies the interface

Fixes #29

@ivanauth
ivanauth force-pushed the fix/thumper-issue-29-add-prepare-tests branch from 63a99d2 to 47cb993 Compare July 13, 2026 14:36
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.

Add tests for prepare logic

1 participant