Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CodeGenerator ¶
type ConfigMutator ¶
type EarlySourceInjector ¶ added in v0.11.0
EarlySourceInjector is used to inject things that are required for user schema files to compile. Deprecated: Use EarlySourcesInjector instead
type EarlySourcesInjector ¶ added in v0.17.50
EarlySourcesInjector is used to inject things that are required for user schema files to compile.
type LateSourceInjector ¶ added in v0.11.0
LateSourceInjector is used to inject more sources, after we have loaded the users schema. Deprecated: Use LateSourcesInjector instead
type LateSourcesInjector ¶ added in v0.17.50
LateSourcesInjector is used to inject more sources, after we have loaded the users schema.
type ResolverImplementer ¶ added in v0.17.25
type ResolverImplementer interface {
Implement(prevImplementation string, field *codegen.Field) string
}
ResolverImplementer is used to generate code inside resolvers
type SchemaMutator ¶ added in v0.17.67
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.