-
-
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
ember-container-inject-owner - Checklist #12555
Comments
Looks complete to me. Thanks for putting together this list, @rwjblue. |
@dgeb I will attempt docs for this stuff tonight and guides review. I hope that can free you up for some of the more tricky bits. |
@mixonic thanks - you're the best! Ping me if you have questions about the new stuff. |
Feature is enabled by default. I am working on ember-test-helpers updates to make sure this is handled properly. |
Sounds good. I'll tackle the |
FWIW guides have been given a cursory review, though I have not undertaken any long prose about "dynamic lookup" which I think may be the only app-based use case for |
Thanks @mixonic
|
I just published a polyfill that addons can use (https://github.com/rwjblue/ember-getowner-polyfill) pretty easily. |
@tim-evans and I are working on updating ember-test-helpers to provide |
ember-qunit and ember-mocha versions have been released that take advantage of the new feature (checking the |
I took some time to update ember-data in emberjs/data#3912. I'm hoping that those changes can make it into Ember Data 2.2.0 (but Ember Data 2.3.0 would be perfectly fine). |
ember-data PR is merged (checked off above), and liquid-fire PR is submitted (ember-animation/liquid-fire#388). |
@dgeb - Have you begun work on the |
@rwjblue - sorry for the delay - I will try to wrap that up tomorrow |
Added URL to the deprecation in #12604, and the deprecation guide in emberjs/website#2409. |
@mixonic did the initial guide audit (mentioned in #12555 (comment)) and I just created emberjs/guides#982 to track updating the DI page with a few mentions of |
Updated ember-i18n in jamesarosen/ember-i18n#336. |
Implemented fake container injection in #12609 |
Thanks @dgeb, that fix is merged completing the last item on this checklist. Closing (please let me know if I have forgotten something). |
FakeContainer
concept discussed in [FEATURE ember-container-inject-owner]: Injectowner
instead ofcontainer
duringlookup
. #11874. This will help ensure full access to the container is possible, with a complete valid set of deprecations for each method or property accessed. The primary scenario that this affects that does not already have a deprecation is when the factory being instantiated does not have.extend
.getOwner
/setOwner
and functions properly with this feature on or off.getOwner
andsetOwner
functions in API docs. Document getOwner and setOwner #12562this.container
in the guides (because it has been considered private API for ever), but we might want to add some prose to the dependency injection? Nudge toward 'owner' instead of 'container' guides#938, needs another PR to explaingetOwner
usage.this.container
deprecation (added in Add details for ember-contianer-inject-owner feature deprecations. website#2409) (and cross link the deprecation URL (done in [FEATURE ember-container-inject-getowner] Add deprecation URL. #12604)The text was updated successfully, but these errors were encountered: