When encountering code where the computed namespace has been imported rather than the individual methods (e.g. computed.equal), the codemod outputs the following error:
Transform not supported - value has modifiers like 'property' or 'meta'
Presumably, it thinks computed.equal is the same thing as computed().volatile() or computed().meta(), and thus is erroring out instead of codemodding the file. Changing uses of the computed namespace to their equivalent imports is an existing workaround, but we should fix the codemod bug instead of requiring people to work around it!
When encountering code where the computed namespace has been imported rather than the individual methods (e.g.
computed.equal), the codemod outputs the following error:Presumably, it thinks
computed.equalis the same thing ascomputed().volatile()orcomputed().meta(), and thus is erroring out instead of codemodding the file. Changing uses of thecomputednamespace to their equivalent imports is an existing workaround, but we should fix the codemod bug instead of requiring people to work around it!