Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
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 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.