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"
|
||||
)
|
||||
|
||||
@@ -37,7 +35,7 @@ type UsesEnumTwiceQueryResponse struct {
|
||||
|
||||
func UsesEnumTwiceQuery(client *graphql.Client) (*UsesEnumTwiceQueryResponse, error) {
|
||||
var retval UsesEnumTwiceQueryResponse
|
||||
err := client.MakeRequest(context.Background(), `
|
||||
err := client.MakeRequest(nil, `
|
||||
query UsesEnumTwiceQuery {
|
||||
Me: user {
|
||||
roles
|
||||
|
||||
Reference in New Issue
Block a user