boztek / ember-data-drupal

Ember data support for Drupal 8 CMS (via JSON API module).
MIT License
11 stars 2 forks source link

Page, Sort, and potentially other JSON:API query meathods don't work #7

Open bmx269 opened 7 years ago

bmx269 commented 7 years ago

The default JSON:API spec for allowing page, sort etc are not working. From what I can read, only filter is working.

This should work:

this.store.query('model', {
        page: {
          limit: 2,
        },
        filter: {}
      }),

This should send a request like: /model?page[limit]=2... but is sending model?filter[page][value]=2 instead.

Can the adapter be updated to include all query types?