-
Notifications
You must be signed in to change notification settings - Fork 58
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
UIP-2258 Workaround for Dart 1.23 strong mode issue with MapViewMixin #65
UIP-2258 Workaround for Dart 1.23 strong mode issue with MapViewMixin #65
Conversation
RavenNumber of Findings: 0 |
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.
+1
Good catch and comments explaining.
+1 |
Good catch on the 3bfd938. +1 refresh |
+1 |
Codecov Report
@@ Coverage Diff @@
## master #65 +/- ##
=======================================
Coverage 97.69% 97.69%
=======================================
Files 28 28
Lines 1381 1381
=======================================
Hits 1349 1349
Misses 32 32 |
+10 - Dev QAed on |
QA +1
Merging. |
Ultimate problem:
A strong mode change was made in Dart 1.23 that disallows conflicting private members in mixins: dart-lang/sdk#28809.
This was causing issues in w_filing when manually mixing in MapViewMixin/PropsMapViewMixin https://github.com/Workiva/w_filing/blob/1c9a406b59daf3c178d0c69336690c5ce28763f0/lib/src/shared/services/configs/service_props_base.dart#L3
This would have been an issue in over_react if UiProps was in a separate library from these classes.
How it was fixed:
Declare conflicting
_props
getter in common base class.Testing suggestions:
Potential areas of regression:
UiProps class