Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CodegenTemplateData ¶
type ConfigMutateTemplateData ¶
type ConfigMutateTemplateData struct {
NodeImplementors []string
}
type Plugin ¶
type Plugin struct {
// contains filtered or unexported fields
}
func (*Plugin) MutateConfig ¶
MutateConfig will generate stub ID() implementations for any type in the schema that implements the Node interface. This is necessary because gqlgen needs to see that an ID() method exists in order to bind to it, but that binding step happens before gqlgen invokes code generation callbacks, so the real ID() implementations we generate in GenerateCode() below won't exist yet.
Click to show internal directories.
Click to hide internal directories.