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

[Feature Request] Config YAML schema validator #849

Open
hongsw opened this issue Oct 15, 2024 · 1 comment
Open

[Feature Request] Config YAML schema validator #849

hongsw opened this issue Oct 15, 2024 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@hongsw
Copy link
Collaborator

hongsw commented Oct 15, 2024

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

Yes, users can edit YAML freely, but they don't know if it's valid before running the program.

Describe the solution you'd like
A clear and concise description of what you want to happen.

Using JSON Schema, create our YAML and JSON specific config files.
YAML files should be convertible to JSON.

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Ajv (Ajv JSON schema validator)

Additional context
Add any other context or screenshots about the feature request here.

@hongsw hongsw added the enhancement New feature or request label Oct 15, 2024
@hongsw hongsw changed the title [Feature Request] Yaml validator [Feature Request] Config YAML schema validator Oct 15, 2024
@hongsw hongsw self-assigned this Oct 15, 2024
@vkehfdl1 vkehfdl1 self-assigned this Oct 27, 2024
@vkehfdl1
Copy link
Contributor

I think I will be implement this on the library itself.

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

No branches or pull requests

2 participants