emberjs/data — pull request #2395 by xcambar (2014-10-16 16:38:55+00:00)
Title: Defines raw fixtures getters/setters in FixtureAdapter

This PR is concerned about how one could easily extend the FixtureAdapter.
It is a refactor of FixtureAdapter with the final objective to add the following two new methods:

* `getRawFixturesForType(type)` which is a getter to the raw fixtures (as set in direct return from `type.FIXTURES`)
* `setRawFixturesForType(type, fixtures)` which is the corresponding setter: no check, nothing.

With the new methods, devs (_ie_, "I" :wink: ) will be able to extend more easily the FixtureAdapter.
The main issue with the current implementation of FixtureAdapter is the inconsistent usage of `type.FIXTURES` and `this.fixturesForType(type)`, which is (guts-guessing here) due to the fact that `type.FIXTURES` is a reference and `this.fixturesForType(type)` returns a new array.

My goal for a custom FixtureAdapter is to have a simpler/easier data-representation for fixtures that my non-tchnical colleagues can use to "play" with the apps and fixtures more naturally and not having to dig deep into the relations when adding fixtures (generating data on the fly is also discussed).