Closed arogachev closed 1 year ago
Q | A |
---|---|
Is bugfix? | ❌ |
New feature? | ❌ |
Breaks BC? | ✔️ |
Enhanced Validation Error Messages The feedback messages for validation rules "AtLeast" and "OneOf" have been made more meaningful. They now inform users specifically about the number of data fields that should be filled.
Addition of TranslatedAttributesHandlerTrait To improve language flexibility, a trait named 'TranslatedAttributesHandlerTrait' has been introduced. This aids in formatting and translating attribute names.
Improvements in Adding Errors The 'addError' method in the validate functions has been updated. Now, it considers an entire set of attributes rather than a single one. This gives a more accurate picture of the failed validation.
Introduction of a More Robust Error Generation Method The 'getGenericErrorResult' method has been revamped in 'OneOfHandler'. Instead of simply accepting a string message, it now accepts an instance of the 'OneOf' class. This enables more detailed error results.
Updates in Test Cases Textual descriptions in test cases for 'AtLeastTest' and 'OneOfTest' were updated to match the improved validation error messages.
Patch coverage: 97.53%
and project coverage change: +0.10%
:tada:
Comparison is base (
def3a69
) 94.30% compared to head (6dca8ba
) 94.40%. Report is 3 commits behind head on master.:exclamation: Current head 6dca8ba differs from pull request most recent head 3f6345f. Consider uploading reports for the commit 3f6345f to get more accurate results
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
👍