start of wiring for configurable context
This commit is contained in:
+1
-3
@@ -3,8 +3,6 @@ package test
|
||||
// Code generated by github.com/Khan/genql, DO NOT EDIT.
|
||||
|
||||
import (
|
||||
"context"
|
||||
|
||||
"github.com/Khan/genql/graphql"
|
||||
)
|
||||
|
||||
@@ -23,7 +21,7 @@ type QueryWithStructsUserAuthMethodsAuthMethod struct {
|
||||
|
||||
func QueryWithStructs(client *graphql.Client) (*QueryWithStructsResponse, error) {
|
||||
var retval QueryWithStructsResponse
|
||||
err := client.MakeRequest(context.Background(), `
|
||||
err := client.MakeRequest(nil, `
|
||||
query QueryWithStructs {
|
||||
user {
|
||||
authMethods {
|
||||
|
||||
Reference in New Issue
Block a user