-
Notifications
You must be signed in to change notification settings - Fork 0
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
Refactor specialised variants into subclasses #80
base: main
Are you sure you want to change the base?
Conversation
), | ||
].indexed) { | ||
test( | ||
'(${testCase.$1}): ${testCase.$2.test} should be valid between ${testCase.$2.start} - ${testCase.$2.end} when testing inclusive and with included time', |
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.
nit: in for loop I would extract index and test case so we dont have to use $1 and $2 in here.
Also since we are doing breaking change, we can do these fixes from analysis options? avoid-commented-out-code: false # code examples in comments |
DCM report✅ no issues found! Full report: https://github.com/netglade/glade_forms/runs/37468786306 |
bool get hasStringEmptyOrNullErrorKey => any((error) => error.hasStringEmptyOrNullErrorKey); | ||
|
||
bool get hasNullValueOrEmptyValueKey => any((error) => error.hasNullValueOrEmptyValueKey); | ||
|
||
bool hasErrorKey(Object key) => any((error) => error.key == key); | ||
|
||
bool hasOnlySpecificErrorKey(Object key) => every((error) => error.key == key); |
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.
Proč je tady to Key na konci vždy i pro gettery?
No description provided.