-
Notifications
You must be signed in to change notification settings - Fork 16
AF-1387 Remove dart:mirrors & SerializableModule #113
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
Conversation
Security InsightsNo security relevant content was detected by automated scans. Action Items
Questions or Comments? Reach out on HipChat: InfoSec Forum. |
Why is serializable module being removed? Well, I mean that I see it uses mirrors, but are there no consumers for it at this point? Or do they have an alternative? |
SerializableModule is only used for the mobile viewer https://github.com/search?q=org%3AWorkiva+SerializableModule&type=Code .. I'm spiking out reimplementing that native/dart bridging without reflection in https://github.com/Workiva/w_viewer_mobile/pull/32 and https://github.com/Workiva/w_viewer/pull/528 |
Codecov Report
@@ Coverage Diff @@
## master #113 +/- ##
==========================================
+ Coverage 93.49% 96.16% +2.67%
==========================================
Files 4 3 -1
Lines 369 287 -82
==========================================
- Hits 345 276 -69
+ Misses 24 11 -13 Continue to review full report at Codecov.
|
+1 |
+10
|
QA +1
@Workiva/release-management-pp |
+1 on Max's commits |
Overview
Dart 2 removes dart:mirrors support when compiled to JS. So we're removing usage of dart:mirrors
This is a breaking change since it is a removal of multiple publicly exposed classes.
The only affected consumers are updated. (w_viewer and w_viewer_mobile.)
PRs are https://github.com/Workiva/w_viewer/pull/528 and https://github.com/Workiva/w_viewer_mobile/pull/32
Release plan (remove breaking change risk)
Remove dart:mirrors from product lines + unified (unblock dart 2)