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

Supporting sending extensions with gqlgen client #1630

Closed
schafle opened this issue Sep 22, 2021 · 1 comment
Closed

Supporting sending extensions with gqlgen client #1630

schafle opened this issue Sep 22, 2021 · 1 comment

Comments

@schafle
Copy link
Contributor

schafle commented Sep 22, 2021

What happened?

I am using gqlgen client for my tests and wanted to write tests for APQ. But gqlgen client doesn't support sending extensions in the request

gqlgen/client/client.go

Lines 29 to 34 in 2f6919f

Request struct {
Query string `json:"query"`
Variables map[string]interface{} `json:"variables,omitempty"`
OperationName string `json:"operationName,omitempty"`
HTTP *http.Request `json:"-"`
}

What did you expect?

It should be possible to send extensions in the request with gqlgen client

Minimal graphql.schema and models to reproduce

NA

versions

  • gqlgen version 0.12.2
  • go version? NA
  • dep or go modules? NA
@schafle
Copy link
Contributor Author

schafle commented May 27, 2023

Done with #1633. Closing the issue.

@schafle schafle closed this as completed May 27, 2023
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

1 participant