-
-
Notifications
You must be signed in to change notification settings - Fork 112
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
no (or more than one) schemas match - not detailed enough #82
Comments
Hi, does anyone know the status of this issue? I get the same response. |
i agree that this should be better. this was the easiest way to implement it when i originally did it. if anyone wants to do a pr to fix this let me know |
I'll be happy to. Can you shortly explain the validate and error methods so I understand what should be changed there?
|
@mattanbi basically what that snippet does it that goes through all the schemas defined by the |
Good, thanks. Can you point out how I get the errors (that are currently ignored, as you say)? Because when I debug the validate method doesn't return anything. |
I am also facing same issue and tried something to fix it. Here is the pr |
Given the following schema:
i get the following validation error:
i would expect to get the following or something similar which is much more useful:
this will allow me to show the user that either ( username and password ) or (provider) are missing.
The text was updated successfully, but these errors were encountered: