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

feat: Add validation command #239

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

gmpinder
Copy link
Member

@gmpinder gmpinder commented Oct 12, 2024

Adds JSON Schema validation for the recipes. This will print out a list of errors encountered when the recipe does not match the schema.

In order to get the schema to validate properly, we had to include the requirement of having source set to local on a locally built module. The validate command will be put under a feature flag until the v0.9 release to prevent breaking user's configs.

@gmpinder gmpinder self-assigned this Oct 12, 2024
@gmpinder gmpinder linked an issue Oct 12, 2024 that may be closed by this pull request
@gmpinder gmpinder force-pushed the 186-feat-incorporate-jsonschema-for-validating-recipe-files branch 11 times, most recently from 5366548 to 23050ad Compare October 14, 2024 01:21
@gmpinder gmpinder force-pushed the 186-feat-incorporate-jsonschema-for-validating-recipe-files branch 4 times, most recently from 925d2e1 to 666df3b Compare October 20, 2024 22:48
@gmpinder gmpinder force-pushed the 186-feat-incorporate-jsonschema-for-validating-recipe-files branch from 666df3b to d3f95a2 Compare October 21, 2024 03:07
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.

feat: Incorporate jsonschema for validating recipe files
1 participant