Documentation ¶
Overview ¶
Package graphutil provides helpers for working with GraphQL/gqlgen. This is heavily inspired by https://gqlgen.com/reference/field-collection/
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetPreloadString ¶
func StringToPtr ¶
Types ¶
type Fields ¶
type Fields struct {
// contains filtered or unexported fields
}
func GetNestedPreloads ¶
func GetNestedPreloads(ctx *graphql.OperationContext, fields []graphql.CollectedField, prefix string) *Fields
func GetPreloads ¶
func (*Fields) ContainsAnyOf ¶
Click to show internal directories.
Click to hide internal directories.