Versions in this module Expand all Collapse all v0 v0.12.1 Aug 11, 2020 Changes in this version + func NewExecutableSchema(cfg Config) graphql.ExecutableSchema + type ComplexityRoot struct + Element struct{ ... } + Query struct{ ... } + User struct{ ... } + Viewer struct{ ... } + type Config struct + Complexity ComplexityRoot + Directives DirectiveRoot + Resolvers ResolverRoot + type CustomError struct + InternalError string + UserMessage string + func (e *CustomError) Error() string + type DirectiveRoot struct + Magic func(ctx context.Context, obj interface{}, next graphql.Resolver, kind *int) (res interface{}, err error) + type ElementResolver interface + Child func(ctx context.Context, obj *models.Element) (*models.Element, error) + Error func(ctx context.Context, obj *models.Element) (bool, error) + Mismatched func(ctx context.Context, obj *models.Element) ([]bool, error) + type QueryResolver interface + Complexity func(ctx context.Context, value int) (bool, error) + Date func(ctx context.Context, filter models.DateFilter) (bool, error) + Error func(ctx context.Context, typeArg *models.ErrorType) (bool, error) + JSONEncoding func(ctx context.Context) (string, error) + Path func(ctx context.Context) ([]*models.Element, error) + Viewer func(ctx context.Context) (*models.Viewer, error) + type Resolver struct + func (r *Resolver) Element() ElementResolver + func (r *Resolver) Query() QueryResolver + func (r *Resolver) User() UserResolver + type ResolverRoot interface + Element func() ElementResolver + Query func() QueryResolver + User func() UserResolver + type UserResolver interface + Likes func(ctx context.Context, obj *remote_api.User) ([]string, error)