mirror of
https://github.com/atulmy/gql-query-builder.git
synced 2026-04-25 23:55:55 +03:00
[GH-ISSUE #46] Objects being printed in single quote instead of double quote? #120
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/gql-query-builder#120
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @wsong-fv on GitHub (Aug 17, 2020).
Original GitHub issue: https://github.com/atulmy/gql-query-builder/issues/46
I'm using gql-query-builder with an object that I insert into the query as a variable, however,
console.logshows that all the fields in the object are being printed with single and not double quotes, which violates the GraphQL syntax?@atulmy commented on GitHub (Aug 17, 2020):
Can you share the link to spec where it mentions double quotes requirement?
@wsong-fv commented on GitHub (Aug 17, 2020):
https://spec.graphql.org/June2018/#sec-String-Value
@atulmy commented on GitHub (Aug 17, 2020):
@Devorein your thoughts on this?
@Devorein commented on GitHub (Sep 24, 2020):
@atulmy I am extremely sorry for the late reply, been real busy. I'll try to submit a PR resolving this issue.