-
Notifications
You must be signed in to change notification settings - Fork 7
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
CPLAT-7393 Add logic to handle components with mixin(s) #52
Conversation
Security InsightsNo security relevant content was detected by automated scans. Action Items
Questions or Comments? Reach out on Slack: #support-infosec. |
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.
Looks great to me!
+1
+ Add FIXME comment to components that have mixins when the no-partial-upgrades flag is false + Skips the upgrade for components that have mixins when the no-partial-upgrades flag is true + CPLAT-7393 # Conflicts: # lib/src/component2_suggestors/class_name_and_annotation_migrator.dart
f5094d1
to
4213258
Compare
06bc63f
to
3816146
Compare
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
3816146
to
94d1228
Compare
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
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.
+10
input: ''' | ||
/// This is my current documentation comment. | ||
/// | ||
/// As you can see it has more than one line, which is pretty great! |
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
render() {} | ||
} | ||
''', | ||
expectedOutput: ''' |
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
you don't need to include expectedOutput
if it is the same as the input
@Workiva/release-management-p |
Motivation
UIComponent
s with mixins could potentially be mixing in a class that implement component lifecycle methods that are unsupported inComponent2
.Changes
--no-partial-upgrades
flag isfalse
, add a/// FIXME
comment to the component that has one or more mixins.--no-partial-upgrades
flag istrue
, skips the upgrade for the component that has one or more mixins.Release Notes
Add logic to handle components with mixin(s) when upgrading to
UiComponent2
.Review
See CONTRIBUTING.md for more details on review types (+1 / QA +1 / +10) and code review process.
Please review: @greglittlefield-wf @kealjones-wk @sydneyjodon-wk @joebingham-wk
QA Checklist
Merge Checklist
While we perform many automated checks before auto-merging, some manual checks are needed: