package plugin
import "github.com/99designs/gqlgen/plugin"
Index ¶
- type CodeGenerator
- type ConfigMutator
- type EarlySourceInjector
- type EarlySourcesInjector
- type LateSourceInjector
- type LateSourcesInjector
- type Plugin
- type ResolverImplementer
- type SchemaMutator
Types ¶
type CodeGenerator ¶
type ConfigMutator ¶
type EarlySourceInjector ¶
EarlySourceInjector is used to inject things that are required for user schema files to compile. Deprecated: Use EarlySourcesInjector instead
type EarlySourcesInjector ¶
EarlySourcesInjector is used to inject things that are required for user schema files to compile.
type LateSourceInjector ¶
LateSourceInjector is used to inject more sources, after we have loaded the users schema. Deprecated: Use LateSourcesInjector instead
type LateSourcesInjector ¶
LateSourcesInjector is used to inject more sources, after we have loaded the users schema.
type Plugin ¶
type Plugin interface { Name() string }
type ResolverImplementer ¶
type ResolverImplementer interface { Implement(prevImplementation string, field *codegen.Field) string }
ResolverImplementer is used to generate code inside resolvers
type SchemaMutator ¶
SchemaMutator is used to modify the schema before it is used to generate code Similarly to ConfigMutator that is also triggered before code generation, SchemaMutator can be used to modify the schema even before the models are generated.
Source Files ¶
Directories ¶
- Version
- v0.17.73 (latest)
- Published
- May 2, 2025
- Platform
- linux/amd64
- Imports
- 3 packages
- Last checked
- 6 days ago –
Tools for package owners.