Versions in this module Expand all Collapse all v0 v0.0.2 Apr 13, 2023 v0.0.1 Apr 13, 2023 Changes in this version + func HasPermission() ... + func NewExecutableSchema(cfg Config) graphql.ExecutableSchema + func NewSchema(client *ent.Client) graphql.ExecutableSchema + type ComplexityRoot struct + BillProduct struct{ ... } + Category struct{ ... } + CategoryConfig struct{ ... } + CategoryConnection struct{ ... } + CategoryEdge 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 CreateCategoryInputResolver interface + CreateTodos func(ctx context.Context, obj *ent.CreateCategoryInput, data []*ent.CreateTodoInput) error + 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) + CreateCategory func(ctx context.Context, input ent.CreateCategoryInput) (*ent.Category, error) + CreateTodo func(ctx context.Context, input ent.CreateTodoInput) (*ent.Todo, error) + UpdateFriendship func(ctx context.Context, id int, input ent.UpdateFriendshipInput) (*ent.Friendship, error) + UpdateTodo func(ctx context.Context, id int, input ent.UpdateTodoInput) (*ent.Todo, error) + type QueryResolver interface + BillProducts func(ctx context.Context) ([]*ent.BillProduct, error) + Categories func(ctx context.Context, after *entgql.Cursor[int], first *int, ...) (*ent.CategoryConnection, error) + Groups func(ctx context.Context, after *entgql.Cursor[int], first *int, ...) (*ent.GroupConnection, error) + Node func(ctx context.Context, id int) (ent.Noder, error) + Nodes func(ctx context.Context, ids []int) ([]ent.Noder, error) + Ping func(ctx context.Context) (string, error) + Todos func(ctx context.Context, after *entgql.Cursor[int], first *int, ...) (*ent.TodoConnection, error) + Users func(ctx context.Context, after *entgql.Cursor[int], first *int, ...) (*ent.UserConnection, error) + type Resolver struct + func (r *Resolver) CreateCategoryInput() CreateCategoryInputResolver + func (r *Resolver) Mutation() MutationResolver + func (r *Resolver) Query() QueryResolver + func (r *Resolver) TodoWhereInput() TodoWhereInputResolver + type ResolverRoot interface + CreateCategoryInput func() CreateCategoryInputResolver + Mutation func() MutationResolver + Query func() QueryResolver + TodoWhereInput func() TodoWhereInputResolver + type TodoWhereInputResolver interface + CreatedToday func(ctx context.Context, obj *ent.TodoWhereInput, data *bool) error