more miscellaneous fixes while integrating into webapp

This commit is contained in:
Ben Kraft
2021-04-01 15:04:36 -07:00
parent fbf00f3bef
commit 9fe8f09e8c
20 changed files with 44 additions and 31 deletions
+2 -2
View File
@@ -3,7 +3,7 @@ package {{.Config.Package}}
// Code generated by github.com/Khan/genqlient, DO NOT EDIT.
import (
{{- if .Config.ContextType -}}
{{if .Config.ContextType -}}
"{{.Config.ContextPackage}}"
{{end}}
{{- if .ImportJSON -}}
@@ -21,7 +21,7 @@ import (
{{.Doc}}
func {{.Name}}(
{{if $.Config.ContextType -}}
ctx {{$.Config.ContextType}},
ctx {{$.Config.ContextTypeReference}},
{{end}}
{{- if not $.Config.ClientGetter -}}
client graphql.Client,