Documentation
¶
Index ¶
- Constants
- func BuildAnnotationIntroHook(schema *ast.Schema, document *ast.SchemaDocument, introValue *map[string]any) error
- func BuildPerObjectIntroHook(schema *ast.Schema, document *ast.SchemaDocument, introValue *map[string]any) error
- func BuildPerResourceIntroHook(schema *ast.Schema, document *ast.SchemaDocument, introValue *map[string]any) error
- func SchemaGeneratorHook(schema *ast.Schema, queryFieldName string, generatedFilePath string, ...) generator.SchemaHook
- type BuilderHook
- type ResolverBuild
Constants ¶
View Source
const AnnotationMapTypeName = "XgenAnnotationMap"
View Source
const ObjectDefinitionName = "XgenObjectDefinition"
View Source
const TypeName = "XgenIntrospection"
Variables ¶
This section is empty.
Functions ¶
func BuildPerObjectIntroHook ¶
func SchemaGeneratorHook ¶
func SchemaGeneratorHook( schema *ast.Schema, queryFieldName string, generatedFilePath string, packageName string, parentPackageName string, introspectionBuildHooks ...BuilderHook) generator.SchemaHook
SchemaGeneratorHook is a hook that creates a new schema based on the original schema
Types ¶
type BuilderHook ¶
type ResolverBuild ¶
Click to show internal directories.
Click to hide internal directories.