-
Notifications
You must be signed in to change notification settings - Fork 210
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
allow the null safe built_* package versions #2967
Conversation
Tests answered the question for me, lol https://github.com/dart-lang/build/pull/2967/checks?check_run_id=1651376388. So the newly generated code is not compatible. I will try the old generated code with the new libs next. |
It looks like the new libs with the old generated code does work - so we can go ahead with that if @davidmorgan promises not to break that compatibility :). |
I'm OK with the approach as long as @davidmorgan is. |
build_daemon/CHANGELOG.md
Outdated
# 2.1.5 | ||
|
||
- Allow the null safe built_collection, built_value, and built_value_generator | ||
packages, and regenerate serialization code with them. |
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.
Update comment?
Yes, old generated code will continue to work with new Thanks. |
I realized that there is a published version of built_value so I am trying CI with that and then I can remove the overrides and land this assuming it is all good. |
Yes, should have mentioned built_value was published. LG, thanks! |
- Removes json_serializable annotations and the entire dependency in some cases - we were already no longer depending on the source generation and the new version has changes that break our CI due to deprecations. - Did not update the `glob` package since we can't support the old and new version - built_value and built_collection were updated separately in #2967
This overrides the deps to point at the git repo since these are not yet published for now.
A few open questions before we land/publish though:
code_builder
? That also uses built_value/built_collection and we also depend on it.