Skip to content

docs: add promisified client example#279

Open
ivanauth wants to merge 1 commit into
authzed:mainfrom
ivanauth:fix/issue-60-add-an-example-using-the-promisified-cli
Open

docs: add promisified client example#279
ivanauth wants to merge 1 commit into
authzed:mainfrom
ivanauth:fix/issue-60-add-an-example-using-the-promisified-cli

Conversation

@ivanauth

@ivanauth ivanauth commented Jul 16, 2026

Copy link
Copy Markdown
Contributor

Closes #60.

Adds examples/v1/example-promises.js demonstrating the .promises client: write schema, write relationship, check permission, and a stream-returning lookupResources that resolves to an array — closing the client in a finally.

Signed-off-by: ivanauth <ivan@authzed.com>
@ivanauth
ivanauth requested a review from a team as a code owner July 16, 2026 17: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 an example using the promisified client

1 participant