Skip to content

Add Client interface and tests for prepare#39

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

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

Conversation

@ivanauth
Copy link

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

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