Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var InputTypes = []string{"Create", "Update", "Delete"}
Functions ¶
Types ¶
type File ¶
type File struct { // These are separated because the type definition of the resolver object may live in a different file from the //resolver method implementations, for example when extending a type in a different graphql schema file Objects []*codegen.Object Resolvers []*Resolver RemainingSource string // contains filtered or unexported fields }
type Resolver ¶
type Resolver struct { Object *codegen.Object Field *codegen.Field Implementation string IsSingle bool IsList bool IsCreate bool IsUpdate bool IsDelete bool IsBatchCreate bool IsBatchUpdate bool IsBatchDelete bool BoilerWhiteList string ResolveOrganizationID bool ResolveUserOrganizationID bool ResolveUserID bool Model convert.Model InputModel convert.Model }
type ResolverBuild ¶
type Rewriter ¶
type Rewriter struct {
// contains filtered or unexported fields
}
func NewRewriter ¶
func (*Rewriter) ExistingImports ¶
func (*Rewriter) GetMethodBody ¶
func (*Rewriter) MarkStructCopied ¶
func (*Rewriter) RemainingSource ¶
Click to show internal directories.
Click to hide internal directories.