-
Notifications
You must be signed in to change notification settings - Fork 192
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
Backport RFC# 435 #925
Backport RFC# 435 #925
Conversation
3bfb573
to
145793b
Compare
this.registerModifier('bar', Bar); | ||
this.render( | ||
` | ||
{{#with this.foo as |v|}} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I had to change {{#let}}
to {{#with}}
on this test because let
doesn't seem to exist in this version of glimmer. What do you suggest we do here? Leave with
in this branch alone or come up with a single testing approach that works in both branches?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
with is totally fine 👍
Apparently CI doesn't run in PRs to this branch but tests are green locally |
Let’s find out! 😬 |
@chancancode can you release a new version? Alternatively, how can we install a lerna-style monorepo directly from github? |
@chancancode I found out that, very conveniently, there is a On one side it's good news, on the other i'm surprised/worried that the changes in the ordering didn't break anything. |
@cibernox yes! normally the The reason I went with I think this being an alpha build wouldn't really affect you, but if it does let me know. Also, I realized my mistake. I thought the queueing of modifiers is Ember's responsibility (it used to be) but it seems like it has moved into Glimmer, which is probably why the tests are only in Glimmer (I think we should add them to Ember anyway). That also means we should probably try to fix the ordering in Glimmer itself, which may make the whole breaking change problem moot. I'll try to come up with an idea to fix the issue on Glimmer's side. Anyway, in the meantime, you can start working on the Ember PR with the alpha build. We need to add a feature flag, and essentially re-implement the error you used to get in an AST transform on Ember's side, when the feature flag is off. That, and add a bunch of tests in Ember (basically what you added here, and the missing ordering tests). Thank you again! |
Attempt to packport #923 into 0.38