Versions in this module Expand all Collapse all v0 v0.4.3 Apr 14, 2022 v0.4.2 Apr 14, 2022 v0.4.1 Apr 13, 2022 v0.4.0 Apr 13, 2022 v0.3.3 Apr 13, 2022 v0.3.2 Apr 13, 2022 v0.3.1 Apr 13, 2022 v0.2.5 Apr 14, 2022 Changes in this version + func NewExecutableSchema(cfg Config) graphql.ExecutableSchema + func NewSchema(client *ent.Client) graphql.ExecutableSchema + type CategoryWhereInput struct + And []*CategoryWhereInput + Config *schematype.CategoryConfig + ConfigGt *schematype.CategoryConfig + ConfigGte *schematype.CategoryConfig + ConfigIn []*schematype.CategoryConfig + ConfigIsNil *bool + ConfigLt *schematype.CategoryConfig + ConfigLte *schematype.CategoryConfig + ConfigNeq *schematype.CategoryConfig + ConfigNotIn []*schematype.CategoryConfig + ConfigNotNil *bool + Count *uint64 + CountGt *uint64 + CountGte *uint64 + CountIn []uint64 + CountIsNil *bool + CountLt *uint64 + CountLte *uint64 + CountNeq *uint64 + CountNotIn []uint64 + CountNotNil *bool + Duration *time.Duration + DurationGt *time.Duration + DurationGte *time.Duration + DurationIn []time.Duration + DurationIsNil *bool + DurationLt *time.Duration + DurationLte *time.Duration + DurationNeq *time.Duration + DurationNotIn []time.Duration + DurationNotNil *bool + HasTodos *bool + HasTodosWith []*TodoWhereInput + ID *int + IDGt *int + IDGte *int + IDIn []int + IDLt *int + IDLte *int + IDNeq *int + IDNotIn []int + Not *CategoryWhereInput + Or []*CategoryWhereInput + Status *category.Status + StatusIn []category.Status + StatusNeq *category.Status + StatusNotIn []category.Status + Text *string + TextContains *string + TextContainsFold *string + TextEqualFold *string + TextGt *string + TextGte *string + TextHasPrefix *string + TextHasSuffix *string + TextIn []string + TextLt *string + TextLte *string + TextNeq *string + TextNotIn []string + UUIDA *uuid.UUID + UUIDAIn []uuid.UUID + UUIDAIsNil *bool + UUIDANotIn []uuid.UUID + UUIDANotNil *bool + UUIDAgt *uuid.UUID + UUIDAgte *uuid.UUID + UUIDAlt *uuid.UUID + UUIDAlte *uuid.UUID + UUIDAneq *uuid.UUID + type ComplexityRoot struct + Category struct{ ... } + CategoryConfig struct{ ... } + CategoryConnection struct{ ... } + CategoryEdge struct{ ... } + MasterUser struct{ ... } + MasterUserConnection struct{ ... } + MasterUserEdge struct{ ... } + Mutation struct{ ... } + PageInfo struct{ ... } + Query struct{ ... } + Todo struct{ ... } + TodoConnection struct{ ... } + TodoEdge struct{ ... } + type Config struct + Complexity ComplexityRoot + Directives DirectiveRoot + Resolvers ResolverRoot + type DirectiveRoot struct + type Entity interface + IsEntity func() + type MasterUserResolver interface + Age func(ctx context.Context, obj *ent.User) (float64, error) + Amount func(ctx context.Context, obj *ent.User) (float64, error) + type MutationResolver interface + ClearTodos func(ctx context.Context) (int, error) + CreateTodo func(ctx context.Context, todo TodoInput) (*ent.Todo, error) + type QueryResolver interface + Node func(ctx context.Context, id int) (ent.Noder, error) + Nodes func(ctx context.Context, ids []int) ([]ent.Noder, error) + Todos func(ctx context.Context, after *ent.Cursor, first *int, before *ent.Cursor, ...) (*ent.TodoConnection, error) + type Resolver struct + func (r *Resolver) MasterUser() MasterUserResolver + func (r *Resolver) Mutation() MutationResolver + func (r *Resolver) Query() QueryResolver + func (r *Resolver) Todo() TodoResolver + type ResolverRoot interface + MasterUser func() MasterUserResolver + Mutation func() MutationResolver + Query func() QueryResolver + Todo func() TodoResolver + type TodoInput struct + CategoryID *int + Parent *int + Priority *int + Status todo.Status + Text string + type TodoResolver interface + Category func(ctx context.Context, obj *ent.Todo) (*ent.Category, error) + type TodoWhereInput struct + And []*TodoWhereInput + CreatedAt *time.Time + CreatedAtGt *time.Time + CreatedAtGte *time.Time + CreatedAtIn []*time.Time + CreatedAtLt *time.Time + CreatedAtLte *time.Time + CreatedAtNeq *time.Time + CreatedAtNotIn []*time.Time + HasChildren *bool + HasChildrenWith []*TodoWhereInput + HasParent *bool + HasParentWith []*TodoWhereInput + ID *int + IDGt *int + IDGte *int + IDIn []int + IDLt *int + IDLte *int + IDNeq *int + IDNotIn []int + Not *TodoWhereInput + Or []*TodoWhereInput + Priority *int + PriorityGt *int + PriorityGte *int + PriorityIn []int + PriorityLt *int + PriorityLte *int + PriorityNeq *int + PriorityNotIn []int + Status *todo.Status + StatusIn []todo.Status + StatusNeq *todo.Status + StatusNotIn []todo.Status + Text *string + TextContains *string + TextContainsFold *string + TextEqualFold *string + TextGt *string + TextGte *string + TextHasPrefix *string + TextHasSuffix *string + TextIn []string + TextLt *string + TextLte *string + TextNeq *string + TextNotIn []string + VisibilityStatus *todo.VisibilityStatus + VisibilityStatusIn []todo.VisibilityStatus + VisibilityStatusNeq *todo.VisibilityStatus + VisibilityStatusNotIn []todo.VisibilityStatus + type UserWhereInput struct + Age *float64 + AgeGt *float64 + AgeGte *float64 + AgeIn []float64 + AgeLt *float64 + AgeLte *float64 + AgeNeq *float64 + AgeNotIn []float64 + Amount *float64 + AmountGt *float64 + AmountGte *float64 + AmountIn []float64 + AmountLt *float64 + AmountLte *float64 + AmountNeq *float64 + AmountNotIn []float64 + And []*UserWhereInput + ID *int + IDGt *int + IDGte *int + IDIn []int + IDLt *int + IDLte *int + IDNeq *int + IDNotIn []int + Not *UserWhereInput + NullableString *string + NullableStringContains *string + NullableStringContainsFold *string + NullableStringEqualFold *string + NullableStringGt *string + NullableStringGte *string + NullableStringHasPrefix *string + NullableStringHasSuffix *string + NullableStringIn []string + NullableStringIsNil *bool + NullableStringLt *string + NullableStringLte *string + NullableStringNeq *string + NullableStringNotIn []string + NullableStringNotNil *bool + Or []*UserWhereInput + Role *role.Role + RoleIn []role.Role + RoleNeq *role.Role + RoleNotIn []role.Role + Username *string + UsernameContains *string + UsernameContainsFold *string + UsernameEqualFold *string + UsernameGt *string + UsernameGte *string + UsernameHasPrefix *string + UsernameHasSuffix *string + UsernameIn []string + UsernameLt *string + UsernameLte *string + UsernameNeq *string + UsernameNotIn []string