Skip to content

Aligning EnumConstraint error output to use json_encode() #237

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

Merged
merged 1 commit into from
Feb 29, 2016
Merged

Aligning EnumConstraint error output to use json_encode() #237

merged 1 commit into from
Feb 29, 2016

Conversation

tinyroy
Copy link
Contributor

@tinyroy tinyroy commented Feb 27, 2016

json_encode() is also used in FormatConstraint.

Example output
["message"]=>string(70) "Does not have a value in the enumeration ["Abacate","Manga","Pitanga"]"

…displaying objects or arrays in error message.
@bighappyface
Copy link
Collaborator

+1

bighappyface added a commit that referenced this pull request Feb 29, 2016
Aligning EnumConstraint error output to use json_encode()
@bighappyface bighappyface merged commit 5a49ebd into jsonrainbow:master Feb 29, 2016
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.

2 participants