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

[Suggestion] Validation error messages #4

Open
romanoff opened this issue Sep 20, 2017 · 1 comment
Open

[Suggestion] Validation error messages #4

romanoff opened this issue Sep 20, 2017 · 1 comment

Comments

@romanoff
Copy link

My understanding is that at the moment this extension allows you to get answer if validation failed or succeeded. But would be great if you could also error messages. Possible format:

{"name": ["is required"]}

Not sure about exact format, but that would definitely be useful in some cases (my use-case is trying to process http request in postgres function. And this would provide validation messages )

@gavinwahl
Copy link
Owner

I agree, it would be nice to have this. My application doesn't need it because I validate in the application as well, and the check constraint is just for integrity.

It seems pretty hard to implement so I didn't do it, but I would accept a patch that did.

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