Skip to content
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

Add adapter to module for model #34

Merged
merged 4 commits into from
Apr 11, 2014
Merged

Add adapter to module for model #34

merged 4 commits into from
Apr 11, 2014

Commits on Apr 8, 2014

  1. Configuration menu
    Copy the full SHA
    a37df1f View commit details
    Browse the repository at this point in the history

Commits on Apr 10, 2014

  1. Configuration menu
    Copy the full SHA
    1c535f8 View commit details
    Browse the repository at this point in the history
  2. Add support for DS._setupContainer when possible

    In emberjs/data#1859 DS._setupContainer was
    introduced to Ember-Data. This allows moduleForModel to use an
    isolatedContainer with all the trimmings of Ember-Data instead of only
    the store, including default serializers and adapters.
    
    Example usage might read like:
    
        var App = Ember.Application.create();
        App.ApplicationAdapter = DS.RESTAdapter.extend();
        App.WhapModel = DS.Model.extend();
    
        moduleForModel('whap', { needs: ['adapter:application'] });
    
    Ember-Data will now discover the application adapter with its regular
    application semantics.
    
    In Ember-Data installations pre-DS._setupContainer, the old behaviors
    (for better or worse, mostly worse) are unchanged.
    
    whoops
    bantic authored and mixonic committed Apr 10, 2014
    Configuration menu
    Copy the full SHA
    11401c3 View commit details
    Browse the repository at this point in the history
  3. Build dist for DS._setupContainer support

    bantic authored and mixonic committed Apr 10, 2014
    Configuration menu
    Copy the full SHA
    664f919 View commit details
    Browse the repository at this point in the history