You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Context:
currently, the library when validating an input against a schema and when an error occurred it returns schema error contains scheme filed where the error happens or input is invalid, under some circumstance, this is still not a piece of useful information to exactly know what happened behind the scene.
Pain:
Inappropriate error message returned when input matches more than "oneof" scheme.
Goal:
return a different error to distinguish input match more than oneof schemas (conflict) from input does not match oneof schemas.
Got: Error at "/address": Doesn't match schema "oneOf"
Expected: Error at "/address": Conflict input match all oneof schemas"
Context:
currently, the library when validating an input against a schema and when an error occurred it returns schema error contains scheme filed where the error happens or input is invalid, under some circumstance, this is still not a piece of useful information to exactly know what happened behind the scene.
Pain:
Inappropriate error message returned when input matches more than "oneof" scheme.
Goal:
return a different error to distinguish input match more than oneof schemas (conflict) from input does not match oneof schemas.
Got:
Error at "/address": Doesn't match schema "oneOf"
Expected:
Error at "/address": Conflict input match all oneof schemas"
Reproduce:
Note:
Suggested Solution:
The text was updated successfully, but these errors were encountered: