-
Notifications
You must be signed in to change notification settings - Fork 33
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 support for built-in components added in 3.10 #66
Comments
Thank you for reporting! Yes, I totally agree. We can absolutely allow the new syntax and polyfill it back to curly invocation... |
I started working on this, as I need this myself. Expect a PR soon! :) |
Partially implements ember-polyfills#66
Partially implements ember-polyfills#66
Partially implements ember-polyfills#66
Awesome, thank you! |
Partially implements ember-polyfills#66
Partially implements ember-polyfills#66
Partially implements ember-polyfills#66
Updated the issue description to include a checklist, only one thing left and we can release |
@rwjblue any preference how you would handle warnings vs. assertions? I would tend to this:
Regarding the handling of comments: I guess the most common use case would indeed be the example you have given of customizing template linter rules. So for that case, what does the linter actually see, the original template or the AST after our transformations? In the former case this would work fine I guess, and we don't have to issue a warning at all (for comments), right? |
I guess we should also treat |
👍
Not sure here. Maybe its fine to just ignore? The only example I could come up with where it matters at all is the template linter config example I gave in the other PR, but the template linter looks directly at the template source files on disk (e.g. it doesn't run our AST transforms at all) so it would still be "fine". I think we should probably just do nothing for handlebars comments...
I agree that this has to be the default, but it feels kinda bad to me. Specifically, not being able to reliably do |
Fixes the remaining issue in ember-polyfills#66.
Fixes the remaining issue in ember-polyfills#66.
Fixes the remaining issue in ember-polyfills#66.
I believe this is now completed, can you confirm @simonihmig? |
Will this end up in a release soon? 😉 😉 |
Yes, I think so! Craving for a release as well! 😁 |
Released in v2.0.0! |
@simonihmig I'm pretty sure I know the answer based on empirical testing and glancing at the code, but this does not support splattributes, right? |
<LinkTo>
<Input>
<TextArea>
attributeBindings
issue assertions or warningsThe text was updated successfully, but these errors were encountered: