Versions in this module Expand all Collapse all v0 v0.0.2 Nov 9, 2022 Changes in this version + func NewExecutableSchema(cfg Config) graphql.ExecutableSchema + func NewSchema(client *ent.Client) graphql.ExecutableSchema + type ComplexityRoot struct + BillProduct struct{ ... } + Category struct{ ... } + CategoryConfig struct{ ... } + Custom struct{ ... } + Friendship struct{ ... } + FriendshipConnection struct{ ... } + FriendshipEdge struct{ ... } + Group struct{ ... } + GroupConnection struct{ ... } + GroupEdge struct{ ... } + Mutation struct{ ... } + PageInfo struct{ ... } + Query struct{ ... } + Todo struct{ ... } + TodoConnection struct{ ... } + TodoEdge struct{ ... } + User struct{ ... } + UserConnection struct{ ... } + UserEdge struct{ ... } + type Config struct + Complexity ComplexityRoot + Directives DirectiveRoot + Resolvers ResolverRoot + type CreateTodoInputResolver interface + Status func(ctx context.Context, obj *ent.CreateTodoInput, data todo.Status) error + type CreateUserInput struct + FriendIDs []string + GroupIDs []string + Name *string + Password *string + type DirectiveRoot struct + HasPermissions func(ctx context.Context, obj interface{}, next graphql.Resolver, ...) (res interface{}, err error) + type MutationResolver interface + ClearTodos func(ctx context.Context) (int, error) + CreateTodo func(ctx context.Context, input ent.CreateTodoInput) (*ent.Todo, error) + type QueryResolver interface + BillProducts func(ctx context.Context) ([]*ent.BillProduct, error) + Groups func(ctx context.Context, after *ent.Cursor, first *int, before *ent.Cursor, ...) (*ent.GroupConnection, error) + Node func(ctx context.Context, id string) (ent.Noder, error) + Nodes func(ctx context.Context, ids []string) ([]ent.Noder, error) + Ping func(ctx context.Context) (string, error) + Todos func(ctx context.Context, after *ent.Cursor, first *int, before *ent.Cursor, ...) (*ent.TodoConnection, error) + Users func(ctx context.Context, after *ent.Cursor, first *int, before *ent.Cursor, ...) (*ent.UserConnection, error) + type Resolver struct + func (r *Resolver) CreateTodoInput() CreateTodoInputResolver + func (r *Resolver) Mutation() MutationResolver + func (r *Resolver) Query() QueryResolver + func (r *Resolver) Todo() TodoResolver + func (r *Resolver) TodoWhereInput() TodoWhereInputResolver + func (r *Resolver) UpdateTodoInput() UpdateTodoInputResolver + func (r *Resolver) User() UserResolver + type ResolverRoot interface + CreateTodoInput func() CreateTodoInputResolver + Mutation func() MutationResolver + Query func() QueryResolver + Todo func() TodoResolver + TodoWhereInput func() TodoWhereInputResolver + UpdateTodoInput func() UpdateTodoInputResolver + User func() UserResolver + type TodoResolver interface + Status func(ctx context.Context, obj *ent.Todo) (todo.Status, error) + type TodoWhereInputResolver interface + CreatedToday func(ctx context.Context, obj *ent.TodoWhereInput, data *bool) error + Status func(ctx context.Context, obj *ent.TodoWhereInput, data *todo.Status) error + StatusIn func(ctx context.Context, obj *ent.TodoWhereInput, data []todo.Status) error + StatusNeq func(ctx context.Context, obj *ent.TodoWhereInput, data *todo.Status) error + StatusNotIn func(ctx context.Context, obj *ent.TodoWhereInput, data []todo.Status) error + type UpdateTodoInputResolver interface + Status func(ctx context.Context, obj *ent.UpdateTodoInput, data *todo.Status) error + type UpdateUserInput struct + AddFriendIDs []string + AddGroupIDs []string + ClearPassword *bool + Name *string + Password *string + RemoveFriendIDs []string + RemoveGroupIDs []string + type UserResolver interface + Friends func(ctx context.Context, obj *ent.User, after *ent.Cursor, first *int, ...) (*ent.UserConnection, error) + Friendships func(ctx context.Context, obj *ent.User, after *ent.Cursor, first *int, ...) (*ent.FriendshipConnection, error)