We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The README says:
Note: The contains and dependencies validators are still in development, and do not yet work correctly.
I tried using dependentRequired, before reading the full README, but indeed it didn't work. 🤦
dependentRequired
Do you have an idea when development on dependencies validators will be complete?
The text was updated successfully, but these errors were encountered:
Should hopefully be available in the next release.
Sorry, something went wrong.
Do you have an idea when the next release will be?
BTW, I was able to use oneOf to partially get around the lack of dependencies this way:
oneOf
"oneOf": [ { "properties": { "fieldA": { "const": "value1" } }, "required": ["field1"] }, { "properties": { "fieldA": { "const": "value2" } }, "required": ["field2"] }, { "properties": { "fieldA": { "const": "value3" } }, "required": ["field3"] }, { "properties": { "fieldA": { "const": "value4" } } } ],
It's a little bit hacky, given that when value4 is selected nothing happens. It just provides a matching placeholder.
value4
No branches or pull requests
The README says:
I tried using
dependentRequired
, before reading the full README, but indeed it didn't work. 🤦Do you have an idea when development on dependencies validators will be complete?
The text was updated successfully, but these errors were encountered: