-
Notifications
You must be signed in to change notification settings - Fork 72
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] Rich validation and IDE editor support via rigorous JSON validation #988
Comments
How do you imagine the editor? A simple web gui to visually add feature flags or more to edit the JSON file? I think the former is a better user experience? |
Really the only thing I wanted to do was add a schema and publish it online. If you do that, most IDEs will add basic validation. See the gif from this PR: open-feature/flagd-schemas#120 I've finished the schema with that PR, the only thing to do now is publish it to flagd.dev (that's what I'll use this issue for). |
Schema: https://flagd.dev/schema/v0/flags.json |
@beeme1mr @toddbaert what do you guys think about getting this added to the official JSON Schema Store? Many IDEs pull schemas from there by default, and it would allow (depending on your IDE) schema recognition without having to include I haven't gone through their contributor process before, but from a quick skim of their docs, it looks like they offer options to host in their repo or externally (don't think we'd need to, but just calling it out in case there are any concerns about needing to iterate faster than we think their process would allow): |
hot dog! chalk that one up to a bad regex 🤦🤦🤦 |
NP Austin I'm glad had the idea too... you know what they say about "great minds". |
Requirements
Use a rigorous schema for validation in flagd. See dependency issue for full details.
The text was updated successfully, but these errors were encountered: