-
Notifications
You must be signed in to change notification settings - Fork 56
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(binder): convert property paths in arrays to dot notation #3157
fix(binder): convert property paths in arrays to dot notation #3157
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #3157 +/- ##
=======================================
Coverage 92.65% 92.65%
=======================================
Files 85 85
Lines 3187 3187
Branches 778 778
=======================================
Hits 2953 2953
Misses 182 182
Partials 52 52
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
…correctly-with-array-form-binding
…correctly-with-array-form-binding
Quality Gate passedIssues Measures |
Convert to dot notation on the fly Co-authored-by: Anton Platonov <[email protected]>
… (CP: 24.6) (#3163) fix(binder): convert property paths in arrays to dot notation (#3157) Convert to dot notation on the fly Co-authored-by: Luciano Vernaschi <[email protected]> Co-authored-by: Anton Platonov <[email protected]>
As the square bracket array syntax comes directly from Java valdiation, I preferred not to touch at the generated exception messages.
Instead, the binder now converts the notation on the fly when parsing the error message, so that it will work in the form.
Fixes #3099