Documentation
¶
Overview ¶
Package bulkgen provides a gqlgen plugin to generate bulk resolver functions used for mutations
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type BulkResolverBuild ¶
type BulkResolverBuild struct {
// Objects is a list of objects to generate bulk resolvers for
Objects []Object
}
BulkResolverBuild is a struct to hold the objects for the bulk resolver
type Object ¶
type Object struct {
// Name of the object
Name string
// PluralName of the object
PluralName string
}
Object is a struct to hold the object name for the bulk resolver
type Plugin ¶
type Plugin struct{}
Plugin is a gqlgen plugin to generate bulk resolver functions used for mutations
func (*Plugin) GenerateCode ¶
GenerateCode generates the bulk resolver code
Click to show internal directories.
Click to hide internal directories.