You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to getFullMessage which is different from findMessages, but both rely on the iterator implementation.
Actual output
- All of the required rules must pass for { ... }
- name must have a length between 4 and 32
- red must be less than or equal to 255
- green must be greater than or equal to 0
- blue must be of the type integer
Notice how between rule gets the child validation's message instead of its own thus resulting in less clear message and wrong nesting level. Also, I get different results depending on which rules fail, even on different keys in the array.
Expected output
- All of the required rules must pass for { ... }
- name must have a length between 4 and 32
- red must be between 0 and 255
- green must be between 0 and 255
- blue must be of type integer
Now, the issue is over a year old. However, I'm getting the above expected output on master branch - any chance for a patch to 1.1 or a new release soon?
With so many open issues, it's become hard to really know what's really important and what I have fixed already.
I'm closing issues that are too old, and I'm not really looking at them all. If this is still relevant, please comment here and I will reopen this issue.
Is use dot syntax to find the messages I want from the exception, but when the name if the array key is the same as the rule-name, something is wrong.
My code:
This is the result:
The email_email message is wrong, it does not return the "email" message for the "email" field.
But when I change the array key to "example_name" for instance, all is correct.
Output is now correct:
I'm using v1.1.14
The text was updated successfully, but these errors were encountered: