Skip to content

provide name for hbs template only components#2581

Merged
RobbieTheWagner merged 4 commits intoemberjs:mainfrom
patricklx:fix-unknown-template-only
Jul 26, 2024
Merged

provide name for hbs template only components#2581
RobbieTheWagner merged 4 commits intoemberjs:mainfrom
patricklx:fix-unknown-template-only

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
@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.

2 participants