Skip to content

feat: add isExternal argument to simplify ember-engines#20151

Closed
BobrImperator wants to merge 1 commit intoemberjs:mainfrom
BobrImperator:bobrimperator-add-is-external-argument
Closed

feat: add isExternal argument to simplify ember-engines#20151
BobrImperator wants to merge 1 commit intoemberjs:mainfrom
BobrImperator:bobrimperator-add-is-external-argument

Conversation

@BobrImperator
Copy link

  • Adds isExternal argument to LinkTo component
    • based on the flag it disables assertions that are causing Routeless engines to fail, ember-engines internally overrides them.
    • based on the flag, it changes the behavior of namespaceRoute method, so it uses the provided route directly without changing it further - in that case ember-engines is responsible for passing correctly resolved routes.

@SergeAstapov
Copy link
Contributor

@BobrImperator FYI this contradicts the long term and more stable solution proposed in emberjs/rfcs#819

@kategengler
Copy link
Member

Closing since it contradicts the RFC

@BobrImperator BobrImperator deleted the bobrimperator-add-is-external-argument branch December 12, 2023 16:48
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.

3 participants