vuex-orm / plugin-graphql

Vuex ORM persistence plugin to sync the store against a GraphQL API.
https://vuex-orm.github.io/plugin-graphql/
MIT License
227 stars 52 forks source link

customQuery aways send plain query #115

Open GustavoDMS opened 5 years ago

GustavoDMS commented 5 years ago

Even configuring the connectionQueryMode option for 'nodes', when I make a customQuery is sent as plain.

Should be:

 query Clients($first: Int!) {
    clients(first: $first) {
        nodes{
            id
            name
            email
            cepCode
            documentNumber
            cellphone
            city
            district
            street
            ufCode
        }
    }
  }

But I get:

query Clients($first: Int!) {
  clients(first: $first) {
    id
    name
    email
    cepCode
    documentNumber
    cellphone
    city
    district
    street
    ufCode
  }
}
phortx commented 5 years ago

How did you configure the connectionQueryMode?