-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
[Bug] Assertion in link-component
is incorrectly running when using link-to-external
#19459
Comments
@chancancode I think the best way to fix this is to move this assertion check into a method inside |
@hmajoros - Ya, that seems ok to me (I really do want to get rid of |
ember.js PR: #19477 |
Closing issue as both ember & ember-engines fixes have now landed & been backported to 3.24. |
🐞 Describe the Bug
This change was added to provide better boundaries for linking inside/between engines with the
<LinkTo>
component. However,link-to-external
extendslink-component
, and thus this assertion runs on theinit
of anyLinkToExternal
usage. When inside of a routeless engine, there is currently no way to link out, as both<LinkTo>
and<LinkToExternal>
throw this assertion.🔬 Minimal Reproduction
Using
ember-engines
, create a routeless engine & use<LinkToExternal>
inside this routeless engine😕 Actual Behavior
Assertion fails when using link-to-external inside of a routeless engine
🤔 Expected Behavior
routeless engines should allow the usage of link-to-externala
🌍 Environment
➕ Additional Context
The text was updated successfully, but these errors were encountered: