-
Notifications
You must be signed in to change notification settings - Fork 43
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
Support running node_interop in null safety mode #90
Conversation
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.
Thanks! LGTM, just a minor comment in pubspec. Please take a look.
Looks like this is breaking the e2e test that invokes |
Build on stable fails because it runs on Dart 2.10.x and we've updated SDK constraint here. The node_interop one seems to be easy to fix, it's just a lint: We may need to look at fixing build_node_compilers first before landing this change... |
This shouldn't block migrating packages that only use |
Dart 2.12 was released as stable this morning, so I'm going to check again to see if we can migrate without waiting on |
These workarounds can be removed after migrating build_node_compilers to nnbd.
Ok, I've worked around all of the breakages. @pulyaevskiy WDYT about releasing this first, then migrating |
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.
LGTM, thanks.
@@ -1,11 +1,14 @@ | |||
targets: | |||
$default: | |||
sources: | |||
- $package$ |
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 сurious - is this a new addition in build package?
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.
Yes, this is a new placeholder added in build_runner
@Awjin sorry for the delay here.
This makes sense to me. Will merge this and publish a new version. Thanks for working on this! |
@pulyaevskiy Thanks for the review and merge! Would you be able to release a new version as well? |
This allows downstream users to start migrating their packages to null safety.