I’ve been using [@bs.deriving abstract]
getters without the get
suffix. After upgrading to bs-platform@4
I get thousands of warnings due to lack of usage of the get
suffix for getters. Does bs-platform
provide some codemod to avoid going manually changing all of these thousand out-of-date references?
BuckleScript: How to update code to conform to latest bs-platform
mciparelli
#1
rrdelaney
#2
It doesn’t, which is really unfortunate. Luckily they’re thinking about adding a flag to rollback the change to the old way: https://github.com/BuckleScript/bucklescript/issues/2992
Until then, maybe just don’t upgrade It sucks that the change broke you without a good way to upgrade.
mciparelli
#3
Thanks for the fast response. I like how the community is taking care of these issues, so I guess I’ll just move on anyway.