start of wiring for configurable context

This commit is contained in:
Ben Kraft
2021-03-22 19:09:17 -07:00
parent 17a95fd4de
commit 59ca841a6b
19 changed files with 56 additions and 51 deletions
+1 -3
View File
@@ -3,8 +3,6 @@ package test
// Code generated by github.com/Khan/genql, DO NOT EDIT.
import (
"context"
"github.com/Khan/genql/graphql"
)
@@ -22,7 +20,7 @@ func SimpleInputQuery(client *graphql.Client, name string) (*SimpleInputQueryRes
}
var retval SimpleInputQueryResponse
err := client.MakeRequest(context.Background(), `
err := client.MakeRequest(nil, `
query SimpleInputQuery ($name: String!) {
user(query: {name:$name}) {
id