plugin-graphql icon indicating copy to clipboard operation
plugin-graphql copied to clipboard

customQuery aways send plain query

Open GustavoDMS opened this issue 6 years ago • 1 comments

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
  }
}

GustavoDMS avatar Jul 21 '19 22:07 GustavoDMS

How did you configure the connectionQueryMode?

phortx avatar Jul 22 '19 06:07 phortx