structure icon indicating copy to clipboard operation
structure copied to clipboard

Custom validation message

Open kushubham9 opened this issue 7 years ago • 1 comments

When I validate raw data against my defined structure, a generalized failure message is returned. {path,message}

Can I set a custom message for each attribute rule? That would be very helpful in building API responses.

kushubham9 avatar Apr 29 '18 08:04 kushubham9

It seems like an interesting idea, would you be willing to submit a PR for that?

talyssonoc avatar May 03 '18 20:05 talyssonoc