Skip to content

Fix query as DocumentNode usage#9

Open
SergeyVolynkin wants to merge 1 commit into
asyarb:masterfrom
SergeyVolynkin:patch-1
Open

Fix query as DocumentNode usage#9
SergeyVolynkin wants to merge 1 commit into
asyarb:masterfrom
SergeyVolynkin:patch-1

Conversation

@SergeyVolynkin

Copy link
Copy Markdown

No description provided.

Comment thread src/index.ts
body: isPostRequest
? JSON.stringify({
query,
query: resolvedQuery,

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi, @asyarb!

Thanks for writing this wrapper.

A quick question, isn't it a bug that we use query and not the resolvedQuery in the body of the request?
e.g. if the query will be DocumentNode the request will error our

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

Successfully merging this pull request may close these issues.

1 participant