Skip to content

Conversation

@jsturgis
Copy link

@jsturgis jsturgis commented Feb 12, 2021

This change updates the mount API method to accept a function similar
to how the route API currently works so that engine routes can be defined
in the host application's router.js file.

Some Ember applications utilize in-repo ember-engines strictly for their
lazy loading and code organization features and not for their isolation features.

In this context it makes more sense to define engine routes in the host application's
router.js file.

RFC

This change updates the mount API method to accept a function similar
to how the route API currently works so that engine routes can be defined
in the host application's router.js file.

Some Ember applications utilize in-repo ember-engines strictly for their
lazy loading and code organization features and not for their isolation features.

In this context it makes more sense to define engine routes in the host application's
router.js file.
@jsturgis jsturgis changed the title Change the mount method to accept a function for defining engine routes Change the mount API to accept a function for defining engine routes Feb 12, 2021
@rwjblue rwjblue marked this pull request as draft February 12, 2021 19:38
@kategengler
Copy link
Member

Is this still relevant? It is a draft PR

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.

2 participants