Clearing "lookupFactory was called" deprecations on 1.13.x


I’m currently trying to bring an 1.13.x application to the 2.0 version, and then eventually to the latest 2.5 version.

So, my first step in trying to do so to clear up all the deprecation notices that the application has been putting out, and its going pretty well, but there is one that I’m having trouble figuring out where it came from.

The warning that I got is:

DEPRECATION: `lookupFactory` was called on a Registry. The `initializer` API no longer receives a container, and you should use an `instanceInitializer` to look up objects from the container.

My ember version is:

DEBUG: Ember      : 1.13.13
DEBUG: Ember Data : 1.13.16

What can I do to track out where this deprecation is coming from? From looking around the net, it seems like it is coming from ember-data, but I’ve updated ember-data, and as far as I’m aware, I’m not using any plugins that uses ember-data.


I think this is the way to go now: