MetaYaml icon indicating copy to clipboard operation
MetaYaml copied to clipboard

Allow non-scalar values to be validated in Enum

Open dantleech opened this issue 11 years ago • 1 comments

If the user specified an array in an enum choice, then a PHP "Array to string" conversion error was given instead of the expected Exception.

dantleech avatar May 15 '14 17:05 dantleech

Hi,

This looks like a nice addition. Could you please a little test on this one? You just have to add a test method to EnumNodeValidator.

romaricdrigon avatar May 16 '14 07:05 romaricdrigon