Skip to content

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

@bmx269

Description

@bmx269

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions