Versions in this module Expand all Collapse all v0 v0.1.1 May 3, 2024 Changes in this version + func HasPermission() ... + func NewExecutableSchema(cfg Config) graphql.ExecutableSchema + func NewSchema(client *ent.Client) graphql.ExecutableSchema + type CategoryResolver interface + TodosCount func(ctx context.Context, obj *ent.Category) (*int, error) + type ComplexityRoot struct + BillProduct struct{ ... } + Category struct{ ... } + CategoryConfig struct{ ... } + CategoryConnection struct{ ... } + CategoryEdge struct{ ... } + CategoryTypes struct{ ... } + Custom struct{ ... } + Friendship struct{ ... } + FriendshipConnection struct{ ... } + FriendshipEdge struct{ ... } + Group struct{ ... } + GroupConnection struct{ ... } + GroupEdge struct{ ... } + Mutation struct{ ... } + OneToMany struct{ ... } + OneToManyConnection struct{ ... } + OneToManyEdge struct{ ... } + Organization struct{ ... } + PageInfo struct{ ... } + Project struct{ ... } + Query struct{ ... } + Todo struct{ ... } + TodoConnection struct{ ... } + TodoEdge struct{ ... } + User struct{ ... } + UserConnection struct{ ... } + UserEdge struct{ ... } + type Config struct + Complexity ComplexityRoot + Directives DirectiveRoot + Resolvers ResolverRoot + Schema *ast.Schema + 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 NamedNode interface + IsNamedNode func() + 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) + OneToMany func(ctx context.Context, after *entgql.Cursor[int], first *int, ...) (*ent.OneToManyConnection, error) + Ping func(ctx context.Context) (string, error) + Todos func(ctx context.Context, after *entgql.Cursor[int], first *int, ...) (*ent.TodoConnection, error) + TodosWithJoins 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) Category() CategoryResolver + func (r *Resolver) CreateCategoryInput() CreateCategoryInputResolver + func (r *Resolver) Mutation() MutationResolver + func (r *Resolver) Query() QueryResolver + func (r *Resolver) Todo() TodoResolver + func (r *Resolver) TodoWhereInput() TodoWhereInputResolver + type ResolverRoot interface + Category func() CategoryResolver + CreateCategoryInput func() CreateCategoryInputResolver + Mutation func() MutationResolver + Query func() QueryResolver + Todo func() TodoResolver + TodoWhereInput func() TodoWhereInputResolver + type TodoResolver interface + ExtendedField func(ctx context.Context, obj *ent.Todo) (*string, error) + type TodoWhereInputResolver interface + CreatedToday func(ctx context.Context, obj *ent.TodoWhereInput, data *bool) error