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

Introduce a ViolationFormatter #734

Merged
merged 3 commits into from
Apr 3, 2014
Merged

Introduce a ViolationFormatter #734

merged 3 commits into from
Apr 3, 2014

Conversation

pyrech
Copy link
Contributor

@pyrech pyrech commented Apr 3, 2014

The feature introduced with #700 is really awesome but the violation message wasn't really nice to output to an API client (and without indicating the name of the failling param). I introduced a new ViolationFormatter to allow the customization of the violation message.

@lsmith77
Copy link
Member

lsmith77 commented Apr 3, 2014

@ClementGautier can you have a look?

@ClementGautier
Copy link
Contributor

Looks good to me.

lsmith77 added a commit that referenced this pull request Apr 3, 2014
@lsmith77 lsmith77 merged commit 36aed72 into FriendsOfSymfony:master Apr 3, 2014
@pyrech pyrech deleted the violation_formatter branch September 18, 2014 14:46
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

Successfully merging this pull request may close these issues.

3 participants