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

Support validate (and import) taking in a schema directly #321

Merged
merged 1 commit into from
Jan 2, 2024

Conversation

josephschorr
Copy link
Member

Fixes #287

@jzelinskie
Copy link
Member

Most of the zed commands are "zed noun verb", but validation isn't.

WDYT about adding a "zed schema validate" and creating a new command for zed "zed file validate/import" for zedfiles.

Willing to bikeshed on the names eg "zed yaml validate".

@josephschorr
Copy link
Member Author

I don't really see a reason to break them into two commands: validate should work on both schema and extended files, especially because once authzed/spicedb#1437 is implemented (or some variant thereof), there will likely be no distinction any longer

@josephschorr josephschorr added this pull request to the merge queue Jan 2, 2024
Merged via the queue into authzed:main with commit 3be450c Jan 2, 2024
@josephschorr josephschorr deleted the validate-schema branch January 2, 2024 19:13
@github-actions github-actions bot locked and limited conversation to collaborators Jan 2, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Validate .zaml file should support sourcing schema from a file
3 participants