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

Adding extra query params breaks GET requests #364

Closed
jamiechong opened this issue Jun 21, 2022 · 0 comments · Fixed by #673
Closed

Adding extra query params breaks GET requests #364

jamiechong opened this issue Jun 21, 2022 · 0 comments · Fixed by #673
Labels

Comments

@jamiechong
Copy link

I have a case where I want to supply custom query params to my GET request. So I supply my url as something like https://my-service.com/graphql?custom_param=test123 - however this fails because under the hood, the lib is doing this:

https://github.com/prisma-labs/graphql-request/blob/10a5896e72bbdc9914b04745b1260409d29618a8/src/index.ts#L184

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

Successfully merging a pull request may close this issue.

2 participants