-
Notifications
You must be signed in to change notification settings - Fork 32
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
Add disambiguation of helpers (wrapping in round brackets) #504
Comments
So this has been fixed by #509. The problem is that unambiguous helpers do not work in normal Ember! Demo: It only works with Embroider and |
@lolmaus maybe add a flag to ignore this(wrapping in round brackets) because it doesn't really work in a normal application |
this error occurs in versions that are no longer supported, for example 3.28 |
It's probably not good for the codemod to do this at all. The parentheses are only required under certain narrow combinations of ember version, embroider version, and embroider settings. Both before and after you complete migration to embroider they're not needed (at least we think that's true if we address our bugs). |
Maybe there's a separate issue with classic builds not supporting this syntax. If so that is a bug though and we should fix that too. |
We're upgrading an Ember application from 3.4, one LTS at a time. Our ember templates are refusing to compile after applying this codemod since helper expression are getting round brackets. For example: {{partial 'footer'}} is becoming {{(partial 'footer')}} and that's refusing to compile - so being able to turn off this behavior would be helpful to us. In fact, I might try a monkeypatch to do just that and see if that eases our upgrade path. |
No description provided.
The text was updated successfully, but these errors were encountered: