Skip to content
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

Resolver transform fixes #1308

Closed
wants to merge 7 commits into from
Closed

Resolver transform fixes #1308

wants to merge 7 commits into from

Conversation

ef4
Copy link
Contributor

@ef4 ef4 commented Dec 16, 2022

Two Several bug fixes:

  • don't bother trying to do global resolution in strict templates. They don't need it. They are natively doing what embroider works to make traditional templates do.
  • respect existing lexically scoped values passed to templates. Even non-strict templates can have things in lexical scope and those are not subject to global resolving.
  • fix the acceptsComponentArguments packageRule in a case where there are multiple invocations of the same component in the same template where no renaming was required to avoid collisions with the javascript scope.

The lexical scope changes in 2.0 broke the acceptsComponentArguments rule in the case where there were multiple invocations of the same component and there was no need to choose a different name for the lexically scoped value.
@ef4
Copy link
Contributor Author

ef4 commented Dec 18, 2022

This is actually merged but GitHub seems confused.

@ef4 ef4 closed this Dec 18, 2022
ef4 added a commit that referenced this pull request Dec 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant