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
bug #53133 [Validator] Fix using known option names as field names (HypeMC)
This PR was merged into the 5.4 branch.
Discussion
----------
[Validator] Fix using known option names as field names
| Q | A
| ------------- | ---
| Branch? | 5.4
| Bug fix? | yes
| New feature? | no
| Deprecations? | no
| Issues | Fix#52993
| License | MIT
Instead of assuming `$fields` is not the fields array when any of the keys is a known option, let's assume it is the fields array if all keys are known options. Of course, this approach won't work if someone names all their fields after known options, but I don't believe that will actually happen.
Commits
-------
51ec528 [Validator] Fix using known option names as field names
0 commit comments