Versions in this module Expand all Collapse all v1 v1.0.1 Feb 1, 2023 Changes in this version + func New() plugin.Plugin + type BuildMutateHook = func(b *ModelBuild) *ModelBuild + type Enum struct + Description string + Name string + Values []*EnumValue + type EnumValue struct + Description string + Name string + type Field struct + Description string + GoName string + Name string + Tag string + Type types.Type + func DefaultFieldMutateHook(td *ast.Definition, fd *ast.FieldDefinition, f *Field) (*Field, error) + func GoFieldHook(td *ast.Definition, fd *ast.FieldDefinition, f *Field) (*Field, error) + func GoTagFieldHook(td *ast.Definition, fd *ast.FieldDefinition, f *Field) (*Field, error) + type FieldMutateHook = func(td *ast.Definition, fd *ast.FieldDefinition, f *Field) (*Field, error) + type Interface struct + Description string + Fields []*Field + Implements []string + Name string + type ModelBuild struct + Enums []*Enum + Interfaces []*Interface + Models []*Object + PackageName string + Scalars []string + func DefaultBuildMutateHook(b *ModelBuild) *ModelBuild + type Object struct + Description string + Fields []*Field + Implements []string + Name string + type Plugin struct + FieldHook FieldMutateHook + MutateHook BuildMutateHook + func (m *Plugin) MutateConfig(cfg *config.Config) error + func (m *Plugin) Name() string