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

Experiment with Spec Validation Using Cue #132

Open
adamperlin opened this issue Feb 14, 2024 · 0 comments · May be fixed by #170
Open

Experiment with Spec Validation Using Cue #132

adamperlin opened this issue Feb 14, 2024 · 0 comments · May be fixed by #170
Assignees
Labels
enhancement New feature or request

Comments

@adamperlin
Copy link
Contributor

adamperlin commented Feb 14, 2024

We can model the Dalec Spec in Cue by creating a schema, and then use Cue to programmatically check to make sure that a user's Dalec Spec is correct. This might lead to better error messages and catch spec correctness issues earlier in the build process.

This could also help with issues like #111, as Cue allows for regex/pattern specifications in Schemas. It might also reveal other parts of the spec that need more specification

@adamperlin adamperlin self-assigned this Feb 14, 2024
@adamperlin adamperlin added the enhancement New feature or request label Feb 14, 2024
@adamperlin adamperlin linked a pull request Mar 8, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant