Skip to content

Show validation errors #178

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

Closed
srgkm opened this issue Jan 17, 2020 · 3 comments
Closed

Show validation errors #178

srgkm opened this issue Jan 17, 2020 · 3 comments

Comments

@srgkm
Copy link

srgkm commented Jan 17, 2020

Is it possible to show validation errors for body? At the moment I've get to general exception with no detail about concrete property.

Schema.validate has "TODO: pass validation errors" :) What is the easiest way to patch this?

Thanks

@p1c2u
Copy link
Collaborator

p1c2u commented Jan 21, 2020

Hi @srgkm
it's already done in master. You can try it.

@playpauseandstop
Copy link

@p1c2u

Thanks for fixing this in master!

I ran into similar issue of not having enough data about multiple validation errors, when for example several, not one, required fields is missing, and glad that soon I'll be able to get all schema errors, not the only first one.

@p1c2u
Copy link
Collaborator

p1c2u commented Feb 3, 2020

Duplicate of #160 hence closing

@p1c2u p1c2u closed this as completed Feb 3, 2020
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

3 participants