Versions in this module Expand all Collapse all v0 v0.0.2 Apr 18, 2024 Changes in this version + const IntrospectionQueryField + var GraphqlContextKey = ContextKey("GRAPHQL_CONTEXT") + var MainDirectiveDefinitionBundle = &directives.DirectiveDefinitionBundle + func Generate(ctx context.Context, name string) error + func PrepareContext(ctx context.Context, gqlgenContext GraphqlContext) context.Context + type ContextKey string + type GraphqlContext struct + ConfigOverrideCallback func(cfg *config.Config) error + CustomDirectivesDefinitions []*ast.DirectiveDefinition + CustomSchemaFiles config.StringList + GeneratedFilePrefix string + GeneratorApiOptions []api.Option + ParentPackageName string + SchemaInjectorHooks []InjectorHook + func GetGraphqlContext(ctx context.Context) (*GraphqlContext, error) + type InjectorHook func(schema *ast.Schema) generator.SchemaHook + type Plugin struct + func NewPlugin(name string, parentPackageName string, generatedFilePrefix string, ...) *Plugin + func (m *Plugin) Implement(field *codegen.Field) string + func (m *Plugin) InjectSourceLate(schema *ast.Schema) *ast.Source + func (m *Plugin) Name() string