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

Objects being printed in single quote instead of double quote? #46

Open
wsong-fv opened this issue Aug 17, 2020 · 4 comments
Open

Objects being printed in single quote instead of double quote? #46

wsong-fv opened this issue Aug 17, 2020 · 4 comments
Labels
enhancement New feature or request

Comments

@wsong-fv
Copy link

I'm using gql-query-builder with an object that I insert into the query as a variable, however, console.log shows that all the fields in the object are being printed with single and not double quotes, which violates the GraphQL syntax?

@atulmy
Copy link
Owner

atulmy commented Aug 17, 2020

Can you share the link to spec where it mentions double quotes requirement?

@wsong-fv
Copy link
Author

@atulmy
Copy link
Owner

atulmy commented Aug 17, 2020

@Devorein your thoughts on this?

@Devorein
Copy link
Contributor

@atulmy I am extremely sorry for the late reply, been real busy. I'll try to submit a PR resolving this issue.

@atulmy atulmy added the enhancement New feature or request label Sep 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants