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

Filter oneOf, anyOf, and additionalProperties errors #1698

Closed
lucas-koehler opened this issue Feb 18, 2021 · 0 comments · Fixed by #1714
Closed

Filter oneOf, anyOf, and additionalProperties errors #1698

lucas-koehler opened this issue Feb 18, 2021 · 0 comments · Fixed by #1714
Assignees
Labels
Milestone

Comments

@lucas-koehler
Copy link
Contributor

Is your feature request related to a problem? Please describe.
Ajv errors with keywords anyOf, oneOf, and additionalProperties do not have value to show in the UI and can even cause confusion. E.g. an additionalProperties error might be shown on a property within a oneOf because the property doesn't match another, currently not selected schema.

Describe the solution you'd like
In packages/core/src/reducers/core.ts errorsAt errors with the above mentioned keywords should be filtered.

Describe for which setup you like to have the improvement
This is universal as it's part of the core

@lucas-koehler lucas-koehler self-assigned this Feb 18, 2021
@sdirix sdirix added this to the next milestone Mar 11, 2021
@sdirix sdirix linked a pull request Apr 1, 2021 that will close this issue
@sdirix sdirix closed this as completed Apr 1, 2021
@sdirix sdirix modified the milestones: next, 2.5.1 Apr 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants