Skip to content

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