Skip to content
This repository has been archived by the owner on Dec 21, 2019. It is now read-only.

Customizable error message #10

Open
edgarmueller opened this issue Nov 2, 2015 · 2 comments
Open

Customizable error message #10

edgarmueller opened this issue Nov 2, 2015 · 2 comments
Milestone

Comments

@edgarmueller
Copy link
Contributor

The Schema validator error messages should be customizable.

@edgarmueller edgarmueller added this to the Backlog milestone Jun 26, 2016
@kondaurovDev
Copy link

Yes, this would be great. When there is validation error i don't want to see original jsValue because it's too big sometimes

@edgarmueller
Copy link
Contributor Author

The initial motivation for this issue was because of i18n reasons, but we could also think about altering the general error reporting format. So, what you propose is remove the value field, since it gets too big sometimes, is that correct? I guess it would be feasible then too configure the format via the application.conf file? Would that work for you? Likewise, translations could be provided via conf/message.xxx files as described here.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants