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

customQuery aways send plain query #115

Open
GustavoDMS opened this issue Jul 21, 2019 · 1 comment
Open

customQuery aways send plain query #115

GustavoDMS opened this issue Jul 21, 2019 · 1 comment

Comments

@GustavoDMS
Copy link

GustavoDMS commented Jul 21, 2019

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 GustavoDMS changed the title customQuery aways send play query customQuery aways send plain query Jul 21, 2019
@phortx
Copy link
Collaborator

phortx commented Jul 22, 2019

How did you configure the connectionQueryMode?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants