neoremind / fluent-validator

A Java validation framework leveraging fluent interface style and JSR 303 specification
Apache License 2.0
1.02k stars 222 forks source link

Customize error message for `on` method of FluentValidator #17

Closed neoremind closed 6 years ago

neoremind commented 7 years ago

support customized error message on on(target, "there is message") method, so that validator could use default error message through context. This is enhancement feature from github user ganeshpanruti.

coveralls commented 7 years ago

Coverage Status

Coverage decreased (-1.03%) to 81.138% when pulling 758cb75ab82f710a3f6158f2dddd946797cb0f24 on customize-message into 41b08623ed5ab26d349bb25ab6c6bf6eeeb2eaaa on master.

neoremind commented 7 years ago

Hi ganeshpanruti,

Sorry for the delay due to some trivial problems. I have successfully published the patch into new version, you could check it out from maven central with version 1.0.7. I suppose it should be available in 12 hours. Any problems please let me know.

Thanks