-
Notifications
You must be signed in to change notification settings - Fork 138
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
Add deprecation warning to router service from host #764
Add deprecation warning to router service from host #764
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@villander This is a good start - thank you!
While this PR covers explicit importing of the host's @rwjblue please review when you have a chance. |
@dgeb I added it as well, feel free to review it again ; ) |
@rwjblue could you please review this work? I'd like have your eyes here ; ) |
If as this discussion indicates, the host's I'm confused because this explicitly came up during our last team meeting in which we discussed adding the deprecation to @rwjblue I think it was you who raised the point about automatic injection, so please let me know if I'm misunderstanding something. |
@dgeb - The issue isn't that we auto-inject |
Hmm, I tried checking where Ember registers Can someone confirm? |
@rwjblue Yup, you are right. The |
@rwjblue @bertdeblock thanks for confirming. @villander can you please update this PR to remove the |
Yup @rwjblue @dgeb the Do we want to deprecate the access to @dgeb changes applied, feel free to merge! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @villander - I think this looks good now.
Could you please merge it @dgeb? I have no privilege to do it |
I think we forgot to update |
@bertdeblock good call - this is corrected in #774 |
It creates a deprecation warning to #756 starting the addition of Engine Router Service.
Also, it provides suggestions for how to register the host's router as hostRouter and/or the root router as appRouter.
Deprecations page has been linked - ember-engines/ember-engines.com#111