Consider using a codemod/helper tool for the library migrations (at least for the future) #3518
Unanswered
Jonas-Sander
asked this question in
Feature request
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I guess this ship has already long sailed, but as someone who is currently doing the migration for ~90k lines of Dart code it would've been nice to have a
codemod
(e.g. seerxdart_codemod
) that at least tries to help to undergo the migration of the plugins.I tried to use search and replace as much as I could, but I had many occasions (unfortunately I haven't written them down exactly) where it wouldn't work. E.g. for Firestore a
.document
call was also made by a cloud-storage package we used - so no search and replace for this case.I know there are probably also some changes where a codemod can't help and a manual change of the code is necessary.
Disclaimer: I haven't used or witten a codemod. I overall mean some form of automated tool, a codemod is just something I already heard of.
Is this something you maybe even already considered?
I'm of course grateful for all your work, I don't want this to come across as negative :)
Beta Was this translation helpful? Give feedback.
All reactions