Versions in this module Expand all Collapse all v0 v0.0.2 Oct 8, 2023 Changes in this version + var ExcludeArgumentFromTypeDirective = directives.InputObjectDirectiveDefinition + var ToObjectType = directives.InputObjectDirectiveDefinition + func AnyFieldListToObjectFieldList(fields ast.FieldList) (ast.FieldList, error) + func AnyFieldToObjectField(field ast.FieldDefinition) (*ast.FieldDefinition, error) + func ArgsToObjectFields(args ast.ArgumentDefinitionList) ast.FieldList + func ArgsToStruct(args ast.ArgumentList, st *T) error + func ToObjectDefinition(def ast.Definition, newName string) *ast.Definition v0.0.1 Sep 14, 2023 Changes in this version + func AppendFieldIfNotExists(fields []*ast.FieldDefinition, field *ast.FieldDefinition) []*ast.FieldDefinition + func ArgsToFields(args ast.ArgumentDefinitionList) ast.FieldList + func DirectiveToType(directive *ast.DirectiveDefinition, pos *ast.Position) *ast.Definition + func FindObjectByResourceName(schema *ast.Schema, name string) *ast.Definition + func GetDefinedObjects(schema *ast.Schema, hasDirectives ...string) map[string]*ast.Definition + func GetResourceDirectiveSingularType(schema *ast.Schema, directive *ast.Directive) (*ast.Type, error) + func IsMutationAction(directive *ast.Directive) bool + func IsQueryAction(directive *ast.Directive) bool + func IsXgenDirectiveDefinition(directive *ast.DirectiveDefinition) bool