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

Better error message instead of "array is not unique" #132

Open
MaxMatti opened this issue Sep 29, 2021 · 1 comment
Open

Better error message instead of "array is not unique" #132

MaxMatti opened this issue Sep 29, 2021 · 1 comment

Comments

@MaxMatti
Copy link

Took me about 30 minutes to figure out that the error message that is being generated here refers to the fact that my required field contained an item twice.
Also it's only mentioned in a subError and the error itself is being presented as "No valid results for anyOf".
Please modify this error message to be more concise, thank you.

@vearutop
Copy link
Member

Hi, could you share the error message you got and what you would prefer to see?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants