-
-
Notifications
You must be signed in to change notification settings - Fork 99
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
Add more test coverage #126
Add more test coverage #126
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Make sense that core validators/helpers use BaseValidator if not use translatedErrorText?
String get translatedErrorText => '';
// coverage:ignore-end
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #126 +/- ##
==========================================
+ Coverage 95.11% 99.20% +4.09%
==========================================
Files 94 95 +1
Lines 1024 1011 -13
==========================================
+ Hits 974 1003 +29
+ Misses 50 8 -42
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
Yes it still makes sense because they use the validate methods and other users can extend them. |
Yeah, but maybe can create a CoreValidator without translatedErrorText and BaseValidator extends this? I don't if this could be work. Ignore a thing that won't be used, I don't see like a good practice |
@deandreamatias I've implemented this now. Can you check and merge? |
0e6f8c3
into
flutter-form-builder-ecosystem:main
Connection with issue(s)
Close #???
Connected to #???
Solution description
Screenshots or Videos
To Do