-
-
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
owner.inject
with model type is broken in beta
#14941
Comments
So using the I'll see if I can keep digging. Just looking at the diff it's hard to not see the |
I'm certain it is related to ember-factory-for feature, but I'm not exactly sure why yet. |
@rwjblue I have some cycles at the moment. If you have any hunches, I'd be happy to investigate further. I could also try to write a failing test. |
Talked with @rwjblue on slack. We agreed this was an ember-data issue and the issue should be moved over there. See: emberjs/data#4807 |
Ember-Release: Working Twiddle
Ember-Beta: Broken Twiddle
It seems that using
owner.inject
targeting amodel
type in an initializer is broken on beta. Example:I have not had the chance to fulling investigate it yet. But it seems that these types of injections do work on other types (controller, component, etc).
The text was updated successfully, but these errors were encountered: