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

Add example of multiple file validation with zed validate #29

Merged
merged 3 commits into from
Jan 22, 2025
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Elaborate readme
tstirrat15 committed Jan 22, 2025

Verified

This commit was signed with the committer’s verified signature.
commit 4f7fd4a1290243c2e13ea8be23caceef22a56ab0
3 changes: 3 additions & 0 deletions schemas/multiple-validation-files/README.md
Original file line number Diff line number Diff line change
@@ -11,3 +11,6 @@ zed validate validations/*
```

in this folder will validate the schema and run all validations in all schema files.

Note the use of `schemaFile: ` in the validation files - this allows the validation file to
reference the schema without the schema needing to be inline.