-
Notifications
You must be signed in to change notification settings - Fork 16
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
Null safety migration #155
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.
Just some small comments!
|
||
/// Clears the list of [ValidationUtil.warn]ings that have been recorded since | ||
/// [startRecordingValidationWarnings] was first called. | ||
/// | ||
/// > Related: [getValidationWarnings] | ||
void clearValidationWarnings() { | ||
_validationWarnings.clear(); | ||
if (_validationWarnings == null) { | ||
throw StateError('Need to call startRecordingValidationWarnings() first.'); |
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.
We love a helpful error message 😍
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.
- Changes look good
- CI passes
- We'll do more consumer testing before we merge the WIP branch
+10
|
||
setUpAll(() { | ||
nodesBefore = document.body.children.toSet(); | ||
nodesBefore = document.body!.children.toSet(); |
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.
i understand that sure a document might not have a body but given how often that is a case this feels ridiculous lol
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.
lol true
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
Looks like null safe dart to me!
Motivation
Migrate over_react_test to null safety.
Changes
Release Notes
Review
See CONTRIBUTING.md for more details on review types (+1 / QA +1 / +10) and code review process.
Please review:
QA Checklist
Consumer tests pass - ignore for now since over_react needs to be released so we will test them togetherhttps://github.com/Workiva/cerebral-ui/pull/6107https://github.com/Workiva/admin_client/pull/6099https://github.com/Workiva/xbrl-module/pull/5815https://github.com/Workiva/graph_app/pull/69830https://github.com/Workiva/wdesk_sdk/pull/12130https://github.com/Workiva/graph_ui/pull/7638Merge Checklist
While we perform many automated checks before auto-merging, some manual checks are needed: