-
Notifications
You must be signed in to change notification settings - Fork 85
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
SerialisationException removes all relevant context information #1235
Comments
An example we just ran in to: if you pass a string instead of a number the server will respond with |
Would any work from us be appreciated on this? If so, any suggestions on how to approach it? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When a client submits data that does not follow the right schema (for instance an array is given where a string is expected) the error returned by the generated client is
SerializationException
with no body. This makes it very hard for clients to see where their data doesn't match the expected pattern. It would be nice if we can give the same kind of feedback as when the data doesn't validate, so give what was given where, and what was expected.The text was updated successfully, but these errors were encountered: