I’m currently using Ember App Kit on a client project and really enjoying the environment. Javascript build tools are what they are but Stefan Penner and crew have done a phenomenal job at making them not suck. I am ever so grateful.

Application needs vary of course, but mine delivers 85% of its data up front in one big payload. It’s safe for me to assume in production that this data will be there when the app is run, and data that isn’t will be fetched as needed via the RESTAdapter. In development and testing however, I’m using the FixtureAdapter which unfortunately doesn’t autoload non-async relationships defined in the model, even though the fixture data is there. I needed this data to behave in development and testing as it would in production. Fortunately, I stumbled upon a blog post over at Amalgamated Magic.

Below, I’ve made their solution work for Ember App Kit. I believe there are plans to make EAK’s resolver better at loading initializers for you, but for now this works.