Versions in this module Expand all Collapse all v0 v0.8.0 Nov 20, 2022 Changes in this version + func NewExecutableSchema(cfg Config) graphql.ExecutableSchema + type AddCommentOperationResolver interface + Author func(ctx context.Context, obj *bug.AddCommentOperation) (models.IdentityWrapper, error) + Date func(ctx context.Context, obj *bug.AddCommentOperation) (*time.Time, error) + type AddCommentTimelineItemResolver interface + Author func(ctx context.Context, obj *bug.AddCommentTimelineItem) (models.IdentityWrapper, error) + CreatedAt func(ctx context.Context, obj *bug.AddCommentTimelineItem) (*time.Time, error) + ID func(ctx context.Context, obj *bug.AddCommentTimelineItem) (entity.CombinedId, error) + LastEdit func(ctx context.Context, obj *bug.AddCommentTimelineItem) (*time.Time, error) + type BugResolver interface + Actors func(ctx context.Context, obj models.BugWrapper, after *string, before *string, ...) (*models.IdentityConnection, error) + Comments func(ctx context.Context, obj models.BugWrapper, after *string, before *string, ...) (*models.CommentConnection, error) + HumanID func(ctx context.Context, obj models.BugWrapper) (string, error) + Operations func(ctx context.Context, obj models.BugWrapper, after *string, before *string, ...) (*models.OperationConnection, error) + Participants func(ctx context.Context, obj models.BugWrapper, after *string, before *string, ...) (*models.IdentityConnection, error) + Timeline func(ctx context.Context, obj models.BugWrapper, after *string, before *string, ...) (*models.TimelineItemConnection, error) + type ColorResolver interface + B func(ctx context.Context, obj *color.RGBA) (int, error) + G func(ctx context.Context, obj *color.RGBA) (int, error) + R func(ctx context.Context, obj *color.RGBA) (int, error) + type CommentHistoryStepResolver interface + Date func(ctx context.Context, obj *bug.CommentHistoryStep) (*time.Time, error) + type CommentResolver interface + Author func(ctx context.Context, obj *bug.Comment) (models.IdentityWrapper, error) + ID func(ctx context.Context, obj *bug.Comment) (entity.CombinedId, error) + type ComplexityRoot struct + AddCommentAndCloseBugPayload struct{ ... } + AddCommentAndReopenBugPayload struct{ ... } + AddCommentOperation struct{ ... } + AddCommentPayload struct{ ... } + AddCommentTimelineItem struct{ ... } + Bug struct{ ... } + BugConnection struct{ ... } + BugEdge struct{ ... } + ChangeLabelPayload struct{ ... } + CloseBugPayload struct{ ... } + Color struct{ ... } + Comment struct{ ... } + CommentConnection struct{ ... } + CommentEdge struct{ ... } + CommentHistoryStep struct{ ... } + CreateOperation struct{ ... } + CreateTimelineItem struct{ ... } + EditCommentOperation struct{ ... } + EditCommentPayload struct{ ... } + Identity struct{ ... } + IdentityConnection struct{ ... } + IdentityEdge struct{ ... } + Label struct{ ... } + LabelChangeOperation struct{ ... } + LabelChangeResult struct{ ... } + LabelChangeTimelineItem struct{ ... } + LabelConnection struct{ ... } + LabelEdge struct{ ... } + Mutation struct{ ... } + NewBugPayload struct{ ... } + OpenBugPayload struct{ ... } + OperationConnection struct{ ... } + OperationEdge struct{ ... } + PageInfo struct{ ... } + Query struct{ ... } + Repository struct{ ... } + SetStatusOperation struct{ ... } + SetStatusTimelineItem struct{ ... } + SetTitleOperation struct{ ... } + SetTitlePayload struct{ ... } + SetTitleTimelineItem struct{ ... } + TimelineItemConnection struct{ ... } + TimelineItemEdge struct{ ... } + type Config struct + Complexity ComplexityRoot + Directives DirectiveRoot + Resolvers ResolverRoot + type CreateOperationResolver interface + Author func(ctx context.Context, obj *bug.CreateOperation) (models.IdentityWrapper, error) + Date func(ctx context.Context, obj *bug.CreateOperation) (*time.Time, error) + type CreateTimelineItemResolver interface + Author func(ctx context.Context, obj *bug.CreateTimelineItem) (models.IdentityWrapper, error) + CreatedAt func(ctx context.Context, obj *bug.CreateTimelineItem) (*time.Time, error) + ID func(ctx context.Context, obj *bug.CreateTimelineItem) (entity.CombinedId, error) + LastEdit func(ctx context.Context, obj *bug.CreateTimelineItem) (*time.Time, error) + type DirectiveRoot struct + type EditCommentOperationResolver interface + Author func(ctx context.Context, obj *bug.EditCommentOperation) (models.IdentityWrapper, error) + Date func(ctx context.Context, obj *bug.EditCommentOperation) (*time.Time, error) + Target func(ctx context.Context, obj *bug.EditCommentOperation) (string, error) + type IdentityResolver interface + HumanID func(ctx context.Context, obj models.IdentityWrapper) (string, error) + type LabelChangeOperationResolver interface + Author func(ctx context.Context, obj *bug.LabelChangeOperation) (models.IdentityWrapper, error) + Date func(ctx context.Context, obj *bug.LabelChangeOperation) (*time.Time, error) + type LabelChangeTimelineItemResolver interface + Author func(ctx context.Context, obj *bug.LabelChangeTimelineItem) (models.IdentityWrapper, error) + Date func(ctx context.Context, obj *bug.LabelChangeTimelineItem) (*time.Time, error) + ID func(ctx context.Context, obj *bug.LabelChangeTimelineItem) (entity.CombinedId, error) + type LabelResolver interface + Color func(ctx context.Context, obj *bug.Label) (*color.RGBA, error) + Name func(ctx context.Context, obj *bug.Label) (string, error) + type MutationResolver interface + AddComment func(ctx context.Context, input models.AddCommentInput) (*models.AddCommentPayload, error) + AddCommentAndClose func(ctx context.Context, input models.AddCommentAndCloseBugInput) (*models.AddCommentAndCloseBugPayload, error) + AddCommentAndReopen func(ctx context.Context, input models.AddCommentAndReopenBugInput) (*models.AddCommentAndReopenBugPayload, error) + ChangeLabels func(ctx context.Context, input *models.ChangeLabelInput) (*models.ChangeLabelPayload, error) + CloseBug func(ctx context.Context, input models.CloseBugInput) (*models.CloseBugPayload, error) + EditComment func(ctx context.Context, input models.EditCommentInput) (*models.EditCommentPayload, error) + NewBug func(ctx context.Context, input models.NewBugInput) (*models.NewBugPayload, error) + OpenBug func(ctx context.Context, input models.OpenBugInput) (*models.OpenBugPayload, error) + SetTitle func(ctx context.Context, input models.SetTitleInput) (*models.SetTitlePayload, error) + type QueryResolver interface + Repository func(ctx context.Context, ref *string) (*models.Repository, error) + type RepositoryResolver interface + AllBugs func(ctx context.Context, obj *models.Repository, after *string, before *string, ...) (*models.BugConnection, error) + AllIdentities func(ctx context.Context, obj *models.Repository, after *string, before *string, ...) (*models.IdentityConnection, error) + Bug func(ctx context.Context, obj *models.Repository, prefix string) (models.BugWrapper, error) + Identity func(ctx context.Context, obj *models.Repository, prefix string) (models.IdentityWrapper, error) + Name func(ctx context.Context, obj *models.Repository) (*string, error) + UserIdentity func(ctx context.Context, obj *models.Repository) (models.IdentityWrapper, error) + ValidLabels func(ctx context.Context, obj *models.Repository, after *string, before *string, ...) (*models.LabelConnection, error) + type ResolverRoot interface + AddCommentOperation func() AddCommentOperationResolver + AddCommentTimelineItem func() AddCommentTimelineItemResolver + Bug func() BugResolver + Color func() ColorResolver + Comment func() CommentResolver + CommentHistoryStep func() CommentHistoryStepResolver + CreateOperation func() CreateOperationResolver + CreateTimelineItem func() CreateTimelineItemResolver + EditCommentOperation func() EditCommentOperationResolver + Identity func() IdentityResolver + Label func() LabelResolver + LabelChangeOperation func() LabelChangeOperationResolver + LabelChangeTimelineItem func() LabelChangeTimelineItemResolver + Mutation func() MutationResolver + Query func() QueryResolver + Repository func() RepositoryResolver + SetStatusOperation func() SetStatusOperationResolver + SetStatusTimelineItem func() SetStatusTimelineItemResolver + SetTitleOperation func() SetTitleOperationResolver + SetTitleTimelineItem func() SetTitleTimelineItemResolver + type SetStatusOperationResolver interface + Author func(ctx context.Context, obj *bug.SetStatusOperation) (models.IdentityWrapper, error) + Date func(ctx context.Context, obj *bug.SetStatusOperation) (*time.Time, error) + type SetStatusTimelineItemResolver interface + Author func(ctx context.Context, obj *bug.SetStatusTimelineItem) (models.IdentityWrapper, error) + Date func(ctx context.Context, obj *bug.SetStatusTimelineItem) (*time.Time, error) + ID func(ctx context.Context, obj *bug.SetStatusTimelineItem) (entity.CombinedId, error) + type SetTitleOperationResolver interface + Author func(ctx context.Context, obj *bug.SetTitleOperation) (models.IdentityWrapper, error) + Date func(ctx context.Context, obj *bug.SetTitleOperation) (*time.Time, error) + type SetTitleTimelineItemResolver interface + Author func(ctx context.Context, obj *bug.SetTitleTimelineItem) (models.IdentityWrapper, error) + Date func(ctx context.Context, obj *bug.SetTitleTimelineItem) (*time.Time, error) + ID func(ctx context.Context, obj *bug.SetTitleTimelineItem) (entity.CombinedId, error)