-
Notifications
You must be signed in to change notification settings - Fork 209
Support @required and $data annotations. #1788
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
Comments
Sorry, I don't have cycles to look into answering questions. If you want an enhancement to this library, can you send a pull request? |
I'm trying to gauge whether it is an existing feature or not first as I couldn't find documentation on the tags and what syntax is supported. Maybe I could have framed the question better but there is no need to be snarky. I framed the question as a yes or no answer I'm not asking you to do my homework. By your response I presume it's no. |
My bad this is working as I wanted as long as |
Awesome. Your issue and question were totally valid btw. I wanted to give you a realistic expectation what I'll be able to do right now as I'll travel after next week. Is required a valid json schema tag? If yes, it might be correct to support it by default. |
Thanks, sorry if I read too much into that it had been a long day and my question was confusing because I had conflated the AJV error as coming from this library which then confused me about what was/wasn't supported. Yeah its a valid tag for The usage of it with I've made a PR to add it here: #1789 with some test cases for the above. |
Uh oh!
There was an error while loading. Please reload this page.
I want to validate that my normalized data structure is correct and that every value in
steps
exists as a key instepDefinitions
:However the
@required
tag is ignored although it is a base keyword in AJV for objects. If I enable it viaextraTags
I then get this error:Is what I'm trying to do possible with this library currently?
The text was updated successfully, but these errors were encountered: