I have an ember-cli app where I need to dynamically generate some ember data models based on configuration data that resides in a remote location. I have an initializer which defers application readiness, and fetches the config data via ajax.
Now in an old-school ember app, from that point I would simply generate my DS.Model objects and assign them to the global App ember application instance. However, in an ember-cli I am not sure how to define the models so that they can be found by the rest of the application, since by default ember-cli's resolver generates models and their name based on filename/directory structure.