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

provide name for hbs template only components #2581

Merged
merged 4 commits into from
Jul 26, 2024

Conversation

patricklx
Copy link
Collaborator

@patricklx patricklx commented Jun 28, 2024

for template only components coming from .hbs files we can know the name by using the moduleName.

this is when gjs/gts files import hbs template only components. Or also when references via js. e.g <this.MyTemplateOnlyComponent />

@patricklx patricklx changed the title provide name for template only components provide name for hbs template only components Jun 28, 2024
@RobbieTheWagner
Copy link
Member

RobbieTheWagner commented Jul 1, 2024

Seems logical. We need to get beta and canary passing though. It would also be good to add a test case for this.

@patricklx
Copy link
Collaborator Author

canary & beta are failing because we cannot patch glimmer vm anymore to add the tracked inspection...
I suggest we just ignore those for now until we have glimmerjs/glimmer-vm#1489

@RobbieTheWagner
Copy link
Member

@patricklx can you please rebase this so we can skip that test?

@RobbieTheWagner RobbieTheWagner merged commit 0967c3f into emberjs:main Jul 26, 2024
14 checks passed
@github-actions github-actions bot mentioned this pull request Jul 26, 2024
@patricklx patricklx deleted the fix-unknown-template-only branch July 26, 2024 11:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants