more miscellaneous fixes while integrating into webapp
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user