-
Notifications
You must be signed in to change notification settings - Fork 14
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 #35
Comments
I've also had the idea of writing unit tests. I think having such a big project with no unit tests is very dangerous. The null-safety migration is a prefect time to do this. I'm thinking about how to organize this... |
Yes it's a good idea 👍 I am also wondering if we could directly work on master branch (we don't have automated publish CI yet) |
@lejard-h Do you think it's better to use a single issue (this one) to track everything and creating an issue for each item on-demand, or to create an issue for every item beforehand and link them to a milestone and this issue? |
I don't know what's the best option. I just wanted to track everything in one place and easy to access. For the change detection strategy fix, I think @dukefirehawk already did it in his current PR. It could be extracted in a dedicated PR to merge on I could link the issue tracking deprecated stuff here so we can start working on it. Then we can follow the list of tasks in the order and if the fix already exist in |
@lejard-h I have commented out most deprecated code but hit a wall with angular 7 methods depending on them. Since I could not find any information on their replacement, I have reverted them. I would suggest not looking at them until we figure out its equivalent replacement. |
@jodinathan And therefore, #47 will be merged into both the |
thanks @GZGavinZhao |
@GZGavinZhao @dukefirehawk shouldn't we merge the |
@jodinathan In my opinion, not yet. It can build, but there are still runtime errors. I think now the first priority is to cherry-pick (if merging is possible, then that's even better) @dukefirehawk's work to the He also wrote a very good CHANGELOG, so we might be able to merge in groups for every list item in the CHANGELOG if the check-per-file method is too tedious. |
About 60% of them are done by @dukefirehawk on the Next stop will be |
Steps to follow
Upgrade observable dependency Observable dependency not null safe #34Now usingchange_notifier
, our own fork ofobservable
.dart migrate
on all source without accepting modification, so it generate// @dart = 2.9
comments everywhere #41Task
Migrate core
Migrate components (After core migration)
Migrate gallery builders (Last)
How to contribute
dev
branchdart migrate
automated migrationcd examples/angular_components_example && dart run build_runner serve web
The text was updated successfully, but these errors were encountered: