mirror of
https://github.com/Respect/Validation.git
synced 2026-03-17 15:50:03 +01:00
After changes in the key-related rules, the KeySet rule became unusable. Besides, when evaluating an input, it wasn't reporting every single failure because it would not validate the items in the array if they had missing or extra keys. This commit will make several improvements to the rule. It will create some not(keyExists($key)) rules for the extra keys, which makes the error reporting much better. A limit of 10 additional keys will show up when asserting an input with extra keys. I put that limit in place to prevent the creation of too many rules. |
||
|---|---|---|
| .. | ||
| rules | ||
| 01-installation.md | ||
| 02-feature-guide.md | ||
| 03-message-translation.md | ||
| 04-message-placeholder-conversion.md | ||
| 05-concrete-api.md | ||
| 06-custom-rules.md | ||
| 07-comparable-values.md | ||
| 08-list-of-rules-by-category.md | ||
| 09-license.md | ||
| index.md | ||