aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Muré <batolettre@gmail.com>2022-02-15 19:57:26 +0100
committerMichael Muré <batolettre@gmail.com>2022-02-15 19:57:26 +0100
commit9ed515fd546a6ed5e82b2b87d12f0241727d3f89 (patch)
treefdf45c882b3e8a32f4ff62e30a634b2bdd77d872
parent05d73e1b5321c97cd05133b5ae49d1798bc2fe5d (diff)
downloadgit-bug-9ed515fd546a6ed5e82b2b87d12f0241727d3f89.tar.gz
update gqlgen
-rw-r--r--api/graphql/graph/gen_graph.go4227
-rw-r--r--doc/man/git-bug-add.120
-rw-r--r--doc/man/git-bug-bridge-auth-add-token.122
-rw-r--r--doc/man/git-bug-bridge-auth-rm.110
-rw-r--r--doc/man/git-bug-bridge-auth-show.110
-rw-r--r--doc/man/git-bug-bridge-auth.110
-rw-r--r--doc/man/git-bug-bridge-configure.172
-rw-r--r--doc/man/git-bug-bridge-pull.114
-rw-r--r--doc/man/git-bug-bridge-push.110
-rw-r--r--doc/man/git-bug-bridge-rm.110
-rw-r--r--doc/man/git-bug-bridge.110
-rw-r--r--doc/man/git-bug-commands.112
-rw-r--r--doc/man/git-bug-comment-add.118
-rw-r--r--doc/man/git-bug-comment-edit.118
-rw-r--r--doc/man/git-bug-comment.110
-rw-r--r--doc/man/git-bug-deselect.110
-rw-r--r--doc/man/git-bug-label-add.110
-rw-r--r--doc/man/git-bug-label-rm.110
-rw-r--r--doc/man/git-bug-label.110
-rw-r--r--doc/man/git-bug-ls-id.112
-rw-r--r--doc/man/git-bug-ls-label.112
-rw-r--r--doc/man/git-bug-ls.142
-rw-r--r--doc/man/git-bug-pull.110
-rw-r--r--doc/man/git-bug-push.110
-rw-r--r--doc/man/git-bug-rm.110
-rw-r--r--doc/man/git-bug-select.110
-rw-r--r--doc/man/git-bug-show.116
-rw-r--r--doc/man/git-bug-status-close.110
-rw-r--r--doc/man/git-bug-status-open.110
-rw-r--r--doc/man/git-bug-status.110
-rw-r--r--doc/man/git-bug-termui.110
-rw-r--r--doc/man/git-bug-title-edit.114
-rw-r--r--doc/man/git-bug-title.110
-rw-r--r--doc/man/git-bug-user-adopt.110
-rw-r--r--doc/man/git-bug-user-create.118
-rw-r--r--doc/man/git-bug-user-ls.112
-rw-r--r--doc/man/git-bug-user.112
-rw-r--r--doc/man/git-bug-version.118
-rw-r--r--doc/man/git-bug-webui.126
-rw-r--r--doc/man/git-bug.116
-rw-r--r--go.mod5
-rw-r--r--go.sum45
-rw-r--r--misc/bash_completion/git-bug47
-rw-r--r--misc/fish_completion/git-bug178
-rw-r--r--misc/powershell_completion/git-bug38
-rw-r--r--misc/zsh_completion/git-bug54
46 files changed, 3422 insertions, 1756 deletions
diff --git a/api/graphql/graph/gen_graph.go b/api/graphql/graph/gen_graph.go
index b94effed..468635f6 100644
--- a/api/graphql/graph/gen_graph.go
+++ b/api/graphql/graph/gen_graph.go
@@ -18,8 +18,8 @@ import (
"github.com/MichaelMure/git-bug/api/graphql/models"
"github.com/MichaelMure/git-bug/bug"
"github.com/MichaelMure/git-bug/repository"
- "github.com/vektah/gqlparser"
- "github.com/vektah/gqlparser/ast"
+ gqlparser "github.com/vektah/gqlparser/v2"
+ "github.com/vektah/gqlparser/v2/ast"
)
// region ************************** generated!.gotpl **************************
@@ -1959,7 +1959,7 @@ func (ec *executionContext) introspectType(name string) (*introspection.Type, er
}
var sources = []*ast.Source{
- &ast.Source{Name: "schema/bug.graphql", Input: `"""Represents a comment on a bug."""
+ {Name: "schema/bug.graphql", Input: `"""Represents a comment on a bug."""
type Comment implements Authored {
"""The author of this comment."""
author: Identity!
@@ -2078,7 +2078,7 @@ type BugEdge {
node: Bug!
}
`, BuiltIn: false},
- &ast.Source{Name: "schema/identity.graphql", Input: `"""Represents an identity"""
+ {Name: "schema/identity.graphql", Input: `"""Represents an identity"""
type Identity {
"""The identifier for this identity"""
id: String!
@@ -2110,7 +2110,7 @@ type IdentityEdge {
cursor: String!
node: Identity!
}`, BuiltIn: false},
- &ast.Source{Name: "schema/label.graphql", Input: `"""Label for a bug."""
+ {Name: "schema/label.graphql", Input: `"""Label for a bug."""
type Label {
"""The name of the label."""
name: String!
@@ -2129,7 +2129,7 @@ type LabelEdge {
cursor: String!
node: Label!
}`, BuiltIn: false},
- &ast.Source{Name: "schema/mutations.graphql", Input: `input NewBugInput {
+ {Name: "schema/mutations.graphql", Input: `input NewBugInput {
"""A unique identifier for the client performing the mutation."""
clientMutationId: String
"""The name of the repository. If not set, the default repository is used."""
@@ -2340,7 +2340,7 @@ type SetTitlePayload {
operation: SetTitleOperation!
}
`, BuiltIn: false},
- &ast.Source{Name: "schema/operations.graphql", Input: `"""An operation applied to a bug."""
+ {Name: "schema/operations.graphql", Input: `"""An operation applied to a bug."""
interface Operation {
"""The identifier of the operation"""
id: String!
@@ -2441,7 +2441,7 @@ type LabelChangeOperation implements Operation & Authored {
removed: [Label!]!
}
`, BuiltIn: false},
- &ast.Source{Name: "schema/repository.graphql", Input: `
+ {Name: "schema/repository.graphql", Input: `
type Repository {
"""The name of the repository"""
name: String
@@ -2492,7 +2492,7 @@ type Repository {
): LabelConnection!
}
`, BuiltIn: false},
- &ast.Source{Name: "schema/root.graphql", Input: `type Query {
+ {Name: "schema/root.graphql", Input: `type Query {
"""Access a repository by reference/name. If no ref is given, the default repository is returned if any."""
repository(ref: String): Repository
}
@@ -2518,7 +2518,7 @@ type Mutation {
setTitle(input: SetTitleInput!): SetTitlePayload!
}
`, BuiltIn: false},
- &ast.Source{Name: "schema/timeline.graphql", Input: `"""An item in the timeline of events"""
+ {Name: "schema/timeline.graphql", Input: `"""An item in the timeline of events"""
interface TimelineItem {
"""The identifier of the source operation"""
id: String!
@@ -2605,7 +2605,7 @@ type SetTitleTimelineItem implements TimelineItem & Authored {
was: String!
}
`, BuiltIn: false},
- &ast.Source{Name: "schema/types.graphql", Input: `scalar Time
+ {Name: "schema/types.graphql", Input: `scalar Time
scalar Hash
"""Defines a color by red, green and blue components."""
@@ -2648,6 +2648,7 @@ func (ec *executionContext) field_Bug_actors_args(ctx context.Context, rawArgs m
args := map[string]interface{}{}
var arg0 *string
if tmp, ok := rawArgs["after"]; ok {
+ ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("after"))
arg0, err = ec.unmarshalOString2ᚖstring(ctx, tmp)
if err != nil {
return nil, err
@@ -2656,6 +2657,7 @@ func (ec *executionContext) field_Bug_actors_args(ctx context.Context, rawArgs m
args["after"] = arg0
var arg1 *string
if tmp, ok := rawArgs["before"]; ok {
+ ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("before"))
arg1, err = ec.unmarshalOString2ᚖstring(ctx, tmp)
if err != nil {
return nil, err
@@ -2664,6 +2666,7 @@ func (ec *executionContext) field_Bug_actors_args(ctx context.Context, rawArgs m
args["before"] = arg1
var arg2 *int
if tmp, ok := rawArgs["first"]; ok {
+ ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("first"))
arg2, err = ec.unmarshalOInt2ᚖint(ctx, tmp)
if err != nil {
return nil, err
@@ -2672,6 +2675,7 @@ func (ec *executionContext) field_Bug_actors_args(ctx context.Context, rawArgs m
args["first"] = arg2
var arg3 *int
if tmp, ok := rawArgs["last"]; ok {
+ ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("last"))
arg3, err = ec.unmarshalOInt2ᚖint(ctx, tmp)
if err != nil {
return nil, err
@@ -2686,6 +2690,7 @@ func (ec *executionContext) field_Bug_comments_args(ctx context.Context, rawArgs
args := map[string]interface{}{}
var arg0 *string
if tmp, ok := rawArgs["after"]; ok {
+ ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("after"))
arg0, err = ec.unmarshalOString2ᚖstring(ctx, tmp)
if err != nil {
return nil, err
@@ -2694,6 +2699,7 @@ func (ec *executionContext) field_Bug_comments_args(ctx context.Context, rawArgs
args["after"] = arg0
var arg1 *string
if tmp, ok := rawArgs["before"]; ok {
+ ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("before"))
arg1, err = ec.unmarshalOString2ᚖstring(ctx, tmp)
if err != nil {
return nil, err
@@ -2702,6 +2708,7 @@ func (ec *executionContext) field_Bug_comments_args(ctx context.Context, rawArgs
args["before"] = arg1
var arg2 *int
if tmp, ok := rawArgs["first"]; ok {
+ ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("first"))
arg2, err = ec.unmarshalOInt2ᚖint(ctx, tmp)
if err != nil {
return nil, err
@@ -2710,6 +2717,7 @@ func (ec *executionContext) field_Bug_comments_args(ctx context.Context, rawArgs
args["first"] = arg2
var arg3 *int
if tmp, ok := rawArgs["last"]; ok {
+ ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("last"))
arg3, err = ec.unmarshalOInt2ᚖint(ctx, tmp)
if err != nil {
return nil, err
@@ -2724,6 +2732,7 @@ func (ec *executionContext) field_Bug_operations_args(ctx context.Context, rawAr
args := map[string]interface{}{}
var arg0 *string
if tmp, ok := rawArgs["after"]; ok {
+ ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("after"))
arg0, err = ec.unmarshalOString2ᚖstring(ctx, tmp)
if err != nil {
return nil, err
@@ -2732,6 +2741,7 @@ func (ec *executionContext) field_Bug_operations_args(ctx context.Context, rawAr
args["after"] = arg0
var arg1 *string
if tmp, ok := rawArgs["before"]; ok {
+ ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("before"))
arg1, err = ec.unmarshalOString2ᚖstring(ctx, tmp)
if err != nil {
return nil, err
@@ -2740,6 +2750,7 @@ func (ec *executionContext) field_Bug_operations_args(ctx context.Context, rawAr
args["before"] = arg1
var arg2 *int
if tmp, ok := rawArgs["first"]; ok {
+ ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("first"))
arg2, err = ec.unmarshalOInt2ᚖint(ctx, tmp)
if err != nil {
return nil, err
@@ -2748,6 +2759,7 @@ func (ec *executionContext) field_Bug_operations_args(ctx context.Context, rawAr
args["first"] = arg2
var arg3 *int
if tmp, ok := rawArgs["last"]; ok {
+ ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("last"))
arg3, err = ec.unmarshalOInt2ᚖint(ctx, tmp)
if err != nil {
return nil, err
@@ -2762,6 +2774,7 @@ func (ec *executionContext) field_Bug_participants_args(ctx context.Context, raw
args := map[string]interface{}{}
var arg0 *string
if tmp, ok := rawArgs["after"]; ok {
+ ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("after"))
arg0, err = ec.unmarshalOString2ᚖstring(ctx, tmp)
if err != nil {
return nil, err
@@ -2770,6 +2783,7 @@ func (ec *executionContext) field_Bug_participants_args(ctx context.Context, raw
args["after"] = arg0
var arg1 *string
if tmp, ok := rawArgs["before"]; ok {
+ ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("before"))
arg1, err = ec.unmarshalOString2ᚖstring(ctx, tmp)
if err != nil {
return nil, err
@@ -2778,6 +2792,7 @@ func (ec *executionContext) field_Bug_participants_args(ctx context.Context, raw
args["before"] = arg1
var arg2 *int
if tmp, ok := rawArgs["first"]; ok {
+ ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("first"))
arg2, err = ec.unmarshalOInt2ᚖint(ctx, tmp)
if err != nil {
return nil, err
@@ -2786,6 +2801,7 @@ func (ec *executionContext) field_Bug_participants_args(ctx context.Context, raw
args["first"] = arg2
var arg3 *int
if tmp, ok := rawArgs["last"]; ok {
+ ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("last"))
arg3, err = ec.unmarshalOInt2ᚖint(ctx, tmp)
if err != nil {
return nil, err
@@ -2800,6 +2816,7 @@ func (ec *executionContext) field_Bug_timeline_args(ctx context.Context, rawArgs
args := map[string]interface{}{}
var arg0 *string
if tmp, ok := rawArgs["after"]; ok {
+ ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("after"))
arg0, err = ec.unmarshalOString2ᚖstring(ctx, tmp)
if err != nil {
return nil, err
@@ -2808,6 +2825,7 @@ func (ec *executionContext) field_Bug_timeline_args(ctx context.Context, rawArgs
args["after"] = arg0
var arg1 *string
if tmp, ok := rawArgs["before"]; ok {
+ ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("before"))
arg1, err = ec.unmarshalOString2ᚖstring(ctx, tmp)
if err != nil {
return nil, err
@@ -2816,6 +2834,7 @@ func (ec *executionContext) field_Bug_timeline_args(ctx context.Context, rawArgs
args["before"] = arg1
var arg2 *int
if tmp, ok := rawArgs["first"]; ok {
+ ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("first"))
arg2, err = ec.unmarshalOInt2ᚖint(ctx, tmp)
if err != nil {
return nil, err
@@ -2824,6 +2843,7 @@ func (ec *executionContext) field_Bug_timeline_args(ctx context.Context, rawArgs
args["first"] = arg2
var arg3 *int
if tmp, ok := rawArgs["last"]; ok {
+ ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("last"))
arg3, err = ec.unmarshalOInt2ᚖint(ctx, tmp)
if err != nil {
return nil, err
@@ -2838,6 +2858,7 @@ func (ec *executionContext) field_Mutation_addCommentAndClose_args(ctx context.C
args := map[string]interface{}{}
var arg0 models.AddCommentAndCloseBugInput
if tmp, ok := rawArgs["input"]; ok {
+ ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("input"))
arg0, err = ec.unmarshalNAddCommentAndCloseBugInput2githubᚗcomᚋMichaelMureᚋgitᚑbugᚋapiᚋgraphqlᚋmodelsᚐAddCommentAndCloseBugInput(ctx, tmp)
if err != nil {
return nil, err
@@ -2852,6 +2873,7 @@ func (ec *executionContext) field_Mutation_addCommentAndReopen_args(ctx context.
args := map[string]interface{}{}
var arg0 models.AddCommentAndReopenBugInput
if tmp, ok := rawArgs["input"]; ok {
+ ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("input"))
arg0, err = ec.unmarshalNAddCommentAndReopenBugInput2githubᚗcomᚋMichaelMureᚋgitᚑbugᚋapiᚋgraphqlᚋmodelsᚐAddCommentAndReopenBugInput(ctx, tmp)
if err != nil {
return nil, err
@@ -2866,6 +2888,7 @@ func (ec *executionContext) field_Mutation_addComment_args(ctx context.Context,
args := map[string]interface{}{}
var arg0 models.AddCommentInput
if tmp, ok := rawArgs["input"]; ok {
+ ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("input"))
arg0, err = ec.unmarshalNAddCommentInput2githubᚗcomᚋMichaelMureᚋgitᚑbugᚋapiᚋgraphqlᚋmodelsᚐAddCommentInput(ctx, tmp)
if err != nil {
return nil, err
@@ -2880,6 +2903,7 @@ func (ec *executionContext) field_Mutation_changeLabels_args(ctx context.Context
args := map[string]interface{}{}
var arg0 *models.ChangeLabelInput
if tmp, ok := rawArgs["input"]; ok {
+ ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("input"))
arg0, err = ec.unmarshalOChangeLabelInput2ᚖgithubᚗcomᚋMichaelMureᚋgitᚑbugᚋapiᚋgraphqlᚋmodelsᚐChangeLabelInput(ctx, tmp)
if err != nil {
return nil, err
@@ -2894,6 +2918,7 @@ func (ec *executionContext) field_Mutation_closeBug_args(ctx context.Context, ra
args := map[string]interface{}{}
var arg0 models.CloseBugInput
if tmp, ok := rawArgs["input"]; ok {
+ ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("input"))
arg0, err = ec.unmarshalNCloseBugInput2githubᚗcomᚋMichaelMureᚋgitᚑbugᚋapiᚋgraphqlᚋmodelsᚐCloseBugInput(ctx, tmp)
if err != nil {
return nil, err
@@ -2908,6 +2933,7 @@ func (ec *executionContext) field_Mutation_editComment_args(ctx context.Context,
args := map[string]interface{}{}
var arg0 models.EditCommentInput
if tmp, ok := rawArgs["input"]; ok {
+ ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("input"))
arg0, err = ec.unmarshalNEditCommentInput2githubᚗcomᚋMichaelMureᚋgitᚑbugᚋapiᚋgraphqlᚋmodelsᚐEditCommentInput(ctx, tmp)
if err != nil {
return nil, err
@@ -2922,6 +2948,7 @@ func (ec *executionContext) field_Mutation_newBug_args(ctx context.Context, rawA
args := map[string]interface{}{}
var arg0 models.NewBugInput
if tmp, ok := rawArgs["input"]; ok {
+ ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("input"))
arg0, err = ec.unmarshalNNewBugInput2githubᚗcomᚋMichaelMureᚋgitᚑbugᚋapiᚋgraphqlᚋmodelsᚐNewBugInput(ctx, tmp)
if err != nil {
return nil, err
@@ -2936,6 +2963,7 @@ func (ec *executionContext) field_Mutation_openBug_args(ctx context.Context, raw
args := map[string]interface{}{}
var arg0 models.OpenBugInput
if tmp, ok := rawArgs["input"]; ok {
+ ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("input"))
arg0, err = ec.unmarshalNOpenBugInput2githubᚗcomᚋMichaelMureᚋgitᚑbugᚋapiᚋgraphqlᚋmodelsᚐOpenBugInput(ctx, tmp)
if err != nil {
return nil, err
@@ -2950,6 +2978,7 @@ func (ec *executionContext) field_Mutation_setTitle_args(ctx context.Context, ra
args := map[string]interface{}{}
var arg0 models.SetTitleInput
if tmp, ok := rawArgs["input"]; ok {
+ ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("input"))
arg0, err = ec.unmarshalNSetTitleInput2githubᚗcomᚋMichaelMureᚋgitᚑbugᚋapiᚋgraphqlᚋmodelsᚐSetTitleInput(ctx, tmp)
if err != nil {
return nil, err
@@ -2964,6 +2993,7 @@ func (ec *executionContext) field_Query___type_args(ctx context.Context, rawArgs
args := map[string]interface{}{}
var arg0 string
if tmp, ok := rawArgs["name"]; ok {
+ ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("name"))
arg0, err = ec.unmarshalNString2string(ctx, tmp)
if err != nil {
return nil, err
@@ -2978,6 +3008,7 @@ func (ec *executionContext) field_Query_repository_args(ctx context.Context, raw
args := map[string]interface{}{}
var arg0 *string
if tmp, ok := rawArgs["ref"]; ok {
+ ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("ref"))
arg0, err = ec.unmarshalOString2ᚖstring(ctx, tmp)
if err != nil {
return nil, err
@@ -2992,6 +3023,7 @@ func (ec *executionContext) field_Repository_allBugs_args(ctx context.Context, r
args := map[string]interface{}{}
var arg0 *string
if tmp, ok := rawArgs["after"]; ok {
+ ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("after"))
arg0, err = ec.unmarshalOString2ᚖstring(ctx, tmp)
if err != nil {
return nil, err
@@ -3000,6 +3032,7 @@ func (ec *executionContext) field_Repository_allBugs_args(ctx context.Context, r
args["after"] = arg0
var arg1 *string
if tmp, ok := rawArgs["before"]; ok {
+ ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("before"))
arg1, err = ec.unmarshalOString2ᚖstring(ctx, tmp)
if err != nil {
return nil, err
@@ -3008,6 +3041,7 @@ func (ec *executionContext) field_Repository_allBugs_args(ctx context.Context, r
args["before"] = arg1
var arg2 *int
if tmp, ok := rawArgs["first"]; ok {
+ ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("first"))
arg2, err = ec.unmarshalOInt2ᚖint(ctx, tmp)
if err != nil {
return nil, err
@@ -3016,6 +3050,7 @@ func (ec *executionContext) field_Repository_allBugs_args(ctx context.Context, r
args["first"] = arg2
var arg3 *int
if tmp, ok := rawArgs["last"]; ok {
+ ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("last"))
arg3, err = ec.unmarshalOInt2ᚖint(ctx, tmp)
if err != nil {
return nil, err
@@ -3024,6 +3059,7 @@ func (ec *executionContext) field_Repository_allBugs_args(ctx context.Context, r
args["last"] = arg3
var arg4 *string
if tmp, ok := rawArgs["query"]; ok {
+ ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("query"))
arg4, err = ec.unmarshalOString2ᚖstring(ctx, tmp)
if err != nil {
return nil, err
@@ -3038,6 +3074,7 @@ func (ec *executionContext) field_Repository_allIdentities_args(ctx context.Cont
args := map[string]interface{}{}
var arg0 *string
if tmp, ok := rawArgs["after"]; ok {
+ ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("after"))
arg0, err = ec.unmarshalOString2ᚖstring(ctx, tmp)
if err != nil {
return nil, err
@@ -3046,6 +3083,7 @@ func (ec *executionContext) field_Repository_allIdentities_args(ctx context.Cont
args["after"] = arg0
var arg1 *string
if tmp, ok := rawArgs["before"]; ok {
+ ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("before"))
arg1, err = ec.unmarshalOString2ᚖstring(ctx, tmp)
if err != nil {
return nil, err
@@ -3054,6 +3092,7 @@ func (ec *executionContext) field_Repository_allIdentities_args(ctx context.Cont
args["before"] = arg1
var arg2 *int
if tmp, ok := rawArgs["first"]; ok {
+ ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("first"))
arg2, err = ec.unmarshalOInt2ᚖint(ctx, tmp)
if err != nil {
return nil, err
@@ -3062,6 +3101,7 @@ func (ec *executionContext) field_Repository_allIdentities_args(ctx context.Cont
args["first"] = arg2
var arg3 *int
if tmp, ok := rawArgs["last"]; ok {
+ ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("last"))
arg3, err = ec.unmarshalOInt2ᚖint(ctx, tmp)
if err != nil {
return nil, err
@@ -3076,6 +3116,7 @@ func (ec *executionContext) field_Repository_bug_args(ctx context.Context, rawAr
args := map[string]interface{}{}
var arg0 string
if tmp, ok := rawArgs["prefix"]; ok {
+ ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("prefix"))
arg0, err = ec.unmarshalNString2string(ctx, tmp)
if err != nil {
return nil, err
@@ -3090,6 +3131,7 @@ func (ec *executionContext) field_Repository_identity_args(ctx context.Context,
args := map[string]interface{}{}
var arg0 string
if tmp, ok := rawArgs["prefix"]; ok {
+ ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("prefix"))
arg0, err = ec.unmarshalNString2string(ctx, tmp)
if err != nil {
return nil, err
@@ -3104,6 +3146,7 @@ func (ec *executionContext) field_Repository_validLabels_args(ctx context.Contex
args := map[string]interface{}{}
var arg0 *string
if tmp, ok := rawArgs["after"]; ok {
+ ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("after"))
arg0, err = ec.unmarshalOString2ᚖstring(ctx, tmp)
if err != nil {
return nil, err
@@ -3112,6 +3155,7 @@ func (ec *executionContext) field_Repository_validLabels_args(ctx context.Contex
args["after"] = arg0
var arg1 *string
if tmp, ok := rawArgs["before"]; ok {
+ ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("before"))
arg1, err = ec.unmarshalOString2ᚖstring(ctx, tmp)
if err != nil {
return nil, err
@@ -3120,6 +3164,7 @@ func (ec *executionContext) field_Repository_validLabels_args(ctx context.Contex
args["before"] = arg1
var arg2 *int
if tmp, ok := rawArgs["first"]; ok {
+ ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("first"))
arg2, err = ec.unmarshalOInt2ᚖint(ctx, tmp)
if err != nil {
return nil, err
@@ -3128,6 +3173,7 @@ func (ec *executionContext) field_Repository_validLabels_args(ctx context.Contex
args["first"] = arg2
var arg3 *int
if tmp, ok := rawArgs["last"]; ok {
+ ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("last"))
arg3, err = ec.unmarshalOInt2ᚖint(ctx, tmp)
if err != nil {
return nil, err
@@ -3142,6 +3188,7 @@ func (ec *executionContext) field___Type_enumValues_args(ctx context.Context, ra
args := map[string]interface{}{}
var arg0 bool
if tmp, ok := rawArgs["includeDeprecated"]; ok {
+ ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("includeDeprecated"))
arg0, err = ec.unmarshalOBoolean2bool(ctx, tmp)
if err != nil {
return nil, err
@@ -3156,6 +3203,7 @@ func (ec *executionContext) field___Type_fields_args(ctx context.Context, rawArg
args := map[string]interface{}{}
var arg0 bool
if tmp, ok := rawArgs["includeDeprecated"]; ok {
+ ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("includeDeprecated"))
arg0, err = ec.unmarshalOBoolean2bool(ctx, tmp)
if err != nil {
return nil, err
@@ -3181,10 +3229,11 @@ func (ec *executionContext) _AddCommentAndCloseBugPayload_clientMutationId(ctx c
}
}()
fc := &graphql.FieldContext{
- Object: "AddCommentAndCloseBugPayload",
- Field: field,
- Args: nil,
- IsMethod: false,
+ Object: "AddCommentAndCloseBugPayload",
+ Field: field,
+ Args: nil,
+ IsMethod: false,
+ IsResolver: false,
}
ctx = graphql.WithFieldContext(ctx, fc)
@@ -3212,10 +3261,11 @@ func (ec *executionContext) _AddCommentAndCloseBugPayload_bug(ctx context.Contex
}
}()
fc := &graphql.FieldContext{
- Object: "AddCommentAndCloseBugPayload",
- Field: field,
- Args: nil,
- IsMethod: false,
+ Object: "AddCommentAndCloseBugPayload",
+ Field: field,
+ Args: nil,
+ IsMethod: false,
+ IsResolver: false,
}
ctx = graphql.WithFieldContext(ctx, fc)
@@ -3246,10 +3296,11 @@ func (ec *executionContext) _AddCommentAndCloseBugPayload_commentOperation(ctx c
}
}()
fc := &graphql.FieldContext{
- Object: "AddCommentAndCloseBugPayload",
- Field: field,
- Args: nil,
- IsMethod: false,
+ Object: "AddCommentAndCloseBugPayload",
+ Field: field,
+ Args: nil,
+ IsMethod: false,
+ IsResolver: false,
}
ctx = graphql.WithFieldContext(ctx, fc)
@@ -3280,10 +3331,11 @@ func (ec *executionContext) _AddCommentAndCloseBugPayload_statusOperation(ctx co
}
}()
fc := &graphql.FieldContext{
- Object: "AddCommentAndCloseBugPayload",
- Field: field,
- Args: nil,
- IsMethod: false,
+ Object: "AddCommentAndCloseBugPayload",
+ Field: field,
+ Args: nil,
+ IsMethod: false,
+ IsResolver: false,
}
ctx = graphql.WithFieldContext(ctx, fc)
@@ -3314,10 +3366,11 @@ func (ec *executionContext) _AddCommentAndReopenBugPayload_clientMutationId(ctx
}
}()
fc := &graphql.FieldContext{
- Object: "AddCommentAndReopenBugPayload",
- Field: field,
- Args: nil,
- IsMethod: false,
+ Object: "AddCommentAndReopenBugPayload",
+ Field: field,
+ Args: nil,
+ IsMethod: false,
+ IsResolver: false,
}
ctx = graphql.WithFieldContext(ctx, fc)
@@ -3345,10 +3398,11 @@ func (ec *executionContext) _AddCommentAndReopenBugPayload_bug(ctx context.Conte
}
}()
fc := &graphql.FieldContext{
- Object: "AddCommentAndReopenBugPayload",
- Field: field,
- Args: nil,
- IsMethod: false,
+ Object: "AddCommentAndReopenBugPayload",
+ Field: field,
+ Args: nil,
+ IsMethod: false,
+ IsResolver: false,
}
ctx = graphql.WithFieldContext(ctx, fc)
@@ -3379,10 +3433,11 @@ func (ec *executionContext) _AddCommentAndReopenBugPayload_commentOperation(ctx
}
}()
fc := &graphql.FieldContext{
- Object: "AddCommentAndReopenBugPayload",
- Field: field,
- Args: nil,
- IsMethod: false,
+ Object: "AddCommentAndReopenBugPayload",
+ Field: field,
+ Args: nil,
+ IsMethod: false,
+ IsResolver: false,
}
ctx = graphql.WithFieldContext(ctx, fc)
@@ -3413,10 +3468,11 @@ func (ec *executionContext) _AddCommentAndReopenBugPayload_statusOperation(ctx c
}
}()
fc := &graphql.FieldContext{
- Object: "AddCommentAndReopenBugPayload",
- Field: field,
- Args: nil,
- IsMethod: false,
+ Object: "AddCommentAndReopenBugPayload",
+ Field: field,
+ Args: nil,
+ IsMethod: false,
+ IsResolver: false,
}
ctx = graphql.WithFieldContext(ctx, fc)
@@ -3447,10 +3503,11 @@ func (ec *executionContext) _AddCommentOperation_id(ctx context.Context, field g
}
}()
fc := &graphql.FieldContext{
- Object: "AddCommentOperation",
- Field: field,
- Args: nil,
- IsMethod: true,
+ Object: "AddCommentOperation",
+ Field: field,
+ Args: nil,
+ IsMethod: true,
+ IsResolver: true,
}
ctx = graphql.WithFieldContext(ctx, fc)
@@ -3481,10 +3538,11 @@ func (ec *executionContext) _AddCommentOperation_author(ctx context.Context, fie
}
}()
fc := &graphql.FieldContext{
- Object: "AddCommentOperation",
- Field: field,
- Args: nil,
- IsMethod: true,
+ Object: "AddCommentOperation",
+ Field: field,
+ Args: nil,
+ IsMethod: true,
+ IsResolver: true,
}
ctx = graphql.WithFieldContext(ctx, fc)
@@ -3515,10 +3573,11 @@ func (ec *executionContext) _AddCommentOperation_date(ctx context.Context, field
}
}()
fc := &graphql.FieldContext{
- Object: "AddCommentOperation",
- Field: field,
- Args: nil,
- IsMethod: true,
+ Object: "AddCommentOperation",
+ Field: field,
+ Args: nil,
+ IsMethod: true,
+ IsResolver: true,
}
ctx = graphql.WithFieldContext(ctx, fc)
@@ -3549,10 +3608,11 @@ func (ec *executionContext) _AddCommentOperation_message(ctx context.Context, fi
}
}()
fc := &graphql.FieldContext{
- Object: "AddCommentOperation",
- Field: field,
- Args: nil,
- IsMethod: false,
+ Object: "AddCommentOperation",
+ Field: field,
+ Args: nil,
+ IsMethod: false,
+ IsResolver: false,
}
ctx = graphql.WithFieldContext(ctx, fc)
@@ -3583,10 +3643,11 @@ func (ec *executionContext) _AddCommentOperation_files(ctx context.Context, fiel
}
}()
fc := &graphql.FieldContext{
- Object: "AddCommentOperation",
- Field: field,
- Args: nil,
- IsMethod: false,
+ Object: "AddCommentOperation",
+ Field: field,
+ Args: nil,
+ IsMethod: false,
+ IsResolver: false,
}
ctx = graphql.WithFieldContext(ctx, fc)
@@ -3617,10 +3678,11 @@ func (ec *executionContext) _AddCommentPayload_clientMutationId(ctx context.Cont
}
}()
fc := &graphql.FieldContext{
- Object: "AddCommentPayload",
- Field: field,
- Args: nil,
- IsMethod: false,
+ Object: "AddCommentPayload",
+ Field: field,
+ Args: nil,
+ IsMethod: false,
+ IsResolver: false,
}
ctx = graphql.WithFieldContext(ctx, fc)
@@ -3648,10 +3710,11 @@ func (ec *executionContext) _AddCommentPayload_bug(ctx context.Context, field gr
}
}()
fc := &graphql.FieldContext{
- Object: "AddCommentPayload",
- Field: field,
- Args: nil,
- IsMethod: false,
+ Object: "AddCommentPayload",
+ Field: field,
+ Args: nil,
+ IsMethod: false,
+ IsResolver: false,
}
ctx = graphql.WithFieldContext(ctx, fc)
@@ -3682,10 +3745,11 @@ func (ec *executionContext) _AddCommentPayload_operation(ctx context.Context, fi
}
}()
fc := &graphql.FieldContext{
- Object: "AddCommentPayload",
- Field: field,
- Args: nil,
- IsMethod: false,
+ Object: "AddCommentPayload",
+ Field: field,
+ Args: nil,
+ IsMethod: false,
+ IsResolver: false,
}
ctx = graphql.WithFieldContext(ctx, fc)
@@ -3716,10 +3780,11 @@ func (ec *executionContext) _AddCommentTimelineItem_id(ctx context.Context, fiel
}
}()
fc := &graphql.FieldContext{
- Object: "AddCommentTimelineItem",
- Field: field,
- Args: nil,
- IsMethod: true,
+ Object: "AddCommentTimelineItem",
+ Field: field,
+ Args: nil,
+ IsMethod: true,
+ IsResolver: true,
}
ctx = graphql.WithFieldContext(ctx, fc)
@@ -3750,10 +3815,11 @@ func (ec *executionContext) _AddCommentTimelineItem_author(ctx context.Context,
}
}()
fc := &graphql.FieldContext{
- Object: "AddCommentTimelineItem",
- Field: field,
- Args: nil,
- IsMethod: true,
+ Object: "AddCommentTimelineItem",
+ Field: field,
+ Args: nil,
+ IsMethod: true,
+ IsResolver: true,
}
ctx = graphql.WithFieldContext(ctx, fc)
@@ -3784,10 +3850,11 @@ func (ec *executionContext) _AddCommentTimelineItem_message(ctx context.Context,
}
}()
fc := &graphql.FieldContext{
- Object: "AddCommentTimelineItem",
- Field: field,
- Args: nil,
- IsMethod: false,
+ Object: "AddCommentTimelineItem",
+ Field: field,
+ Args: nil,
+ IsMethod: false,
+ IsResolver: false,
}
ctx = graphql.WithFieldContext(ctx, fc)
@@ -3818,10 +3885,11 @@ func (ec *executionContext) _AddCommentTimelineItem_messageIsEmpty(ctx context.C
}
}()
fc := &graphql.FieldContext{
- Object: "AddCommentTimelineItem",
- Field: field,
- Args: nil,
- IsMethod: true,
+ Object: "AddCommentTimelineItem",
+ Field: field,
+ Args: nil,
+ IsMethod: true,
+ IsResolver: false,
}
ctx = graphql.WithFieldContext(ctx, fc)
@@ -3852,10 +3920,11 @@ func (ec *executionContext) _AddCommentTimelineItem_files(ctx context.Context, f
}
}()
fc := &graphql.FieldContext{
- Object: "AddCommentTimelineItem",
- Field: field,
- Args: nil,
- IsMethod: false,
+ Object: "AddCommentTimelineItem",
+ Field: field,
+ Args: nil,
+ IsMethod: false,
+ IsResolver: false,
}
ctx = graphql.WithFieldContext(ctx, fc)
@@ -3886,10 +3955,11 @@ func (ec *executionContext) _AddCommentTimelineItem_createdAt(ctx context.Contex
}
}()
fc := &graphql.FieldContext{
- Object: "AddCommentTimelineItem",
- Field: field,
- Args: nil,
- IsMethod: true,
+ Object: "AddCommentTimelineItem",
+ Field: field,
+ Args: nil,
+ IsMethod: true,
+ IsResolver: true,
}
ctx = graphql.WithFieldContext(ctx, fc)
@@ -3920,10 +3990,11 @@ func (ec *executionContext) _AddCommentTimelineItem_lastEdit(ctx context.Context
}
}()
fc := &graphql.FieldContext{
- Object: "AddCommentTimelineItem",
- Field: field,
- Args: nil,
- IsMethod: true,
+ Object: "AddCommentTimelineItem",
+ Field: field,
+ Args: nil,
+ IsMethod: true,
+ IsResolver: true,
}
ctx = graphql.WithFieldContext(ctx, fc)
@@ -3954,10 +4025,11 @@ func (ec *executionContext) _AddCommentTimelineItem_edited(ctx context.Context,
}
}()
fc := &graphql.FieldContext{
- Object: "AddCommentTimelineItem",
- Field: field,
- Args: nil,
- IsMethod: true,
+ Object: "AddCommentTimelineItem",
+ Field: field,
+ Args: nil,
+ IsMethod: true,
+ IsResolver: false,
}
ctx = graphql.WithFieldContext(ctx, fc)
@@ -3988,10 +4060,11 @@ func (ec *executionContext) _AddCommentTimelineItem_history(ctx context.Context,
}
}()
fc := &graphql.FieldContext{
- Object: "AddCommentTimelineItem",
- Field: field,
- Args: nil,
- IsMethod: false,
+ Object: "AddCommentTimelineItem",
+ Field: field,
+ Args: nil,
+ IsMethod: false,
+ IsResolver: false,
}
ctx = graphql.WithFieldContext(ctx, fc)
@@ -4022,10 +4095,11 @@ func (ec *executionContext) _Bug_id(ctx context.Context, field graphql.Collected
}
}()
fc := &graphql.FieldContext{
- Object: "Bug",
- Field: field,
- Args: nil,
- IsMethod: true,
+ Object: "Bug",
+ Field: field,
+ Args: nil,
+ IsMethod: true,
+ IsResolver: true,
}
ctx = graphql.WithFieldContext(ctx, fc)
@@ -4056,10 +4130,11 @@ func (ec *executionContext) _Bug_humanId(ctx context.Context, field graphql.Coll
}
}()
fc := &graphql.FieldContext{
- Object: "Bug",
- Field: field,
- Args: nil,
- IsMethod: true,
+ Object: "Bug",
+ Field: field,
+ Args: nil,
+ IsMethod: true,
+ IsResolver: true,
}
ctx = graphql.WithFieldContext(ctx, fc)
@@ -4090,10 +4165,11 @@ func (ec *executionContext) _Bug_status(ctx context.Context, field graphql.Colle
}
}()
fc := &graphql.FieldContext{
- Object: "Bug",
- Field: field,
- Args: nil,
- IsMethod: true,
+ Object: "Bug",
+ Field: field,
+ Args: nil,
+ IsMethod: true,
+ IsResolver: true,
}
ctx = graphql.WithFieldContext(ctx, fc)
@@ -4124,10 +4200,11 @@ func (ec *executionContext) _Bug_title(ctx context.Context, field graphql.Collec
}
}()
fc := &graphql.FieldContext{
- Object: "Bug",
- Field: field,
- Args: nil,
- IsMethod: true,
+ Object: "Bug",
+ Field: field,
+ Args: nil,
+ IsMethod: true,
+ IsResolver: false,
}
ctx = graphql.WithFieldContext(ctx, fc)
@@ -4158,10 +4235,11 @@ func (ec *executionContext) _Bug_labels(ctx context.Context, field graphql.Colle
}
}()
fc := &graphql.FieldContext{
- Object: "Bug",
- Field: field,
- Args: nil,
- IsMethod: true,
+ Object: "Bug",
+ Field: field,
+ Args: nil,
+ IsMethod: true,
+ IsResolver: false,
}
ctx = graphql.WithFieldContext(ctx, fc)
@@ -4192,10 +4270,11 @@ func (ec *executionContext) _Bug_author(ctx context.Context, field graphql.Colle
}
}()
fc := &graphql.FieldContext{
- Object: "Bug",
- Field: field,
- Args: nil,
- IsMethod: true,
+ Object: "Bug",
+ Field: field,
+ Args: nil,
+ IsMethod: true,
+ IsResolver: false,
}
ctx = graphql.WithFieldContext(ctx, fc)
@@ -4226,10 +4305,11 @@ func (ec *executionContext) _Bug_createdAt(ctx context.Context, field graphql.Co
}
}()
fc := &graphql.FieldContext{
- Object: "Bug",
- Field: field,
- Args: nil,
- IsMethod: true,
+ Object: "Bug",
+ Field: field,
+ Args: nil,
+ IsMethod: true,
+ IsResolver: false,
}
ctx = graphql.WithFieldContext(ctx, fc)
@@ -4260,10 +4340,11 @@ func (ec *executionContext) _Bug_lastEdit(ctx context.Context, field graphql.Col
}
}()
fc := &graphql.FieldContext{
- Object: "Bug",
- Field: field,
- Args: nil,
- IsMethod: true,
+ Object: "Bug",
+ Field: field,
+ Args: nil,
+ IsMethod: true,
+ IsResolver: false,
}
ctx = graphql.WithFieldContext(ctx, fc)
@@ -4294,10 +4375,11 @@ func (ec *executionContext) _Bug_actors(ctx context.Context, field graphql.Colle
}
}()
fc := &graphql.FieldContext{
- Object: "Bug",
- Field: field,
- Args: nil,
- IsMethod: true,
+ Object: "Bug",
+ Field: field,
+ Args: nil,
+ IsMethod: true,
+ IsResolver: true,
}
ctx = graphql.WithFieldContext(ctx, fc)
@@ -4335,10 +4417,11 @@ func (ec *executionContext) _Bug_participants(ctx context.Context, field graphql
}
}()
fc := &graphql.FieldContext{
- Object: "Bug",
- Field: field,
- Args: nil,
- IsMethod: true,
+ Object: "Bug",
+ Field: field,
+ Args: nil,
+ IsMethod: true,
+ IsResolver: true,
}
ctx = graphql.WithFieldContext(ctx, fc)
@@ -4376,10 +4459,11 @@ func (ec *executionContext) _Bug_comments(ctx context.Context, field graphql.Col
}
}()
fc := &graphql.FieldContext{
- Object: "Bug",
- Field: field,
- Args: nil,
- IsMethod: true,
+ Object: "Bug",
+ Field: field,
+ Args: nil,
+ IsMethod: true,
+ IsResolver: true,
}
ctx = graphql.WithFieldContext(ctx, fc)
@@ -4417,10 +4501,11 @@ func (ec *executionContext) _Bug_timeline(ctx context.Context, field graphql.Col
}
}()
fc := &graphql.FieldContext{
- Object: "Bug",
- Field: field,
- Args: nil,
- IsMethod: true,
+ Object: "Bug",
+ Field: field,
+ Args: nil,
+ IsMethod: true,
+ IsResolver: true,
}
ctx = graphql.WithFieldContext(ctx, fc)
@@ -4458,10 +4543,11 @@ func (ec *executionContext) _Bug_operations(ctx context.Context, field graphql.C
}
}()
fc := &graphql.FieldContext{
- Object: "Bug",
- Field: field,
- Args: nil,
- IsMethod: true,
+ Object: "Bug",
+ Field: field,
+ Args: nil,
+ IsMethod: true,
+ IsResolver: true,
}
ctx = graphql.WithFieldContext(ctx, fc)
@@ -4499,10 +4585,11 @@ func (ec *executionContext) _BugConnection_edges(ctx context.Context, field grap
}
}()
fc := &graphql.FieldContext{
- Object: "BugConnection",
- Field: field,
- Args: nil,
- IsMethod: false,
+ Object: "BugConnection",
+ Field: field,
+ Args: nil,
+ IsMethod: false,
+ IsResolver: false,
}
ctx = graphql.WithFieldContext(ctx, fc)
@@ -4533,10 +4620,11 @@ func (ec *executionContext) _BugConnection_nodes(ctx context.Context, field grap
}
}()
fc := &graphql.FieldContext{
- Object: "BugConnection",
- Field: field,
- Args: nil,
- IsMethod: false,
+ Object: "BugConnection",
+ Field: field,
+ Args: nil,
+ IsMethod: false,
+ IsResolver: false,
}
ctx = graphql.WithFieldContext(ctx, fc)
@@ -4567,10 +4655,11 @@ func (ec *executionContext) _BugConnection_pageInfo(ctx context.Context, field g
}
}()
fc := &graphql.FieldContext{
- Object: "BugConnection",
- Field: field,
- Args: nil,
- IsMethod: false,
+ Object: "BugConnection",
+ Field: field,
+ Args: nil,
+ IsMethod: false,
+ IsResolver: false,
}
ctx = graphql.WithFieldContext(ctx, fc)
@@ -4601,10 +4690,11 @@ func (ec *executionContext) _BugConnection_totalCount(ctx context.Context, field
}
}()
fc := &graphql.FieldContext{
- Object: "BugConnection",
- Field: field,
- Args: nil,
- IsMethod: false,
+ Object: "BugConnection",
+ Field: field,
+ Args: nil,
+ IsMethod: false,
+ IsResolver: false,
}
ctx = graphql.WithFieldContext(ctx, fc)
@@ -4635,10 +4725,11 @@ func (ec *executionContext) _BugEdge_cursor(ctx context.Context, field graphql.C
}
}()
fc := &graphql.FieldContext{
- Object: "BugEdge",
- Field: field,
- Args: nil,
- IsMethod: false,
+ Object: "BugEdge",
+ Field: field,
+ Args: nil,
+ IsMethod: false,
+ IsResolver: false,
}
ctx = graphql.WithFieldContext(ctx, fc)
@@ -4669,10 +4760,11 @@ func (ec *executionContext) _BugEdge_node(ctx context.Context, field graphql.Col
}
}()
fc := &graphql.FieldContext{
- Object: "BugEdge",
- Field: field,
- Args: nil,
- IsMethod: false,
+ Object: "BugEdge",
+ Field: field,
+ Args: nil,
+ IsMethod: false,
+ IsResolver: false,
}
ctx = graphql.WithFieldContext(ctx, fc)
@@ -4703,10 +4795,11 @@ func (ec *executionContext) _ChangeLabelPayload_clientMutationId(ctx context.Con
}
}()
fc := &graphql.FieldContext{
- Object: "ChangeLabelPayload",
- Field: field,
- Args: nil,
- IsMethod: false,
+ Object: "ChangeLabelPayload",
+ Field: field,
+ Args: nil,
+ IsMethod: false,
+ IsResolver: false,
}
ctx = graphql.WithFieldContext(ctx, fc)
@@ -4734,10 +4827,11 @@ func (ec *executionContext) _ChangeLabelPayload_bug(ctx context.Context, field g
}
}()
fc := &graphql.FieldContext{
- Object: "ChangeLabelPayload",
- Field: field,
- Args: nil,
- IsMethod: false,
+ Object: "ChangeLabelPayload",
+ Field: field,
+ Args: nil,
+ IsMethod: false,
+ IsResolver: false,
}
ctx = graphql.WithFieldContext(ctx, fc)
@@ -4768,10 +4862,11 @@ func (ec *executionContext) _ChangeLabelPayload_operation(ctx context.Context, f
}
}()
fc := &graphql.FieldContext{
- Object: "ChangeLabelPayload",
- Field: field,
- Args: nil,
- IsMethod: false,
+ Object: "ChangeLabelPayload",
+ Field: field,
+ Args: nil,
+ IsMethod: false,
+ IsResolver: false,
}
ctx = graphql.WithFieldContext(ctx, fc)
@@ -4802,10 +4897,11 @@ func (ec *executionContext) _ChangeLabelPayload_results(ctx context.Context, fie
}
}()
fc := &graphql.FieldContext{
- Object: "ChangeLabelPayload",
- Field: field,
- Args: nil,
- IsMethod: false,
+ Object: "ChangeLabelPayload",
+ Field: field,
+ Args: nil,
+ IsMethod: false,
+ IsResolver: false,
}
ctx = graphql.WithFieldContext(ctx, fc)
@@ -4836,10 +4932,11 @@ func (ec *executionContext) _CloseBugPayload_clientMutationId(ctx context.Contex
}
}()
fc := &graphql.FieldContext{
- Object: "CloseBugPayload",
- Field: field,
- Args: nil,
- IsMethod: false,
+ Object: "CloseBugPayload",
+ Field: field,
+ Args: nil,
+ IsMethod: false,
+ IsResolver: false,
}
ctx = graphql.WithFieldContext(ctx, fc)
@@ -4867,10 +4964,11 @@ func (ec *executionContext) _CloseBugPayload_bug(ctx context.Context, field grap
}
}()
fc := &graphql.FieldContext{
- Object: "CloseBugPayload",
- Field: field,
- Args: nil,
- IsMethod: false,
+ Object: "CloseBugPayload",
+ Field: field,
+ Args: nil,
+ IsMethod: false,
+ IsResolver: false,
}
ctx = graphql.WithFieldContext(ctx, fc)
@@ -4901,10 +4999,11 @@ func (ec *executionContext) _CloseBugPayload_operation(ctx context.Context, fiel
}
}()
fc := &graphql.FieldContext{
- Object: "CloseBugPayload",
- Field: field,
- Args: nil,
- IsMethod: false,
+ Object: "CloseBugPayload",
+ Field: field,
+ Args: nil,
+ IsMethod: false,
+ IsResolver: false,
}
ctx = graphql.WithFieldContext(ctx, fc)
@@ -4935,10 +5034,11 @@ func (ec *executionContext) _Color_R(ctx context.Context, field graphql.Collecte
}
}()
fc := &graphql.FieldContext{
- Object: "Color",
- Field: field,
- Args: nil,
- IsMethod: true,
+ Object: "Color",
+ Field: field,
+ Args: nil,
+ IsMethod: true,
+ IsResolver: true,
}
ctx = graphql.WithFieldContext(ctx, fc)
@@ -4969,10 +5069,11 @@ func (ec *executionContext) _Color_G(ctx context.Context, field graphql.Collecte
}
}()
fc := &graphql.FieldContext{
- Object: "Color",
- Field: field,
- Args: nil,
- IsMethod: true,
+ Object: "Color",
+ Field: field,
+ Args: nil,
+ IsMethod: true,
+ IsResolver: true,
}
ctx = graphql.WithFieldContext(ctx, fc)
@@ -5003,10 +5104,11 @@ func (ec *executionContext) _Color_B(ctx context.Context, field graphql.Collecte
}
}()
fc := &graphql.FieldContext{
- Object: "Color",
- Field: field,
- Args: nil,
- IsMethod: true,
+ Object: "Color",
+ Field: field,
+ Args: nil,
+ IsMethod: true,
+ IsResolver: true,
}
ctx = graphql.WithFieldContext(ctx, fc)
@@ -5037,10 +5139,11 @@ func (ec *executionContext) _Comment_author(ctx context.Context, field graphql.C
}
}()
fc := &graphql.FieldContext{
- Object: "Comment",
- Field: field,
- Args: nil,
- IsMethod: true,
+ Object: "Comment",
+ Field: field,
+ Args: nil,
+ IsMethod: true,
+ IsResolver: true,
}
ctx = graphql.WithFieldContext(ctx, fc)
@@ -5071,10 +5174,11 @@ func (ec *executionContext) _Comment_message(ctx context.Context, field graphql.
}
}()
fc := &graphql.FieldContext{
- Object: "Comment",
- Field: field,
- Args: nil,
- IsMethod: false,
+ Object: "Comment",
+ Field: field,
+ Args: nil,
+ IsMethod: false,
+ IsResolver: false,
}
ctx = graphql.WithFieldContext(ctx, fc)
@@ -5105,10 +5209,11 @@ func (ec *executionContext) _Comment_files(ctx context.Context, field graphql.Co
}
}()
fc := &graphql.FieldContext{
- Object: "Comment",
- Field: field,
- Args: nil,
- IsMethod: false,
+ Object: "Comment",
+ Field: field,
+ Args: nil,
+ IsMethod: false,
+ IsResolver: false,
}
ctx = graphql.WithFieldContext(ctx, fc)
@@ -5139,10 +5244,11 @@ func (ec *executionContext) _CommentConnection_edges(ctx context.Context, field
}
}()
fc := &graphql.FieldContext{
- Object: "CommentConnection",
- Field: field,
- Args: nil,
- IsMethod: false,
+ Object: "CommentConnection",
+ Field: field,
+ Args: nil,
+ IsMethod: false,
+ IsResolver: false,
}
ctx = graphql.WithFieldContext(ctx, fc)
@@ -5173,10 +5279,11 @@ func (ec *executionContext) _CommentConnection_nodes(ctx context.Context, field
}
}()
fc := &graphql.FieldContext{
- Object: "CommentConnection",
- Field: field,
- Args: nil,
- IsMethod: false,
+ Object: "CommentConnection",
+ Field: field,
+ Args: nil,
+ IsMethod: false,
+ IsResolver: false,
}
ctx = graphql.WithFieldContext(ctx, fc)
@@ -5207,10 +5314,11 @@ func (ec *executionContext) _CommentConnection_pageInfo(ctx context.Context, fie
}
}()
fc := &graphql.FieldContext{
- Object: "CommentConnection",
- Field: field,
- Args: nil,
- IsMethod: false,
+ Object: "CommentConnection",
+ Field: field,
+ Args: nil,
+ IsMethod: false,
+ IsResolver: false,
}
ctx = graphql.WithFieldContext(ctx, fc)
@@ -5241,10 +5349,11 @@ func (ec *executionContext) _CommentConnection_totalCount(ctx context.Context, f
}
}()
fc := &graphql.FieldContext{
- Object: "CommentConnection",
- Field: field,
- Args: nil,
- IsMethod: false,
+ Object: "CommentConnection",
+ Field: field,
+ Args: nil,
+ IsMethod: false,
+ IsResolver: false,
}
ctx = graphql.WithFieldContext(ctx, fc)
@@ -5275,10 +5384,11 @@ func (ec *executionContext) _CommentEdge_cursor(ctx context.Context, field graph
}
}()
fc := &graphql.FieldContext{
- Object: "CommentEdge",
- Field: field,
- Args: nil,
- IsMethod: false,
+ Object: "CommentEdge",
+ Field: field,
+ Args: nil,
+ IsMethod: false,
+ IsResolver: false,
}
ctx = graphql.WithFieldContext(ctx, fc)
@@ -5309,10 +5419,11 @@ func (ec *executionContext) _CommentEdge_node(ctx context.Context, field graphql
}
}()
fc := &graphql.FieldContext{
- Object: "CommentEdge",
- Field: field,
- Args: nil,
- IsMethod: false,
+ Object: "CommentEdge",
+ Field: field,
+ Args: nil,
+ IsMethod: false,
+ IsResolver: false,
}
ctx = graphql.WithFieldContext(ctx, fc)
@@ -5343,10 +5454,11 @@ func (ec *executionContext) _CommentHistoryStep_message(ctx context.Context, fie
}
}()
fc := &graphql.FieldContext{
- Object: "CommentHistoryStep",
- Field: field,
- Args: nil,
- IsMethod: false,
+ Object: "CommentHistoryStep",
+ Field: field,
+ Args: nil,
+ IsMethod: false,
+ IsResolver: false,
}
ctx = graphql.WithFieldContext(ctx, fc)
@@ -5377,10 +5489,11 @@ func (ec *executionContext) _CommentHistoryStep_date(ctx context.Context, field
}
}()
fc := &graphql.FieldContext{
- Object: "CommentHistoryStep",
- Field: field,
- Args: nil,
- IsMethod: true,
+ Object: "CommentHistoryStep",
+ Field: field,
+ Args: nil,
+ IsMethod: true,
+ IsResolver: true,
}
ctx = graphql.WithFieldContext(ctx, fc)
@@ -5411,10 +5524,11 @@ func (ec *executionContext) _CreateOperation_id(ctx context.Context, field graph
}
}()
fc := &graphql.FieldContext{
- Object: "CreateOperation",
- Field: field,
- Args: nil,
- IsMethod: true,
+ Object: "CreateOperation",
+ Field: field,
+ Args: nil,
+ IsMethod: true,
+ IsResolver: true,
}
ctx = graphql.WithFieldContext(ctx, fc)
@@ -5445,10 +5559,11 @@ func (ec *executionContext) _CreateOperation_author(ctx context.Context, field g
}
}()
fc := &graphql.FieldContext{
- Object: "CreateOperation",
- Field: field,
- Args: nil,
- IsMethod: true,
+ Object: "CreateOperation",
+ Field: field,
+ Args: nil,
+ IsMethod: true,
+ IsResolver: true,
}
ctx = graphql.WithFieldContext(ctx, fc)
@@ -5479,10 +5594,11 @@ func (ec *executionContext) _CreateOperation_date(ctx context.Context, field gra
}
}()
fc := &graphql.FieldContext{
- Object: "CreateOperation",
- Field: field,
- Args: nil,
- IsMethod: true,
+ Object: "CreateOperation",
+ Field: field,
+ Args: nil,
+ IsMethod: true,
+ IsResolver: true,
}
ctx = graphql.WithFieldContext(ctx, fc)
@@ -5513,10 +5629,11 @@ func (ec *executionContext) _CreateOperation_title(ctx context.Context, field gr
}
}()
fc := &graphql.FieldContext{
- Object: "CreateOperation",
- Field: field,
- Args: nil,
- IsMethod: false,
+ Object: "CreateOperation",
+ Field: field,
+ Args: nil,
+ IsMethod: false,
+ IsResolver: false,
}
ctx = graphql.WithFieldContext(ctx, fc)
@@ -5547,10 +5664,11 @@ func (ec *executionContext) _CreateOperation_message(ctx context.Context, field
}
}()
fc := &graphql.FieldContext{
- Object: "CreateOperation",
- Field: field,
- Args: nil,
- IsMethod: false,
+ Object: "CreateOperation",
+ Field: field,
+ Args: nil,
+ IsMethod: false,
+ IsResolver: false,
}
ctx = graphql.WithFieldContext(ctx, fc)
@@ -5581,10 +5699,11 @@ func (ec *executionContext) _CreateOperation_files(ctx context.Context, field gr
}
}()
fc := &graphql.FieldContext{
- Object: "CreateOperation",
- Field: field,
- Args: nil,
- IsMethod: false,
+ Object: "CreateOperation",
+ Field: field,
+ Args: nil,
+ IsMethod: false,
+ IsResolver: false,
}
ctx = graphql.WithFieldContext(ctx, fc)
@@ -5615,10 +5734,11 @@ func (ec *executionContext) _CreateTimelineItem_id(ctx context.Context, field gr
}
}()
fc := &graphql.FieldContext{
- Object: "CreateTimelineItem",
- Field: field,
- Args: nil,
- IsMethod: true,
+ Object: "CreateTimelineItem",
+ Field: field,
+ Args: nil,
+ IsMethod: true,
+ IsResolver: true,
}
ctx = graphql.WithFieldContext(ctx, fc)
@@ -5649,10 +5769,11 @@ func (ec *executionContext) _CreateTimelineItem_author(ctx context.Context, fiel
}
}()
fc := &graphql.FieldContext{
- Object: "CreateTimelineItem",
- Field: field,
- Args: nil,
- IsMethod: true,
+ Object: "CreateTimelineItem",
+ Field: field,
+ Args: nil,
+ IsMethod: true,
+ IsResolver: true,
}
ctx = graphql.WithFieldContext(ctx, fc)
@@ -5683,10 +5804,11 @@ func (ec *executionContext) _CreateTimelineItem_message(ctx context.Context, fie
}
}()
fc := &graphql.FieldContext{
- Object: "CreateTimelineItem",
- Field: field,
- Args: nil,
- IsMethod: false,
+ Object: "CreateTimelineItem",
+ Field: field,
+ Args: nil,
+ IsMethod: false,
+ IsResolver: false,
}
ctx = graphql.WithFieldContext(ctx, fc)
@@ -5717,10 +5839,11 @@ func (ec *executionContext) _CreateTimelineItem_messageIsEmpty(ctx context.Conte
}
}()
fc := &graphql.FieldContext{
- Object: "CreateTimelineItem",
- Field: field,
- Args: nil,
- IsMethod: true,
+ Object: "CreateTimelineItem",
+ Field: field,
+ Args: nil,
+ IsMethod: true,
+ IsResolver: false,
}
ctx = graphql.WithFieldContext(ctx, fc)
@@ -5751,10 +5874,11 @@ func (ec *executionContext) _CreateTimelineItem_files(ctx context.Context, field
}
}()
fc := &graphql.FieldContext{
- Object: "CreateTimelineItem",
- Field: field,
- Args: nil,
- IsMethod: false,
+ Object: "CreateTimelineItem",
+ Field: field,
+ Args: nil,
+ IsMethod: false,
+ IsResolver: false,
}
ctx = graphql.WithFieldContext(ctx, fc)
@@ -5785,10 +5909,11 @@ func (ec *executionContext) _CreateTimelineItem_createdAt(ctx context.Context, f
}
}()
fc := &graphql.FieldContext{
- Object: "CreateTimelineItem",
- Field: field,
- Args: nil,
- IsMethod: true,
+ Object: "CreateTimelineItem",
+ Field: field,
+ Args: nil,
+ IsMethod: true,
+ IsResolver: true,
}
ctx = graphql.WithFieldContext(ctx, fc)
@@ -5819,10 +5944,11 @@ func (ec *executionContext) _CreateTimelineItem_lastEdit(ctx context.Context, fi
}
}()
fc := &graphql.FieldContext{
- Object: "CreateTimelineItem",
- Field: field,
- Args: nil,
- IsMethod: true,
+ Object: "CreateTimelineItem",
+ Field: field,
+ Args: nil,
+ IsMethod: true,
+ IsResolver: true,
}
ctx = graphql.WithFieldContext(ctx, fc)
@@ -5853,10 +5979,11 @@ func (ec *executionContext) _CreateTimelineItem_edited(ctx context.Context, fiel
}
}()
fc := &graphql.FieldContext{
- Object: "CreateTimelineItem",
- Field: field,
- Args: nil,
- IsMethod: true,
+ Object: "CreateTimelineItem",
+ Field: field,
+ Args: nil,
+ IsMethod: true,
+ IsResolver: false,
}
ctx = graphql.WithFieldContext(ctx, fc)
@@ -5887,10 +6014,11 @@ func (ec *executionContext) _CreateTimelineItem_history(ctx context.Context, fie
}
}()
fc := &graphql.FieldContext{
- Object: "CreateTimelineItem",
- Field: field,
- Args: nil,
- IsMethod: false,
+ Object: "CreateTimelineItem",
+ Field: field,
+ Args: nil,
+ IsMethod: false,
+ IsResolver: false,
}
ctx = graphql.WithFieldContext(ctx, fc)
@@ -5921,10 +6049,11 @@ func (ec *executionContext) _EditCommentOperation_id(ctx context.Context, field
}
}()
fc := &graphql.FieldContext{
- Object: "EditCommentOperation",
- Field: field,
- Args: nil,
- IsMethod: true,
+ Object: "EditCommentOperation",
+ Field: field,
+ Args: nil,
+ IsMethod: true,
+ IsResolver: true,
}
ctx = graphql.WithFieldContext(ctx, fc)
@@ -5955,10 +6084,11 @@ func (ec *executionContext) _EditCommentOperation_author(ctx context.Context, fi
}
}()
fc := &graphql.FieldContext{
- Object: "EditCommentOperation",
- Field: field,
- Args: nil,
- IsMethod: true,
+ Object: "EditCommentOperation",
+ Field: field,
+ Args: nil,
+ IsMethod: true,
+ IsResolver: true,
}
ctx = graphql.WithFieldContext(ctx, fc)
@@ -5989,10 +6119,11 @@ func (ec *executionContext) _EditCommentOperation_date(ctx context.Context, fiel
}
}()
fc := &graphql.FieldContext{
- Object: "EditCommentOperation",
- Field: field,
- Args: nil,
- IsMethod: true,
+ Object: "EditCommentOperation",
+ Field: field,
+ Args: nil,
+ IsMethod: true,
+ IsResolver: true,
}
ctx = graphql.WithFieldContext(ctx, fc)
@@ -6023,10 +6154,11 @@ func (ec *executionContext) _EditCommentOperation_target(ctx context.Context, fi
}
}()
fc := &graphql.FieldContext{
- Object: "EditCommentOperation",
- Field: field,
- Args: nil,
- IsMethod: true,
+ Object: "EditCommentOperation",
+ Field: field,
+ Args: nil,
+ IsMethod: true,
+ IsResolver: true,
}
ctx = graphql.WithFieldContext(ctx, fc)
@@ -6057,10 +6189,11 @@ func (ec *executionContext) _EditCommentOperation_message(ctx context.Context, f
}
}()
fc := &graphql.FieldContext{
- Object: "EditCommentOperation",
- Field: field,
- Args: nil,
- IsMethod: false,
+ Object: "EditCommentOperation",
+ Field: field,
+ Args: nil,
+ IsMethod: false,
+ IsResolver: false,
}
ctx = graphql.WithFieldContext(ctx, fc)
@@ -6091,10 +6224,11 @@ func (ec *executionContext) _EditCommentOperation_files(ctx context.Context, fie
}
}()
fc := &graphql.FieldContext{
- Object: "EditCommentOperation",
- Field: field,
- Args: nil,
- IsMethod: false,
+ Object: "EditCommentOperation",
+ Field: field,
+ Args: nil,
+ IsMethod: false,
+ IsResolver: false,
}
ctx = graphql.WithFieldContext(ctx, fc)
@@ -6125,10 +6259,11 @@ func (ec *executionContext) _EditCommentPayload_clientMutationId(ctx context.Con
}
}()
fc := &graphql.FieldContext{
- Object: "EditCommentPayload",
- Field: field,
- Args: nil,
- IsMethod: false,
+ Object: "EditCommentPayload",
+ Field: field,
+ Args: nil,
+ IsMethod: false,
+ IsResolver: false,
}
ctx = graphql.WithFieldContext(ctx, fc)
@@ -6156,10 +6291,11 @@ func (ec *executionContext) _EditCommentPayload_bug(ctx context.Context, field g
}
}()
fc := &graphql.FieldContext{
- Object: "EditCommentPayload",
- Field: field,
- Args: nil,
- IsMethod: false,
+ Object: "EditCommentPayload",
+ Field: field,
+ Args: nil,
+ IsMethod: false,
+ IsResolver: false,
}
ctx = graphql.WithFieldContext(ctx, fc)
@@ -6190,10 +6326,11 @@ func (ec *executionContext) _EditCommentPayload_operation(ctx context.Context, f
}
}()
fc := &graphql.FieldContext{
- Object: "EditCommentPayload",
- Field: field,
- Args: nil,
- IsMethod: false,
+ Object: "EditCommentPayload",
+ Field: field,
+ Args: nil,
+ IsMethod: false,
+ IsResolver: false,
}
ctx = graphql.WithFieldContext(ctx, fc)
@@ -6224,10 +6361,11 @@ func (ec *executionContext) _Identity_id(ctx context.Context, field graphql.Coll
}
}()
fc := &graphql.FieldContext{
- Object: "Identity",
- Field: field,
- Args: nil,
- IsMethod: true,
+ Object: "Identity",
+ Field: field,
+ Args: nil,
+ IsMethod: true,
+ IsResolver: true,
}
ctx = graphql.WithFieldContext(ctx, fc)
@@ -6258,10 +6396,11 @@ func (ec *executionContext) _Identity_humanId(ctx context.Context, field graphql
}
}()
fc := &graphql.FieldContext{
- Object: "Identity",
- Field: field,
- Args: nil,
- IsMethod: true,
+ Object: "Identity",
+ Field: field,
+ Args: nil,
+ IsMethod: true,
+ IsResolver: true,
}
ctx = graphql.WithFieldContext(ctx, fc)
@@ -6292,10 +6431,11 @@ func (ec *executionContext) _Identity_name(ctx context.Context, field graphql.Co
}
}()
fc := &graphql.FieldContext{
- Object: "Identity",
- Field: field,
- Args: nil,
- IsMethod: true,
+ Object: "Identity",
+ Field: field,
+ Args: nil,
+ IsMethod: true,
+ IsResolver: false,
}
ctx = graphql.WithFieldContext(ctx, fc)
@@ -6323,10 +6463,11 @@ func (ec *executionContext) _Identity_email(ctx context.Context, field graphql.C
}
}()
fc := &graphql.FieldContext{
- Object: "Identity",
- Field: field,
- Args: nil,
- IsMethod: true,
+ Object: "Identity",
+ Field: field,
+ Args: nil,
+ IsMethod: true,
+ IsResolver: false,
}
ctx = graphql.WithFieldContext(ctx, fc)
@@ -6354,10 +6495,11 @@ func (ec *executionContext) _Identity_login(ctx context.Context, field graphql.C
}
}()
fc := &graphql.FieldContext{
- Object: "Identity",
- Field: field,
- Args: nil,
- IsMethod: true,
+ Object: "Identity",
+ Field: field,
+ Args: nil,
+ IsMethod: true,
+ IsResolver: false,
}
ctx = graphql.WithFieldContext(ctx, fc)
@@ -6385,10 +6527,11 @@ func (ec *executionContext) _Identity_displayName(ctx context.Context, field gra
}
}()
fc := &graphql.FieldContext{
- Object: "Identity",
- Field: field,
- Args: nil,
- IsMethod: true,
+ Object: "Identity",
+ Field: field,
+ Args: nil,
+ IsMethod: true,
+ IsResolver: false,
}
ctx = graphql.WithFieldContext(ctx, fc)
@@ -6419,10 +6562,11 @@ func (ec *executionContext) _Identity_avatarUrl(ctx context.Context, field graph
}
}()
fc := &graphql.FieldContext{
- Object: "Identity",
- Field: field,
- Args: nil,
- IsMethod: true,
+ Object: "Identity",
+ Field: field,
+ Args: nil,
+ IsMethod: true,
+ IsResolver: false,
}
ctx = graphql.WithFieldContext(ctx, fc)
@@ -6450,10 +6594,11 @@ func (ec *executionContext) _Identity_isProtected(ctx context.Context, field gra
}
}()
fc := &graphql.FieldContext{
- Object: "Identity",
- Field: field,
- Args: nil,
- IsMethod: true,
+ Object: "Identity",
+ Field: field,
+ Args: nil,
+ IsMethod: true,
+ IsResolver: false,
}
ctx = graphql.WithFieldContext(ctx, fc)
@@ -6484,10 +6629,11 @@ func (ec *executionContext) _IdentityConnection_edges(ctx context.Context, field
}
}()
fc := &graphql.FieldContext{
- Object: "IdentityConnection",
- Field: field,
- Args: nil,
- IsMethod: false,
+ Object: "IdentityConnection",
+ Field: field,
+ Args: nil,
+ IsMethod: false,
+ IsResolver: false,
}
ctx = graphql.WithFieldContext(ctx, fc)
@@ -6518,10 +6664,11 @@ func (ec *executionContext) _IdentityConnection_nodes(ctx context.Context, field
}
}()
fc := &graphql.FieldContext{
- Object: "IdentityConnection",
- Field: field,
- Args: nil,
- IsMethod: false,
+ Object: "IdentityConnection",
+ Field: field,
+ Args: nil,
+ IsMethod: false,
+ IsResolver: false,
}
ctx = graphql.WithFieldContext(ctx, fc)
@@ -6552,10 +6699,11 @@ func (ec *executionContext) _IdentityConnection_pageInfo(ctx context.Context, fi
}
}()
fc := &graphql.FieldContext{
- Object: "IdentityConnection",
- Field: field,
- Args: nil,
- IsMethod: false,
+ Object: "IdentityConnection",
+ Field: field,
+ Args: nil,
+ IsMethod: false,
+ IsResolver: false,
}
ctx = graphql.WithFieldContext(ctx, fc)
@@ -6586,10 +6734,11 @@ func (ec *executionContext) _IdentityConnection_totalCount(ctx context.Context,
}
}()
fc := &graphql.FieldContext{
- Object: "IdentityConnection",
- Field: field,
- Args: nil,
- IsMethod: false,
+ Object: "IdentityConnection",
+ Field: field,
+ Args: nil,
+ IsMethod: false,
+ IsResolver: false,
}
ctx = graphql.WithFieldContext(ctx, fc)
@@ -6620,10 +6769,11 @@ func (ec *executionContext) _IdentityEdge_cursor(ctx context.Context, field grap
}
}()
fc := &graphql.FieldContext{
- Object: "IdentityEdge",
- Field: field,
- Args: nil,
- IsMethod: false,
+ Object: "IdentityEdge",
+ Field: field,
+ Args: nil,
+ IsMethod: false,
+ IsResolver: false,
}
ctx = graphql.WithFieldContext(ctx, fc)
@@ -6654,10 +6804,11 @@ func (ec *executionContext) _IdentityEdge_node(ctx context.Context, field graphq
}
}()
fc := &graphql.FieldContext{
- Object: "IdentityEdge",
- Field: field,
- Args: nil,
- IsMethod: false,
+ Object: "IdentityEdge",
+ Field: field,
+ Args: nil,
+ IsMethod: false,
+ IsResolver: false,
}
ctx = graphql.WithFieldContext(ctx, fc)
@@ -6688,10 +6839,11 @@ func (ec *executionContext) _Label_name(ctx context.Context, field graphql.Colle
}
}()
fc := &graphql.FieldContext{
- Object: "Label",
- Field: field,
- Args: nil,
- IsMethod: true,
+ Object: "Label",
+ Field: field,
+ Args: nil,
+ IsMethod: true,
+ IsResolver: true,
}
ctx = graphql.WithFieldContext(ctx, fc)
@@ -6722,10 +6874,11 @@ func (ec *executionContext) _Label_color(ctx context.Context, field graphql.Coll
}
}()
fc := &graphql.FieldContext{
- Object: "Label",
- Field: field,
- Args: nil,
- IsMethod: true,
+ Object: "Label",
+ Field: field,
+ Args: nil,
+ IsMethod: true,
+ IsResolver: true,
}
ctx = graphql.WithFieldContext(ctx, fc)
@@ -6756,10 +6909,11 @@ func (ec *executionContext) _LabelChangeOperation_id(ctx context.Context, field
}
}()
fc := &graphql.FieldContext{
- Object: "LabelChangeOperation",
- Field: field,
- Args: nil,
- IsMethod: true,
+ Object: "LabelChangeOperation",
+ Field: field,
+ Args: nil,
+ IsMethod: true,
+ IsResolver: true,
}
ctx = graphql.WithFieldContext(ctx, fc)
@@ -6790,10 +6944,11 @@ func (ec *executionContext) _LabelChangeOperation_author(ctx context.Context, fi
}
}()
fc := &graphql.FieldContext{
- Object: "LabelChangeOperation",
- Field: field,
- Args: nil,
- IsMethod: true,
+ Object: "LabelChangeOperation",
+ Field: field,
+ Args: nil,
+ IsMethod: true,
+ IsResolver: true,
}
ctx = graphql.WithFieldContext(ctx, fc)
@@ -6824,10 +6979,11 @@ func (ec *executionContext) _LabelChangeOperation_date(ctx context.Context, fiel
}
}()
fc := &graphql.FieldContext{
- Object: "LabelChangeOperation",
- Field: field,
- Args: nil,
- IsMethod: true,
+ Object: "LabelChangeOperation",
+ Field: field,
+ Args: nil,
+ IsMethod: true,
+ IsResolver: true,
}
ctx = graphql.WithFieldContext(ctx, fc)
@@ -6858,10 +7014,11 @@ func (ec *executionContext) _LabelChangeOperation_added(ctx context.Context, fie
}
}()
fc := &graphql.FieldContext{
- Object: "LabelChangeOperation",
- Field: field,
- Args: nil,
- IsMethod: false,
+ Object: "LabelChangeOperation",
+ Field: field,
+ Args: nil,
+ IsMethod: false,
+ IsResolver: false,
}
ctx = graphql.WithFieldContext(ctx, fc)
@@ -6892,10 +7049,11 @@ func (ec *executionContext) _LabelChangeOperation_removed(ctx context.Context, f
}
}()
fc := &graphql.FieldContext{
- Object: "LabelChangeOperation",
- Field: field,
- Args: nil,
- IsMethod: false,
+ Object: "LabelChangeOperation",
+ Field: field,
+ Args: nil,
+ IsMethod: false,
+ IsResolver: false,
}
ctx = graphql.WithFieldContext(ctx, fc)
@@ -6926,10 +7084,11 @@ func (ec *executionContext) _LabelChangeResult_label(ctx context.Context, field
}
}()
fc := &graphql.FieldContext{
- Object: "LabelChangeResult",
- Field: field,
- Args: nil,
- IsMethod: false,
+ Object: "LabelChangeResult",
+ Field: field,
+ Args: nil,
+ IsMethod: false,
+ IsResolver: false,
}
ctx = graphql.WithFieldContext(ctx, fc)
@@ -6960,10 +7119,11 @@ func (ec *executionContext) _LabelChangeResult_status(ctx context.Context, field
}
}()
fc := &graphql.FieldContext{
- Object: "LabelChangeResult",
- Field: field,
- Args: nil,
- IsMethod: true,
+ Object: "LabelChangeResult",
+ Field: field,
+ Args: nil,
+ IsMethod: true,
+ IsResolver: true,
}
ctx = graphql.WithFieldContext(ctx, fc)
@@ -6994,10 +7154,11 @@ func (ec *executionContext) _LabelChangeTimelineItem_id(ctx context.Context, fie
}
}()
fc := &graphql.FieldContext{
- Object: "LabelChangeTimelineItem",
- Field: field,
- Args: nil,
- IsMethod: true,
+ Object: "LabelChangeTimelineItem",
+ Field: field,
+ Args: nil,
+ IsMethod: true,
+ IsResolver: true,
}
ctx = graphql.WithFieldContext(ctx, fc)
@@ -7028,10 +7189,11 @@ func (ec *executionContext) _LabelChangeTimelineItem_author(ctx context.Context,
}
}()
fc := &graphql.FieldContext{
- Object: "LabelChangeTimelineItem",
- Field: field,
- Args: nil,
- IsMethod: true,
+ Object: "LabelChangeTimelineItem",
+ Field: field,
+ Args: nil,
+ IsMethod: true,
+ IsResolver: true,
}
ctx = graphql.WithFieldContext(ctx, fc)
@@ -7062,10 +7224,11 @@ func (ec *executionContext) _LabelChangeTimelineItem_date(ctx context.Context, f
}
}()
fc := &graphql.FieldContext{
- Object: "LabelChangeTimelineItem",
- Field: field,
- Args: nil,
- IsMethod: true,
+ Object: "LabelChangeTimelineItem",
+ Field: field,
+ Args: nil,
+ IsMethod: true,
+ IsResolver: true,
}
ctx = graphql.WithFieldContext(ctx, fc)
@@ -7096,10 +7259,11 @@ func (ec *executionContext) _LabelChangeTimelineItem_added(ctx context.Context,
}
}()
fc := &graphql.FieldContext{
- Object: "LabelChangeTimelineItem",
- Field: field,
- Args: nil,
- IsMethod: false,
+ Object: "LabelChangeTimelineItem",
+ Field: field,
+ Args: nil,
+ IsMethod: false,
+ IsResolver: false,
}
ctx = graphql.WithFieldContext(ctx, fc)
@@ -7130,10 +7294,11 @@ func (ec *executionContext) _LabelChangeTimelineItem_removed(ctx context.Context
}
}()
fc := &graphql.FieldContext{
- Object: "LabelChangeTimelineItem",
- Field: field,
- Args: nil,
- IsMethod: false,
+ Object: "LabelChangeTimelineItem",
+ Field: field,
+ Args: nil,
+ IsMethod: false,
+ IsResolver: false,
}
ctx = graphql.WithFieldContext(ctx, fc)
@@ -7164,10 +7329,11 @@ func (ec *executionContext) _LabelConnection_edges(ctx context.Context, field gr
}
}()
fc := &graphql.FieldContext{
- Object: "LabelConnection",
- Field: field,
- Args: nil,
- IsMethod: false,
+ Object: "LabelConnection",
+ Field: field,
+ Args: nil,
+ IsMethod: false,
+ IsResolver: false,
}
ctx = graphql.WithFieldContext(ctx, fc)
@@ -7198,10 +7364,11 @@ func (ec *executionContext) _LabelConnection_nodes(ctx context.Context, field gr
}
}()
fc := &graphql.FieldContext{
- Object: "LabelConnection",
- Field: field,
- Args: nil,
- IsMethod: false,
+ Object: "LabelConnection",
+ Field: field,
+ Args: nil,
+ IsMethod: false,
+ IsResolver: false,
}
ctx = graphql.WithFieldContext(ctx, fc)
@@ -7232,10 +7399,11 @@ func (ec *executionContext) _LabelConnection_pageInfo(ctx context.Context, field
}
}()
fc := &graphql.FieldContext{
- Object: "LabelConnection",
- Field: field,
- Args: nil,
- IsMethod: false,
+ Object: "LabelConnection",
+ Field: field,
+ Args: nil,
+ IsMethod: false,
+ IsResolver: false,
}
ctx = graphql.WithFieldContext(ctx, fc)
@@ -7266,10 +7434,11 @@ func (ec *executionContext) _LabelConnection_totalCount(ctx context.Context, fie
}
}()
fc := &graphql.FieldContext{
- Object: "LabelConnection",
- Field: field,
- Args: nil,
- IsMethod: false,
+ Object: "LabelConnection",
+ Field: field,
+ Args: nil,
+ IsMethod: false,
+ IsResolver: false,
}
ctx = graphql.WithFieldContext(ctx, fc)
@@ -7300,10 +7469,11 @@ func (ec *executionContext) _LabelEdge_cursor(ctx context.Context, field graphql
}
}()
fc := &graphql.FieldContext{
- Object: "LabelEdge",
- Field: field,
- Args: nil,
- IsMethod: false,
+ Object: "LabelEdge",
+ Field: field,
+ Args: nil,
+ IsMethod: false,
+ IsResolver: false,
}
ctx = graphql.WithFieldContext(ctx, fc)
@@ -7334,10 +7504,11 @@ func (ec *executionContext) _LabelEdge_node(ctx context.Context, field graphql.C
}
}()
fc := &graphql.FieldContext{
- Object: "LabelEdge",
- Field: field,
- Args: nil,
- IsMethod: false,
+ Object: "LabelEdge",
+ Field: field,
+ Args: nil,
+ IsMethod: false,
+ IsResolver: false,
}
ctx = graphql.WithFieldContext(ctx, fc)
@@ -7368,10 +7539,11 @@ func (ec *executionContext) _Mutation_newBug(ctx context.Context, field graphql.
}
}()
fc := &graphql.FieldContext{
- Object: "Mutation",
- Field: field,
- Args: nil,
- IsMethod: true,
+ Object: "Mutation",
+ Field: field,
+ Args: nil,
+ IsMethod: true,
+ IsResolver: true,
}
ctx = graphql.WithFieldContext(ctx, fc)
@@ -7409,10 +7581,11 @@ func (ec *executionContext) _Mutation_addComment(ctx context.Context, field grap
}
}()
fc := &graphql.FieldContext{
- Object: "Mutation",
- Field: field,
- Args: nil,
- IsMethod: true,
+ Object: "Mutation",
+ Field: field,
+ Args: nil,
+ IsMethod: true,
+ IsResolver: true,
}
ctx = graphql.WithFieldContext(ctx, fc)
@@ -7450,10 +7623,11 @@ func (ec *executionContext) _Mutation_addCommentAndClose(ctx context.Context, fi
}
}()
fc := &graphql.FieldContext{
- Object: "Mutation",
- Field: field,
- Args: nil,
- IsMethod: true,
+ Object: "Mutation",
+ Field: field,
+ Args: nil,
+ IsMethod: true,
+ IsResolver: true,
}
ctx = graphql.WithFieldContext(ctx, fc)
@@ -7491,10 +7665,11 @@ func (ec *executionContext) _Mutation_addCommentAndReopen(ctx context.Context, f
}
}()
fc := &graphql.FieldContext{
- Object: "Mutation",
- Field: field,
- Args: nil,
- IsMethod: true,
+ Object: "Mutation",
+ Field: field,
+ Args: nil,
+ IsMethod: true,
+ IsResolver: true,
}
ctx = graphql.WithFieldContext(ctx, fc)
@@ -7532,10 +7707,11 @@ func (ec *executionContext) _Mutation_editComment(ctx context.Context, field gra
}
}()
fc := &graphql.FieldContext{
- Object: "Mutation",
- Field: field,
- Args: nil,
- IsMethod: true,
+ Object: "Mutation",
+ Field: field,
+ Args: nil,
+ IsMethod: true,
+ IsResolver: true,
}
ctx = graphql.WithFieldContext(ctx, fc)
@@ -7573,10 +7749,11 @@ func (ec *executionContext) _Mutation_changeLabels(ctx context.Context, field gr
}
}()
fc := &graphql.FieldContext{
- Object: "Mutation",
- Field: field,
- Args: nil,
- IsMethod: true,
+ Object: "Mutation",
+ Field: field,
+ Args: nil,
+ IsMethod: true,
+ IsResolver: true,
}
ctx = graphql.WithFieldContext(ctx, fc)
@@ -7614,10 +7791,11 @@ func (ec *executionContext) _Mutation_openBug(ctx context.Context, field graphql
}
}()
fc := &graphql.FieldContext{
- Object: "Mutation",
- Field: field,
- Args: nil,
- IsMethod: true,
+ Object: "Mutation",
+ Field: field,
+ Args: nil,
+ IsMethod: true,
+ IsResolver: true,
}
ctx = graphql.WithFieldContext(ctx, fc)
@@ -7655,10 +7833,11 @@ func (ec *executionContext) _Mutation_closeBug(ctx context.Context, field graphq
}
}()
fc := &graphql.FieldContext{
- Object: "Mutation",
- Field: field,
- Args: nil,
- IsMethod: true,
+ Object: "Mutation",
+ Field: field,
+ Args: nil,
+ IsMethod: true,
+ IsResolver: true,
}
ctx = graphql.WithFieldContext(ctx, fc)
@@ -7696,10 +7875,11 @@ func (ec *executionContext) _Mutation_setTitle(ctx context.Context, field graphq
}
}()
fc := &graphql.FieldContext{
- Object: "Mutation",
- Field: field,
- Args: nil,
- IsMethod: true,
+ Object: "Mutation",
+ Field: field,
+ Args: nil,
+ IsMethod: true,
+ IsResolver: true,
}
ctx = graphql.WithFieldContext(ctx, fc)
@@ -7737,10 +7917,11 @@ func (ec *executionContext) _NewBugPayload_clientMutationId(ctx context.Context,
}
}()
fc := &graphql.FieldContext{
- Object: "NewBugPayload",
- Field: field,
- Args: nil,
- IsMethod: false,
+ Object: "NewBugPayload",
+ Field: field,
+ Args: nil,
+ IsMethod: false,
+ IsResolver: false,
}
ctx = graphql.WithFieldContext(ctx, fc)
@@ -7768,10 +7949,11 @@ func (ec *executionContext) _NewBugPayload_bug(ctx context.Context, field graphq
}
}()
fc := &graphql.FieldContext{
- Object: "NewBugPayload",
- Field: field,
- Args: nil,
- IsMethod: false,
+ Object: "NewBugPayload",
+ Field: field,
+ Args: nil,
+ IsMethod: false,
+ IsResolver: false,
}
ctx = graphql.WithFieldContext(ctx, fc)
@@ -7802,10 +7984,11 @@ func (ec *executionContext) _NewBugPayload_operation(ctx context.Context, field
}
}()
fc := &graphql.FieldContext{
- Object: "NewBugPayload",
- Field: field,
- Args: nil,
- IsMethod: false,
+ Object: "NewBugPayload",
+ Field: field,
+ Args: nil,
+ IsMethod: false,
+ IsResolver: false,
}
ctx = graphql.WithFieldContext(ctx, fc)
@@ -7836,10 +8019,11 @@ func (ec *executionContext) _OpenBugPayload_clientMutationId(ctx context.Context
}
}()
fc := &graphql.FieldContext{
- Object: "OpenBugPayload",
- Field: field,
- Args: nil,
- IsMethod: false,
+ Object: "OpenBugPayload",
+ Field: field,
+ Args: nil,
+ IsMethod: false,
+ IsResolver: false,
}
ctx = graphql.WithFieldContext(ctx, fc)
@@ -7867,10 +8051,11 @@ func (ec *executionContext) _OpenBugPayload_bug(ctx context.Context, field graph
}
}()
fc := &graphql.FieldContext{
- Object: "OpenBugPayload",
- Field: field,
- Args: nil,
- IsMethod: false,
+ Object: "OpenBugPayload",
+ Field: field,
+ Args: nil,
+ IsMethod: false,
+ IsResolver: false,
}
ctx = graphql.WithFieldContext(ctx, fc)
@@ -7901,10 +8086,11 @@ func (ec *executionContext) _OpenBugPayload_operation(ctx context.Context, field
}
}()
fc := &graphql.FieldContext{
- Object: "OpenBugPayload",
- Field: field,
- Args: nil,
- IsMethod: false,
+ Object: "OpenBugPayload",
+ Field: field,
+ Args: nil,
+ IsMethod: false,
+ IsResolver: false,
}
ctx = graphql.WithFieldContext(ctx, fc)
@@ -7935,10 +8121,11 @@ func (ec *executionContext) _OperationConnection_edges(ctx context.Context, fiel
}
}()
fc := &graphql.FieldContext{
- Object: "OperationConnection",
- Field: field,
- Args: nil,
- IsMethod: false,
+ Object: "OperationConnection",
+ Field: field,
+ Args: nil,
+ IsMethod: false,
+ IsResolver: false,
}
ctx = graphql.WithFieldContext(ctx, fc)
@@ -7969,10 +8156,11 @@ func (ec *executionContext) _OperationConnection_nodes(ctx context.Context, fiel
}
}()
fc := &graphql.FieldContext{
- Object: "OperationConnection",
- Field: field,
- Args: nil,
- IsMethod: false,
+ Object: "OperationConnection",
+ Field: field,
+ Args: nil,
+ IsMethod: false,
+ IsResolver: false,
}
ctx = graphql.WithFieldContext(ctx, fc)
@@ -8003,10 +8191,11 @@ func (ec *executionContext) _OperationConnection_pageInfo(ctx context.Context, f
}
}()
fc := &graphql.FieldContext{
- Object: "OperationConnection",
- Field: field,
- Args: nil,
- IsMethod: false,
+ Object: "OperationConnection",
+ Field: field,
+ Args: nil,
+ IsMethod: false,
+ IsResolver: false,
}
ctx = graphql.WithFieldContext(ctx, fc)
@@ -8037,10 +8226,11 @@ func (ec *executionContext) _OperationConnection_totalCount(ctx context.Context,
}
}()
fc := &graphql.FieldContext{
- Object: "OperationConnection",
- Field: field,
- Args: nil,
- IsMethod: false,
+ Object: "OperationConnection",
+ Field: field,
+ Args: nil,
+ IsMethod: false,
+ IsResolver: false,
}
ctx = graphql.WithFieldContext(ctx, fc)
@@ -8071,10 +8261,11 @@ func (ec *executionContext) _OperationEdge_cursor(ctx context.Context, field gra
}
}()
fc := &graphql.FieldContext{
- Object: "OperationEdge",
- Field: field,
- Args: nil,
- IsMethod: false,
+ Object: "OperationEdge",
+ Field: field,
+ Args: nil,
+ IsMethod: false,
+ IsResolver: false,
}
ctx = graphql.WithFieldContext(ctx, fc)
@@ -8105,10 +8296,11 @@ func (ec *executionContext) _OperationEdge_node(ctx context.Context, field graph
}
}()
fc := &graphql.FieldContext{
- Object: "OperationEdge",
- Field: field,
- Args: nil,
- IsMethod: false,
+ Object: "OperationEdge",
+ Field: field,
+ Args: nil,
+ IsMethod: false,
+ IsResolver: false,
}
ctx = graphql.WithFieldContext(ctx, fc)
@@ -8139,10 +8331,11 @@ func (ec *executionContext) _PageInfo_hasNextPage(ctx context.Context, field gra
}
}()
fc := &graphql.FieldContext{
- Object: "PageInfo",
- Field: field,
- Args: nil,
- IsMethod: false,
+ Object: "PageInfo",
+ Field: field,
+ Args: nil,
+ IsMethod: false,
+ IsResolver: false,
}
ctx = graphql.WithFieldContext(ctx, fc)
@@ -8173,10 +8366,11 @@ func (ec *executionContext) _PageInfo_hasPreviousPage(ctx context.Context, field
}
}()
fc := &graphql.FieldContext{
- Object: "PageInfo",
- Field: field,
- Args: nil,
- IsMethod: false,
+ Object: "PageInfo",
+ Field: field,
+ Args: nil,
+ IsMethod: false,
+ IsResolver: false,
}
ctx = graphql.WithFieldContext(ctx, fc)
@@ -8207,10 +8401,11 @@ func (ec *executionContext) _PageInfo_startCursor(ctx context.Context, field gra
}
}()
fc := &graphql.FieldContext{
- Object: "PageInfo",
- Field: field,
- Args: nil,
- IsMethod: false,
+ Object: "PageInfo",
+ Field: field,
+ Args: nil,
+ IsMethod: false,
+ IsResolver: false,
}
ctx = graphql.WithFieldContext(ctx, fc)
@@ -8241,10 +8436,11 @@ func (ec *executionContext) _PageInfo_endCursor(ctx context.Context, field graph
}
}()
fc := &graphql.FieldContext{
- Object: "PageInfo",
- Field: field,
- Args: nil,
- IsMethod: false,
+ Object: "PageInfo",
+ Field: field,
+ Args: nil,
+ IsMethod: false,
+ IsResolver: false,
}
ctx = graphql.WithFieldContext(ctx, fc)
@@ -8275,10 +8471,11 @@ func (ec *executionContext) _Query_repository(ctx context.Context, field graphql
}
}()
fc := &graphql.FieldContext{
- Object: "Query",
- Field: field,
- Args: nil,
- IsMethod: true,
+ Object: "Query",
+ Field: field,
+ Args: nil,
+ IsMethod: true,
+ IsResolver: true,
}
ctx = graphql.WithFieldContext(ctx, fc)
@@ -8313,10 +8510,11 @@ func (ec *executionContext) _Query___type(ctx context.Context, field graphql.Col
}
}()
fc := &graphql.FieldContext{
- Object: "Query",
- Field: field,
- Args: nil,
- IsMethod: true,
+ Object: "Query",
+ Field: field,
+ Args: nil,
+ IsMethod: true,
+ IsResolver: false,
}
ctx = graphql.WithFieldContext(ctx, fc)
@@ -8351,10 +8549,11 @@ func (ec *executionContext) _Query___schema(ctx context.Context, field graphql.C
}
}()
fc := &graphql.FieldContext{
- Object: "Query",
- Field: field,
- Args: nil,
- IsMethod: true,
+ Object: "Query",
+ Field: field,
+ Args: nil,
+ IsMethod: true,
+ IsResolver: false,
}
ctx = graphql.WithFieldContext(ctx, fc)
@@ -8382,10 +8581,11 @@ func (ec *executionContext) _Repository_name(ctx context.Context, field graphql.
}
}()
fc := &graphql.FieldContext{
- Object: "Repository",
- Field: field,
- Args: nil,
- IsMethod: true,
+ Object: "Repository",
+ Field: field,
+ Args: nil,
+ IsMethod: true,
+ IsResolver: true,
}
ctx = graphql.WithFieldContext(ctx, fc)
@@ -8413,10 +8613,11 @@ func (ec *executionContext) _Repository_allBugs(ctx context.Context, field graph
}
}()
fc := &graphql.FieldContext{
- Object: "Repository",
- Field: field,
- Args: nil,
- IsMethod: true,
+ Object: "Repository",
+ Field: field,
+ Args: nil,
+ IsMethod: true,
+ IsResolver: true,
}
ctx = graphql.WithFieldContext(ctx, fc)
@@ -8454,10 +8655,11 @@ func (ec *executionContext) _Repository_bug(ctx context.Context, field graphql.C
}
}()
fc := &graphql.FieldContext{
- Object: "Repository",
- Field: field,
- Args: nil,
- IsMethod: true,
+ Object: "Repository",
+ Field: field,
+ Args: nil,
+ IsMethod: true,
+ IsResolver: true,
}
ctx = graphql.WithFieldContext(ctx, fc)
@@ -8492,10 +8694,11 @@ func (ec *executionContext) _Repository_allIdentities(ctx context.Context, field
}
}()
fc := &graphql.FieldContext{
- Object: "Repository",
- Field: field,
- Args: nil,
- IsMethod: true,
+ Object: "Repository",
+ Field: field,
+ Args: nil,
+ IsMethod: true,
+ IsResolver: true,
}
ctx = graphql.WithFieldContext(ctx, fc)
@@ -8533,10 +8736,11 @@ func (ec *executionContext) _Repository_identity(ctx context.Context, field grap
}
}()
fc := &graphql.FieldContext{
- Object: "Repository",
- Field: field,
- Args: nil,
- IsMethod: true,
+ Object: "Repository",
+ Field: field,
+ Args: nil,
+ IsMethod: true,
+ IsResolver: true,
}
ctx = graphql.WithFieldContext(ctx, fc)
@@ -8571,10 +8775,11 @@ func (ec *executionContext) _Repository_userIdentity(ctx context.Context, field
}
}()
fc := &graphql.FieldContext{
- Object: "Repository",
- Field: field,
- Args: nil,
- IsMethod: true,
+ Object: "Repository",
+ Field: field,
+ Args: nil,
+ IsMethod: true,
+ IsResolver: true,
}
ctx = graphql.WithFieldContext(ctx, fc)
@@ -8602,10 +8807,11 @@ func (ec *executionContext) _Repository_validLabels(ctx context.Context, field g
}
}()
fc := &graphql.FieldContext{
- Object: "Repository",
- Field: field,
- Args: nil,
- IsMethod: true,
+ Object: "Repository",
+ Field: field,
+ Args: nil,
+ IsMethod: true,
+ IsResolver: true,
}
ctx = graphql.WithFieldContext(ctx, fc)
@@ -8643,10 +8849,11 @@ func (ec *executionContext) _SetStatusOperation_id(ctx context.Context, field gr
}
}()
fc := &graphql.FieldContext{
- Object: "SetStatusOperation",
- Field: field,
- Args: nil,
- IsMethod: true,
+ Object: "SetStatusOperation",
+ Field: field,
+ Args: nil,
+ IsMethod: true,
+ IsResolver: true,
}
ctx = graphql.WithFieldContext(ctx, fc)
@@ -8677,10 +8884,11 @@ func (ec *executionContext) _SetStatusOperation_author(ctx context.Context, fiel
}
}()
fc := &graphql.FieldContext{
- Object: "SetStatusOperation",
- Field: field,
- Args: nil,
- IsMethod: true,
+ Object: "SetStatusOperation",
+ Field: field,
+ Args: nil,
+ IsMethod: true,
+ IsResolver: true,
}
ctx = graphql.WithFieldContext(ctx, fc)
@@ -8711,10 +8919,11 @@ func (ec *executionContext) _SetStatusOperation_date(ctx context.Context, field
}
}()
fc := &graphql.FieldContext{
- Object: "SetStatusOperation",
- Field: field,
- Args: nil,
- IsMethod: true,
+ Object: "SetStatusOperation",
+ Field: field,
+ Args: nil,
+ IsMethod: true,
+ IsResolver: true,
}
ctx = graphql.WithFieldContext(ctx, fc)
@@ -8745,10 +8954,11 @@ func (ec *executionContext) _SetStatusOperation_status(ctx context.Context, fiel
}
}()
fc := &graphql.FieldContext{
- Object: "SetStatusOperation",
- Field: field,
- Args: nil,
- IsMethod: true,
+ Object: "SetStatusOperation",
+ Field: field,
+ Args: nil,
+ IsMethod: true,
+ IsResolver: true,
}
ctx = graphql.WithFieldContext(ctx, fc)
@@ -8779,10 +8989,11 @@ func (ec *executionContext) _SetStatusTimelineItem_id(ctx context.Context, field
}
}()
fc := &graphql.FieldContext{
- Object: "SetStatusTimelineItem",
- Field: field,
- Args: nil,
- IsMethod: true,
+ Object: "SetStatusTimelineItem",
+ Field: field,
+ Args: nil,
+ IsMethod: true,
+ IsResolver: true,
}
ctx = graphql.WithFieldContext(ctx, fc)
@@ -8813,10 +9024,11 @@ func (ec *executionContext) _SetStatusTimelineItem_author(ctx context.Context, f
}
}()
fc := &graphql.FieldContext{
- Object: "SetStatusTimelineItem",
- Field: field,
- Args: nil,
- IsMethod: true,
+ Object: "SetStatusTimelineItem",
+ Field: field,
+ Args: nil,
+ IsMethod: true,
+ IsResolver: true,
}
ctx = graphql.WithFieldContext(ctx, fc)
@@ -8847,10 +9059,11 @@ func (ec *executionContext) _SetStatusTimelineItem_date(ctx context.Context, fie
}
}()
fc := &graphql.FieldContext{
- Object: "SetStatusTimelineItem",
- Field: field,
- Args: nil,
- IsMethod: true,
+ Object: "SetStatusTimelineItem",
+ Field: field,
+ Args: nil,
+ IsMethod: true,
+ IsResolver: true,
}
ctx = graphql.WithFieldContext(ctx, fc)
@@ -8881,10 +9094,11 @@ func (ec *executionContext) _SetStatusTimelineItem_status(ctx context.Context, f
}
}()
fc := &graphql.FieldContext{
- Object: "SetStatusTimelineItem",
- Field: field,
- Args: nil,
- IsMethod: true,
+ Object: "SetStatusTimelineItem",
+ Field: field,
+ Args: nil,
+ IsMethod: true,
+ IsResolver: true,
}
ctx = graphql.WithFieldContext(ctx, fc)
@@ -8915,10 +9129,11 @@ func (ec *executionContext) _SetTitleOperation_id(ctx context.Context, field gra
}
}()
fc := &graphql.FieldContext{
- Object: "SetTitleOperation",
- Field: field,
- Args: nil,
- IsMethod: true,
+ Object: "SetTitleOperation",
+ Field: field,
+ Args: nil,
+ IsMethod: true,
+ IsResolver: true,
}
ctx = graphql.WithFieldContext(ctx, fc)
@@ -8949,10 +9164,11 @@ func (ec *executionContext) _SetTitleOperation_author(ctx context.Context, field
}
}()
fc := &graphql.FieldContext{
- Object: "SetTitleOperation",
- Field: field,
- Args: nil,
- IsMethod: true,
+ Object: "SetTitleOperation",
+ Field: field,
+ Args: nil,
+ IsMethod: true,
+ IsResolver: true,
}
ctx = graphql.WithFieldContext(ctx, fc)
@@ -8983,10 +9199,11 @@ func (ec *executionContext) _SetTitleOperation_date(ctx context.Context, field g
}
}()
fc := &graphql.FieldContext{
- Object: "SetTitleOperation",
- Field: field,
- Args: nil,
- IsMethod: true,
+ Object: "SetTitleOperation",
+ Field: field,
+ Args: nil,
+ IsMethod: true,
+ IsResolver: true,
}
ctx = graphql.WithFieldContext(ctx, fc)
@@ -9017,10 +9234,11 @@ func (ec *executionContext) _SetTitleOperation_title(ctx context.Context, field
}
}()
fc := &graphql.FieldContext{
- Object: "SetTitleOperation",
- Field: field,
- Args: nil,
- IsMethod: false,
+ Object: "SetTitleOperation",
+ Field: field,
+ Args: nil,
+ IsMethod: false,
+ IsResolver: false,
}
ctx = graphql.WithFieldContext(ctx, fc)
@@ -9051,10 +9269,11 @@ func (ec *executionContext) _SetTitleOperation_was(ctx context.Context, field gr
}
}()
fc := &graphql.FieldContext{
- Object: "SetTitleOperation",
- Field: field,
- Args: nil,
- IsMethod: false,
+ Object: "SetTitleOperation",
+ Field: field,
+ Args: nil,
+ IsMethod: false,
+ IsResolver: false,
}
ctx = graphql.WithFieldContext(ctx, fc)
@@ -9085,10 +9304,11 @@ func (ec *executionContext) _SetTitlePayload_clientMutationId(ctx context.Contex
}
}()
fc := &graphql.FieldContext{
- Object: "SetTitlePayload",
- Field: field,
- Args: nil,
- IsMethod: false,
+ Object: "SetTitlePayload",
+ Field: field,
+ Args: nil,
+ IsMethod: false,
+ IsResolver: false,
}
ctx = graphql.WithFieldContext(ctx, fc)
@@ -9116,10 +9336,11 @@ func (ec *executionContext) _SetTitlePayload_bug(ctx context.Context, field grap
}
}()
fc := &graphql.FieldContext{
- Object: "SetTitlePayload",
- Field: field,
- Args: nil,
- IsMethod: false,
+ Object: "SetTitlePayload",
+ Field: field,
+ Args: nil,
+ IsMethod: false,
+ IsResolver: false,
}
ctx = graphql.WithFieldContext(ctx, fc)
@@ -9150,10 +9371,11 @@ func (ec *executionContext) _SetTitlePayload_operation(ctx context.Context, fiel
}
}()
fc := &graphql.FieldContext{
- Object: "SetTitlePayload",
- Field: field,
- Args: nil,
- IsMethod: false,
+ Object: "SetTitlePayload",
+ Field: field,
+ Args: nil,
+ IsMethod: false,
+ IsResolver: false,
}
ctx = graphql.WithFieldContext(ctx, fc)
@@ -9184,10 +9406,11 @@ func (ec *executionContext) _SetTitleTimelineItem_id(ctx context.Context, field
}
}()
fc := &graphql.FieldContext{
- Object: "SetTitleTimelineItem",
- Field: field,
- Args: nil,
- IsMethod: true,
+ Object: "SetTitleTimelineItem",
+ Field: field,
+ Args: nil,
+ IsMethod: true,
+ IsResolver: true,
}
ctx = graphql.WithFieldContext(ctx, fc)
@@ -9218,10 +9441,11 @@ func (ec *executionContext) _SetTitleTimelineItem_author(ctx context.Context, fi
}
}()
fc := &graphql.FieldContext{
- Object: "SetTitleTimelineItem",
- Field: field,
- Args: nil,
- IsMethod: true,
+ Object: "SetTitleTimelineItem",
+ Field: field,
+ Args: nil,
+ IsMethod: true,
+ IsResolver: true,
}
ctx = graphql.WithFieldContext(ctx, fc)
@@ -9252,10 +9476,11 @@ func (ec *executionContext) _SetTitleTimelineItem_date(ctx context.Context, fiel
}
}()
fc := &graphql.FieldContext{
- Object: "SetTitleTimelineItem",
- Field: field,
- Args: nil,
- IsMethod: true,
+ Object: "SetTitleTimelineItem",
+ Field: field,
+ Args: nil,
+ IsMethod: true,
+ IsResolver: true,
}
ctx = graphql.WithFieldContext(ctx, fc)
@@ -9286,10 +9511,11 @@ func (ec *executionContext) _SetTitleTimelineItem_title(ctx context.Context, fie
}
}()
fc := &graphql.FieldContext{
- Object: "SetTitleTimelineItem",
- Field: field,
- Args: nil,
- IsMethod: false,
+ Object: "SetTitleTimelineItem",
+ Field: field,
+ Args: nil,
+ IsMethod: false,
+ IsResolver: false,
}
ctx = graphql.WithFieldContext(ctx, fc)
@@ -9320,10 +9546,11 @@ func (ec *executionContext) _SetTitleTimelineItem_was(ctx context.Context, field
}
}()
fc := &graphql.FieldContext{
- Object: "SetTitleTimelineItem",
- Field: field,
- Args: nil,
- IsMethod: false,
+ Object: "SetTitleTimelineItem",
+ Field: field,
+ Args: nil,
+ IsMethod: false,
+ IsResolver: false,
}
ctx = graphql.WithFieldContext(ctx, fc)
@@ -9354,10 +9581,11 @@ func (ec *executionContext) _TimelineItemConnection_edges(ctx context.Context, f
}
}()
fc := &graphql.FieldContext{
- Object: "TimelineItemConnection",
- Field: field,
- Args: nil,
- IsMethod: false,
+ Object: "TimelineItemConnection",
+ Field: field,
+ Args: nil,
+ IsMethod: false,
+ IsResolver: false,
}
ctx = graphql.WithFieldContext(ctx, fc)
@@ -9388,10 +9616,11 @@ func (ec *executionContext) _TimelineItemConnection_nodes(ctx context.Context, f
}
}()
fc := &graphql.FieldContext{
- Object: "TimelineItemConnection",
- Field: field,
- Args: nil,
- IsMethod: false,
+ Object: "TimelineItemConnection",
+ Field: field,
+ Args: nil,
+ IsMethod: false,
+ IsResolver: false,
}
ctx = graphql.WithFieldContext(ctx, fc)
@@ -9422,10 +9651,11 @@ func (ec *executionContext) _TimelineItemConnection_pageInfo(ctx context.Context
}
}()
fc := &graphql.FieldContext{
- Object: "TimelineItemConnection",
- Field: field,
- Args: nil,
- IsMethod: false,
+ Object: "TimelineItemConnection",
+ Field: field,
+ Args: nil,
+ IsMethod: false,
+ IsResolver: false,
}
ctx = graphql.WithFieldContext(ctx, fc)
@@ -9456,10 +9686,11 @@ func (ec *executionContext) _TimelineItemConnection_totalCount(ctx context.Conte
}
}()
fc := &graphql.FieldContext{
- Object: "TimelineItemConnection",
- Field: field,
- Args: nil,
- IsMethod: false,
+ Object: "TimelineItemConnection",
+ Field: field,
+ Args: nil,
+ IsMethod: false,
+ IsResolver: false,
}
ctx = graphql.WithFieldContext(ctx, fc)
@@ -9490,10 +9721,11 @@ func (ec *executionContext) _TimelineItemEdge_cursor(ctx context.Context, field
}
}()
fc := &graphql.FieldContext{
- Object: "TimelineItemEdge",
- Field: field,
- Args: nil,
- IsMethod: false,
+ Object: "TimelineItemEdge",
+ Field: field,
+ Args: nil,
+ IsMethod: false,
+ IsResolver: false,
}
ctx = graphql.WithFieldContext(ctx, fc)
@@ -9524,10 +9756,11 @@ func (ec *executionContext) _TimelineItemEdge_node(ctx context.Context, field gr
}
}()
fc := &graphql.FieldContext{
- Object: "TimelineItemEdge",
- Field: field,
- Args: nil,
- IsMethod: false,
+ Object: "TimelineItemEdge",
+ Field: field,
+ Args: nil,
+ IsMethod: false,
+ IsResolver: false,
}
ctx = graphql.WithFieldContext(ctx, fc)
@@ -9558,10 +9791,11 @@ func (ec *executionContext) ___Directive_name(ctx context.Context, field graphql
}
}()
fc := &graphql.FieldContext{
- Object: "__Directive",
- Field: field,
- Args: nil,
- IsMethod: false,
+ Object: "__Directive",
+ Field: field,
+ Args: nil,
+ IsMethod: false,
+ IsResolver: false,
}
ctx = graphql.WithFieldContext(ctx, fc)
@@ -9592,10 +9826,11 @@ func (ec *executionContext) ___Directive_description(ctx context.Context, field
}
}()
fc := &graphql.FieldContext{
- Object: "__Directive",
- Field: field,
- Args: nil,
- IsMethod: false,
+ Object: "__Directive",
+ Field: field,
+ Args: nil,
+ IsMethod: false,
+ IsResolver: false,
}
ctx = graphql.WithFieldContext(ctx, fc)
@@ -9623,10 +9858,11 @@ func (ec *executionContext) ___Directive_locations(ctx context.Context, field gr
}
}()
fc := &graphql.FieldContext{
- Object: "__Directive",
- Field: field,
- Args: nil,
- IsMethod: false,
+ Object: "__Directive",
+ Field: field,
+ Args: nil,
+ IsMethod: false,
+ IsResolver: false,
}
ctx = graphql.WithFieldContext(ctx, fc)
@@ -9657,10 +9893,11 @@ func (ec *executionContext) ___Directive_args(ctx context.Context, field graphql
}
}()
fc := &graphql.FieldContext{
- Object: "__Directive",
- Field: field,
- Args: nil,
- IsMethod: false,
+ Object: "__Directive",
+ Field: field,
+ Args: nil,
+ IsMethod: false,
+ IsResolver: false,
}
ctx = graphql.WithFieldContext(ctx, fc)
@@ -9683,6 +9920,41 @@ func (ec *executionContext) ___Directive_args(ctx context.Context, field graphql
return ec.marshalN__InputValue2ᚕgithubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚋintrospectionᚐInputValueᚄ(ctx, field.Selections, res)
}
+func (ec *executionContext) ___Directive_isRepeatable(ctx context.Context, field graphql.CollectedField, obj *introspection.Directive) (ret graphql.Marshaler) {
+ defer func() {
+ if r := recover(); r != nil {
+ ec.Error(ctx, ec.Recover(ctx, r))
+ ret = graphql.Null
+ }
+ }()
+ fc := &graphql.FieldContext{
+ Object: "__Directive",
+ Field: field,
+ Args: nil,
+ IsMethod: false,
+ IsResolver: false,
+ }
+
+ ctx = graphql.WithFieldContext(ctx, fc)
+ resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
+ ctx = rctx // use context from middleware stack in children
+ return obj.IsRepeatable, nil
+ })
+ if err != nil {
+ ec.Error(ctx, err)
+ return graphql.Null
+ }
+ if resTmp == nil {
+ if !graphql.HasFieldError(ctx, fc) {
+ ec.Errorf(ctx, "must not be null")
+ }
+ return graphql.Null
+ }
+ res := resTmp.(bool)
+ fc.Result = res
+ return ec.marshalNBoolean2bool(ctx, field.Selections, res)
+}
+
func (ec *executionContext) ___EnumValue_name(ctx context.Context, field graphql.CollectedField, obj *introspection.EnumValue) (ret graphql.Marshaler) {
defer func() {
if r := recover(); r != nil {
@@ -9691,10 +9963,11 @@ func (ec *executionContext) ___EnumValue_name(ctx context.Context, field graphql
}
}()
fc := &graphql.FieldContext{
- Object: "__EnumValue",
- Field: field,
- Args: nil,
- IsMethod: false,
+ Object: "__EnumValue",
+ Field: field,
+ Args: nil,
+ IsMethod: false,
+ IsResolver: false,
}
ctx = graphql.WithFieldContext(ctx, fc)
@@ -9725,10 +9998,11 @@ func (ec *executionContext) ___EnumValue_description(ctx context.Context, field
}
}()
fc := &graphql.FieldContext{
- Object: "__EnumValue",
- Field: field,
- Args: nil,
- IsMethod: false,
+ Object: "__EnumValue",
+ Field: field,
+ Args: nil,
+ IsMethod: false,
+ IsResolver: false,
}
ctx = graphql.WithFieldContext(ctx, fc)
@@ -9756,10 +10030,11 @@ func (ec *executionContext) ___EnumValue_isDeprecated(ctx context.Context, field
}
}()
fc := &graphql.FieldContext{
- Object: "__EnumValue",
- Field: field,
- Args: nil,
- IsMethod: true,
+ Object: "__EnumValue",
+ Field: field,
+ Args: nil,
+ IsMethod: true,
+ IsResolver: false,
}
ctx = graphql.WithFieldContext(ctx, fc)
@@ -9790,10 +10065,11 @@ func (ec *executionContext) ___EnumValue_deprecationReason(ctx context.Context,
}
}()
fc := &graphql.FieldContext{
- Object: "__EnumValue",
- Field: field,
- Args: nil,
- IsMethod: true,
+ Object: "__EnumValue",
+ Field: field,
+ Args: nil,
+ IsMethod: true,
+ IsResolver: false,
}
ctx = graphql.WithFieldContext(ctx, fc)
@@ -9821,10 +10097,11 @@ func (ec *executionContext) ___Field_name(ctx context.Context, field graphql.Col
}
}()
fc := &graphql.FieldContext{
- Object: "__Field",
- Field: field,
- Args: nil,
- IsMethod: false,
+ Object: "__Field",
+ Field: field,
+ Args: nil,
+ IsMethod: false,
+ IsResolver: false,
}
ctx = graphql.WithFieldContext(ctx, fc)
@@ -9855,10 +10132,11 @@ func (ec *executionContext) ___Field_description(ctx context.Context, field grap
}
}()
fc := &graphql.FieldContext{
- Object: "__Field",
- Field: field,
- Args: nil,
- IsMethod: false,
+ Object: "__Field",
+ Field: field,
+ Args: nil,
+ IsMethod: false,
+ IsResolver: false,
}
ctx = graphql.WithFieldContext(ctx, fc)
@@ -9886,10 +10164,11 @@ func (ec *executionContext) ___Field_args(ctx context.Context, field graphql.Col
}
}()
fc := &graphql.FieldContext{
- Object: "__Field",
- Field: field,
- Args: nil,
- IsMethod: false,
+ Object: "__Field",
+ Field: field,
+ Args: nil,
+ IsMethod: false,
+ IsResolver: false,
}
ctx = graphql.WithFieldContext(ctx, fc)
@@ -9920,10 +10199,11 @@ func (ec *executionContext) ___Field_type(ctx context.Context, field graphql.Col
}
}()
fc := &graphql.FieldContext{
- Object: "__Field",
- Field: field,
- Args: nil,
- IsMethod: false,
+ Object: "__Field",
+ Field: field,
+ Args: nil,
+ IsMethod: false,
+ IsResolver: false,
}
ctx = graphql.WithFieldContext(ctx, fc)
@@ -9954,10 +10234,11 @@ func (ec *executionContext) ___Field_isDeprecated(ctx context.Context, field gra
}
}()
fc := &graphql.FieldContext{
- Object: "__Field",
- Field: field,
- Args: nil,
- IsMethod: true,
+ Object: "__Field",
+ Field: field,
+ Args: nil,
+ IsMethod: true,
+ IsResolver: false,
}
ctx = graphql.WithFieldContext(ctx, fc)
@@ -9988,10 +10269,11 @@ func (ec *executionContext) ___Field_deprecationReason(ctx context.Context, fiel
}
}()
fc := &graphql.FieldContext{
- Object: "__Field",
- Field: field,
- Args: nil,
- IsMethod: true,
+ Object: "__Field",
+ Field: field,
+ Args: nil,
+ IsMethod: true,
+ IsResolver: false,
}
ctx = graphql.WithFieldContext(ctx, fc)
@@ -10019,10 +10301,11 @@ func (ec *executionContext) ___InputValue_name(ctx context.Context, field graphq
}
}()
fc := &graphql.FieldContext{
- Object: "__InputValue",
- Field: field,
- Args: nil,
- IsMethod: false,
+ Object: "__InputValue",
+ Field: field,
+ Args: nil,
+ IsMethod: false,
+ IsResolver: false,
}
ctx = graphql.WithFieldContext(ctx, fc)
@@ -10053,10 +10336,11 @@ func (ec *executionContext) ___InputValue_description(ctx context.Context, field
}
}()
fc := &graphql.FieldContext{
- Object: "__InputValue",
- Field: field,
- Args: nil,
- IsMethod: false,
+ Object: "__InputValue",
+ Field: field,
+ Args: nil,
+ IsMethod: false,
+ IsResolver: false,
}
ctx = graphql.WithFieldContext(ctx, fc)
@@ -10084,10 +10368,11 @@ func (ec *executionContext) ___InputValue_type(ctx context.Context, field graphq
}
}()
fc := &graphql.FieldContext{
- Object: "__InputValue",
- Field: field,
- Args: nil,
- IsMethod: false,
+ Object: "__InputValue",
+ Field: field,
+ Args: nil,
+ IsMethod: false,
+ IsResolver: false,
}
ctx = graphql.WithFieldContext(ctx, fc)
@@ -10118,10 +10403,11 @@ func (ec *executionContext) ___InputValue_defaultValue(ctx context.Context, fiel
}
}()
fc := &graphql.FieldContext{
- Object: "__InputValue",
- Field: field,
- Args: nil,
- IsMethod: false,
+ Object: "__InputValue",
+ Field: field,
+ Args: nil,
+ IsMethod: false,
+ IsResolver: false,
}
ctx = graphql.WithFieldContext(ctx, fc)
@@ -10149,10 +10435,11 @@ func (ec *executionContext) ___Schema_types(ctx context.Context, field graphql.C
}
}()
fc := &graphql.FieldContext{
- Object: "__Schema",
- Field: field,
- Args: nil,
- IsMethod: true,
+ Object: "__Schema",
+ Field: field,
+ Args: nil,
+ IsMethod: true,
+ IsResolver: false,
}
ctx = graphql.WithFieldContext(ctx, fc)
@@ -10183,10 +10470,11 @@ func (ec *executionContext) ___Schema_queryType(ctx context.Context, field graph
}
}()
fc := &graphql.FieldContext{
- Object: "__Schema",
- Field: field,
- Args: nil,
- IsMethod: true,
+ Object: "__Schema",
+ Field: field,
+ Args: nil,
+ IsMethod: true,
+ IsResolver: false,
}
ctx = graphql.WithFieldContext(ctx, fc)
@@ -10217,10 +10505,11 @@ func (ec *executionContext) ___Schema_mutationType(ctx context.Context, field gr
}
}()
fc := &graphql.FieldContext{
- Object: "__Schema",
- Field: field,
- Args: nil,
- IsMethod: true,
+ Object: "__Schema",
+ Field: field,
+ Args: nil,
+ IsMethod: true,
+ IsResolver: false,
}
ctx = graphql.WithFieldContext(ctx, fc)
@@ -10248,10 +10537,11 @@ func (ec *executionContext) ___Schema_subscriptionType(ctx context.Context, fiel
}
}()
fc := &graphql.FieldContext{
- Object: "__Schema",
- Field: field,
- Args: nil,
- IsMethod: true,
+ Object: "__Schema",
+ Field: field,
+ Args: nil,
+ IsMethod: true,
+ IsResolver: false,
}
ctx = graphql.WithFieldContext(ctx, fc)
@@ -10279,10 +10569,11 @@ func (ec *executionContext) ___Schema_directives(ctx context.Context, field grap
}
}()
fc := &graphql.FieldContext{
- Object: "__Schema",
- Field: field,
- Args: nil,
- IsMethod: true,
+ Object: "__Schema",
+ Field: field,
+ Args: nil,
+ IsMethod: true,
+ IsResolver: false,
}
ctx = graphql.WithFieldContext(ctx, fc)
@@ -10313,10 +10604,11 @@ func (ec *executionContext) ___Type_kind(ctx context.Context, field graphql.Coll
}
}()
fc := &graphql.FieldContext{
- Object: "__Type",
- Field: field,
- Args: nil,
- IsMethod: true,
+ Object: "__Type",
+ Field: field,
+ Args: nil,
+ IsMethod: true,
+ IsResolver: false,
}
ctx = graphql.WithFieldContext(ctx, fc)
@@ -10347,10 +10639,11 @@ func (ec *executionContext) ___Type_name(ctx context.Context, field graphql.Coll
}
}()
fc := &graphql.FieldContext{
- Object: "__Type",
- Field: field,
- Args: nil,
- IsMethod: true,
+ Object: "__Type",
+ Field: field,
+ Args: nil,
+ IsMethod: true,
+ IsResolver: false,
}
ctx = graphql.WithFieldContext(ctx, fc)
@@ -10378,10 +10671,11 @@ func (ec *executionContext) ___Type_description(ctx context.Context, field graph
}
}()
fc := &graphql.FieldContext{
- Object: "__Type",
- Field: field,
- Args: nil,
- IsMethod: true,
+ Object: "__Type",
+ Field: field,
+ Args: nil,
+ IsMethod: true,
+ IsResolver: false,
}
ctx = graphql.WithFieldContext(ctx, fc)
@@ -10409,10 +10703,11 @@ func (ec *executionContext) ___Type_fields(ctx context.Context, field graphql.Co
}
}()
fc := &graphql.FieldContext{
- Object: "__Type",
- Field: field,
- Args: nil,
- IsMethod: true,
+ Object: "__Type",
+ Field: field,
+ Args: nil,
+ IsMethod: true,
+ IsResolver: false,
}
ctx = graphql.WithFieldContext(ctx, fc)
@@ -10447,10 +10742,11 @@ func (ec *executionContext) ___Type_interfaces(ctx context.Context, field graphq
}
}()
fc := &graphql.FieldContext{
- Object: "__Type",
- Field: field,
- Args: nil,
- IsMethod: true,
+ Object: "__Type",
+ Field: field,
+ Args: nil,
+ IsMethod: true,
+ IsResolver: false,
}
ctx = graphql.WithFieldContext(ctx, fc)
@@ -10478,10 +10774,11 @@ func (ec *executionContext) ___Type_possibleTypes(ctx context.Context, field gra
}
}()
fc := &graphql.FieldContext{
- Object: "__Type",
- Field: field,
- Args: nil,
- IsMethod: true,
+ Object: "__Type",
+ Field: field,
+ Args: nil,
+ IsMethod: true,
+ IsResolver: false,
}
ctx = graphql.WithFieldContext(ctx, fc)
@@ -10509,10 +10806,11 @@ func (ec *executionContext) ___Type_enumValues(ctx context.Context, field graphq
}
}()
fc := &graphql.FieldContext{
- Object: "__Type",
- Field: field,
- Args: nil,
- IsMethod: true,
+ Object: "__Type",
+ Field: field,
+ Args: nil,
+ IsMethod: true,
+ IsResolver: false,
}
ctx = graphql.WithFieldContext(ctx, fc)
@@ -10547,10 +10845,11 @@ func (ec *executionContext) ___Type_inputFields(ctx context.Context, field graph
}
}()
fc := &graphql.FieldContext{
- Object: "__Type",
- Field: field,
- Args: nil,
- IsMethod: true,
+ Object: "__Type",
+ Field: field,
+ Args: nil,
+ IsMethod: true,
+ IsResolver: false,
}
ctx = graphql.WithFieldContext(ctx, fc)
@@ -10578,10 +10877,11 @@ func (ec *executionContext) ___Type_ofType(ctx context.Context, field graphql.Co
}
}()
fc := &graphql.FieldContext{
- Object: "__Type",
- Field: field,
- Args: nil,
- IsMethod: true,
+ Object: "__Type",
+ Field: field,
+ Args: nil,
+ IsMethod: true,
+ IsResolver: false,
}
ctx = graphql.WithFieldContext(ctx, fc)
@@ -10607,36 +10907,49 @@ func (ec *executionContext) ___Type_ofType(ctx context.Context, field graphql.Co
func (ec *executionContext) unmarshalInputAddCommentAndCloseBugInput(ctx context.Context, obj interface{}) (models.AddCommentAndCloseBugInput, error) {
var it models.AddCommentAndCloseBugInput
- var asMap = obj.(map[string]interface{})
+ asMap := map[string]interface{}{}
+ for k, v := range obj.(map[string]interface{}) {
+ asMap[k] = v
+ }
for k, v := range asMap {
switch k {
case "clientMutationId":
var err error
+
+ ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("clientMutationId"))
it.ClientMutationID, err = ec.unmarshalOString2ᚖstring(ctx, v)
if err != nil {
return it, err
}
case "repoRef":
var err error
+
+ ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("repoRef"))
it.RepoRef, err = ec.unmarshalOString2ᚖstring(ctx, v)
if err != nil {
return it, err
}
case "prefix":
var err error
+
+ ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("prefix"))
it.Prefix, err = ec.unmarshalNString2string(ctx, v)
if err != nil {
return it, err
}
case "message":
var err error
+
+ ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("message"))
it.Message, err = ec.unmarshalNString2string(ctx, v)
if err != nil {
return it, err
}
case "files":
var err error
+
+ ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("files"))
it.Files, err = ec.unmarshalOHash2ᚕgithubᚗcomᚋMichaelMureᚋgitᚑbugᚋrepositoryᚐHashᚄ(ctx, v)
if err != nil {
return it, err
@@ -10649,36 +10962,49 @@ func (ec *executionContext) unmarshalInputAddCommentAndCloseBugInput(ctx context
func (ec *executionContext) unmarshalInputAddCommentAndReopenBugInput(ctx context.Context, obj interface{}) (models.AddCommentAndReopenBugInput, error) {
var it models.AddCommentAndReopenBugInput
- var asMap = obj.(map[string]interface{})
+ asMap := map[string]interface{}{}
+ for k, v := range obj.(map[string]interface{}) {
+ asMap[k] = v
+ }
for k, v := range asMap {
switch k {
case "clientMutationId":
var err error
+
+ ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("clientMutationId"))
it.ClientMutationID, err = ec.unmarshalOString2ᚖstring(ctx, v)
if err != nil {
return it, err
}
case "repoRef":
var err error
+
+ ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("repoRef"))
it.RepoRef, err = ec.unmarshalOString2ᚖstring(ctx, v)
if err != nil {
return it, err
}
case "prefix":
var err error
+
+ ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("prefix"))
it.Prefix, err = ec.unmarshalNString2string(ctx, v)
if err != nil {
return it, err
}
case "message":
var err error
+
+ ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("message"))
it.Message, err = ec.unmarshalNString2string(ctx, v)
if err != nil {
return it, err
}
case "files":
var err error
+
+ ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("files"))
it.Files, err = ec.unmarshalOHash2ᚕgithubᚗcomᚋMichaelMureᚋgitᚑbugᚋrepositoryᚐHashᚄ(ctx, v)
if err != nil {
return it, err
@@ -10691,36 +11017,49 @@ func (ec *executionContext) unmarshalInputAddCommentAndReopenBugInput(ctx contex
func (ec *executionContext) unmarshalInputAddCommentInput(ctx context.Context, obj interface{}) (models.AddCommentInput, error) {
var it models.AddCommentInput
- var asMap = obj.(map[string]interface{})
+ asMap := map[string]interface{}{}
+ for k, v := range obj.(map[string]interface{}) {
+ asMap[k] = v
+ }
for k, v := range asMap {
switch k {
case "clientMutationId":
var err error
+
+ ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("clientMutationId"))
it.ClientMutationID, err = ec.unmarshalOString2ᚖstring(ctx, v)
if err != nil {
return it, err
}
case "repoRef":
var err error
+
+ ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("repoRef"))
it.RepoRef, err = ec.unmarshalOString2ᚖstring(ctx, v)
if err != nil {
return it, err
}
case "prefix":
var err error
+
+ ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("prefix"))
it.Prefix, err = ec.unmarshalNString2string(ctx, v)
if err != nil {
return it, err
}
case "message":
var err error
+
+ ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("message"))
it.Message, err = ec.unmarshalNString2string(ctx, v)
if err != nil {
return it, err
}
case "files":
var err error
+
+ ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("files"))
it.Files, err = ec.unmarshalOHash2ᚕgithubᚗcomᚋMichaelMureᚋgitᚑbugᚋrepositoryᚐHashᚄ(ctx, v)
if err != nil {
return it, err
@@ -10733,36 +11072,49 @@ func (ec *executionContext) unmarshalInputAddCommentInput(ctx context.Context, o
func (ec *executionContext) unmarshalInputChangeLabelInput(ctx context.Context, obj interface{}) (models.ChangeLabelInput, error) {
var it models.ChangeLabelInput
- var asMap = obj.(map[string]interface{})
+ asMap := map[string]interface{}{}
+ for k, v := range obj.(map[string]interface{}) {
+ asMap[k] = v
+ }
for k, v := range asMap {
switch k {
case "clientMutationId":
var err error
+
+ ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("clientMutationId"))
it.ClientMutationID, err = ec.unmarshalOString2ᚖstring(ctx, v)
if err != nil {
return it, err
}
case "repoRef":
var err error
+
+ ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("repoRef"))
it.RepoRef, err = ec.unmarshalOString2ᚖstring(ctx, v)
if err != nil {
return it, err
}
case "prefix":
var err error
+
+ ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("prefix"))
it.Prefix, err = ec.unmarshalNString2string(ctx, v)
if err != nil {
return it, err
}
case "added":
var err error
+
+ ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("added"))
it.Added, err = ec.unmarshalOString2ᚕstringᚄ(ctx, v)
if err != nil {
return it, err
}
case "Removed":
var err error
+
+ ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("Removed"))
it.Removed, err = ec.unmarshalOString2ᚕstringᚄ(ctx, v)
if err != nil {
return it, err
@@ -10775,24 +11127,33 @@ func (ec *executionContext) unmarshalInputChangeLabelInput(ctx context.Context,
func (ec *executionContext) unmarshalInputCloseBugInput(ctx context.Context, obj interface{}) (models.CloseBugInput, error) {
var it models.CloseBugInput
- var asMap = obj.(map[string]interface{})
+ asMap := map[string]interface{}{}
+ for k, v := range obj.(map[string]interface{}) {
+ asMap[k] = v
+ }
for k, v := range asMap {
switch k {
case "clientMutationId":
var err error
+
+ ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("clientMutationId"))
it.ClientMutationID, err = ec.unmarshalOString2ᚖstring(ctx, v)
if err != nil {
return it, err
}
case "repoRef":
var err error
+
+ ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("repoRef"))
it.RepoRef, err = ec.unmarshalOString2ᚖstring(ctx, v)
if err != nil {
return it, err
}
case "prefix":
var err error
+
+ ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("prefix"))
it.Prefix, err = ec.unmarshalNString2string(ctx, v)
if err != nil {
return it, err
@@ -10805,42 +11166,57 @@ func (ec *executionContext) unmarshalInputCloseBugInput(ctx context.Context, obj
func (ec *executionContext) unmarshalInputEditCommentInput(ctx context.Context, obj interface{}) (models.EditCommentInput, error) {
var it models.EditCommentInput
- var asMap = obj.(map[string]interface{})
+ asMap := map[string]interface{}{}
+ for k, v := range obj.(map[string]interface{}) {
+ asMap[k] = v
+ }
for k, v := range asMap {
switch k {
case "clientMutationId":
var err error
+
+ ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("clientMutationId"))
it.ClientMutationID, err = ec.unmarshalOString2ᚖstring(ctx, v)
if err != nil {
return it, err
}
case "repoRef":
var err error
+
+ ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("repoRef"))
it.RepoRef, err = ec.unmarshalOString2ᚖstring(ctx, v)
if err != nil {
return it, err
}
case "prefix":
var err error
+
+ ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("prefix"))
it.Prefix, err = ec.unmarshalNString2string(ctx, v)
if err != nil {
return it, err
}
case "target":
var err error
+
+ ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("target"))
it.Target, err = ec.unmarshalNString2string(ctx, v)
if err != nil {
return it, err
}
case "message":
var err error
+
+ ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("message"))
it.Message, err = ec.unmarshalNString2string(ctx, v)
if err != nil {
return it, err
}
case "files":
var err error
+
+ ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("files"))
it.Files, err = ec.unmarshalOHash2ᚕgithubᚗcomᚋMichaelMureᚋgitᚑbugᚋrepositoryᚐHashᚄ(ctx, v)
if err != nil {
return it, err
@@ -10853,36 +11229,49 @@ func (ec *executionContext) unmarshalInputEditCommentInput(ctx context.Context,
func (ec *executionContext) unmarshalInputNewBugInput(ctx context.Context, obj interface{}) (models.NewBugInput, error) {
var it models.NewBugInput
- var asMap = obj.(map[string]interface{})
+ asMap := map[string]interface{}{}
+ for k, v := range obj.(map[string]interface{}) {
+ asMap[k] = v
+ }
for k, v := range asMap {
switch k {
case "clientMutationId":
var err error
+
+ ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("clientMutationId"))
it.ClientMutationID, err = ec.unmarshalOString2ᚖstring(ctx, v)
if err != nil {
return it, err
}
case "repoRef":
var err error
+
+ ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("repoRef"))
it.RepoRef, err = ec.unmarshalOString2ᚖstring(ctx, v)
if err != nil {
return it, err
}
case "title":
var err error
+
+ ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("title"))
it.Title, err = ec.unmarshalNString2string(ctx, v)
if err != nil {
return it, err
}
case "message":
var err error
+
+ ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("message"))
it.Message, err = ec.unmarshalNString2string(ctx, v)
if err != nil {
return it, err
}
case "files":
var err error
+
+ ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("files"))
it.Files, err = ec.unmarshalOHash2ᚕgithubᚗcomᚋMichaelMureᚋgitᚑbugᚋrepositoryᚐHashᚄ(ctx, v)
if err != nil {
return it, err
@@ -10895,24 +11284,33 @@ func (ec *executionContext) unmarshalInputNewBugInput(ctx context.Context, obj i
func (ec *executionContext) unmarshalInputOpenBugInput(ctx context.Context, obj interface{}) (models.OpenBugInput, error) {
var it models.OpenBugInput
- var asMap = obj.(map[string]interface{})
+ asMap := map[string]interface{}{}
+ for k, v := range obj.(map[string]interface{}) {
+ asMap[k] = v
+ }
for k, v := range asMap {
switch k {
case "clientMutationId":
var err error
+
+ ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("clientMutationId"))
it.ClientMutationID, err = ec.unmarshalOString2ᚖstring(ctx, v)
if err != nil {
return it, err
}
case "repoRef":
var err error
+
+ ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("repoRef"))
it.RepoRef, err = ec.unmarshalOString2ᚖstring(ctx, v)
if err != nil {
return it, err
}
case "prefix":
var err error
+
+ ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("prefix"))
it.Prefix, err = ec.unmarshalNString2string(ctx, v)
if err != nil {
return it, err
@@ -10925,30 +11323,41 @@ func (ec *executionContext) unmarshalInputOpenBugInput(ctx context.Context, obj
func (ec *executionContext) unmarshalInputSetTitleInput(ctx context.Context, obj interface{}) (models.SetTitleInput, error) {
var it models.SetTitleInput
- var asMap = obj.(map[string]interface{})
+ asMap := map[string]interface{}{}
+ for k, v := range obj.(map[string]interface{}) {
+ asMap[k] = v
+ }
for k, v := range asMap {
switch k {
case "clientMutationId":
var err error
+
+ ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("clientMutationId"))
it.ClientMutationID, err = ec.unmarshalOString2ᚖstring(ctx, v)
if err != nil {
return it, err
}
case "repoRef":
var err error
+
+ ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("repoRef"))
it.RepoRef, err = ec.unmarshalOString2ᚖstring(ctx, v)
if err != nil {
return it, err
}
case "prefix":
var err error
+
+ ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("prefix"))
it.Prefix, err = ec.unmarshalNString2string(ctx, v)
if err != nil {
return it, err
}
case "title":
var err error
+
+ ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("title"))
it.Title, err = ec.unmarshalNString2string(ctx, v)
if err != nil {
return it, err
@@ -11126,7 +11535,6 @@ var addCommentAndCloseBugPayloadImplementors = []string{"AddCommentAndCloseBugPa
func (ec *executionContext) _AddCommentAndCloseBugPayload(ctx context.Context, sel ast.SelectionSet, obj *models.AddCommentAndCloseBugPayload) graphql.Marshaler {
fields := graphql.CollectFields(ec.OperationContext, sel, addCommentAndCloseBugPayloadImplementors)
-
out := graphql.NewFieldSet(fields)
var invalids uint32
for i, field := range fields {
@@ -11134,19 +11542,39 @@ func (ec *executionContext) _AddCommentAndCloseBugPayload(ctx context.Context, s
case "__typename":
out.Values[i] = graphql.MarshalString("AddCommentAndCloseBugPayload")
case "clientMutationId":
- out.Values[i] = ec._AddCommentAndCloseBugPayload_clientMutationId(ctx, field, obj)
+ innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
+ return ec._AddCommentAndCloseBugPayload_clientMutationId(ctx, field, obj)
+ }
+
+ out.Values[i] = innerFunc(ctx)
+
case "bug":
- out.Values[i] = ec._AddCommentAndCloseBugPayload_bug(ctx, field, obj)
+ innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
+ return ec._AddCommentAndCloseBugPayload_bug(ctx, field, obj)
+ }
+
+ out.Values[i] = innerFunc(ctx)
+
if out.Values[i] == graphql.Null {
invalids++
}
case "commentOperation":
- out.Values[i] = ec._AddCommentAndCloseBugPayload_commentOperation(ctx, field, obj)
+ innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
+ return ec._AddCommentAndCloseBugPayload_commentOperation(ctx, field, obj)
+ }
+
+ out.Values[i] = innerFunc(ctx)
+
if out.Values[i] == graphql.Null {
invalids++
}
case "statusOperation":
- out.Values[i] = ec._AddCommentAndCloseBugPayload_statusOperation(ctx, field, obj)
+ innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
+ return ec._AddCommentAndCloseBugPayload_statusOperation(ctx, field, obj)
+ }
+
+ out.Values[i] = innerFunc(ctx)
+
if out.Values[i] == graphql.Null {
invalids++
}
@@ -11165,7 +11593,6 @@ var addCommentAndReopenBugPayloadImplementors = []string{"AddCommentAndReopenBug
func (ec *executionContext) _AddCommentAndReopenBugPayload(ctx context.Context, sel ast.SelectionSet, obj *models.AddCommentAndReopenBugPayload) graphql.Marshaler {
fields := graphql.CollectFields(ec.OperationContext, sel, addCommentAndReopenBugPayloadImplementors)
-
out := graphql.NewFieldSet(fields)
var invalids uint32
for i, field := range fields {
@@ -11173,19 +11600,39 @@ func (ec *executionContext) _AddCommentAndReopenBugPayload(ctx context.Context,
case "__typename":
out.Values[i] = graphql.MarshalString("AddCommentAndReopenBugPayload")
case "clientMutationId":
- out.Values[i] = ec._AddCommentAndReopenBugPayload_clientMutationId(ctx, field, obj)
+ innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
+ return ec._AddCommentAndReopenBugPayload_clientMutationId(ctx, field, obj)
+ }
+
+ out.Values[i] = innerFunc(ctx)
+
case "bug":
- out.Values[i] = ec._AddCommentAndReopenBugPayload_bug(ctx, field, obj)
+ innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
+ return ec._AddCommentAndReopenBugPayload_bug(ctx, field, obj)
+ }
+
+ out.Values[i] = innerFunc(ctx)
+
if out.Values[i] == graphql.Null {
invalids++
}
case "commentOperation":
- out.Values[i] = ec._AddCommentAndReopenBugPayload_commentOperation(ctx, field, obj)
+ innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
+ return ec._AddCommentAndReopenBugPayload_commentOperation(ctx, field, obj)
+ }
+
+ out.Values[i] = innerFunc(ctx)
+
if out.Values[i] == graphql.Null {
invalids++
}
case "statusOperation":
- out.Values[i] = ec._AddCommentAndReopenBugPayload_statusOperation(ctx, field, obj)
+ innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
+ return ec._AddCommentAndReopenBugPayload_statusOperation(ctx, field, obj)
+ }
+
+ out.Values[i] = innerFunc(ctx)
+
if out.Values[i] == graphql.Null {
invalids++
}
@@ -11204,7 +11651,6 @@ var addCommentOperationImplementors = []string{"AddCommentOperation", "Operation
func (ec *executionContext) _AddCommentOperation(ctx context.Context, sel ast.SelectionSet, obj *bug.AddCommentOperation) graphql.Marshaler {
fields := graphql.CollectFields(ec.OperationContext, sel, addCommentOperationImplementors)
-
out := graphql.NewFieldSet(fields)
var invalids uint32
for i, field := range fields {
@@ -11213,7 +11659,8 @@ func (ec *executionContext) _AddCommentOperation(ctx context.Context, sel ast.Se
out.Values[i] = graphql.MarshalString("AddCommentOperation")
case "id":
field := field
- out.Concurrently(i, func() (res graphql.Marshaler) {
+
+ innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
defer func() {
if r := recover(); r != nil {
ec.Error(ctx, ec.Recover(ctx, r))
@@ -11224,10 +11671,16 @@ func (ec *executionContext) _AddCommentOperation(ctx context.Context, sel ast.Se
atomic.AddUint32(&invalids, 1)
}
return res
+ }
+
+ out.Concurrently(i, func() graphql.Marshaler {
+ return innerFunc(ctx)
+
})
case "author":
field := field
- out.Concurrently(i, func() (res graphql.Marshaler) {
+
+ innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
defer func() {
if r := recover(); r != nil {
ec.Error(ctx, ec.Recover(ctx, r))
@@ -11238,10 +11691,16 @@ func (ec *executionContext) _AddCommentOperation(ctx context.Context, sel ast.Se
atomic.AddUint32(&invalids, 1)
}
return res
+ }
+
+ out.Concurrently(i, func() graphql.Marshaler {
+ return innerFunc(ctx)
+
})
case "date":
field := field
- out.Concurrently(i, func() (res graphql.Marshaler) {
+
+ innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
defer func() {
if r := recover(); r != nil {
ec.Error(ctx, ec.Recover(ctx, r))
@@ -11252,14 +11711,29 @@ func (ec *executionContext) _AddCommentOperation(ctx context.Context, sel ast.Se
atomic.AddUint32(&invalids, 1)
}
return res
+ }
+
+ out.Concurrently(i, func() graphql.Marshaler {
+ return innerFunc(ctx)
+
})
case "message":
- out.Values[i] = ec._AddCommentOperation_message(ctx, field, obj)
+ innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
+ return ec._AddCommentOperation_message(ctx, field, obj)
+ }
+
+ out.Values[i] = innerFunc(ctx)
+
if out.Values[i] == graphql.Null {
atomic.AddUint32(&invalids, 1)
}
case "files":
- out.Values[i] = ec._AddCommentOperation_files(ctx, field, obj)
+ innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
+ return ec._AddCommentOperation_files(ctx, field, obj)
+ }
+
+ out.Values[i] = innerFunc(ctx)
+
if out.Values[i] == graphql.Null {
atomic.AddUint32(&invalids, 1)
}
@@ -11278,7 +11752,6 @@ var addCommentPayloadImplementors = []string{"AddCommentPayload"}
func (ec *executionContext) _AddCommentPayload(ctx context.Context, sel ast.SelectionSet, obj *models.AddCommentPayload) graphql.Marshaler {
fields := graphql.CollectFields(ec.OperationContext, sel, addCommentPayloadImplementors)
-
out := graphql.NewFieldSet(fields)
var invalids uint32
for i, field := range fields {
@@ -11286,14 +11759,29 @@ func (ec *executionContext) _AddCommentPayload(ctx context.Context, sel ast.Sele
case "__typename":
out.Values[i] = graphql.MarshalString("AddCommentPayload")
case "clientMutationId":
- out.Values[i] = ec._AddCommentPayload_clientMutationId(ctx, field, obj)
+ innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
+ return ec._AddCommentPayload_clientMutationId(ctx, field, obj)
+ }
+
+ out.Values[i] = innerFunc(ctx)
+
case "bug":
- out.Values[i] = ec._AddCommentPayload_bug(ctx, field, obj)
+ innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
+ return ec._AddCommentPayload_bug(ctx, field, obj)
+ }
+
+ out.Values[i] = innerFunc(ctx)
+
if out.Values[i] == graphql.Null {
invalids++
}
case "operation":
- out.Values[i] = ec._AddCommentPayload_operation(ctx, field, obj)
+ innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
+ return ec._AddCommentPayload_operation(ctx, field, obj)
+ }
+
+ out.Values[i] = innerFunc(ctx)
+
if out.Values[i] == graphql.Null {
invalids++
}
@@ -11312,7 +11800,6 @@ var addCommentTimelineItemImplementors = []string{"AddCommentTimelineItem", "Tim
func (ec *executionContext) _AddCommentTimelineItem(ctx context.Context, sel ast.SelectionSet, obj *bug.AddCommentTimelineItem) graphql.Marshaler {
fields := graphql.CollectFields(ec.OperationContext, sel, addCommentTimelineItemImplementors)
-
out := graphql.NewFieldSet(fields)
var invalids uint32
for i, field := range fields {
@@ -11321,7 +11808,8 @@ func (ec *executionContext) _AddCommentTimelineItem(ctx context.Context, sel ast
out.Values[i] = graphql.MarshalString("AddCommentTimelineItem")
case "id":
field := field
- out.Concurrently(i, func() (res graphql.Marshaler) {
+
+ innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
defer func() {
if r := recover(); r != nil {
ec.Error(ctx, ec.Recover(ctx, r))
@@ -11332,10 +11820,16 @@ func (ec *executionContext) _AddCommentTimelineItem(ctx context.Context, sel ast
atomic.AddUint32(&invalids, 1)
}
return res
+ }
+
+ out.Concurrently(i, func() graphql.Marshaler {
+ return innerFunc(ctx)
+
})
case "author":
field := field
- out.Concurrently(i, func() (res graphql.Marshaler) {
+
+ innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
defer func() {
if r := recover(); r != nil {
ec.Error(ctx, ec.Recover(ctx, r))
@@ -11346,25 +11840,46 @@ func (ec *executionContext) _AddCommentTimelineItem(ctx context.Context, sel ast
atomic.AddUint32(&invalids, 1)
}
return res
+ }
+
+ out.Concurrently(i, func() graphql.Marshaler {
+ return innerFunc(ctx)
+
})
case "message":
- out.Values[i] = ec._AddCommentTimelineItem_message(ctx, field, obj)
+ innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
+ return ec._AddCommentTimelineItem_message(ctx, field, obj)
+ }
+
+ out.Values[i] = innerFunc(ctx)
+
if out.Values[i] == graphql.Null {
atomic.AddUint32(&invalids, 1)
}
case "messageIsEmpty":
- out.Values[i] = ec._AddCommentTimelineItem_messageIsEmpty(ctx, field, obj)
+ innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
+ return ec._AddCommentTimelineItem_messageIsEmpty(ctx, field, obj)
+ }
+
+ out.Values[i] = innerFunc(ctx)
+
if out.Values[i] == graphql.Null {
atomic.AddUint32(&invalids, 1)
}
case "files":
- out.Values[i] = ec._AddCommentTimelineItem_files(ctx, field, obj)
+ innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
+ return ec._AddCommentTimelineItem_files(ctx, field, obj)
+ }
+
+ out.Values[i] = innerFunc(ctx)
+
if out.Values[i] == graphql.Null {
atomic.AddUint32(&invalids, 1)
}
case "createdAt":
field := field
- out.Concurrently(i, func() (res graphql.Marshaler) {
+
+ innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
defer func() {
if r := recover(); r != nil {
ec.Error(ctx, ec.Recover(ctx, r))
@@ -11375,10 +11890,16 @@ func (ec *executionContext) _AddCommentTimelineItem(ctx context.Context, sel ast
atomic.AddUint32(&invalids, 1)
}
return res
+ }
+
+ out.Concurrently(i, func() graphql.Marshaler {
+ return innerFunc(ctx)
+
})
case "lastEdit":
field := field
- out.Concurrently(i, func() (res graphql.Marshaler) {
+
+ innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
defer func() {
if r := recover(); r != nil {
ec.Error(ctx, ec.Recover(ctx, r))
@@ -11389,14 +11910,29 @@ func (ec *executionContext) _AddCommentTimelineItem(ctx context.Context, sel ast
atomic.AddUint32(&invalids, 1)
}
return res
+ }
+
+ out.Concurrently(i, func() graphql.Marshaler {
+ return innerFunc(ctx)
+
})
case "edited":
- out.Values[i] = ec._AddCommentTimelineItem_edited(ctx, field, obj)
+ innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
+ return ec._AddCommentTimelineItem_edited(ctx, field, obj)
+ }
+
+ out.Values[i] = innerFunc(ctx)
+
if out.Values[i] == graphql.Null {
atomic.AddUint32(&invalids, 1)
}
case "history":
- out.Values[i] = ec._AddCommentTimelineItem_history(ctx, field, obj)
+ innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
+ return ec._AddCommentTimelineItem_history(ctx, field, obj)
+ }
+
+ out.Values[i] = innerFunc(ctx)
+
if out.Values[i] == graphql.Null {
atomic.AddUint32(&invalids, 1)
}
@@ -11415,7 +11951,6 @@ var bugImplementors = []string{"Bug", "Authored"}
func (ec *executionContext) _Bug(ctx context.Context, sel ast.SelectionSet, obj models.BugWrapper) graphql.Marshaler {
fields := graphql.CollectFields(ec.OperationContext, sel, bugImplementors)
-
out := graphql.NewFieldSet(fields)
var invalids uint32
for i, field := range fields {
@@ -11424,7 +11959,8 @@ func (ec *executionContext) _Bug(ctx context.Context, sel ast.SelectionSet, obj
out.Values[i] = graphql.MarshalString("Bug")
case "id":
field := field
- out.Concurrently(i, func() (res graphql.Marshaler) {
+
+ innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
defer func() {
if r := recover(); r != nil {
ec.Error(ctx, ec.Recover(ctx, r))
@@ -11435,10 +11971,16 @@ func (ec *executionContext) _Bug(ctx context.Context, sel ast.SelectionSet, obj
atomic.AddUint32(&invalids, 1)
}
return res
+ }
+
+ out.Concurrently(i, func() graphql.Marshaler {
+ return innerFunc(ctx)
+
})
case "humanId":
field := field
- out.Concurrently(i, func() (res graphql.Marshaler) {
+
+ innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
defer func() {
if r := recover(); r != nil {
ec.Error(ctx, ec.Recover(ctx, r))
@@ -11449,10 +11991,16 @@ func (ec *executionContext) _Bug(ctx context.Context, sel ast.SelectionSet, obj
atomic.AddUint32(&invalids, 1)
}
return res
+ }
+
+ out.Concurrently(i, func() graphql.Marshaler {
+ return innerFunc(ctx)
+
})
case "status":
field := field
- out.Concurrently(i, func() (res graphql.Marshaler) {
+
+ innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
defer func() {
if r := recover(); r != nil {
ec.Error(ctx, ec.Recover(ctx, r))
@@ -11463,35 +12011,66 @@ func (ec *executionContext) _Bug(ctx context.Context, sel ast.SelectionSet, obj
atomic.AddUint32(&invalids, 1)
}
return res
+ }
+
+ out.Concurrently(i, func() graphql.Marshaler {
+ return innerFunc(ctx)
+
})
case "title":
- out.Values[i] = ec._Bug_title(ctx, field, obj)
+ innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
+ return ec._Bug_title(ctx, field, obj)
+ }
+
+ out.Values[i] = innerFunc(ctx)
+
if out.Values[i] == graphql.Null {
atomic.AddUint32(&invalids, 1)
}
case "labels":
- out.Values[i] = ec._Bug_labels(ctx, field, obj)
+ innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
+ return ec._Bug_labels(ctx, field, obj)
+ }
+
+ out.Values[i] = innerFunc(ctx)
+
if out.Values[i] == graphql.Null {
atomic.AddUint32(&invalids, 1)
}
case "author":
- out.Values[i] = ec._Bug_author(ctx, field, obj)
+ innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
+ return ec._Bug_author(ctx, field, obj)
+ }
+
+ out.Values[i] = innerFunc(ctx)
+
if out.Values[i] == graphql.Null {
atomic.AddUint32(&invalids, 1)
}
case "createdAt":
- out.Values[i] = ec._Bug_createdAt(ctx, field, obj)
+ innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
+ return ec._Bug_createdAt(ctx, field, obj)
+ }
+
+ out.Values[i] = innerFunc(ctx)
+
if out.Values[i] == graphql.Null {
atomic.AddUint32(&invalids, 1)
}
case "lastEdit":
- out.Values[i] = ec._Bug_lastEdit(ctx, field, obj)
+ innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
+ return ec._Bug_lastEdit(ctx, field, obj)
+ }
+
+ out.Values[i] = innerFunc(ctx)
+
if out.Values[i] == graphql.Null {
atomic.AddUint32(&invalids, 1)
}
case "actors":
field := field
- out.Concurrently(i, func() (res graphql.Marshaler) {
+
+ innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
defer func() {
if r := recover(); r != nil {
ec.Error(ctx, ec.Recover(ctx, r))
@@ -11502,10 +12081,16 @@ func (ec *executionContext) _Bug(ctx context.Context, sel ast.SelectionSet, obj
atomic.AddUint32(&invalids, 1)
}
return res
+ }
+
+ out.Concurrently(i, func() graphql.Marshaler {
+ return innerFunc(ctx)
+
})
case "participants":
field := field
- out.Concurrently(i, func() (res graphql.Marshaler) {
+
+ innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
defer func() {
if r := recover(); r != nil {
ec.Error(ctx, ec.Recover(ctx, r))
@@ -11516,10 +12101,16 @@ func (ec *executionContext) _Bug(ctx context.Context, sel ast.SelectionSet, obj
atomic.AddUint32(&invalids, 1)
}
return res
+ }
+
+ out.Concurrently(i, func() graphql.Marshaler {
+ return innerFunc(ctx)
+
})
case "comments":
field := field
- out.Concurrently(i, func() (res graphql.Marshaler) {
+
+ innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
defer func() {
if r := recover(); r != nil {
ec.Error(ctx, ec.Recover(ctx, r))
@@ -11530,10 +12121,16 @@ func (ec *executionContext) _Bug(ctx context.Context, sel ast.SelectionSet, obj
atomic.AddUint32(&invalids, 1)
}
return res
+ }
+
+ out.Concurrently(i, func() graphql.Marshaler {
+ return innerFunc(ctx)
+
})
case "timeline":
field := field
- out.Concurrently(i, func() (res graphql.Marshaler) {
+
+ innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
defer func() {
if r := recover(); r != nil {
ec.Error(ctx, ec.Recover(ctx, r))
@@ -11544,10 +12141,16 @@ func (ec *executionContext) _Bug(ctx context.Context, sel ast.SelectionSet, obj
atomic.AddUint32(&invalids, 1)
}
return res
+ }
+
+ out.Concurrently(i, func() graphql.Marshaler {
+ return innerFunc(ctx)
+
})
case "operations":
field := field
- out.Concurrently(i, func() (res graphql.Marshaler) {
+
+ innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
defer func() {
if r := recover(); r != nil {
ec.Error(ctx, ec.Recover(ctx, r))
@@ -11558,6 +12161,11 @@ func (ec *executionContext) _Bug(ctx context.Context, sel ast.SelectionSet, obj
atomic.AddUint32(&invalids, 1)
}
return res
+ }
+
+ out.Concurrently(i, func() graphql.Marshaler {
+ return innerFunc(ctx)
+
})
default:
panic("unknown field " + strconv.Quote(field.Name))
@@ -11574,7 +12182,6 @@ var bugConnectionImplementors = []string{"BugConnection"}
func (ec *executionContext) _BugConnection(ctx context.Context, sel ast.SelectionSet, obj *models.BugConnection) graphql.Marshaler {
fields := graphql.CollectFields(ec.OperationContext, sel, bugConnectionImplementors)
-
out := graphql.NewFieldSet(fields)
var invalids uint32
for i, field := range fields {
@@ -11582,22 +12189,42 @@ func (ec *executionContext) _BugConnection(ctx context.Context, sel ast.Selectio
case "__typename":
out.Values[i] = graphql.MarshalString("BugConnection")
case "edges":
- out.Values[i] = ec._BugConnection_edges(ctx, field, obj)
+ innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
+ return ec._BugConnection_edges(ctx, field, obj)
+ }
+
+ out.Values[i] = innerFunc(ctx)
+
if out.Values[i] == graphql.Null {
invalids++
}
case "nodes":
- out.Values[i] = ec._BugConnection_nodes(ctx, field, obj)
+ innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
+ return ec._BugConnection_nodes(ctx, field, obj)
+ }
+
+ out.Values[i] = innerFunc(ctx)
+
if out.Values[i] == graphql.Null {
invalids++
}
case "pageInfo":
- out.Values[i] = ec._BugConnection_pageInfo(ctx, field, obj)
+ innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
+ return ec._BugConnection_pageInfo(ctx, field, obj)
+ }
+
+ out.Values[i] = innerFunc(ctx)
+
if out.Values[i] == graphql.Null {
invalids++
}
case "totalCount":
- out.Values[i] = ec._BugConnection_totalCount(ctx, field, obj)
+ innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
+ return ec._BugConnection_totalCount(ctx, field, obj)
+ }
+
+ out.Values[i] = innerFunc(ctx)
+
if out.Values[i] == graphql.Null {
invalids++
}
@@ -11616,7 +12243,6 @@ var bugEdgeImplementors = []string{"BugEdge"}
func (ec *executionContext) _BugEdge(ctx context.Context, sel ast.SelectionSet, obj *models.BugEdge) graphql.Marshaler {
fields := graphql.CollectFields(ec.OperationContext, sel, bugEdgeImplementors)
-
out := graphql.NewFieldSet(fields)
var invalids uint32
for i, field := range fields {
@@ -11624,12 +12250,22 @@ func (ec *executionContext) _BugEdge(ctx context.Context, sel ast.SelectionSet,
case "__typename":
out.Values[i] = graphql.MarshalString("BugEdge")
case "cursor":
- out.Values[i] = ec._BugEdge_cursor(ctx, field, obj)
+ innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
+ return ec._BugEdge_cursor(ctx, field, obj)
+ }
+
+ out.Values[i] = innerFunc(ctx)
+
if out.Values[i] == graphql.Null {
invalids++
}
case "node":
- out.Values[i] = ec._BugEdge_node(ctx, field, obj)
+ innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
+ return ec._BugEdge_node(ctx, field, obj)
+ }
+
+ out.Values[i] = innerFunc(ctx)
+
if out.Values[i] == graphql.Null {
invalids++
}
@@ -11648,7 +12284,6 @@ var changeLabelPayloadImplementors = []string{"ChangeLabelPayload"}
func (ec *executionContext) _ChangeLabelPayload(ctx context.Context, sel ast.SelectionSet, obj *models.ChangeLabelPayload) graphql.Marshaler {
fields := graphql.CollectFields(ec.OperationContext, sel, changeLabelPayloadImplementors)
-
out := graphql.NewFieldSet(fields)
var invalids uint32
for i, field := range fields {
@@ -11656,19 +12291,39 @@ func (ec *executionContext) _ChangeLabelPayload(ctx context.Context, sel ast.Sel
case "__typename":
out.Values[i] = graphql.MarshalString("ChangeLabelPayload")
case "clientMutationId":
- out.Values[i] = ec._ChangeLabelPayload_clientMutationId(ctx, field, obj)
+ innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
+ return ec._ChangeLabelPayload_clientMutationId(ctx, field, obj)
+ }
+
+ out.Values[i] = innerFunc(ctx)
+
case "bug":
- out.Values[i] = ec._ChangeLabelPayload_bug(ctx, field, obj)
+ innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
+ return ec._ChangeLabelPayload_bug(ctx, field, obj)
+ }
+
+ out.Values[i] = innerFunc(ctx)
+
if out.Values[i] == graphql.Null {
invalids++
}
case "operation":
- out.Values[i] = ec._ChangeLabelPayload_operation(ctx, field, obj)
+ innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
+ return ec._ChangeLabelPayload_operation(ctx, field, obj)
+ }
+
+ out.Values[i] = innerFunc(ctx)
+
if out.Values[i] == graphql.Null {
invalids++
}
case "results":
- out.Values[i] = ec._ChangeLabelPayload_results(ctx, field, obj)
+ innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
+ return ec._ChangeLabelPayload_results(ctx, field, obj)
+ }
+
+ out.Values[i] = innerFunc(ctx)
+
if out.Values[i] == graphql.Null {
invalids++
}
@@ -11687,7 +12342,6 @@ var closeBugPayloadImplementors = []string{"CloseBugPayload"}
func (ec *executionContext) _CloseBugPayload(ctx context.Context, sel ast.SelectionSet, obj *models.CloseBugPayload) graphql.Marshaler {
fields := graphql.CollectFields(ec.OperationContext, sel, closeBugPayloadImplementors)
-
out := graphql.NewFieldSet(fields)
var invalids uint32
for i, field := range fields {
@@ -11695,14 +12349,29 @@ func (ec *executionContext) _CloseBugPayload(ctx context.Context, sel ast.Select
case "__typename":
out.Values[i] = graphql.MarshalString("CloseBugPayload")
case "clientMutationId":
- out.Values[i] = ec._CloseBugPayload_clientMutationId(ctx, field, obj)
+ innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
+ return ec._CloseBugPayload_clientMutationId(ctx, field, obj)
+ }
+
+ out.Values[i] = innerFunc(ctx)
+
case "bug":
- out.Values[i] = ec._CloseBugPayload_bug(ctx, field, obj)
+ innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
+ return ec._CloseBugPayload_bug(ctx, field, obj)
+ }
+
+ out.Values[i] = innerFunc(ctx)
+
if out.Values[i] == graphql.Null {
invalids++
}
case "operation":
- out.Values[i] = ec._CloseBugPayload_operation(ctx, field, obj)
+ innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
+ return ec._CloseBugPayload_operation(ctx, field, obj)
+ }
+
+ out.Values[i] = innerFunc(ctx)
+
if out.Values[i] == graphql.Null {
invalids++
}
@@ -11721,7 +12390,6 @@ var colorImplementors = []string{"Color"}
func (ec *executionContext) _Color(ctx context.Context, sel ast.SelectionSet, obj *color.RGBA) graphql.Marshaler {
fields := graphql.CollectFields(ec.OperationContext, sel, colorImplementors)
-
out := graphql.NewFieldSet(fields)
var invalids uint32
for i, field := range fields {
@@ -11730,7 +12398,8 @@ func (ec *executionContext) _Color(ctx context.Context, sel ast.SelectionSet, ob
out.Values[i] = graphql.MarshalString("Color")
case "R":
field := field
- out.Concurrently(i, func() (res graphql.Marshaler) {
+
+ innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
defer func() {
if r := recover(); r != nil {
ec.Error(ctx, ec.Recover(ctx, r))
@@ -11741,10 +12410,16 @@ func (ec *executionContext) _Color(ctx context.Context, sel ast.SelectionSet, ob
atomic.AddUint32(&invalids, 1)
}
return res
+ }
+
+ out.Concurrently(i, func() graphql.Marshaler {
+ return innerFunc(ctx)
+
})
case "G":
field := field
- out.Concurrently(i, func() (res graphql.Marshaler) {
+
+ innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
defer func() {
if r := recover(); r != nil {
ec.Error(ctx, ec.Recover(ctx, r))
@@ -11755,10 +12430,16 @@ func (ec *executionContext) _Color(ctx context.Context, sel ast.SelectionSet, ob
atomic.AddUint32(&invalids, 1)
}
return res
+ }
+
+ out.Concurrently(i, func() graphql.Marshaler {
+ return innerFunc(ctx)
+
})
case "B":
field := field
- out.Concurrently(i, func() (res graphql.Marshaler) {
+
+ innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
defer func() {
if r := recover(); r != nil {
ec.Error(ctx, ec.Recover(ctx, r))
@@ -11769,6 +12450,11 @@ func (ec *executionContext) _Color(ctx context.Context, sel ast.SelectionSet, ob
atomic.AddUint32(&invalids, 1)
}
return res
+ }
+
+ out.Concurrently(i, func() graphql.Marshaler {
+ return innerFunc(ctx)
+
})
default:
panic("unknown field " + strconv.Quote(field.Name))
@@ -11785,7 +12471,6 @@ var commentImplementors = []string{"Comment", "Authored"}
func (ec *executionContext) _Comment(ctx context.Context, sel ast.SelectionSet, obj *bug.Comment) graphql.Marshaler {
fields := graphql.CollectFields(ec.OperationContext, sel, commentImplementors)
-
out := graphql.NewFieldSet(fields)
var invalids uint32
for i, field := range fields {
@@ -11794,7 +12479,8 @@ func (ec *executionContext) _Comment(ctx context.Context, sel ast.SelectionSet,
out.Values[i] = graphql.MarshalString("Comment")
case "author":
field := field
- out.Concurrently(i, func() (res graphql.Marshaler) {
+
+ innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
defer func() {
if r := recover(); r != nil {
ec.Error(ctx, ec.Recover(ctx, r))
@@ -11805,14 +12491,29 @@ func (ec *executionContext) _Comment(ctx context.Context, sel ast.SelectionSet,
atomic.AddUint32(&invalids, 1)
}
return res
+ }
+
+ out.Concurrently(i, func() graphql.Marshaler {
+ return innerFunc(ctx)
+
})
case "message":
- out.Values[i] = ec._Comment_message(ctx, field, obj)
+ innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
+ return ec._Comment_message(ctx, field, obj)
+ }
+
+ out.Values[i] = innerFunc(ctx)
+
if out.Values[i] == graphql.Null {
atomic.AddUint32(&invalids, 1)
}
case "files":
- out.Values[i] = ec._Comment_files(ctx, field, obj)
+ innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
+ return ec._Comment_files(ctx, field, obj)
+ }
+
+ out.Values[i] = innerFunc(ctx)
+
if out.Values[i] == graphql.Null {
atomic.AddUint32(&invalids, 1)
}
@@ -11831,7 +12532,6 @@ var commentConnectionImplementors = []string{"CommentConnection"}
func (ec *executionContext) _CommentConnection(ctx context.Context, sel ast.SelectionSet, obj *models.CommentConnection) graphql.Marshaler {
fields := graphql.CollectFields(ec.OperationContext, sel, commentConnectionImplementors)
-
out := graphql.NewFieldSet(fields)
var invalids uint32
for i, field := range fields {
@@ -11839,22 +12539,42 @@ func (ec *executionContext) _CommentConnection(ctx context.Context, sel ast.Sele
case "__typename":
out.Values[i] = graphql.MarshalString("CommentConnection")
case "edges":
- out.Values[i] = ec._CommentConnection_edges(ctx, field, obj)
+ innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
+ return ec._CommentConnection_edges(ctx, field, obj)
+ }
+
+ out.Values[i] = innerFunc(ctx)
+
if out.Values[i] == graphql.Null {
invalids++
}
case "nodes":
- out.Values[i] = ec._CommentConnection_nodes(ctx, field, obj)
+ innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
+ return ec._CommentConnection_nodes(ctx, field, obj)
+ }
+
+ out.Values[i] = innerFunc(ctx)
+
if out.Values[i] == graphql.Null {
invalids++
}
case "pageInfo":
- out.Values[i] = ec._CommentConnection_pageInfo(ctx, field, obj)
+ innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
+ return ec._CommentConnection_pageInfo(ctx, field, obj)
+ }
+
+ out.Values[i] = innerFunc(ctx)
+
if out.Values[i] == graphql.Null {
invalids++
}
case "totalCount":
- out.Values[i] = ec._CommentConnection_totalCount(ctx, field, obj)
+ innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
+ return ec._CommentConnection_totalCount(ctx, field, obj)
+ }
+
+ out.Values[i] = innerFunc(ctx)
+
if out.Values[i] == graphql.Null {
invalids++
}
@@ -11873,7 +12593,6 @@ var commentEdgeImplementors = []string{"CommentEdge"}
func (ec *executionContext) _CommentEdge(ctx context.Context, sel ast.SelectionSet, obj *models.CommentEdge) graphql.Marshaler {
fields := graphql.CollectFields(ec.OperationContext, sel, commentEdgeImplementors)
-
out := graphql.NewFieldSet(fields)
var invalids uint32
for i, field := range fields {
@@ -11881,12 +12600,22 @@ func (ec *executionContext) _CommentEdge(ctx context.Context, sel ast.SelectionS
case "__typename":
out.Values[i] = graphql.MarshalString("CommentEdge")
case "cursor":
- out.Values[i] = ec._CommentEdge_cursor(ctx, field, obj)
+ innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
+ return ec._CommentEdge_cursor(ctx, field, obj)
+ }
+
+ out.Values[i] = innerFunc(ctx)
+
if out.Values[i] == graphql.Null {
invalids++
}
case "node":
- out.Values[i] = ec._CommentEdge_node(ctx, field, obj)
+ innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
+ return ec._CommentEdge_node(ctx, field, obj)
+ }
+
+ out.Values[i] = innerFunc(ctx)
+
if out.Values[i] == graphql.Null {
invalids++
}
@@ -11905,7 +12634,6 @@ var commentHistoryStepImplementors = []string{"CommentHistoryStep"}
func (ec *executionContext) _CommentHistoryStep(ctx context.Context, sel ast.SelectionSet, obj *bug.CommentHistoryStep) graphql.Marshaler {
fields := graphql.CollectFields(ec.OperationContext, sel, commentHistoryStepImplementors)
-
out := graphql.NewFieldSet(fields)
var invalids uint32
for i, field := range fields {
@@ -11913,13 +12641,19 @@ func (ec *executionContext) _CommentHistoryStep(ctx context.Context, sel ast.Sel
case "__typename":
out.Values[i] = graphql.MarshalString("CommentHistoryStep")
case "message":
- out.Values[i] = ec._CommentHistoryStep_message(ctx, field, obj)
+ innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
+ return ec._CommentHistoryStep_message(ctx, field, obj)
+ }
+
+ out.Values[i] = innerFunc(ctx)
+
if out.Values[i] == graphql.Null {
atomic.AddUint32(&invalids, 1)
}
case "date":
field := field
- out.Concurrently(i, func() (res graphql.Marshaler) {
+
+ innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
defer func() {
if r := recover(); r != nil {
ec.Error(ctx, ec.Recover(ctx, r))
@@ -11930,6 +12664,11 @@ func (ec *executionContext) _CommentHistoryStep(ctx context.Context, sel ast.Sel
atomic.AddUint32(&invalids, 1)
}
return res
+ }
+
+ out.Concurrently(i, func() graphql.Marshaler {
+ return innerFunc(ctx)
+
})
default:
panic("unknown field " + strconv.Quote(field.Name))
@@ -11946,7 +12685,6 @@ var createOperationImplementors = []string{"CreateOperation", "Operation", "Auth
func (ec *executionContext) _CreateOperation(ctx context.Context, sel ast.SelectionSet, obj *bug.CreateOperation) graphql.Marshaler {
fields := graphql.CollectFields(ec.OperationContext, sel, createOperationImplementors)
-
out := graphql.NewFieldSet(fields)
var invalids uint32
for i, field := range fields {
@@ -11955,7 +12693,8 @@ func (ec *executionContext) _CreateOperation(ctx context.Context, sel ast.Select
out.Values[i] = graphql.MarshalString("CreateOperation")
case "id":
field := field
- out.Concurrently(i, func() (res graphql.Marshaler) {
+
+ innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
defer func() {
if r := recover(); r != nil {
ec.Error(ctx, ec.Recover(ctx, r))
@@ -11966,10 +12705,16 @@ func (ec *executionContext) _CreateOperation(ctx context.Context, sel ast.Select
atomic.AddUint32(&invalids, 1)
}
return res
+ }
+
+ out.Concurrently(i, func() graphql.Marshaler {
+ return innerFunc(ctx)
+
})
case "author":
field := field
- out.Concurrently(i, func() (res graphql.Marshaler) {
+
+ innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
defer func() {
if r := recover(); r != nil {
ec.Error(ctx, ec.Recover(ctx, r))
@@ -11980,10 +12725,16 @@ func (ec *executionContext) _CreateOperation(ctx context.Context, sel ast.Select
atomic.AddUint32(&invalids, 1)
}
return res
+ }
+
+ out.Concurrently(i, func() graphql.Marshaler {
+ return innerFunc(ctx)
+
})
case "date":
field := field
- out.Concurrently(i, func() (res graphql.Marshaler) {
+
+ innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
defer func() {
if r := recover(); r != nil {
ec.Error(ctx, ec.Recover(ctx, r))
@@ -11994,19 +12745,39 @@ func (ec *executionContext) _CreateOperation(ctx context.Context, sel ast.Select
atomic.AddUint32(&invalids, 1)
}
return res
+ }
+
+ out.Concurrently(i, func() graphql.Marshaler {
+ return innerFunc(ctx)
+
})
case "title":
- out.Values[i] = ec._CreateOperation_title(ctx, field, obj)
+ innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
+ return ec._CreateOperation_title(ctx, field, obj)
+ }
+
+ out.Values[i] = innerFunc(ctx)
+
if out.Values[i] == graphql.Null {
atomic.AddUint32(&invalids, 1)
}
case "message":
- out.Values[i] = ec._CreateOperation_message(ctx, field, obj)
+ innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
+ return ec._CreateOperation_message(ctx, field, obj)
+ }
+
+ out.Values[i] = innerFunc(ctx)
+
if out.Values[i] == graphql.Null {
atomic.AddUint32(&invalids, 1)
}
case "files":
- out.Values[i] = ec._CreateOperation_files(ctx, field, obj)
+ innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
+ return ec._CreateOperation_files(ctx, field, obj)
+ }
+
+ out.Values[i] = innerFunc(ctx)
+
if out.Values[i] == graphql.Null {
atomic.AddUint32(&invalids, 1)
}
@@ -12025,7 +12796,6 @@ var createTimelineItemImplementors = []string{"CreateTimelineItem", "TimelineIte
func (ec *executionContext) _CreateTimelineItem(ctx context.Context, sel ast.SelectionSet, obj *bug.CreateTimelineItem) graphql.Marshaler {
fields := graphql.CollectFields(ec.OperationContext, sel, createTimelineItemImplementors)
-
out := graphql.NewFieldSet(fields)
var invalids uint32
for i, field := range fields {
@@ -12034,7 +12804,8 @@ func (ec *executionContext) _CreateTimelineItem(ctx context.Context, sel ast.Sel
out.Values[i] = graphql.MarshalString("CreateTimelineItem")
case "id":
field := field
- out.Concurrently(i, func() (res graphql.Marshaler) {
+
+ innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
defer func() {
if r := recover(); r != nil {
ec.Error(ctx, ec.Recover(ctx, r))
@@ -12045,10 +12816,16 @@ func (ec *executionContext) _CreateTimelineItem(ctx context.Context, sel ast.Sel
atomic.AddUint32(&invalids, 1)
}
return res
+ }
+
+ out.Concurrently(i, func() graphql.Marshaler {
+ return innerFunc(ctx)
+
})
case "author":
field := field
- out.Concurrently(i, func() (res graphql.Marshaler) {
+
+ innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
defer func() {
if r := recover(); r != nil {
ec.Error(ctx, ec.Recover(ctx, r))
@@ -12059,25 +12836,46 @@ func (ec *executionContext) _CreateTimelineItem(ctx context.Context, sel ast.Sel
atomic.AddUint32(&invalids, 1)
}
return res
+ }
+
+ out.Concurrently(i, func() graphql.Marshaler {
+ return innerFunc(ctx)
+
})
case "message":
- out.Values[i] = ec._CreateTimelineItem_message(ctx, field, obj)
+ innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
+ return ec._CreateTimelineItem_message(ctx, field, obj)
+ }
+
+ out.Values[i] = innerFunc(ctx)
+
if out.Values[i] == graphql.Null {
atomic.AddUint32(&invalids, 1)
}
case "messageIsEmpty":
- out.Values[i] = ec._CreateTimelineItem_messageIsEmpty(ctx, field, obj)
+ innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
+ return ec._CreateTimelineItem_messageIsEmpty(ctx, field, obj)
+ }
+
+ out.Values[i] = innerFunc(ctx)
+
if out.Values[i] == graphql.Null {
atomic.AddUint32(&invalids, 1)
}
case "files":
- out.Values[i] = ec._CreateTimelineItem_files(ctx, field, obj)
+ innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
+ return ec._CreateTimelineItem_files(ctx, field, obj)
+ }
+
+ out.Values[i] = innerFunc(ctx)
+
if out.Values[i] == graphql.Null {
atomic.AddUint32(&invalids, 1)
}
case "createdAt":
field := field
- out.Concurrently(i, func() (res graphql.Marshaler) {
+
+ innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
defer func() {
if r := recover(); r != nil {
ec.Error(ctx, ec.Recover(ctx, r))
@@ -12088,10 +12886,16 @@ func (ec *executionContext) _CreateTimelineItem(ctx context.Context, sel ast.Sel
atomic.AddUint32(&invalids, 1)
}
return res
+ }
+
+ out.Concurrently(i, func() graphql.Marshaler {
+ return innerFunc(ctx)
+
})
case "lastEdit":
field := field
- out.Concurrently(i, func() (res graphql.Marshaler) {
+
+ innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
defer func() {
if r := recover(); r != nil {
ec.Error(ctx, ec.Recover(ctx, r))
@@ -12102,14 +12906,29 @@ func (ec *executionContext) _CreateTimelineItem(ctx context.Context, sel ast.Sel
atomic.AddUint32(&invalids, 1)
}
return res
+ }
+
+ out.Concurrently(i, func() graphql.Marshaler {
+ return innerFunc(ctx)
+
})
case "edited":
- out.Values[i] = ec._CreateTimelineItem_edited(ctx, field, obj)
+ innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
+ return ec._CreateTimelineItem_edited(ctx, field, obj)
+ }
+
+ out.Values[i] = innerFunc(ctx)
+
if out.Values[i] == graphql.Null {
atomic.AddUint32(&invalids, 1)
}
case "history":
- out.Values[i] = ec._CreateTimelineItem_history(ctx, field, obj)
+ innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
+ return ec._CreateTimelineItem_history(ctx, field, obj)
+ }
+
+ out.Values[i] = innerFunc(ctx)
+
if out.Values[i] == graphql.Null {
atomic.AddUint32(&invalids, 1)
}
@@ -12128,7 +12947,6 @@ var editCommentOperationImplementors = []string{"EditCommentOperation", "Operati
func (ec *executionContext) _EditCommentOperation(ctx context.Context, sel ast.SelectionSet, obj *bug.EditCommentOperation) graphql.Marshaler {
fields := graphql.CollectFields(ec.OperationContext, sel, editCommentOperationImplementors)
-
out := graphql.NewFieldSet(fields)
var invalids uint32
for i, field := range fields {
@@ -12137,7 +12955,8 @@ func (ec *executionContext) _EditCommentOperation(ctx context.Context, sel ast.S
out.Values[i] = graphql.MarshalString("EditCommentOperation")
case "id":
field := field
- out.Concurrently(i, func() (res graphql.Marshaler) {
+
+ innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
defer func() {
if r := recover(); r != nil {
ec.Error(ctx, ec.Recover(ctx, r))
@@ -12148,10 +12967,16 @@ func (ec *executionContext) _EditCommentOperation(ctx context.Context, sel ast.S
atomic.AddUint32(&invalids, 1)
}
return res
+ }
+
+ out.Concurrently(i, func() graphql.Marshaler {
+ return innerFunc(ctx)
+
})
case "author":
field := field
- out.Concurrently(i, func() (res graphql.Marshaler) {
+
+ innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
defer func() {
if r := recover(); r != nil {
ec.Error(ctx, ec.Recover(ctx, r))
@@ -12162,10 +12987,16 @@ func (ec *executionContext) _EditCommentOperation(ctx context.Context, sel ast.S
atomic.AddUint32(&invalids, 1)
}
return res
+ }
+
+ out.Concurrently(i, func() graphql.Marshaler {
+ return innerFunc(ctx)
+
})
case "date":
field := field
- out.Concurrently(i, func() (res graphql.Marshaler) {
+
+ innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
defer func() {
if r := recover(); r != nil {
ec.Error(ctx, ec.Recover(ctx, r))
@@ -12176,10 +13007,16 @@ func (ec *executionContext) _EditCommentOperation(ctx context.Context, sel ast.S
atomic.AddUint32(&invalids, 1)
}
return res
+ }
+
+ out.Concurrently(i, func() graphql.Marshaler {
+ return innerFunc(ctx)
+
})
case "target":
field := field
- out.Concurrently(i, func() (res graphql.Marshaler) {
+
+ innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
defer func() {
if r := recover(); r != nil {
ec.Error(ctx, ec.Recover(ctx, r))
@@ -12190,14 +13027,29 @@ func (ec *executionContext) _EditCommentOperation(ctx context.Context, sel ast.S
atomic.AddUint32(&invalids, 1)
}
return res
+ }
+
+ out.Concurrently(i, func() graphql.Marshaler {
+ return innerFunc(ctx)
+
})
case "message":
- out.Values[i] = ec._EditCommentOperation_message(ctx, field, obj)
+ innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
+ return ec._EditCommentOperation_message(ctx, field, obj)
+ }
+
+ out.Values[i] = innerFunc(ctx)
+
if out.Values[i] == graphql.Null {
atomic.AddUint32(&invalids, 1)
}
case "files":
- out.Values[i] = ec._EditCommentOperation_files(ctx, field, obj)
+ innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
+ return ec._EditCommentOperation_files(ctx, field, obj)
+ }
+
+ out.Values[i] = innerFunc(ctx)
+
if out.Values[i] == graphql.Null {
atomic.AddUint32(&invalids, 1)
}
@@ -12216,7 +13068,6 @@ var editCommentPayloadImplementors = []string{"EditCommentPayload"}
func (ec *executionContext) _EditCommentPayload(ctx context.Context, sel ast.SelectionSet, obj *models.EditCommentPayload) graphql.Marshaler {
fields := graphql.CollectFields(ec.OperationContext, sel, editCommentPayloadImplementors)
-
out := graphql.NewFieldSet(fields)
var invalids uint32
for i, field := range fields {
@@ -12224,14 +13075,29 @@ func (ec *executionContext) _EditCommentPayload(ctx context.Context, sel ast.Sel
case "__typename":
out.Values[i] = graphql.MarshalString("EditCommentPayload")
case "clientMutationId":
- out.Values[i] = ec._EditCommentPayload_clientMutationId(ctx, field, obj)
+ innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
+ return ec._EditCommentPayload_clientMutationId(ctx, field, obj)
+ }
+
+ out.Values[i] = innerFunc(ctx)
+
case "bug":
- out.Values[i] = ec._EditCommentPayload_bug(ctx, field, obj)
+ innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
+ return ec._EditCommentPayload_bug(ctx, field, obj)
+ }
+
+ out.Values[i] = innerFunc(ctx)
+
if out.Values[i] == graphql.Null {
invalids++
}
case "operation":
- out.Values[i] = ec._EditCommentPayload_operation(ctx, field, obj)
+ innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
+ return ec._EditCommentPayload_operation(ctx, field, obj)
+ }
+
+ out.Values[i] = innerFunc(ctx)
+
if out.Values[i] == graphql.Null {
invalids++
}
@@ -12250,7 +13116,6 @@ var identityImplementors = []string{"Identity"}
func (ec *executionContext) _Identity(ctx context.Context, sel ast.SelectionSet, obj models.IdentityWrapper) graphql.Marshaler {
fields := graphql.CollectFields(ec.OperationContext, sel, identityImplementors)
-
out := graphql.NewFieldSet(fields)
var invalids uint32
for i, field := range fields {
@@ -12259,7 +13124,8 @@ func (ec *executionContext) _Identity(ctx context.Context, sel ast.SelectionSet,
out.Values[i] = graphql.MarshalString("Identity")
case "id":
field := field
- out.Concurrently(i, func() (res graphql.Marshaler) {
+
+ innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
defer func() {
if r := recover(); r != nil {
ec.Error(ctx, ec.Recover(ctx, r))
@@ -12270,10 +13136,16 @@ func (ec *executionContext) _Identity(ctx context.Context, sel ast.SelectionSet,
atomic.AddUint32(&invalids, 1)
}
return res
+ }
+
+ out.Concurrently(i, func() graphql.Marshaler {
+ return innerFunc(ctx)
+
})
case "humanId":
field := field
- out.Concurrently(i, func() (res graphql.Marshaler) {
+
+ innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
defer func() {
if r := recover(); r != nil {
ec.Error(ctx, ec.Recover(ctx, r))
@@ -12284,22 +13156,57 @@ func (ec *executionContext) _Identity(ctx context.Context, sel ast.SelectionSet,
atomic.AddUint32(&invalids, 1)
}
return res
+ }
+
+ out.Concurrently(i, func() graphql.Marshaler {
+ return innerFunc(ctx)
+
})
case "name":
- out.Values[i] = ec._Identity_name(ctx, field, obj)
+ innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
+ return ec._Identity_name(ctx, field, obj)
+ }
+
+ out.Values[i] = innerFunc(ctx)
+
case "email":
- out.Values[i] = ec._Identity_email(ctx, field, obj)
+ innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
+ return ec._Identity_email(ctx, field, obj)
+ }
+
+ out.Values[i] = innerFunc(ctx)
+
case "login":
- out.Values[i] = ec._Identity_login(ctx, field, obj)
+ innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
+ return ec._Identity_login(ctx, field, obj)
+ }
+
+ out.Values[i] = innerFunc(ctx)
+
case "displayName":
- out.Values[i] = ec._Identity_displayName(ctx, field, obj)
+ innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
+ return ec._Identity_displayName(ctx, field, obj)
+ }
+
+ out.Values[i] = innerFunc(ctx)
+
if out.Values[i] == graphql.Null {
atomic.AddUint32(&invalids, 1)
}
case "avatarUrl":
- out.Values[i] = ec._Identity_avatarUrl(ctx, field, obj)
+ innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
+ return ec._Identity_avatarUrl(ctx, field, obj)
+ }
+
+ out.Values[i] = innerFunc(ctx)
+
case "isProtected":
- out.Values[i] = ec._Identity_isProtected(ctx, field, obj)
+ innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
+ return ec._Identity_isProtected(ctx, field, obj)
+ }
+
+ out.Values[i] = innerFunc(ctx)
+
if out.Values[i] == graphql.Null {
atomic.AddUint32(&invalids, 1)
}
@@ -12318,7 +13225,6 @@ var identityConnectionImplementors = []string{"IdentityConnection"}
func (ec *executionContext) _IdentityConnection(ctx context.Context, sel ast.SelectionSet, obj *models.IdentityConnection) graphql.Marshaler {
fields := graphql.CollectFields(ec.OperationContext, sel, identityConnectionImplementors)
-
out := graphql.NewFieldSet(fields)
var invalids uint32
for i, field := range fields {
@@ -12326,22 +13232,42 @@ func (ec *executionContext) _IdentityConnection(ctx context.Context, sel ast.Sel
case "__typename":
out.Values[i] = graphql.MarshalString("IdentityConnection")
case "edges":
- out.Values[i] = ec._IdentityConnection_edges(ctx, field, obj)
+ innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
+ return ec._IdentityConnection_edges(ctx, field, obj)
+ }
+
+ out.Values[i] = innerFunc(ctx)
+
if out.Values[i] == graphql.Null {
invalids++
}
case "nodes":
- out.Values[i] = ec._IdentityConnection_nodes(ctx, field, obj)
+ innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
+ return ec._IdentityConnection_nodes(ctx, field, obj)
+ }
+
+ out.Values[i] = innerFunc(ctx)
+
if out.Values[i] == graphql.Null {
invalids++
}
case "pageInfo":
- out.Values[i] = ec._IdentityConnection_pageInfo(ctx, field, obj)
+ innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
+ return ec._IdentityConnection_pageInfo(ctx, field, obj)
+ }
+
+ out.Values[i] = innerFunc(ctx)
+
if out.Values[i] == graphql.Null {
invalids++
}
case "totalCount":
- out.Values[i] = ec._IdentityConnection_totalCount(ctx, field, obj)
+ innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
+ return ec._IdentityConnection_totalCount(ctx, field, obj)
+ }
+
+ out.Values[i] = innerFunc(ctx)
+
if out.Values[i] == graphql.Null {
invalids++
}
@@ -12360,7 +13286,6 @@ var identityEdgeImplementors = []string{"IdentityEdge"}
func (ec *executionContext) _IdentityEdge(ctx context.Context, sel ast.SelectionSet, obj *models.IdentityEdge) graphql.Marshaler {
fields := graphql.CollectFields(ec.OperationContext, sel, identityEdgeImplementors)
-
out := graphql.NewFieldSet(fields)
var invalids uint32
for i, field := range fields {
@@ -12368,12 +13293,22 @@ func (ec *executionContext) _IdentityEdge(ctx context.Context, sel ast.Selection
case "__typename":
out.Values[i] = graphql.MarshalString("IdentityEdge")
case "cursor":
- out.Values[i] = ec._IdentityEdge_cursor(ctx, field, obj)
+ innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
+ return ec._IdentityEdge_cursor(ctx, field, obj)
+ }
+
+ out.Values[i] = innerFunc(ctx)
+
if out.Values[i] == graphql.Null {
invalids++
}
case "node":
- out.Values[i] = ec._IdentityEdge_node(ctx, field, obj)
+ innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
+ return ec._IdentityEdge_node(ctx, field, obj)
+ }
+
+ out.Values[i] = innerFunc(ctx)
+
if out.Values[i] == graphql.Null {
invalids++
}
@@ -12392,7 +13327,6 @@ var labelImplementors = []string{"Label"}
func (ec *executionContext) _Label(ctx context.Context, sel ast.SelectionSet, obj *bug.Label) graphql.Marshaler {
fields := graphql.CollectFields(ec.OperationContext, sel, labelImplementors)
-
out := graphql.NewFieldSet(fields)
var invalids uint32
for i, field := range fields {
@@ -12401,7 +13335,8 @@ func (ec *executionContext) _Label(ctx context.Context, sel ast.SelectionSet, ob
out.Values[i] = graphql.MarshalString("Label")
case "name":
field := field
- out.Concurrently(i, func() (res graphql.Marshaler) {
+
+ innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
defer func() {
if r := recover(); r != nil {
ec.Error(ctx, ec.Recover(ctx, r))
@@ -12412,10 +13347,16 @@ func (ec *executionContext) _Label(ctx context.Context, sel ast.SelectionSet, ob
atomic.AddUint32(&invalids, 1)
}
return res
+ }
+
+ out.Concurrently(i, func() graphql.Marshaler {
+ return innerFunc(ctx)
+
})
case "color":
field := field
- out.Concurrently(i, func() (res graphql.Marshaler) {
+
+ innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
defer func() {
if r := recover(); r != nil {
ec.Error(ctx, ec.Recover(ctx, r))
@@ -12426,6 +13367,11 @@ func (ec *executionContext) _Label(ctx context.Context, sel ast.SelectionSet, ob
atomic.AddUint32(&invalids, 1)
}
return res
+ }
+
+ out.Concurrently(i, func() graphql.Marshaler {
+ return innerFunc(ctx)
+
})
default:
panic("unknown field " + strconv.Quote(field.Name))
@@ -12442,7 +13388,6 @@ var labelChangeOperationImplementors = []string{"LabelChangeOperation", "Operati
func (ec *executionContext) _LabelChangeOperation(ctx context.Context, sel ast.SelectionSet, obj *bug.LabelChangeOperation) graphql.Marshaler {
fields := graphql.CollectFields(ec.OperationContext, sel, labelChangeOperationImplementors)
-
out := graphql.NewFieldSet(fields)
var invalids uint32
for i, field := range fields {
@@ -12451,7 +13396,8 @@ func (ec *executionContext) _LabelChangeOperation(ctx context.Context, sel ast.S
out.Values[i] = graphql.MarshalString("LabelChangeOperation")
case "id":
field := field
- out.Concurrently(i, func() (res graphql.Marshaler) {
+
+ innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
defer func() {
if r := recover(); r != nil {
ec.Error(ctx, ec.Recover(ctx, r))
@@ -12462,10 +13408,16 @@ func (ec *executionContext) _LabelChangeOperation(ctx context.Context, sel ast.S
atomic.AddUint32(&invalids, 1)
}
return res
+ }
+
+ out.Concurrently(i, func() graphql.Marshaler {
+ return innerFunc(ctx)
+
})
case "author":
field := field
- out.Concurrently(i, func() (res graphql.Marshaler) {
+
+ innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
defer func() {
if r := recover(); r != nil {
ec.Error(ctx, ec.Recover(ctx, r))
@@ -12476,10 +13428,16 @@ func (ec *executionContext) _LabelChangeOperation(ctx context.Context, sel ast.S
atomic.AddUint32(&invalids, 1)
}
return res
+ }
+
+ out.Concurrently(i, func() graphql.Marshaler {
+ return innerFunc(ctx)
+
})
case "date":
field := field
- out.Concurrently(i, func() (res graphql.Marshaler) {
+
+ innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
defer func() {
if r := recover(); r != nil {
ec.Error(ctx, ec.Recover(ctx, r))
@@ -12490,14 +13448,29 @@ func (ec *executionContext) _LabelChangeOperation(ctx context.Context, sel ast.S
atomic.AddUint32(&invalids, 1)
}
return res
+ }
+
+ out.Concurrently(i, func() graphql.Marshaler {
+ return innerFunc(ctx)
+
})
case "added":
- out.Values[i] = ec._LabelChangeOperation_added(ctx, field, obj)
+ innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
+ return ec._LabelChangeOperation_added(ctx, field, obj)
+ }
+
+ out.Values[i] = innerFunc(ctx)
+
if out.Values[i] == graphql.Null {
atomic.AddUint32(&invalids, 1)
}
case "removed":
- out.Values[i] = ec._LabelChangeOperation_removed(ctx, field, obj)
+ innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
+ return ec._LabelChangeOperation_removed(ctx, field, obj)
+ }
+
+ out.Values[i] = innerFunc(ctx)
+
if out.Values[i] == graphql.Null {
atomic.AddUint32(&invalids, 1)
}
@@ -12516,7 +13489,6 @@ var labelChangeResultImplementors = []string{"LabelChangeResult"}
func (ec *executionContext) _LabelChangeResult(ctx context.Context, sel ast.SelectionSet, obj *bug.LabelChangeResult) graphql.Marshaler {
fields := graphql.CollectFields(ec.OperationContext, sel, labelChangeResultImplementors)
-
out := graphql.NewFieldSet(fields)
var invalids uint32
for i, field := range fields {
@@ -12524,13 +13496,19 @@ func (ec *executionContext) _LabelChangeResult(ctx context.Context, sel ast.Sele
case "__typename":
out.Values[i] = graphql.MarshalString("LabelChangeResult")
case "label":
- out.Values[i] = ec._LabelChangeResult_label(ctx, field, obj)
+ innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
+ return ec._LabelChangeResult_label(ctx, field, obj)
+ }
+
+ out.Values[i] = innerFunc(ctx)
+
if out.Values[i] == graphql.Null {
atomic.AddUint32(&invalids, 1)
}
case "status":
field := field
- out.Concurrently(i, func() (res graphql.Marshaler) {
+
+ innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
defer func() {
if r := recover(); r != nil {
ec.Error(ctx, ec.Recover(ctx, r))
@@ -12541,6 +13519,11 @@ func (ec *executionContext) _LabelChangeResult(ctx context.Context, sel ast.Sele
atomic.AddUint32(&invalids, 1)
}
return res
+ }
+
+ out.Concurrently(i, func() graphql.Marshaler {
+ return innerFunc(ctx)
+
})
default:
panic("unknown field " + strconv.Quote(field.Name))
@@ -12557,7 +13540,6 @@ var labelChangeTimelineItemImplementors = []string{"LabelChangeTimelineItem", "T
func (ec *executionContext) _LabelChangeTimelineItem(ctx context.Context, sel ast.SelectionSet, obj *bug.LabelChangeTimelineItem) graphql.Marshaler {
fields := graphql.CollectFields(ec.OperationContext, sel, labelChangeTimelineItemImplementors)
-
out := graphql.NewFieldSet(fields)
var invalids uint32
for i, field := range fields {
@@ -12566,7 +13548,8 @@ func (ec *executionContext) _LabelChangeTimelineItem(ctx context.Context, sel as
out.Values[i] = graphql.MarshalString("LabelChangeTimelineItem")
case "id":
field := field
- out.Concurrently(i, func() (res graphql.Marshaler) {
+
+ innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
defer func() {
if r := recover(); r != nil {
ec.Error(ctx, ec.Recover(ctx, r))
@@ -12577,10 +13560,16 @@ func (ec *executionContext) _LabelChangeTimelineItem(ctx context.Context, sel as
atomic.AddUint32(&invalids, 1)
}
return res
+ }
+
+ out.Concurrently(i, func() graphql.Marshaler {
+ return innerFunc(ctx)
+
})
case "author":
field := field
- out.Concurrently(i, func() (res graphql.Marshaler) {
+
+ innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
defer func() {
if r := recover(); r != nil {
ec.Error(ctx, ec.Recover(ctx, r))
@@ -12591,10 +13580,16 @@ func (ec *executionContext) _LabelChangeTimelineItem(ctx context.Context, sel as
atomic.AddUint32(&invalids, 1)
}
return res
+ }
+
+ out.Concurrently(i, func() graphql.Marshaler {
+ return innerFunc(ctx)
+
})
case "date":
field := field
- out.Concurrently(i, func() (res graphql.Marshaler) {
+
+ innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
defer func() {
if r := recover(); r != nil {
ec.Error(ctx, ec.Recover(ctx, r))
@@ -12605,14 +13600,29 @@ func (ec *executionContext) _LabelChangeTimelineItem(ctx context.Context, sel as
atomic.AddUint32(&invalids, 1)
}
return res
+ }
+
+ out.Concurrently(i, func() graphql.Marshaler {
+ return innerFunc(ctx)
+
})
case "added":
- out.Values[i] = ec._LabelChangeTimelineItem_added(ctx, field, obj)
+ innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
+ return ec._LabelChangeTimelineItem_added(ctx, field, obj)
+ }
+
+ out.Values[i] = innerFunc(ctx)
+
if out.Values[i] == graphql.Null {
atomic.AddUint32(&invalids, 1)
}
case "removed":
- out.Values[i] = ec._LabelChangeTimelineItem_removed(ctx, field, obj)
+ innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
+ return ec._LabelChangeTimelineItem_removed(ctx, field, obj)
+ }
+
+ out.Values[i] = innerFunc(ctx)
+
if out.Values[i] == graphql.Null {
atomic.AddUint32(&invalids, 1)
}
@@ -12631,7 +13641,6 @@ var labelConnectionImplementors = []string{"LabelConnection"}
func (ec *executionContext) _LabelConnection(ctx context.Context, sel ast.SelectionSet, obj *models.LabelConnection) graphql.Marshaler {
fields := graphql.CollectFields(ec.OperationContext, sel, labelConnectionImplementors)
-
out := graphql.NewFieldSet(fields)
var invalids uint32
for i, field := range fields {
@@ -12639,22 +13648,42 @@ func (ec *executionContext) _LabelConnection(ctx context.Context, sel ast.Select
case "__typename":
out.Values[i] = graphql.MarshalString("LabelConnection")
case "edges":
- out.Values[i] = ec._LabelConnection_edges(ctx, field, obj)
+ innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
+ return ec._LabelConnection_edges(ctx, field, obj)
+ }
+
+ out.Values[i] = innerFunc(ctx)
+
if out.Values[i] == graphql.Null {
invalids++
}
case "nodes":
- out.Values[i] = ec._LabelConnection_nodes(ctx, field, obj)
+ innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
+ return ec._LabelConnection_nodes(ctx, field, obj)
+ }
+
+ out.Values[i] = innerFunc(ctx)
+
if out.Values[i] == graphql.Null {
invalids++
}
case "pageInfo":
- out.Values[i] = ec._LabelConnection_pageInfo(ctx, field, obj)
+ innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
+ return ec._LabelConnection_pageInfo(ctx, field, obj)
+ }
+
+ out.Values[i] = innerFunc(ctx)
+
if out.Values[i] == graphql.Null {
invalids++
}
case "totalCount":
- out.Values[i] = ec._LabelConnection_totalCount(ctx, field, obj)
+ innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
+ return ec._LabelConnection_totalCount(ctx, field, obj)
+ }
+
+ out.Values[i] = innerFunc(ctx)
+
if out.Values[i] == graphql.Null {
invalids++
}
@@ -12673,7 +13702,6 @@ var labelEdgeImplementors = []string{"LabelEdge"}
func (ec *executionContext) _LabelEdge(ctx context.Context, sel ast.SelectionSet, obj *models.LabelEdge) graphql.Marshaler {
fields := graphql.CollectFields(ec.OperationContext, sel, labelEdgeImplementors)
-
out := graphql.NewFieldSet(fields)
var invalids uint32
for i, field := range fields {
@@ -12681,12 +13709,22 @@ func (ec *executionContext) _LabelEdge(ctx context.Context, sel ast.SelectionSet
case "__typename":
out.Values[i] = graphql.MarshalString("LabelEdge")
case "cursor":
- out.Values[i] = ec._LabelEdge_cursor(ctx, field, obj)
+ innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
+ return ec._LabelEdge_cursor(ctx, field, obj)
+ }
+
+ out.Values[i] = innerFunc(ctx)
+
if out.Values[i] == graphql.Null {
invalids++
}
case "node":
- out.Values[i] = ec._LabelEdge_node(ctx, field, obj)
+ innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
+ return ec._LabelEdge_node(ctx, field, obj)
+ }
+
+ out.Values[i] = innerFunc(ctx)
+
if out.Values[i] == graphql.Null {
invalids++
}
@@ -12705,7 +13743,6 @@ var mutationImplementors = []string{"Mutation"}
func (ec *executionContext) _Mutation(ctx context.Context, sel ast.SelectionSet) graphql.Marshaler {
fields := graphql.CollectFields(ec.OperationContext, sel, mutationImplementors)
-
ctx = graphql.WithFieldContext(ctx, &graphql.FieldContext{
Object: "Mutation",
})
@@ -12713,51 +13750,101 @@ func (ec *executionContext) _Mutation(ctx context.Context, sel ast.SelectionSet)
out := graphql.NewFieldSet(fields)
var invalids uint32
for i, field := range fields {
+ innerCtx := graphql.WithRootFieldContext(ctx, &graphql.RootFieldContext{
+ Object: field.Name,
+ Field: field,
+ })
+
switch field.Name {
case "__typename":
out.Values[i] = graphql.MarshalString("Mutation")
case "newBug":
- out.Values[i] = ec._Mutation_newBug(ctx, field)
+ innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
+ return ec._Mutation_newBug(ctx, field)
+ }
+
+ out.Values[i] = ec.OperationContext.RootResolverMiddleware(innerCtx, innerFunc)
+
if out.Values[i] == graphql.Null {
invalids++
}
case "addComment":
- out.Values[i] = ec._Mutation_addComment(ctx, field)
+ innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
+ return ec._Mutation_addComment(ctx, field)
+ }
+
+ out.Values[i] = ec.OperationContext.RootResolverMiddleware(innerCtx, innerFunc)
+
if out.Values[i] == graphql.Null {
invalids++
}
case "addCommentAndClose":
- out.Values[i] = ec._Mutation_addCommentAndClose(ctx, field)
+ innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
+ return ec._Mutation_addCommentAndClose(ctx, field)
+ }
+
+ out.Values[i] = ec.OperationContext.RootResolverMiddleware(innerCtx, innerFunc)
+
if out.Values[i] == graphql.Null {
invalids++
}
case "addCommentAndReopen":
- out.Values[i] = ec._Mutation_addCommentAndReopen(ctx, field)
+ innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
+ return ec._Mutation_addCommentAndReopen(ctx, field)
+ }
+
+ out.Values[i] = ec.OperationContext.RootResolverMiddleware(innerCtx, innerFunc)
+
if out.Values[i] == graphql.Null {
invalids++
}
case "editComment":
- out.Values[i] = ec._Mutation_editComment(ctx, field)
+ innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
+ return ec._Mutation_editComment(ctx, field)
+ }
+
+ out.Values[i] = ec.OperationContext.RootResolverMiddleware(innerCtx, innerFunc)
+
if out.Values[i] == graphql.Null {
invalids++
}
case "changeLabels":
- out.Values[i] = ec._Mutation_changeLabels(ctx, field)
+ innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
+ return ec._Mutation_changeLabels(ctx, field)
+ }
+
+ out.Values[i] = ec.OperationContext.RootResolverMiddleware(innerCtx, innerFunc)
+
if out.Values[i] == graphql.Null {
invalids++
}
case "openBug":
- out.Values[i] = ec._Mutation_openBug(ctx, field)
+ innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
+ return ec._Mutation_openBug(ctx, field)
+ }
+
+ out.Values[i] = ec.OperationContext.RootResolverMiddleware(innerCtx, innerFunc)
+
if out.Values[i] == graphql.Null {
invalids++
}
case "closeBug":
- out.Values[i] = ec._Mutation_closeBug(ctx, field)
+ innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
+ return ec._Mutation_closeBug(ctx, field)
+ }
+
+ out.Values[i] = ec.OperationContext.RootResolverMiddleware(innerCtx, innerFunc)
+
if out.Values[i] == graphql.Null {
invalids++
}
case "setTitle":
- out.Values[i] = ec._Mutation_setTitle(ctx, field)
+ innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
+ return ec._Mutation_setTitle(ctx, field)
+ }
+
+ out.Values[i] = ec.OperationContext.RootResolverMiddleware(innerCtx, innerFunc)
+
if out.Values[i] == graphql.Null {
invalids++
}
@@ -12776,7 +13863,6 @@ var newBugPayloadImplementors = []string{"NewBugPayload"}
func (ec *executionContext) _NewBugPayload(ctx context.Context, sel ast.SelectionSet, obj *models.NewBugPayload) graphql.Marshaler {
fields := graphql.CollectFields(ec.OperationContext, sel, newBugPayloadImplementors)
-
out := graphql.NewFieldSet(fields)
var invalids uint32
for i, field := range fields {
@@ -12784,14 +13870,29 @@ func (ec *executionContext) _NewBugPayload(ctx context.Context, sel ast.Selectio
case "__typename":
out.Values[i] = graphql.MarshalString("NewBugPayload")
case "clientMutationId":
- out.Values[i] = ec._NewBugPayload_clientMutationId(ctx, field, obj)
+ innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
+ return ec._NewBugPayload_clientMutationId(ctx, field, obj)
+ }
+
+ out.Values[i] = innerFunc(ctx)
+
case "bug":
- out.Values[i] = ec._NewBugPayload_bug(ctx, field, obj)
+ innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
+ return ec._NewBugPayload_bug(ctx, field, obj)
+ }
+
+ out.Values[i] = innerFunc(ctx)
+
if out.Values[i] == graphql.Null {
invalids++
}
case "operation":
- out.Values[i] = ec._NewBugPayload_operation(ctx, field, obj)
+ innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
+ return ec._NewBugPayload_operation(ctx, field, obj)
+ }
+
+ out.Values[i] = innerFunc(ctx)
+
if out.Values[i] == graphql.Null {
invalids++
}
@@ -12810,7 +13911,6 @@ var openBugPayloadImplementors = []string{"OpenBugPayload"}
func (ec *executionContext) _OpenBugPayload(ctx context.Context, sel ast.SelectionSet, obj *models.OpenBugPayload) graphql.Marshaler {
fields := graphql.CollectFields(ec.OperationContext, sel, openBugPayloadImplementors)
-
out := graphql.NewFieldSet(fields)
var invalids uint32
for i, field := range fields {
@@ -12818,14 +13918,29 @@ func (ec *executionContext) _OpenBugPayload(ctx context.Context, sel ast.Selecti
case "__typename":
out.Values[i] = graphql.MarshalString("OpenBugPayload")
case "clientMutationId":
- out.Values[i] = ec._OpenBugPayload_clientMutationId(ctx, field, obj)
+ innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
+ return ec._OpenBugPayload_clientMutationId(ctx, field, obj)
+ }
+
+ out.Values[i] = innerFunc(ctx)
+
case "bug":
- out.Values[i] = ec._OpenBugPayload_bug(ctx, field, obj)
+ innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
+ return ec._OpenBugPayload_bug(ctx, field, obj)
+ }
+
+ out.Values[i] = innerFunc(ctx)
+
if out.Values[i] == graphql.Null {
invalids++
}
case "operation":
- out.Values[i] = ec._OpenBugPayload_operation(ctx, field, obj)
+ innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
+ return ec._OpenBugPayload_operation(ctx, field, obj)
+ }
+
+ out.Values[i] = innerFunc(ctx)
+
if out.Values[i] == graphql.Null {
invalids++
}
@@ -12844,7 +13959,6 @@ var operationConnectionImplementors = []string{"OperationConnection"}
func (ec *executionContext) _OperationConnection(ctx context.Context, sel ast.SelectionSet, obj *models.OperationConnection) graphql.Marshaler {
fields := graphql.CollectFields(ec.OperationContext, sel, operationConnectionImplementors)
-
out := graphql.NewFieldSet(fields)
var invalids uint32
for i, field := range fields {
@@ -12852,22 +13966,42 @@ func (ec *executionContext) _OperationConnection(ctx context.Context, sel ast.Se
case "__typename":
out.Values[i] = graphql.MarshalString("OperationConnection")
case "edges":
- out.Values[i] = ec._OperationConnection_edges(ctx, field, obj)
+ innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
+ return ec._OperationConnection_edges(ctx, field, obj)
+ }
+
+ out.Values[i] = innerFunc(ctx)
+
if out.Values[i] == graphql.Null {
invalids++
}
case "nodes":
- out.Values[i] = ec._OperationConnection_nodes(ctx, field, obj)
+ innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
+ return ec._OperationConnection_nodes(ctx, field, obj)
+ }
+
+ out.Values[i] = innerFunc(ctx)
+
if out.Values[i] == graphql.Null {
invalids++
}
case "pageInfo":
- out.Values[i] = ec._OperationConnection_pageInfo(ctx, field, obj)
+ innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
+ return ec._OperationConnection_pageInfo(ctx, field, obj)
+ }
+
+ out.Values[i] = innerFunc(ctx)
+
if out.Values[i] == graphql.Null {
invalids++
}
case "totalCount":
- out.Values[i] = ec._OperationConnection_totalCount(ctx, field, obj)
+ innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
+ return ec._OperationConnection_totalCount(ctx, field, obj)
+ }
+
+ out.Values[i] = innerFunc(ctx)
+
if out.Values[i] == graphql.Null {
invalids++
}
@@ -12886,7 +14020,6 @@ var operationEdgeImplementors = []string{"OperationEdge"}
func (ec *executionContext) _OperationEdge(ctx context.Context, sel ast.SelectionSet, obj *models.OperationEdge) graphql.Marshaler {
fields := graphql.CollectFields(ec.OperationContext, sel, operationEdgeImplementors)
-
out := graphql.NewFieldSet(fields)
var invalids uint32
for i, field := range fields {
@@ -12894,12 +14027,22 @@ func (ec *executionContext) _OperationEdge(ctx context.Context, sel ast.Selectio
case "__typename":
out.Values[i] = graphql.MarshalString("OperationEdge")
case "cursor":
- out.Values[i] = ec._OperationEdge_cursor(ctx, field, obj)
+ innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
+ return ec._OperationEdge_cursor(ctx, field, obj)
+ }
+
+ out.Values[i] = innerFunc(ctx)
+
if out.Values[i] == graphql.Null {
invalids++
}
case "node":
- out.Values[i] = ec._OperationEdge_node(ctx, field, obj)
+ innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
+ return ec._OperationEdge_node(ctx, field, obj)
+ }
+
+ out.Values[i] = innerFunc(ctx)
+
if out.Values[i] == graphql.Null {
invalids++
}
@@ -12918,7 +14061,6 @@ var pageInfoImplementors = []string{"PageInfo"}
func (ec *executionContext) _PageInfo(ctx context.Context, sel ast.SelectionSet, obj *models.PageInfo) graphql.Marshaler {
fields := graphql.CollectFields(ec.OperationContext, sel, pageInfoImplementors)
-
out := graphql.NewFieldSet(fields)
var invalids uint32
for i, field := range fields {
@@ -12926,22 +14068,42 @@ func (ec *executionContext) _PageInfo(ctx context.Context, sel ast.SelectionSet,
case "__typename":
out.Values[i] = graphql.MarshalString("PageInfo")
case "hasNextPage":
- out.Values[i] = ec._PageInfo_hasNextPage(ctx, field, obj)
+ innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
+ return ec._PageInfo_hasNextPage(ctx, field, obj)
+ }
+
+ out.Values[i] = innerFunc(ctx)
+
if out.Values[i] == graphql.Null {
invalids++
}
case "hasPreviousPage":
- out.Values[i] = ec._PageInfo_hasPreviousPage(ctx, field, obj)
+ innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
+ return ec._PageInfo_hasPreviousPage(ctx, field, obj)
+ }
+
+ out.Values[i] = innerFunc(ctx)
+
if out.Values[i] == graphql.Null {
invalids++
}
case "startCursor":
- out.Values[i] = ec._PageInfo_startCursor(ctx, field, obj)
+ innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
+ return ec._PageInfo_startCursor(ctx, field, obj)
+ }
+
+ out.Values[i] = innerFunc(ctx)
+
if out.Values[i] == graphql.Null {
invalids++
}
case "endCursor":
- out.Values[i] = ec._PageInfo_endCursor(ctx, field, obj)
+ innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
+ return ec._PageInfo_endCursor(ctx, field, obj)
+ }
+
+ out.Values[i] = innerFunc(ctx)
+
if out.Values[i] == graphql.Null {
invalids++
}
@@ -12960,7 +14122,6 @@ var queryImplementors = []string{"Query"}
func (ec *executionContext) _Query(ctx context.Context, sel ast.SelectionSet) graphql.Marshaler {
fields := graphql.CollectFields(ec.OperationContext, sel, queryImplementors)
-
ctx = graphql.WithFieldContext(ctx, &graphql.FieldContext{
Object: "Query",
})
@@ -12968,12 +14129,18 @@ func (ec *executionContext) _Query(ctx context.Context, sel ast.SelectionSet) gr
out := graphql.NewFieldSet(fields)
var invalids uint32
for i, field := range fields {
+ innerCtx := graphql.WithRootFieldContext(ctx, &graphql.RootFieldContext{
+ Object: field.Name,
+ Field: field,
+ })
+
switch field.Name {
case "__typename":
out.Values[i] = graphql.MarshalString("Query")
case "repository":
field := field
- out.Concurrently(i, func() (res graphql.Marshaler) {
+
+ innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
defer func() {
if r := recover(); r != nil {
ec.Error(ctx, ec.Recover(ctx, r))
@@ -12981,11 +14148,29 @@ func (ec *executionContext) _Query(ctx context.Context, sel ast.SelectionSet) gr
}()
res = ec._Query_repository(ctx, field)
return res
+ }
+
+ rrm := func(ctx context.Context) graphql.Marshaler {
+ return ec.OperationContext.RootResolverMiddleware(ctx, innerFunc)
+ }
+
+ out.Concurrently(i, func() graphql.Marshaler {
+ return rrm(innerCtx)
})
case "__type":
- out.Values[i] = ec._Query___type(ctx, field)
+ innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
+ return ec._Query___type(ctx, field)
+ }
+
+ out.Values[i] = ec.OperationContext.RootResolverMiddleware(innerCtx, innerFunc)
+
case "__schema":
- out.Values[i] = ec._Query___schema(ctx, field)
+ innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
+ return ec._Query___schema(ctx, field)
+ }
+
+ out.Values[i] = ec.OperationContext.RootResolverMiddleware(innerCtx, innerFunc)
+
default:
panic("unknown field " + strconv.Quote(field.Name))
}
@@ -13001,7 +14186,6 @@ var repositoryImplementors = []string{"Repository"}
func (ec *executionContext) _Repository(ctx context.Context, sel ast.SelectionSet, obj *models.Repository) graphql.Marshaler {
fields := graphql.CollectFields(ec.OperationContext, sel, repositoryImplementors)
-
out := graphql.NewFieldSet(fields)
var invalids uint32
for i, field := range fields {
@@ -13010,7 +14194,8 @@ func (ec *executionContext) _Repository(ctx context.Context, sel ast.SelectionSe
out.Values[i] = graphql.MarshalString("Repository")
case "name":
field := field
- out.Concurrently(i, func() (res graphql.Marshaler) {
+
+ innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
defer func() {
if r := recover(); r != nil {
ec.Error(ctx, ec.Recover(ctx, r))
@@ -13018,10 +14203,16 @@ func (ec *executionContext) _Repository(ctx context.Context, sel ast.SelectionSe
}()
res = ec._Repository_name(ctx, field, obj)
return res
+ }
+
+ out.Concurrently(i, func() graphql.Marshaler {
+ return innerFunc(ctx)
+
})
case "allBugs":
field := field
- out.Concurrently(i, func() (res graphql.Marshaler) {
+
+ innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
defer func() {
if r := recover(); r != nil {
ec.Error(ctx, ec.Recover(ctx, r))
@@ -13032,10 +14223,16 @@ func (ec *executionContext) _Repository(ctx context.Context, sel ast.SelectionSe
atomic.AddUint32(&invalids, 1)
}
return res
+ }
+
+ out.Concurrently(i, func() graphql.Marshaler {
+ return innerFunc(ctx)
+
})
case "bug":
field := field
- out.Concurrently(i, func() (res graphql.Marshaler) {
+
+ innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
defer func() {
if r := recover(); r != nil {
ec.Error(ctx, ec.Recover(ctx, r))
@@ -13043,10 +14240,16 @@ func (ec *executionContext) _Repository(ctx context.Context, sel ast.SelectionSe
}()
res = ec._Repository_bug(ctx, field, obj)
return res
+ }
+
+ out.Concurrently(i, func() graphql.Marshaler {
+ return innerFunc(ctx)
+
})
case "allIdentities":
field := field
- out.Concurrently(i, func() (res graphql.Marshaler) {
+
+ innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
defer func() {
if r := recover(); r != nil {
ec.Error(ctx, ec.Recover(ctx, r))
@@ -13057,10 +14260,16 @@ func (ec *executionContext) _Repository(ctx context.Context, sel ast.SelectionSe
atomic.AddUint32(&invalids, 1)
}
return res
+ }
+
+ out.Concurrently(i, func() graphql.Marshaler {
+ return innerFunc(ctx)
+
})
case "identity":
field := field
- out.Concurrently(i, func() (res graphql.Marshaler) {
+
+ innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
defer func() {
if r := recover(); r != nil {
ec.Error(ctx, ec.Recover(ctx, r))
@@ -13068,10 +14277,16 @@ func (ec *executionContext) _Repository(ctx context.Context, sel ast.SelectionSe
}()
res = ec._Repository_identity(ctx, field, obj)
return res
+ }
+
+ out.Concurrently(i, func() graphql.Marshaler {
+ return innerFunc(ctx)
+
})
case "userIdentity":
field := field
- out.Concurrently(i, func() (res graphql.Marshaler) {
+
+ innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
defer func() {
if r := recover(); r != nil {
ec.Error(ctx, ec.Recover(ctx, r))
@@ -13079,10 +14294,16 @@ func (ec *executionContext) _Repository(ctx context.Context, sel ast.SelectionSe
}()
res = ec._Repository_userIdentity(ctx, field, obj)
return res
+ }
+
+ out.Concurrently(i, func() graphql.Marshaler {
+ return innerFunc(ctx)
+
})
case "validLabels":
field := field
- out.Concurrently(i, func() (res graphql.Marshaler) {
+
+ innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
defer func() {
if r := recover(); r != nil {
ec.Error(ctx, ec.Recover(ctx, r))
@@ -13093,6 +14314,11 @@ func (ec *executionContext) _Repository(ctx context.Context, sel ast.SelectionSe
atomic.AddUint32(&invalids, 1)
}
return res
+ }
+
+ out.Concurrently(i, func() graphql.Marshaler {
+ return innerFunc(ctx)
+
})
default:
panic("unknown field " + strconv.Quote(field.Name))
@@ -13109,7 +14335,6 @@ var setStatusOperationImplementors = []string{"SetStatusOperation", "Operation",
func (ec *executionContext) _SetStatusOperation(ctx context.Context, sel ast.SelectionSet, obj *bug.SetStatusOperation) graphql.Marshaler {
fields := graphql.CollectFields(ec.OperationContext, sel, setStatusOperationImplementors)
-
out := graphql.NewFieldSet(fields)
var invalids uint32
for i, field := range fields {
@@ -13118,7 +14343,8 @@ func (ec *executionContext) _SetStatusOperation(ctx context.Context, sel ast.Sel
out.Values[i] = graphql.MarshalString("SetStatusOperation")
case "id":
field := field
- out.Concurrently(i, func() (res graphql.Marshaler) {
+
+ innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
defer func() {
if r := recover(); r != nil {
ec.Error(ctx, ec.Recover(ctx, r))
@@ -13129,10 +14355,16 @@ func (ec *executionContext) _SetStatusOperation(ctx context.Context, sel ast.Sel
atomic.AddUint32(&invalids, 1)
}
return res
+ }
+
+ out.Concurrently(i, func() graphql.Marshaler {
+ return innerFunc(ctx)
+
})
case "author":
field := field
- out.Concurrently(i, func() (res graphql.Marshaler) {
+
+ innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
defer func() {
if r := recover(); r != nil {
ec.Error(ctx, ec.Recover(ctx, r))
@@ -13143,10 +14375,16 @@ func (ec *executionContext) _SetStatusOperation(ctx context.Context, sel ast.Sel
atomic.AddUint32(&invalids, 1)
}
return res
+ }
+
+ out.Concurrently(i, func() graphql.Marshaler {
+ return innerFunc(ctx)
+
})
case "date":
field := field
- out.Concurrently(i, func() (res graphql.Marshaler) {
+
+ innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
defer func() {
if r := recover(); r != nil {
ec.Error(ctx, ec.Recover(ctx, r))
@@ -13157,10 +14395,16 @@ func (ec *executionContext) _SetStatusOperation(ctx context.Context, sel ast.Sel
atomic.AddUint32(&invalids, 1)
}
return res
+ }
+
+ out.Concurrently(i, func() graphql.Marshaler {
+ return innerFunc(ctx)
+
})
case "status":
field := field
- out.Concurrently(i, func() (res graphql.Marshaler) {
+
+ innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
defer func() {
if r := recover(); r != nil {
ec.Error(ctx, ec.Recover(ctx, r))
@@ -13171,6 +14415,11 @@ func (ec *executionContext) _SetStatusOperation(ctx context.Context, sel ast.Sel
atomic.AddUint32(&invalids, 1)
}
return res
+ }
+
+ out.Concurrently(i, func() graphql.Marshaler {
+ return innerFunc(ctx)
+
})
default:
panic("unknown field " + strconv.Quote(field.Name))
@@ -13187,7 +14436,6 @@ var setStatusTimelineItemImplementors = []string{"SetStatusTimelineItem", "Timel
func (ec *executionContext) _SetStatusTimelineItem(ctx context.Context, sel ast.SelectionSet, obj *bug.SetStatusTimelineItem) graphql.Marshaler {
fields := graphql.CollectFields(ec.OperationContext, sel, setStatusTimelineItemImplementors)
-
out := graphql.NewFieldSet(fields)
var invalids uint32
for i, field := range fields {
@@ -13196,7 +14444,8 @@ func (ec *executionContext) _SetStatusTimelineItem(ctx context.Context, sel ast.
out.Values[i] = graphql.MarshalString("SetStatusTimelineItem")
case "id":
field := field
- out.Concurrently(i, func() (res graphql.Marshaler) {
+
+ innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
defer func() {
if r := recover(); r != nil {
ec.Error(ctx, ec.Recover(ctx, r))
@@ -13207,10 +14456,16 @@ func (ec *executionContext) _SetStatusTimelineItem(ctx context.Context, sel ast.
atomic.AddUint32(&invalids, 1)
}
return res
+ }
+
+ out.Concurrently(i, func() graphql.Marshaler {
+ return innerFunc(ctx)
+
})
case "author":
field := field
- out.Concurrently(i, func() (res graphql.Marshaler) {
+
+ innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
defer func() {
if r := recover(); r != nil {
ec.Error(ctx, ec.Recover(ctx, r))
@@ -13221,10 +14476,16 @@ func (ec *executionContext) _SetStatusTimelineItem(ctx context.Context, sel ast.
atomic.AddUint32(&invalids, 1)
}
return res
+ }
+
+ out.Concurrently(i, func() graphql.Marshaler {
+ return innerFunc(ctx)
+
})
case "date":
field := field
- out.Concurrently(i, func() (res graphql.Marshaler) {
+
+ innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
defer func() {
if r := recover(); r != nil {
ec.Error(ctx, ec.Recover(ctx, r))
@@ -13235,10 +14496,16 @@ func (ec *executionContext) _SetStatusTimelineItem(ctx context.Context, sel ast.
atomic.AddUint32(&invalids, 1)
}
return res
+ }
+
+ out.Concurrently(i, func() graphql.Marshaler {
+ return innerFunc(ctx)
+
})
case "status":
field := field
- out.Concurrently(i, func() (res graphql.Marshaler) {
+
+ innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
defer func() {
if r := recover(); r != nil {
ec.Error(ctx, ec.Recover(ctx, r))
@@ -13249,6 +14516,11 @@ func (ec *executionContext) _SetStatusTimelineItem(ctx context.Context, sel ast.
atomic.AddUint32(&invalids, 1)
}
return res
+ }
+
+ out.Concurrently(i, func() graphql.Marshaler {
+ return innerFunc(ctx)
+
})
default:
panic("unknown field " + strconv.Quote(field.Name))
@@ -13265,7 +14537,6 @@ var setTitleOperationImplementors = []string{"SetTitleOperation", "Operation", "
func (ec *executionContext) _SetTitleOperation(ctx context.Context, sel ast.SelectionSet, obj *bug.SetTitleOperation) graphql.Marshaler {
fields := graphql.CollectFields(ec.OperationContext, sel, setTitleOperationImplementors)
-
out := graphql.NewFieldSet(fields)
var invalids uint32
for i, field := range fields {
@@ -13274,7 +14545,8 @@ func (ec *executionContext) _SetTitleOperation(ctx context.Context, sel ast.Sele
out.Values[i] = graphql.MarshalString("SetTitleOperation")
case "id":
field := field
- out.Concurrently(i, func() (res graphql.Marshaler) {
+
+ innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
defer func() {
if r := recover(); r != nil {
ec.Error(ctx, ec.Recover(ctx, r))
@@ -13285,10 +14557,16 @@ func (ec *executionContext) _SetTitleOperation(ctx context.Context, sel ast.Sele
atomic.AddUint32(&invalids, 1)
}
return res
+ }
+
+ out.Concurrently(i, func() graphql.Marshaler {
+ return innerFunc(ctx)
+
})
case "author":
field := field
- out.Concurrently(i, func() (res graphql.Marshaler) {
+
+ innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
defer func() {
if r := recover(); r != nil {
ec.Error(ctx, ec.Recover(ctx, r))
@@ -13299,10 +14577,16 @@ func (ec *executionContext) _SetTitleOperation(ctx context.Context, sel ast.Sele
atomic.AddUint32(&invalids, 1)
}
return res
+ }
+
+ out.Concurrently(i, func() graphql.Marshaler {
+ return innerFunc(ctx)
+
})
case "date":
field := field
- out.Concurrently(i, func() (res graphql.Marshaler) {
+
+ innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
defer func() {
if r := recover(); r != nil {
ec.Error(ctx, ec.Recover(ctx, r))
@@ -13313,14 +14597,29 @@ func (ec *executionContext) _SetTitleOperation(ctx context.Context, sel ast.Sele
atomic.AddUint32(&invalids, 1)
}
return res
+ }
+
+ out.Concurrently(i, func() graphql.Marshaler {
+ return innerFunc(ctx)
+
})
case "title":
- out.Values[i] = ec._SetTitleOperation_title(ctx, field, obj)
+ innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
+ return ec._SetTitleOperation_title(ctx, field, obj)
+ }
+
+ out.Values[i] = innerFunc(ctx)
+
if out.Values[i] == graphql.Null {
atomic.AddUint32(&invalids, 1)
}
case "was":
- out.Values[i] = ec._SetTitleOperation_was(ctx, field, obj)
+ innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
+ return ec._SetTitleOperation_was(ctx, field, obj)
+ }
+
+ out.Values[i] = innerFunc(ctx)
+
if out.Values[i] == graphql.Null {
atomic.AddUint32(&invalids, 1)
}
@@ -13339,7 +14638,6 @@ var setTitlePayloadImplementors = []string{"SetTitlePayload"}
func (ec *executionContext) _SetTitlePayload(ctx context.Context, sel ast.SelectionSet, obj *models.SetTitlePayload) graphql.Marshaler {
fields := graphql.CollectFields(ec.OperationContext, sel, setTitlePayloadImplementors)
-
out := graphql.NewFieldSet(fields)
var invalids uint32
for i, field := range fields {
@@ -13347,14 +14645,29 @@ func (ec *executionContext) _SetTitlePayload(ctx context.Context, sel ast.Select
case "__typename":
out.Values[i] = graphql.MarshalString("SetTitlePayload")
case "clientMutationId":
- out.Values[i] = ec._SetTitlePayload_clientMutationId(ctx, field, obj)
+ innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
+ return ec._SetTitlePayload_clientMutationId(ctx, field, obj)
+ }
+
+ out.Values[i] = innerFunc(ctx)
+
case "bug":
- out.Values[i] = ec._SetTitlePayload_bug(ctx, field, obj)
+ innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
+ return ec._SetTitlePayload_bug(ctx, field, obj)
+ }
+
+ out.Values[i] = innerFunc(ctx)
+
if out.Values[i] == graphql.Null {
invalids++
}
case "operation":
- out.Values[i] = ec._SetTitlePayload_operation(ctx, field, obj)
+ innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
+ return ec._SetTitlePayload_operation(ctx, field, obj)
+ }
+
+ out.Values[i] = innerFunc(ctx)
+
if out.Values[i] == graphql.Null {
invalids++
}
@@ -13373,7 +14686,6 @@ var setTitleTimelineItemImplementors = []string{"SetTitleTimelineItem", "Timelin
func (ec *executionContext) _SetTitleTimelineItem(ctx context.Context, sel ast.SelectionSet, obj *bug.SetTitleTimelineItem) graphql.Marshaler {
fields := graphql.CollectFields(ec.OperationContext, sel, setTitleTimelineItemImplementors)
-
out := graphql.NewFieldSet(fields)
var invalids uint32
for i, field := range fields {
@@ -13382,7 +14694,8 @@ func (ec *executionContext) _SetTitleTimelineItem(ctx context.Context, sel ast.S
out.Values[i] = graphql.MarshalString("SetTitleTimelineItem")
case "id":
field := field
- out.Concurrently(i, func() (res graphql.Marshaler) {
+
+ innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
defer func() {
if r := recover(); r != nil {
ec.Error(ctx, ec.Recover(ctx, r))
@@ -13393,10 +14706,16 @@ func (ec *executionContext) _SetTitleTimelineItem(ctx context.Context, sel ast.S
atomic.AddUint32(&invalids, 1)
}
return res
+ }
+
+ out.Concurrently(i, func() graphql.Marshaler {
+ return innerFunc(ctx)
+
})
case "author":
field := field
- out.Concurrently(i, func() (res graphql.Marshaler) {
+
+ innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
defer func() {
if r := recover(); r != nil {
ec.Error(ctx, ec.Recover(ctx, r))
@@ -13407,10 +14726,16 @@ func (ec *executionContext) _SetTitleTimelineItem(ctx context.Context, sel ast.S
atomic.AddUint32(&invalids, 1)
}
return res
+ }
+
+ out.Concurrently(i, func() graphql.Marshaler {
+ return innerFunc(ctx)
+
})
case "date":
field := field
- out.Concurrently(i, func() (res graphql.Marshaler) {
+
+ innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
defer func() {
if r := recover(); r != nil {
ec.Error(ctx, ec.Recover(ctx, r))
@@ -13421,14 +14746,29 @@ func (ec *executionContext) _SetTitleTimelineItem(ctx context.Context, sel ast.S
atomic.AddUint32(&invalids, 1)
}
return res
+ }
+
+ out.Concurrently(i, func() graphql.Marshaler {
+ return innerFunc(ctx)
+
})
case "title":
- out.Values[i] = ec._SetTitleTimelineItem_title(ctx, field, obj)
+ innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
+ return ec._SetTitleTimelineItem_title(ctx, field, obj)
+ }
+
+ out.Values[i] = innerFunc(ctx)
+
if out.Values[i] == graphql.Null {
atomic.AddUint32(&invalids, 1)
}
case "was":
- out.Values[i] = ec._SetTitleTimelineItem_was(ctx, field, obj)
+ innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
+ return ec._SetTitleTimelineItem_was(ctx, field, obj)
+ }
+
+ out.Values[i] = innerFunc(ctx)
+
if out.Values[i] == graphql.Null {
atomic.AddUint32(&invalids, 1)
}
@@ -13447,7 +14787,6 @@ var timelineItemConnectionImplementors = []string{"TimelineItemConnection"}
func (ec *executionContext) _TimelineItemConnection(ctx context.Context, sel ast.SelectionSet, obj *models.TimelineItemConnection) graphql.Marshaler {
fields := graphql.CollectFields(ec.OperationContext, sel, timelineItemConnectionImplementors)
-
out := graphql.NewFieldSet(fields)
var invalids uint32
for i, field := range fields {
@@ -13455,22 +14794,42 @@ func (ec *executionContext) _TimelineItemConnection(ctx context.Context, sel ast
case "__typename":
out.Values[i] = graphql.MarshalString("TimelineItemConnection")
case "edges":
- out.Values[i] = ec._TimelineItemConnection_edges(ctx, field, obj)
+ innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
+ return ec._TimelineItemConnection_edges(ctx, field, obj)
+ }
+
+ out.Values[i] = innerFunc(ctx)
+
if out.Values[i] == graphql.Null {
invalids++
}
case "nodes":
- out.Values[i] = ec._TimelineItemConnection_nodes(ctx, field, obj)
+ innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
+ return ec._TimelineItemConnection_nodes(ctx, field, obj)
+ }
+
+ out.Values[i] = innerFunc(ctx)
+
if out.Values[i] == graphql.Null {
invalids++
}
case "pageInfo":
- out.Values[i] = ec._TimelineItemConnection_pageInfo(ctx, field, obj)
+ innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
+ return ec._TimelineItemConnection_pageInfo(ctx, field, obj)
+ }
+
+ out.Values[i] = innerFunc(ctx)
+
if out.Values[i] == graphql.Null {
invalids++
}
case "totalCount":
- out.Values[i] = ec._TimelineItemConnection_totalCount(ctx, field, obj)
+ innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
+ return ec._TimelineItemConnection_totalCount(ctx, field, obj)
+ }
+
+ out.Values[i] = innerFunc(ctx)
+
if out.Values[i] == graphql.Null {
invalids++
}
@@ -13489,7 +14848,6 @@ var timelineItemEdgeImplementors = []string{"TimelineItemEdge"}
func (ec *executionContext) _TimelineItemEdge(ctx context.Context, sel ast.SelectionSet, obj *models.TimelineItemEdge) graphql.Marshaler {
fields := graphql.CollectFields(ec.OperationContext, sel, timelineItemEdgeImplementors)
-
out := graphql.NewFieldSet(fields)
var invalids uint32
for i, field := range fields {
@@ -13497,12 +14855,22 @@ func (ec *executionContext) _TimelineItemEdge(ctx context.Context, sel ast.Selec
case "__typename":
out.Values[i] = graphql.MarshalString("TimelineItemEdge")
case "cursor":
- out.Values[i] = ec._TimelineItemEdge_cursor(ctx, field, obj)
+ innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
+ return ec._TimelineItemEdge_cursor(ctx, field, obj)
+ }
+
+ out.Values[i] = innerFunc(ctx)
+
if out.Values[i] == graphql.Null {
invalids++
}
case "node":
- out.Values[i] = ec._TimelineItemEdge_node(ctx, field, obj)
+ innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
+ return ec._TimelineItemEdge_node(ctx, field, obj)
+ }
+
+ out.Values[i] = innerFunc(ctx)
+
if out.Values[i] == graphql.Null {
invalids++
}
@@ -13521,7 +14889,6 @@ var __DirectiveImplementors = []string{"__Directive"}
func (ec *executionContext) ___Directive(ctx context.Context, sel ast.SelectionSet, obj *introspection.Directive) graphql.Marshaler {
fields := graphql.CollectFields(ec.OperationContext, sel, __DirectiveImplementors)
-
out := graphql.NewFieldSet(fields)
var invalids uint32
for i, field := range fields {
@@ -13529,19 +14896,49 @@ func (ec *executionContext) ___Directive(ctx context.Context, sel ast.SelectionS
case "__typename":
out.Values[i] = graphql.MarshalString("__Directive")
case "name":
- out.Values[i] = ec.___Directive_name(ctx, field, obj)
+ innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
+ return ec.___Directive_name(ctx, field, obj)
+ }
+
+ out.Values[i] = innerFunc(ctx)
+
if out.Values[i] == graphql.Null {
invalids++
}
case "description":
- out.Values[i] = ec.___Directive_description(ctx, field, obj)
+ innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
+ return ec.___Directive_description(ctx, field, obj)
+ }
+
+ out.Values[i] = innerFunc(ctx)
+
case "locations":
- out.Values[i] = ec.___Directive_locations(ctx, field, obj)
+ innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
+ return ec.___Directive_locations(ctx, field, obj)
+ }
+
+ out.Values[i] = innerFunc(ctx)
+
if out.Values[i] == graphql.Null {
invalids++
}
case "args":
- out.Values[i] = ec.___Directive_args(ctx, field, obj)
+ innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
+ return ec.___Directive_args(ctx, field, obj)
+ }
+
+ out.Values[i] = innerFunc(ctx)
+
+ if out.Values[i] == graphql.Null {
+ invalids++
+ }
+ case "isRepeatable":
+ innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
+ return ec.___Directive_isRepeatable(ctx, field, obj)
+ }
+
+ out.Values[i] = innerFunc(ctx)
+
if out.Values[i] == graphql.Null {
invalids++
}
@@ -13560,7 +14957,6 @@ var __EnumValueImplementors = []string{"__EnumValue"}
func (ec *executionContext) ___EnumValue(ctx context.Context, sel ast.SelectionSet, obj *introspection.EnumValue) graphql.Marshaler {
fields := graphql.CollectFields(ec.OperationContext, sel, __EnumValueImplementors)
-
out := graphql.NewFieldSet(fields)
var invalids uint32
for i, field := range fields {
@@ -13568,19 +14964,39 @@ func (ec *executionContext) ___EnumValue(ctx context.Context, sel ast.SelectionS
case "__typename":
out.Values[i] = graphql.MarshalString("__EnumValue")
case "name":
- out.Values[i] = ec.___EnumValue_name(ctx, field, obj)
+ innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
+ return ec.___EnumValue_name(ctx, field, obj)
+ }
+
+ out.Values[i] = innerFunc(ctx)
+
if out.Values[i] == graphql.Null {
invalids++
}
case "description":
- out.Values[i] = ec.___EnumValue_description(ctx, field, obj)
+ innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
+ return ec.___EnumValue_description(ctx, field, obj)
+ }
+
+ out.Values[i] = innerFunc(ctx)
+
case "isDeprecated":
- out.Values[i] = ec.___EnumValue_isDeprecated(ctx, field, obj)
+ innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
+ return ec.___EnumValue_isDeprecated(ctx, field, obj)
+ }
+
+ out.Values[i] = innerFunc(ctx)
+
if out.Values[i] == graphql.Null {
invalids++
}
case "deprecationReason":
- out.Values[i] = ec.___EnumValue_deprecationReason(ctx, field, obj)
+ innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
+ return ec.___EnumValue_deprecationReason(ctx, field, obj)
+ }
+
+ out.Values[i] = innerFunc(ctx)
+
default:
panic("unknown field " + strconv.Quote(field.Name))
}
@@ -13596,7 +15012,6 @@ var __FieldImplementors = []string{"__Field"}
func (ec *executionContext) ___Field(ctx context.Context, sel ast.SelectionSet, obj *introspection.Field) graphql.Marshaler {
fields := graphql.CollectFields(ec.OperationContext, sel, __FieldImplementors)
-
out := graphql.NewFieldSet(fields)
var invalids uint32
for i, field := range fields {
@@ -13604,29 +15019,59 @@ func (ec *executionContext) ___Field(ctx context.Context, sel ast.SelectionSet,
case "__typename":
out.Values[i] = graphql.MarshalString("__Field")
case "name":
- out.Values[i] = ec.___Field_name(ctx, field, obj)
+ innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
+ return ec.___Field_name(ctx, field, obj)
+ }
+
+ out.Values[i] = innerFunc(ctx)
+
if out.Values[i] == graphql.Null {
invalids++
}
case "description":
- out.Values[i] = ec.___Field_description(ctx, field, obj)
+ innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
+ return ec.___Field_description(ctx, field, obj)
+ }
+
+ out.Values[i] = innerFunc(ctx)
+
case "args":
- out.Values[i] = ec.___Field_args(ctx, field, obj)
+ innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
+ return ec.___Field_args(ctx, field, obj)
+ }
+
+ out.Values[i] = innerFunc(ctx)
+
if out.Values[i] == graphql.Null {
invalids++
}
case "type":
- out.Values[i] = ec.___Field_type(ctx, field, obj)
+ innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
+ return ec.___Field_type(ctx, field, obj)
+ }
+
+ out.Values[i] = innerFunc(ctx)
+
if out.Values[i] == graphql.Null {
invalids++
}
case "isDeprecated":
- out.Values[i] = ec.___Field_isDeprecated(ctx, field, obj)
+ innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
+ return ec.___Field_isDeprecated(ctx, field, obj)
+ }
+
+ out.Values[i] = innerFunc(ctx)
+
if out.Values[i] == graphql.Null {
invalids++
}
case "deprecationReason":
- out.Values[i] = ec.___Field_deprecationReason(ctx, field, obj)
+ innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
+ return ec.___Field_deprecationReason(ctx, field, obj)
+ }
+
+ out.Values[i] = innerFunc(ctx)
+
default:
panic("unknown field " + strconv.Quote(field.Name))
}
@@ -13642,7 +15087,6 @@ var __InputValueImplementors = []string{"__InputValue"}
func (ec *executionContext) ___InputValue(ctx context.Context, sel ast.SelectionSet, obj *introspection.InputValue) graphql.Marshaler {
fields := graphql.CollectFields(ec.OperationContext, sel, __InputValueImplementors)
-
out := graphql.NewFieldSet(fields)
var invalids uint32
for i, field := range fields {
@@ -13650,19 +15094,39 @@ func (ec *executionContext) ___InputValue(ctx context.Context, sel ast.Selection
case "__typename":
out.Values[i] = graphql.MarshalString("__InputValue")
case "name":
- out.Values[i] = ec.___InputValue_name(ctx, field, obj)
+ innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
+ return ec.___InputValue_name(ctx, field, obj)
+ }
+
+ out.Values[i] = innerFunc(ctx)
+
if out.Values[i] == graphql.Null {
invalids++
}
case "description":
- out.Values[i] = ec.___InputValue_description(ctx, field, obj)
+ innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
+ return ec.___InputValue_description(ctx, field, obj)
+ }
+
+ out.Values[i] = innerFunc(ctx)
+
case "type":
- out.Values[i] = ec.___InputValue_type(ctx, field, obj)
+ innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
+ return ec.___InputValue_type(ctx, field, obj)
+ }
+
+ out.Values[i] = innerFunc(ctx)
+
if out.Values[i] == graphql.Null {
invalids++
}
case "defaultValue":
- out.Values[i] = ec.___InputValue_defaultValue(ctx, field, obj)
+ innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
+ return ec.___InputValue_defaultValue(ctx, field, obj)
+ }
+
+ out.Values[i] = innerFunc(ctx)
+
default:
panic("unknown field " + strconv.Quote(field.Name))
}
@@ -13678,7 +15142,6 @@ var __SchemaImplementors = []string{"__Schema"}
func (ec *executionContext) ___Schema(ctx context.Context, sel ast.SelectionSet, obj *introspection.Schema) graphql.Marshaler {
fields := graphql.CollectFields(ec.OperationContext, sel, __SchemaImplementors)
-
out := graphql.NewFieldSet(fields)
var invalids uint32
for i, field := range fields {
@@ -13686,21 +15149,46 @@ func (ec *executionContext) ___Schema(ctx context.Context, sel ast.SelectionSet,
case "__typename":
out.Values[i] = graphql.MarshalString("__Schema")
case "types":
- out.Values[i] = ec.___Schema_types(ctx, field, obj)
+ innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
+ return ec.___Schema_types(ctx, field, obj)
+ }
+
+ out.Values[i] = innerFunc(ctx)
+
if out.Values[i] == graphql.Null {
invalids++
}
case "queryType":
- out.Values[i] = ec.___Schema_queryType(ctx, field, obj)
+ innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
+ return ec.___Schema_queryType(ctx, field, obj)
+ }
+
+ out.Values[i] = innerFunc(ctx)
+
if out.Values[i] == graphql.Null {
invalids++
}
case "mutationType":
- out.Values[i] = ec.___Schema_mutationType(ctx, field, obj)
+ innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
+ return ec.___Schema_mutationType(ctx, field, obj)
+ }
+
+ out.Values[i] = innerFunc(ctx)
+
case "subscriptionType":
- out.Values[i] = ec.___Schema_subscriptionType(ctx, field, obj)
+ innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
+ return ec.___Schema_subscriptionType(ctx, field, obj)
+ }
+
+ out.Values[i] = innerFunc(ctx)
+
case "directives":
- out.Values[i] = ec.___Schema_directives(ctx, field, obj)
+ innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
+ return ec.___Schema_directives(ctx, field, obj)
+ }
+
+ out.Values[i] = innerFunc(ctx)
+
if out.Values[i] == graphql.Null {
invalids++
}
@@ -13719,7 +15207,6 @@ var __TypeImplementors = []string{"__Type"}
func (ec *executionContext) ___Type(ctx context.Context, sel ast.SelectionSet, obj *introspection.Type) graphql.Marshaler {
fields := graphql.CollectFields(ec.OperationContext, sel, __TypeImplementors)
-
out := graphql.NewFieldSet(fields)
var invalids uint32
for i, field := range fields {
@@ -13727,26 +15214,71 @@ func (ec *executionContext) ___Type(ctx context.Context, sel ast.SelectionSet, o
case "__typename":
out.Values[i] = graphql.MarshalString("__Type")
case "kind":
- out.Values[i] = ec.___Type_kind(ctx, field, obj)
+ innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
+ return ec.___Type_kind(ctx, field, obj)
+ }
+
+ out.Values[i] = innerFunc(ctx)
+
if out.Values[i] == graphql.Null {
invalids++
}
case "name":
- out.Values[i] = ec.___Type_name(ctx, field, obj)
+ innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
+ return ec.___Type_name(ctx, field, obj)
+ }
+
+ out.Values[i] = innerFunc(ctx)
+
case "description":
- out.Values[i] = ec.___Type_description(ctx, field, obj)
+ innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
+ return ec.___Type_description(ctx, field, obj)
+ }
+
+ out.Values[i] = innerFunc(ctx)
+
case "fields":
- out.Values[i] = ec.___Type_fields(ctx, field, obj)
+ innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
+ return ec.___Type_fields(ctx, field, obj)
+ }
+
+ out.Values[i] = innerFunc(ctx)
+
case "interfaces":
- out.Values[i] = ec.___Type_interfaces(ctx, field, obj)
+ innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
+ return ec.___Type_interfaces(ctx, field, obj)
+ }
+
+ out.Values[i] = innerFunc(ctx)
+
case "possibleTypes":
- out.Values[i] = ec.___Type_possibleTypes(ctx, field, obj)
+ innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
+ return ec.___Type_possibleTypes(ctx, field, obj)
+ }
+
+ out.Values[i] = innerFunc(ctx)
+
case "enumValues":
- out.Values[i] = ec.___Type_enumValues(ctx, field, obj)
+ innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
+ return ec.___Type_enumValues(ctx, field, obj)
+ }
+
+ out.Values[i] = innerFunc(ctx)
+
case "inputFields":
- out.Values[i] = ec.___Type_inputFields(ctx, field, obj)
+ innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
+ return ec.___Type_inputFields(ctx, field, obj)
+ }
+
+ out.Values[i] = innerFunc(ctx)
+
case "ofType":
- out.Values[i] = ec.___Type_ofType(ctx, field, obj)
+ innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
+ return ec.___Type_ofType(ctx, field, obj)
+ }
+
+ out.Values[i] = innerFunc(ctx)
+
default:
panic("unknown field " + strconv.Quote(field.Name))
}
@@ -13763,7 +15295,8 @@ func (ec *executionContext) ___Type(ctx context.Context, sel ast.SelectionSet, o
// region ***************************** type.gotpl *****************************
func (ec *executionContext) unmarshalNAddCommentAndCloseBugInput2githubᚗcomᚋMichaelMureᚋgitᚑbugᚋapiᚋgraphqlᚋmodelsᚐAddCommentAndCloseBugInput(ctx context.Context, v interface{}) (models.AddCommentAndCloseBugInput, error) {
- return ec.unmarshalInputAddCommentAndCloseBugInput(ctx, v)
+ res, err := ec.unmarshalInputAddCommentAndCloseBugInput(ctx, v)
+ return res, graphql.ErrorOnPath(ctx, err)
}
func (ec *executionContext) marshalNAddCommentAndCloseBugPayload2githubᚗcomᚋMichaelMureᚋgitᚑbugᚋapiᚋgraphqlᚋmodelsᚐAddCommentAndCloseBugPayload(ctx context.Context, sel ast.SelectionSet, v models.AddCommentAndCloseBugPayload) graphql.Marshaler {
@@ -13781,7 +15314,8 @@ func (ec *executionContext) marshalNAddCommentAndCloseBugPayload2ᚖgithubᚗcom
}
func (ec *executionContext) unmarshalNAddCommentAndReopenBugInput2githubᚗcomᚋMichaelMureᚋgitᚑbugᚋapiᚋgraphqlᚋmodelsᚐAddCommentAndReopenBugInput(ctx context.Context, v interface{}) (models.AddCommentAndReopenBugInput, error) {
- return ec.unmarshalInputAddCommentAndReopenBugInput(ctx, v)
+ res, err := ec.unmarshalInputAddCommentAndReopenBugInput(ctx, v)
+ return res, graphql.ErrorOnPath(ctx, err)
}
func (ec *executionContext) marshalNAddCommentAndReopenBugPayload2githubᚗcomᚋMichaelMureᚋgitᚑbugᚋapiᚋgraphqlᚋmodelsᚐAddCommentAndReopenBugPayload(ctx context.Context, sel ast.SelectionSet, v models.AddCommentAndReopenBugPayload) graphql.Marshaler {
@@ -13799,11 +15333,8 @@ func (ec *executionContext) marshalNAddCommentAndReopenBugPayload2ᚖgithubᚗco
}
func (ec *executionContext) unmarshalNAddCommentInput2githubᚗcomᚋMichaelMureᚋgitᚑbugᚋapiᚋgraphqlᚋmodelsᚐAddCommentInput(ctx context.Context, v interface{}) (models.AddCommentInput, error) {
- return ec.unmarshalInputAddCommentInput(ctx, v)
-}
-
-func (ec *executionContext) marshalNAddCommentOperation2githubᚗcomᚋMichaelMureᚋgitᚑbugᚋbugᚐAddCommentOperation(ctx context.Context, sel ast.SelectionSet, v bug.AddCommentOperation) graphql.Marshaler {
- return ec._AddCommentOperation(ctx, sel, &v)
+ res, err := ec.unmarshalInputAddCommentInput(ctx, v)
+ return res, graphql.ErrorOnPath(ctx, err)
}
func (ec *executionContext) marshalNAddCommentOperation2ᚖgithubᚗcomᚋMichaelMureᚋgitᚑbugᚋbugᚐAddCommentOperation(ctx context.Context, sel ast.SelectionSet, v *bug.AddCommentOperation) graphql.Marshaler {
@@ -13831,7 +15362,8 @@ func (ec *executionContext) marshalNAddCommentPayload2ᚖgithubᚗcomᚋMichaelM
}
func (ec *executionContext) unmarshalNBoolean2bool(ctx context.Context, v interface{}) (bool, error) {
- return graphql.UnmarshalBoolean(v)
+ res, err := graphql.UnmarshalBoolean(v)
+ return res, graphql.ErrorOnPath(ctx, err)
}
func (ec *executionContext) marshalNBoolean2bool(ctx context.Context, sel ast.SelectionSet, v bool) graphql.Marshaler {
@@ -13888,6 +15420,13 @@ func (ec *executionContext) marshalNBug2ᚕgithubᚗcomᚋMichaelMureᚋgitᚑbu
}
wg.Wait()
+
+ for _, e := range ret {
+ if e == graphql.Null {
+ return graphql.Null
+ }
+ }
+
return ret
}
@@ -13905,10 +15444,6 @@ func (ec *executionContext) marshalNBugConnection2ᚖgithubᚗcomᚋMichaelMure
return ec._BugConnection(ctx, sel, v)
}
-func (ec *executionContext) marshalNBugEdge2githubᚗcomᚋMichaelMureᚋgitᚑbugᚋapiᚋgraphqlᚋmodelsᚐBugEdge(ctx context.Context, sel ast.SelectionSet, v models.BugEdge) graphql.Marshaler {
- return ec._BugEdge(ctx, sel, &v)
-}
-
func (ec *executionContext) marshalNBugEdge2ᚕᚖgithubᚗcomᚋMichaelMureᚋgitᚑbugᚋapiᚋgraphqlᚋmodelsᚐBugEdgeᚄ(ctx context.Context, sel ast.SelectionSet, v []*models.BugEdge) graphql.Marshaler {
ret := make(graphql.Array, len(v))
var wg sync.WaitGroup
@@ -13943,6 +15478,13 @@ func (ec *executionContext) marshalNBugEdge2ᚕᚖgithubᚗcomᚋMichaelMureᚋg
}
wg.Wait()
+
+ for _, e := range ret {
+ if e == graphql.Null {
+ return graphql.Null
+ }
+ }
+
return ret
}
@@ -13971,7 +15513,8 @@ func (ec *executionContext) marshalNChangeLabelPayload2ᚖgithubᚗcomᚋMichael
}
func (ec *executionContext) unmarshalNCloseBugInput2githubᚗcomᚋMichaelMureᚋgitᚑbugᚋapiᚋgraphqlᚋmodelsᚐCloseBugInput(ctx context.Context, v interface{}) (models.CloseBugInput, error) {
- return ec.unmarshalInputCloseBugInput(ctx, v)
+ res, err := ec.unmarshalInputCloseBugInput(ctx, v)
+ return res, graphql.ErrorOnPath(ctx, err)
}
func (ec *executionContext) marshalNCloseBugPayload2githubᚗcomᚋMichaelMureᚋgitᚑbugᚋapiᚋgraphqlᚋmodelsᚐCloseBugPayload(ctx context.Context, sel ast.SelectionSet, v models.CloseBugPayload) graphql.Marshaler {
@@ -14002,10 +15545,6 @@ func (ec *executionContext) marshalNColor2ᚖimageᚋcolorᚐRGBA(ctx context.Co
return ec._Color(ctx, sel, v)
}
-func (ec *executionContext) marshalNComment2githubᚗcomᚋMichaelMureᚋgitᚑbugᚋbugᚐComment(ctx context.Context, sel ast.SelectionSet, v bug.Comment) graphql.Marshaler {
- return ec._Comment(ctx, sel, &v)
-}
-
func (ec *executionContext) marshalNComment2ᚕᚖgithubᚗcomᚋMichaelMureᚋgitᚑbugᚋbugᚐCommentᚄ(ctx context.Context, sel ast.SelectionSet, v []*bug.Comment) graphql.Marshaler {
ret := make(graphql.Array, len(v))
var wg sync.WaitGroup
@@ -14040,6 +15579,13 @@ func (ec *executionContext) marshalNComment2ᚕᚖgithubᚗcomᚋMichaelMureᚋg
}
wg.Wait()
+
+ for _, e := range ret {
+ if e == graphql.Null {
+ return graphql.Null
+ }
+ }
+
return ret
}
@@ -14067,10 +15613,6 @@ func (ec *executionContext) marshalNCommentConnection2ᚖgithubᚗcomᚋMichaelM
return ec._CommentConnection(ctx, sel, v)
}
-func (ec *executionContext) marshalNCommentEdge2githubᚗcomᚋMichaelMureᚋgitᚑbugᚋapiᚋgraphqlᚋmodelsᚐCommentEdge(ctx context.Context, sel ast.SelectionSet, v models.CommentEdge) graphql.Marshaler {
- return ec._CommentEdge(ctx, sel, &v)
-}
-
func (ec *executionContext) marshalNCommentEdge2ᚕᚖgithubᚗcomᚋMichaelMureᚋgitᚑbugᚋapiᚋgraphqlᚋmodelsᚐCommentEdgeᚄ(ctx context.Context, sel ast.SelectionSet, v []*models.CommentEdge) graphql.Marshaler {
ret := make(graphql.Array, len(v))
var wg sync.WaitGroup
@@ -14105,6 +15647,13 @@ func (ec *executionContext) marshalNCommentEdge2ᚕᚖgithubᚗcomᚋMichaelMure
}
wg.Wait()
+
+ for _, e := range ret {
+ if e == graphql.Null {
+ return graphql.Null
+ }
+ }
+
return ret
}
@@ -14156,11 +15705,14 @@ func (ec *executionContext) marshalNCommentHistoryStep2ᚕgithubᚗcomᚋMichael
}
wg.Wait()
- return ret
-}
-func (ec *executionContext) marshalNCreateOperation2githubᚗcomᚋMichaelMureᚋgitᚑbugᚋbugᚐCreateOperation(ctx context.Context, sel ast.SelectionSet, v bug.CreateOperation) graphql.Marshaler {
- return ec._CreateOperation(ctx, sel, &v)
+ for _, e := range ret {
+ if e == graphql.Null {
+ return graphql.Null
+ }
+ }
+
+ return ret
}
func (ec *executionContext) marshalNCreateOperation2ᚖgithubᚗcomᚋMichaelMureᚋgitᚑbugᚋbugᚐCreateOperation(ctx context.Context, sel ast.SelectionSet, v *bug.CreateOperation) graphql.Marshaler {
@@ -14174,11 +15726,8 @@ func (ec *executionContext) marshalNCreateOperation2ᚖgithubᚗcomᚋMichaelMur
}
func (ec *executionContext) unmarshalNEditCommentInput2githubᚗcomᚋMichaelMureᚋgitᚑbugᚋapiᚋgraphqlᚋmodelsᚐEditCommentInput(ctx context.Context, v interface{}) (models.EditCommentInput, error) {
- return ec.unmarshalInputEditCommentInput(ctx, v)
-}
-
-func (ec *executionContext) marshalNEditCommentOperation2githubᚗcomᚋMichaelMureᚋgitᚑbugᚋbugᚐEditCommentOperation(ctx context.Context, sel ast.SelectionSet, v bug.EditCommentOperation) graphql.Marshaler {
- return ec._EditCommentOperation(ctx, sel, &v)
+ res, err := ec.unmarshalInputEditCommentInput(ctx, v)
+ return res, graphql.ErrorOnPath(ctx, err)
}
func (ec *executionContext) marshalNEditCommentOperation2ᚖgithubᚗcomᚋMichaelMureᚋgitᚑbugᚋbugᚐEditCommentOperation(ctx context.Context, sel ast.SelectionSet, v *bug.EditCommentOperation) graphql.Marshaler {
@@ -14207,7 +15756,8 @@ func (ec *executionContext) marshalNEditCommentPayload2ᚖgithubᚗcomᚋMichael
func (ec *executionContext) unmarshalNHash2githubᚗcomᚋMichaelMureᚋgitᚑbugᚋrepositoryᚐHash(ctx context.Context, v interface{}) (repository.Hash, error) {
var res repository.Hash
- return res, res.UnmarshalGQL(v)
+ err := res.UnmarshalGQL(v)
+ return res, graphql.ErrorOnPath(ctx, err)
}
func (ec *executionContext) marshalNHash2githubᚗcomᚋMichaelMureᚋgitᚑbugᚋrepositoryᚐHash(ctx context.Context, sel ast.SelectionSet, v repository.Hash) graphql.Marshaler {
@@ -14217,15 +15767,12 @@ func (ec *executionContext) marshalNHash2githubᚗcomᚋMichaelMureᚋgitᚑbug
func (ec *executionContext) unmarshalNHash2ᚕgithubᚗcomᚋMichaelMureᚋgitᚑbugᚋrepositoryᚐHashᚄ(ctx context.Context, v interface{}) ([]repository.Hash, error) {
var vSlice []interface{}
if v != nil {
- if tmp1, ok := v.([]interface{}); ok {
- vSlice = tmp1
- } else {
- vSlice = []interface{}{v}
- }
+ vSlice = graphql.CoerceList(v)
}
var err error
res := make([]repository.Hash, len(vSlice))
for i := range vSlice {
+ ctx := graphql.WithPathContext(ctx, graphql.NewPathWithIndex(i))
res[i], err = ec.unmarshalNHash2githubᚗcomᚋMichaelMureᚋgitᚑbugᚋrepositoryᚐHash(ctx, vSlice[i])
if err != nil {
return nil, err
@@ -14240,6 +15787,12 @@ func (ec *executionContext) marshalNHash2ᚕgithubᚗcomᚋMichaelMureᚋgitᚑb
ret[i] = ec.marshalNHash2githubᚗcomᚋMichaelMureᚋgitᚑbugᚋrepositoryᚐHash(ctx, sel, v[i])
}
+ for _, e := range ret {
+ if e == graphql.Null {
+ return graphql.Null
+ }
+ }
+
return ret
}
@@ -14287,6 +15840,13 @@ func (ec *executionContext) marshalNIdentity2ᚕgithubᚗcomᚋMichaelMureᚋgit
}
wg.Wait()
+
+ for _, e := range ret {
+ if e == graphql.Null {
+ return graphql.Null
+ }
+ }
+
return ret
}
@@ -14304,10 +15864,6 @@ func (ec *executionContext) marshalNIdentityConnection2ᚖgithubᚗcomᚋMichael
return ec._IdentityConnection(ctx, sel, v)
}
-func (ec *executionContext) marshalNIdentityEdge2githubᚗcomᚋMichaelMureᚋgitᚑbugᚋapiᚋgraphqlᚋmodelsᚐIdentityEdge(ctx context.Context, sel ast.SelectionSet, v models.IdentityEdge) graphql.Marshaler {
- return ec._IdentityEdge(ctx, sel, &v)
-}
-
func (ec *executionContext) marshalNIdentityEdge2ᚕᚖgithubᚗcomᚋMichaelMureᚋgitᚑbugᚋapiᚋgraphqlᚋmodelsᚐIdentityEdgeᚄ(ctx context.Context, sel ast.SelectionSet, v []*models.IdentityEdge) graphql.Marshaler {
ret := make(graphql.Array, len(v))
var wg sync.WaitGroup
@@ -14342,6 +15898,13 @@ func (ec *executionContext) marshalNIdentityEdge2ᚕᚖgithubᚗcomᚋMichaelMur
}
wg.Wait()
+
+ for _, e := range ret {
+ if e == graphql.Null {
+ return graphql.Null
+ }
+ }
+
return ret
}
@@ -14356,7 +15919,8 @@ func (ec *executionContext) marshalNIdentityEdge2ᚖgithubᚗcomᚋMichaelMure
}
func (ec *executionContext) unmarshalNInt2int(ctx context.Context, v interface{}) (int, error) {
- return graphql.UnmarshalInt(v)
+ res, err := graphql.UnmarshalInt(v)
+ return res, graphql.ErrorOnPath(ctx, err)
}
func (ec *executionContext) marshalNInt2int(ctx context.Context, sel ast.SelectionSet, v int) graphql.Marshaler {
@@ -14407,11 +15971,14 @@ func (ec *executionContext) marshalNLabel2ᚕgithubᚗcomᚋMichaelMureᚋgitᚑ
}
wg.Wait()
- return ret
-}
-func (ec *executionContext) marshalNLabelChangeOperation2githubᚗcomᚋMichaelMureᚋgitᚑbugᚋbugᚐLabelChangeOperation(ctx context.Context, sel ast.SelectionSet, v bug.LabelChangeOperation) graphql.Marshaler {
- return ec._LabelChangeOperation(ctx, sel, &v)
+ for _, e := range ret {
+ if e == graphql.Null {
+ return graphql.Null
+ }
+ }
+
+ return ret
}
func (ec *executionContext) marshalNLabelChangeOperation2ᚖgithubᚗcomᚋMichaelMureᚋgitᚑbugᚋbugᚐLabelChangeOperation(ctx context.Context, sel ast.SelectionSet, v *bug.LabelChangeOperation) graphql.Marshaler {
@@ -14458,12 +16025,14 @@ func (ec *executionContext) marshalNLabelChangeResult2ᚕᚖgithubᚗcomᚋMicha
}
wg.Wait()
+
return ret
}
func (ec *executionContext) unmarshalNLabelChangeStatus2githubᚗcomᚋMichaelMureᚋgitᚑbugᚋapiᚋgraphqlᚋmodelsᚐLabelChangeStatus(ctx context.Context, v interface{}) (models.LabelChangeStatus, error) {
var res models.LabelChangeStatus
- return res, res.UnmarshalGQL(v)
+ err := res.UnmarshalGQL(v)
+ return res, graphql.ErrorOnPath(ctx, err)
}
func (ec *executionContext) marshalNLabelChangeStatus2githubᚗcomᚋMichaelMureᚋgitᚑbugᚋapiᚋgraphqlᚋmodelsᚐLabelChangeStatus(ctx context.Context, sel ast.SelectionSet, v models.LabelChangeStatus) graphql.Marshaler {
@@ -14484,10 +16053,6 @@ func (ec *executionContext) marshalNLabelConnection2ᚖgithubᚗcomᚋMichaelMur
return ec._LabelConnection(ctx, sel, v)
}
-func (ec *executionContext) marshalNLabelEdge2githubᚗcomᚋMichaelMureᚋgitᚑbugᚋapiᚋgraphqlᚋmodelsᚐLabelEdge(ctx context.Context, sel ast.SelectionSet, v models.LabelEdge) graphql.Marshaler {
- return ec._LabelEdge(ctx, sel, &v)
-}
-
func (ec *executionContext) marshalNLabelEdge2ᚕᚖgithubᚗcomᚋMichaelMureᚋgitᚑbugᚋapiᚋgraphqlᚋmodelsᚐLabelEdgeᚄ(ctx context.Context, sel ast.SelectionSet, v []*models.LabelEdge) graphql.Marshaler {
ret := make(graphql.Array, len(v))
var wg sync.WaitGroup
@@ -14522,6 +16087,13 @@ func (ec *executionContext) marshalNLabelEdge2ᚕᚖgithubᚗcomᚋMichaelMure
}
wg.Wait()
+
+ for _, e := range ret {
+ if e == graphql.Null {
+ return graphql.Null
+ }
+ }
+
return ret
}
@@ -14536,7 +16108,8 @@ func (ec *executionContext) marshalNLabelEdge2ᚖgithubᚗcomᚋMichaelMureᚋgi
}
func (ec *executionContext) unmarshalNNewBugInput2githubᚗcomᚋMichaelMureᚋgitᚑbugᚋapiᚋgraphqlᚋmodelsᚐNewBugInput(ctx context.Context, v interface{}) (models.NewBugInput, error) {
- return ec.unmarshalInputNewBugInput(ctx, v)
+ res, err := ec.unmarshalInputNewBugInput(ctx, v)
+ return res, graphql.ErrorOnPath(ctx, err)
}
func (ec *executionContext) marshalNNewBugPayload2githubᚗcomᚋMichaelMureᚋgitᚑbugᚋapiᚋgraphqlᚋmodelsᚐNewBugPayload(ctx context.Context, sel ast.SelectionSet, v models.NewBugPayload) graphql.Marshaler {
@@ -14554,7 +16127,8 @@ func (ec *executionContext) marshalNNewBugPayload2ᚖgithubᚗcomᚋMichaelMure
}
func (ec *executionContext) unmarshalNOpenBugInput2githubᚗcomᚋMichaelMureᚋgitᚑbugᚋapiᚋgraphqlᚋmodelsᚐOpenBugInput(ctx context.Context, v interface{}) (models.OpenBugInput, error) {
- return ec.unmarshalInputOpenBugInput(ctx, v)
+ res, err := ec.unmarshalInputOpenBugInput(ctx, v)
+ return res, graphql.ErrorOnPath(ctx, err)
}
func (ec *executionContext) marshalNOpenBugPayload2githubᚗcomᚋMichaelMureᚋgitᚑbugᚋapiᚋgraphqlᚋmodelsᚐOpenBugPayload(ctx context.Context, sel ast.SelectionSet, v models.OpenBugPayload) graphql.Marshaler {
@@ -14615,6 +16189,13 @@ func (ec *executionContext) marshalNOperation2ᚕgithubᚗcomᚋMichaelMureᚋgi
}
wg.Wait()
+
+ for _, e := range ret {
+ if e == graphql.Null {
+ return graphql.Null
+ }
+ }
+
return ret
}
@@ -14632,10 +16213,6 @@ func (ec *executionContext) marshalNOperationConnection2ᚖgithubᚗcomᚋMichae
return ec._OperationConnection(ctx, sel, v)
}
-func (ec *executionContext) marshalNOperationEdge2githubᚗcomᚋMichaelMureᚋgitᚑbugᚋapiᚋgraphqlᚋmodelsᚐOperationEdge(ctx context.Context, sel ast.SelectionSet, v models.OperationEdge) graphql.Marshaler {
- return ec._OperationEdge(ctx, sel, &v)
-}
-
func (ec *executionContext) marshalNOperationEdge2ᚕᚖgithubᚗcomᚋMichaelMureᚋgitᚑbugᚋapiᚋgraphqlᚋmodelsᚐOperationEdgeᚄ(ctx context.Context, sel ast.SelectionSet, v []*models.OperationEdge) graphql.Marshaler {
ret := make(graphql.Array, len(v))
var wg sync.WaitGroup
@@ -14670,6 +16247,13 @@ func (ec *executionContext) marshalNOperationEdge2ᚕᚖgithubᚗcomᚋMichaelMu
}
wg.Wait()
+
+ for _, e := range ret {
+ if e == graphql.Null {
+ return graphql.Null
+ }
+ }
+
return ret
}
@@ -14683,10 +16267,6 @@ func (ec *executionContext) marshalNOperationEdge2ᚖgithubᚗcomᚋMichaelMure
return ec._OperationEdge(ctx, sel, v)
}
-func (ec *executionContext) marshalNPageInfo2githubᚗcomᚋMichaelMureᚋgitᚑbugᚋapiᚋgraphqlᚋmodelsᚐPageInfo(ctx context.Context, sel ast.SelectionSet, v models.PageInfo) graphql.Marshaler {
- return ec._PageInfo(ctx, sel, &v)
-}
-
func (ec *executionContext) marshalNPageInfo2ᚖgithubᚗcomᚋMichaelMureᚋgitᚑbugᚋapiᚋgraphqlᚋmodelsᚐPageInfo(ctx context.Context, sel ast.SelectionSet, v *models.PageInfo) graphql.Marshaler {
if v == nil {
if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) {
@@ -14697,10 +16277,6 @@ func (ec *executionContext) marshalNPageInfo2ᚖgithubᚗcomᚋMichaelMureᚋgit
return ec._PageInfo(ctx, sel, v)
}
-func (ec *executionContext) marshalNSetStatusOperation2githubᚗcomᚋMichaelMureᚋgitᚑbugᚋbugᚐSetStatusOperation(ctx context.Context, sel ast.SelectionSet, v bug.SetStatusOperation) graphql.Marshaler {
- return ec._SetStatusOperation(ctx, sel, &v)
-}
-
func (ec *executionContext) marshalNSetStatusOperation2ᚖgithubᚗcomᚋMichaelMureᚋgitᚑbugᚋbugᚐSetStatusOperation(ctx context.Context, sel ast.SelectionSet, v *bug.SetStatusOperation) graphql.Marshaler {
if v == nil {
if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) {
@@ -14712,11 +16288,8 @@ func (ec *executionContext) marshalNSetStatusOperation2ᚖgithubᚗcomᚋMichael
}
func (ec *executionContext) unmarshalNSetTitleInput2githubᚗcomᚋMichaelMureᚋgitᚑbugᚋapiᚋgraphqlᚋmodelsᚐSetTitleInput(ctx context.Context, v interface{}) (models.SetTitleInput, error) {
- return ec.unmarshalInputSetTitleInput(ctx, v)
-}
-
-func (ec *executionContext) marshalNSetTitleOperation2githubᚗcomᚋMichaelMureᚋgitᚑbugᚋbugᚐSetTitleOperation(ctx context.Context, sel ast.SelectionSet, v bug.SetTitleOperation) graphql.Marshaler {
- return ec._SetTitleOperation(ctx, sel, &v)
+ res, err := ec.unmarshalInputSetTitleInput(ctx, v)
+ return res, graphql.ErrorOnPath(ctx, err)
}
func (ec *executionContext) marshalNSetTitleOperation2ᚖgithubᚗcomᚋMichaelMureᚋgitᚑbugᚋbugᚐSetTitleOperation(ctx context.Context, sel ast.SelectionSet, v *bug.SetTitleOperation) graphql.Marshaler {
@@ -14745,7 +16318,8 @@ func (ec *executionContext) marshalNSetTitlePayload2ᚖgithubᚗcomᚋMichaelMur
func (ec *executionContext) unmarshalNStatus2githubᚗcomᚋMichaelMureᚋgitᚑbugᚋapiᚋgraphqlᚋmodelsᚐStatus(ctx context.Context, v interface{}) (models.Status, error) {
var res models.Status
- return res, res.UnmarshalGQL(v)
+ err := res.UnmarshalGQL(v)
+ return res, graphql.ErrorOnPath(ctx, err)
}
func (ec *executionContext) marshalNStatus2githubᚗcomᚋMichaelMureᚋgitᚑbugᚋapiᚋgraphqlᚋmodelsᚐStatus(ctx context.Context, sel ast.SelectionSet, v models.Status) graphql.Marshaler {
@@ -14753,7 +16327,8 @@ func (ec *executionContext) marshalNStatus2githubᚗcomᚋMichaelMureᚋgitᚑbu
}
func (ec *executionContext) unmarshalNString2string(ctx context.Context, v interface{}) (string, error) {
- return graphql.UnmarshalString(v)
+ res, err := graphql.UnmarshalString(v)
+ return res, graphql.ErrorOnPath(ctx, err)
}
func (ec *executionContext) marshalNString2string(ctx context.Context, sel ast.SelectionSet, v string) graphql.Marshaler {
@@ -14767,7 +16342,8 @@ func (ec *executionContext) marshalNString2string(ctx context.Context, sel ast.S
}
func (ec *executionContext) unmarshalNTime2timeᚐTime(ctx context.Context, v interface{}) (time.Time, error) {
- return graphql.UnmarshalTime(v)
+ res, err := graphql.UnmarshalTime(v)
+ return res, graphql.ErrorOnPath(ctx, err)
}
func (ec *executionContext) marshalNTime2timeᚐTime(ctx context.Context, sel ast.SelectionSet, v time.Time) graphql.Marshaler {
@@ -14781,11 +16357,8 @@ func (ec *executionContext) marshalNTime2timeᚐTime(ctx context.Context, sel as
}
func (ec *executionContext) unmarshalNTime2ᚖtimeᚐTime(ctx context.Context, v interface{}) (*time.Time, error) {
- if v == nil {
- return nil, nil
- }
- res, err := ec.unmarshalNTime2timeᚐTime(ctx, v)
- return &res, err
+ res, err := graphql.UnmarshalTime(v)
+ return &res, graphql.ErrorOnPath(ctx, err)
}
func (ec *executionContext) marshalNTime2ᚖtimeᚐTime(ctx context.Context, sel ast.SelectionSet, v *time.Time) graphql.Marshaler {
@@ -14795,7 +16368,13 @@ func (ec *executionContext) marshalNTime2ᚖtimeᚐTime(ctx context.Context, sel
}
return graphql.Null
}
- return ec.marshalNTime2timeᚐTime(ctx, sel, *v)
+ res := graphql.MarshalTime(*v)
+ if res == graphql.Null {
+ if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) {
+ ec.Errorf(ctx, "must not be null")
+ }
+ }
+ return res
}
func (ec *executionContext) marshalNTimelineItem2githubᚗcomᚋMichaelMureᚋgitᚑbugᚋbugᚐTimelineItem(ctx context.Context, sel ast.SelectionSet, v bug.TimelineItem) graphql.Marshaler {
@@ -14842,6 +16421,13 @@ func (ec *executionContext) marshalNTimelineItem2ᚕgithubᚗcomᚋMichaelMure
}
wg.Wait()
+
+ for _, e := range ret {
+ if e == graphql.Null {
+ return graphql.Null
+ }
+ }
+
return ret
}
@@ -14859,10 +16445,6 @@ func (ec *executionContext) marshalNTimelineItemConnection2ᚖgithubᚗcomᚋMic
return ec._TimelineItemConnection(ctx, sel, v)
}
-func (ec *executionContext) marshalNTimelineItemEdge2githubᚗcomᚋMichaelMureᚋgitᚑbugᚋapiᚋgraphqlᚋmodelsᚐTimelineItemEdge(ctx context.Context, sel ast.SelectionSet, v models.TimelineItemEdge) graphql.Marshaler {
- return ec._TimelineItemEdge(ctx, sel, &v)
-}
-
func (ec *executionContext) marshalNTimelineItemEdge2ᚕᚖgithubᚗcomᚋMichaelMureᚋgitᚑbugᚋapiᚋgraphqlᚋmodelsᚐTimelineItemEdgeᚄ(ctx context.Context, sel ast.SelectionSet, v []*models.TimelineItemEdge) graphql.Marshaler {
ret := make(graphql.Array, len(v))
var wg sync.WaitGroup
@@ -14897,6 +16479,13 @@ func (ec *executionContext) marshalNTimelineItemEdge2ᚕᚖgithubᚗcomᚋMichae
}
wg.Wait()
+
+ for _, e := range ret {
+ if e == graphql.Null {
+ return graphql.Null
+ }
+ }
+
return ret
}
@@ -14948,11 +16537,19 @@ func (ec *executionContext) marshalN__Directive2ᚕgithubᚗcomᚋ99designsᚋgq
}
wg.Wait()
+
+ for _, e := range ret {
+ if e == graphql.Null {
+ return graphql.Null
+ }
+ }
+
return ret
}
func (ec *executionContext) unmarshalN__DirectiveLocation2string(ctx context.Context, v interface{}) (string, error) {
- return graphql.UnmarshalString(v)
+ res, err := graphql.UnmarshalString(v)
+ return res, graphql.ErrorOnPath(ctx, err)
}
func (ec *executionContext) marshalN__DirectiveLocation2string(ctx context.Context, sel ast.SelectionSet, v string) graphql.Marshaler {
@@ -14968,15 +16565,12 @@ func (ec *executionContext) marshalN__DirectiveLocation2string(ctx context.Conte
func (ec *executionContext) unmarshalN__DirectiveLocation2ᚕstringᚄ(ctx context.Context, v interface{}) ([]string, error) {
var vSlice []interface{}
if v != nil {
- if tmp1, ok := v.([]interface{}); ok {
- vSlice = tmp1
- } else {
- vSlice = []interface{}{v}
- }
+ vSlice = graphql.CoerceList(v)
}
var err error
res := make([]string, len(vSlice))
for i := range vSlice {
+ ctx := graphql.WithPathContext(ctx, graphql.NewPathWithIndex(i))
res[i], err = ec.unmarshalN__DirectiveLocation2string(ctx, vSlice[i])
if err != nil {
return nil, err
@@ -15019,6 +16613,13 @@ func (ec *executionContext) marshalN__DirectiveLocation2ᚕstringᚄ(ctx context
}
wg.Wait()
+
+ for _, e := range ret {
+ if e == graphql.Null {
+ return graphql.Null
+ }
+ }
+
return ret
}
@@ -15068,6 +16669,13 @@ func (ec *executionContext) marshalN__InputValue2ᚕgithubᚗcomᚋ99designsᚋg
}
wg.Wait()
+
+ for _, e := range ret {
+ if e == graphql.Null {
+ return graphql.Null
+ }
+ }
+
return ret
}
@@ -15109,6 +16717,13 @@ func (ec *executionContext) marshalN__Type2ᚕgithubᚗcomᚋ99designsᚋgqlgen
}
wg.Wait()
+
+ for _, e := range ret {
+ if e == graphql.Null {
+ return graphql.Null
+ }
+ }
+
return ret
}
@@ -15123,7 +16738,8 @@ func (ec *executionContext) marshalN__Type2ᚖgithubᚗcomᚋ99designsᚋgqlgen
}
func (ec *executionContext) unmarshalN__TypeKind2string(ctx context.Context, v interface{}) (string, error) {
- return graphql.UnmarshalString(v)
+ res, err := graphql.UnmarshalString(v)
+ return res, graphql.ErrorOnPath(ctx, err)
}
func (ec *executionContext) marshalN__TypeKind2string(ctx context.Context, sel ast.SelectionSet, v string) graphql.Marshaler {
@@ -15137,26 +16753,29 @@ func (ec *executionContext) marshalN__TypeKind2string(ctx context.Context, sel a
}
func (ec *executionContext) unmarshalOBoolean2bool(ctx context.Context, v interface{}) (bool, error) {
- return graphql.UnmarshalBoolean(v)
+ res, err := graphql.UnmarshalBoolean(v)
+ return res, graphql.ErrorOnPath(ctx, err)
}
func (ec *executionContext) marshalOBoolean2bool(ctx context.Context, sel ast.SelectionSet, v bool) graphql.Marshaler {
- return graphql.MarshalBoolean(v)
+ res := graphql.MarshalBoolean(v)
+ return res
}
func (ec *executionContext) unmarshalOBoolean2ᚖbool(ctx context.Context, v interface{}) (*bool, error) {
if v == nil {
return nil, nil
}
- res, err := ec.unmarshalOBoolean2bool(ctx, v)
- return &res, err
+ res, err := graphql.UnmarshalBoolean(v)
+ return &res, graphql.ErrorOnPath(ctx, err)
}
func (ec *executionContext) marshalOBoolean2ᚖbool(ctx context.Context, sel ast.SelectionSet, v *bool) graphql.Marshaler {
if v == nil {
return graphql.Null
}
- return ec.marshalOBoolean2bool(ctx, sel, *v)
+ res := graphql.MarshalBoolean(*v)
+ return res
}
func (ec *executionContext) marshalOBug2githubᚗcomᚋMichaelMureᚋgitᚑbugᚋapiᚋgraphqlᚋmodelsᚐBugWrapper(ctx context.Context, sel ast.SelectionSet, v models.BugWrapper) graphql.Marshaler {
@@ -15166,30 +16785,26 @@ func (ec *executionContext) marshalOBug2githubᚗcomᚋMichaelMureᚋgitᚑbug
return ec._Bug(ctx, sel, v)
}
-func (ec *executionContext) unmarshalOChangeLabelInput2githubᚗcomᚋMichaelMureᚋgitᚑbugᚋapiᚋgraphqlᚋmodelsᚐChangeLabelInput(ctx context.Context, v interface{}) (models.ChangeLabelInput, error) {
- return ec.unmarshalInputChangeLabelInput(ctx, v)
-}
-
func (ec *executionContext) unmarshalOChangeLabelInput2ᚖgithubᚗcomᚋMichaelMureᚋgitᚑbugᚋapiᚋgraphqlᚋmodelsᚐChangeLabelInput(ctx context.Context, v interface{}) (*models.ChangeLabelInput, error) {
if v == nil {
return nil, nil
}
- res, err := ec.unmarshalOChangeLabelInput2githubᚗcomᚋMichaelMureᚋgitᚑbugᚋapiᚋgraphqlᚋmodelsᚐChangeLabelInput(ctx, v)
- return &res, err
+ res, err := ec.unmarshalInputChangeLabelInput(ctx, v)
+ return &res, graphql.ErrorOnPath(ctx, err)
}
func (ec *executionContext) unmarshalOHash2ᚕgithubᚗcomᚋMichaelMureᚋgitᚑbugᚋrepositoryᚐHashᚄ(ctx context.Context, v interface{}) ([]repository.Hash, error) {
+ if v == nil {
+ return nil, nil
+ }
var vSlice []interface{}
if v != nil {
- if tmp1, ok := v.([]interface{}); ok {
- vSlice = tmp1
- } else {
- vSlice = []interface{}{v}
- }
+ vSlice = graphql.CoerceList(v)
}
var err error
res := make([]repository.Hash, len(vSlice))
for i := range vSlice {
+ ctx := graphql.WithPathContext(ctx, graphql.NewPathWithIndex(i))
res[i], err = ec.unmarshalNHash2githubᚗcomᚋMichaelMureᚋgitᚑbugᚋrepositoryᚐHash(ctx, vSlice[i])
if err != nil {
return nil, err
@@ -15207,6 +16822,12 @@ func (ec *executionContext) marshalOHash2ᚕgithubᚗcomᚋMichaelMureᚋgitᚑb
ret[i] = ec.marshalNHash2githubᚗcomᚋMichaelMureᚋgitᚑbugᚋrepositoryᚐHash(ctx, sel, v[i])
}
+ for _, e := range ret {
+ if e == graphql.Null {
+ return graphql.Null
+ }
+ }
+
return ret
}
@@ -15217,31 +16838,20 @@ func (ec *executionContext) marshalOIdentity2githubᚗcomᚋMichaelMureᚋgitᚑ
return ec._Identity(ctx, sel, v)
}
-func (ec *executionContext) unmarshalOInt2int(ctx context.Context, v interface{}) (int, error) {
- return graphql.UnmarshalInt(v)
-}
-
-func (ec *executionContext) marshalOInt2int(ctx context.Context, sel ast.SelectionSet, v int) graphql.Marshaler {
- return graphql.MarshalInt(v)
-}
-
func (ec *executionContext) unmarshalOInt2ᚖint(ctx context.Context, v interface{}) (*int, error) {
if v == nil {
return nil, nil
}
- res, err := ec.unmarshalOInt2int(ctx, v)
- return &res, err
+ res, err := graphql.UnmarshalInt(v)
+ return &res, graphql.ErrorOnPath(ctx, err)
}
func (ec *executionContext) marshalOInt2ᚖint(ctx context.Context, sel ast.SelectionSet, v *int) graphql.Marshaler {
if v == nil {
return graphql.Null
}
- return ec.marshalOInt2int(ctx, sel, *v)
-}
-
-func (ec *executionContext) marshalOLabelChangeResult2githubᚗcomᚋMichaelMureᚋgitᚑbugᚋbugᚐLabelChangeResult(ctx context.Context, sel ast.SelectionSet, v bug.LabelChangeResult) graphql.Marshaler {
- return ec._LabelChangeResult(ctx, sel, &v)
+ res := graphql.MarshalInt(*v)
+ return res
}
func (ec *executionContext) marshalOLabelChangeResult2ᚖgithubᚗcomᚋMichaelMureᚋgitᚑbugᚋbugᚐLabelChangeResult(ctx context.Context, sel ast.SelectionSet, v *bug.LabelChangeResult) graphql.Marshaler {
@@ -15251,10 +16861,6 @@ func (ec *executionContext) marshalOLabelChangeResult2ᚖgithubᚗcomᚋMichaelM
return ec._LabelChangeResult(ctx, sel, v)
}
-func (ec *executionContext) marshalORepository2githubᚗcomᚋMichaelMureᚋgitᚑbugᚋapiᚋgraphqlᚋmodelsᚐRepository(ctx context.Context, sel ast.SelectionSet, v models.Repository) graphql.Marshaler {
- return ec._Repository(ctx, sel, &v)
-}
-
func (ec *executionContext) marshalORepository2ᚖgithubᚗcomᚋMichaelMureᚋgitᚑbugᚋapiᚋgraphqlᚋmodelsᚐRepository(ctx context.Context, sel ast.SelectionSet, v *models.Repository) graphql.Marshaler {
if v == nil {
return graphql.Null
@@ -15263,25 +16869,27 @@ func (ec *executionContext) marshalORepository2ᚖgithubᚗcomᚋMichaelMureᚋg
}
func (ec *executionContext) unmarshalOString2string(ctx context.Context, v interface{}) (string, error) {
- return graphql.UnmarshalString(v)
+ res, err := graphql.UnmarshalString(v)
+ return res, graphql.ErrorOnPath(ctx, err)
}
func (ec *executionContext) marshalOString2string(ctx context.Context, sel ast.SelectionSet, v string) graphql.Marshaler {
- return graphql.MarshalString(v)
+ res := graphql.MarshalString(v)
+ return res
}
func (ec *executionContext) unmarshalOString2ᚕstringᚄ(ctx context.Context, v interface{}) ([]string, error) {
+ if v == nil {
+ return nil, nil
+ }
var vSlice []interface{}
if v != nil {
- if tmp1, ok := v.([]interface{}); ok {
- vSlice = tmp1
- } else {
- vSlice = []interface{}{v}
- }
+ vSlice = graphql.CoerceList(v)
}
var err error
res := make([]string, len(vSlice))
for i := range vSlice {
+ ctx := graphql.WithPathContext(ctx, graphql.NewPathWithIndex(i))
res[i], err = ec.unmarshalNString2string(ctx, vSlice[i])
if err != nil {
return nil, err
@@ -15299,6 +16907,12 @@ func (ec *executionContext) marshalOString2ᚕstringᚄ(ctx context.Context, sel
ret[i] = ec.marshalNString2string(ctx, sel, v[i])
}
+ for _, e := range ret {
+ if e == graphql.Null {
+ return graphql.Null
+ }
+ }
+
return ret
}
@@ -15306,15 +16920,16 @@ func (ec *executionContext) unmarshalOString2ᚖstring(ctx context.Context, v in
if v == nil {
return nil, nil
}
- res, err := ec.unmarshalOString2string(ctx, v)
- return &res, err
+ res, err := graphql.UnmarshalString(v)
+ return &res, graphql.ErrorOnPath(ctx, err)
}
func (ec *executionContext) marshalOString2ᚖstring(ctx context.Context, sel ast.SelectionSet, v *string) graphql.Marshaler {
if v == nil {
return graphql.Null
}
- return ec.marshalOString2string(ctx, sel, *v)
+ res := graphql.MarshalString(*v)
+ return res
}
func (ec *executionContext) marshalO__EnumValue2ᚕgithubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚋintrospectionᚐEnumValueᚄ(ctx context.Context, sel ast.SelectionSet, v []introspection.EnumValue) graphql.Marshaler {
@@ -15354,6 +16969,13 @@ func (ec *executionContext) marshalO__EnumValue2ᚕgithubᚗcomᚋ99designsᚋgq
}
wg.Wait()
+
+ for _, e := range ret {
+ if e == graphql.Null {
+ return graphql.Null
+ }
+ }
+
return ret
}
@@ -15394,6 +17016,13 @@ func (ec *executionContext) marshalO__Field2ᚕgithubᚗcomᚋ99designsᚋgqlgen
}
wg.Wait()
+
+ for _, e := range ret {
+ if e == graphql.Null {
+ return graphql.Null
+ }
+ }
+
return ret
}
@@ -15434,11 +17063,14 @@ func (ec *executionContext) marshalO__InputValue2ᚕgithubᚗcomᚋ99designsᚋg
}
wg.Wait()
- return ret
-}
-func (ec *executionContext) marshalO__Schema2githubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚋintrospectionᚐSchema(ctx context.Context, sel ast.SelectionSet, v introspection.Schema) graphql.Marshaler {
- return ec.___Schema(ctx, sel, &v)
+ for _, e := range ret {
+ if e == graphql.Null {
+ return graphql.Null
+ }
+ }
+
+ return ret
}
func (ec *executionContext) marshalO__Schema2ᚖgithubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚋintrospectionᚐSchema(ctx context.Context, sel ast.SelectionSet, v *introspection.Schema) graphql.Marshaler {
@@ -15448,10 +17080,6 @@ func (ec *executionContext) marshalO__Schema2ᚖgithubᚗcomᚋ99designsᚋgqlge
return ec.___Schema(ctx, sel, v)
}
-func (ec *executionContext) marshalO__Type2githubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚋintrospectionᚐType(ctx context.Context, sel ast.SelectionSet, v introspection.Type) graphql.Marshaler {
- return ec.___Type(ctx, sel, &v)
-}
-
func (ec *executionContext) marshalO__Type2ᚕgithubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚋintrospectionᚐTypeᚄ(ctx context.Context, sel ast.SelectionSet, v []introspection.Type) graphql.Marshaler {
if v == nil {
return graphql.Null
@@ -15489,6 +17117,13 @@ func (ec *executionContext) marshalO__Type2ᚕgithubᚗcomᚋ99designsᚋgqlgen
}
wg.Wait()
+
+ for _, e := range ret {
+ if e == graphql.Null {
+ return graphql.Null
+ }
+ }
+
return ret
}
diff --git a/doc/man/git-bug-add.1 b/doc/man/git-bug-add.1
index e9e85cfa..39c8fce4 100644
--- a/doc/man/git-bug-add.1
+++ b/doc/man/git-bug-add.1
@@ -1,14 +1,14 @@
.nh
-.TH "GIT\-BUG" "1" "Apr 2019" "Generated from git\-bug's source code" ""
+.TH "GIT-BUG" "1" "Apr 2019" "Generated from git-bug's source code" ""
.SH NAME
.PP
-git\-bug\-add \- Create a new bug.
+git-bug-add - Create a new bug.
.SH SYNOPSIS
.PP
-\fBgit\-bug add [flags]\fP
+\fBgit-bug add [flags]\fP
.SH DESCRIPTION
@@ -18,26 +18,26 @@ Create a new bug.
.SH OPTIONS
.PP
-\fB\-t\fP, \fB\-\-title\fP=""
+\fB-t\fP, \fB--title\fP=""
Provide a title to describe the issue
.PP
-\fB\-m\fP, \fB\-\-message\fP=""
+\fB-m\fP, \fB--message\fP=""
Provide a message to describe the issue
.PP
-\fB\-F\fP, \fB\-\-file\fP=""
- Take the message from the given file. Use \- to read the message from the standard input
+\fB-F\fP, \fB--file\fP=""
+ Take the message from the given file. Use - to read the message from the standard input
.PP
-\fB\-\-non\-interactive\fP[=false]
+\fB--non-interactive\fP[=false]
Do not ask for user input
.PP
-\fB\-h\fP, \fB\-\-help\fP[=false]
+\fB-h\fP, \fB--help\fP[=false]
help for add
.SH SEE ALSO
.PP
-\fBgit\-bug(1)\fP
+\fBgit-bug(1)\fP
diff --git a/doc/man/git-bug-bridge-auth-add-token.1 b/doc/man/git-bug-bridge-auth-add-token.1
index e70b3f7f..dda8839f 100644
--- a/doc/man/git-bug-bridge-auth-add-token.1
+++ b/doc/man/git-bug-bridge-auth-add-token.1
@@ -1,14 +1,14 @@
.nh
-.TH "GIT\-BUG" "1" "Apr 2019" "Generated from git\-bug's source code" ""
+.TH "GIT-BUG" "1" "Apr 2019" "Generated from git-bug's source code" ""
.SH NAME
.PP
-git\-bug\-bridge\-auth\-add\-token \- Store a new token
+git-bug-bridge-auth-add-token - Store a new token
.SH SYNOPSIS
.PP
-\fBgit\-bug bridge auth add\-token [TOKEN] [flags]\fP
+\fBgit-bug bridge auth add-token [TOKEN] [flags]\fP
.SH DESCRIPTION
@@ -18,22 +18,22 @@ Store a new token
.SH OPTIONS
.PP
-\fB\-t\fP, \fB\-\-target\fP=""
- The target of the bridge. Valid values are [github,gitlab,jira,launchpad\-preview]
+\fB-t\fP, \fB--target\fP=""
+ The target of the bridge. Valid values are [github,gitlab,jira,launchpad-preview]
.PP
-\fB\-l\fP, \fB\-\-login\fP=""
- The login in the remote bug\-tracker
+\fB-l\fP, \fB--login\fP=""
+ The login in the remote bug-tracker
.PP
-\fB\-u\fP, \fB\-\-user\fP=""
+\fB-u\fP, \fB--user\fP=""
The user to add the token to. Default is the current user
.PP
-\fB\-h\fP, \fB\-\-help\fP[=false]
- help for add\-token
+\fB-h\fP, \fB--help\fP[=false]
+ help for add-token
.SH SEE ALSO
.PP
-\fBgit\-bug\-bridge\-auth(1)\fP
+\fBgit-bug-bridge-auth(1)\fP
diff --git a/doc/man/git-bug-bridge-auth-rm.1 b/doc/man/git-bug-bridge-auth-rm.1
index 5070cea6..a22da320 100644
--- a/doc/man/git-bug-bridge-auth-rm.1
+++ b/doc/man/git-bug-bridge-auth-rm.1
@@ -1,14 +1,14 @@
.nh
-.TH "GIT\-BUG" "1" "Apr 2019" "Generated from git\-bug's source code" ""
+.TH "GIT-BUG" "1" "Apr 2019" "Generated from git-bug's source code" ""
.SH NAME
.PP
-git\-bug\-bridge\-auth\-rm \- Remove a credential.
+git-bug-bridge-auth-rm - Remove a credential.
.SH SYNOPSIS
.PP
-\fBgit\-bug bridge auth rm ID [flags]\fP
+\fBgit-bug bridge auth rm ID [flags]\fP
.SH DESCRIPTION
@@ -18,10 +18,10 @@ Remove a credential.
.SH OPTIONS
.PP
-\fB\-h\fP, \fB\-\-help\fP[=false]
+\fB-h\fP, \fB--help\fP[=false]
help for rm
.SH SEE ALSO
.PP
-\fBgit\-bug\-bridge\-auth(1)\fP
+\fBgit-bug-bridge-auth(1)\fP
diff --git a/doc/man/git-bug-bridge-auth-show.1 b/doc/man/git-bug-bridge-auth-show.1
index e2ef1e46..19ac9d37 100644
--- a/doc/man/git-bug-bridge-auth-show.1
+++ b/doc/man/git-bug-bridge-auth-show.1
@@ -1,14 +1,14 @@
.nh
-.TH "GIT\-BUG" "1" "Apr 2019" "Generated from git\-bug's source code" ""
+.TH "GIT-BUG" "1" "Apr 2019" "Generated from git-bug's source code" ""
.SH NAME
.PP
-git\-bug\-bridge\-auth\-show \- Display an authentication credential.
+git-bug-bridge-auth-show - Display an authentication credential.
.SH SYNOPSIS
.PP
-\fBgit\-bug bridge auth show [flags]\fP
+\fBgit-bug bridge auth show [flags]\fP
.SH DESCRIPTION
@@ -18,10 +18,10 @@ Display an authentication credential.
.SH OPTIONS
.PP
-\fB\-h\fP, \fB\-\-help\fP[=false]
+\fB-h\fP, \fB--help\fP[=false]
help for show
.SH SEE ALSO
.PP
-\fBgit\-bug\-bridge\-auth(1)\fP
+\fBgit-bug-bridge-auth(1)\fP
diff --git a/doc/man/git-bug-bridge-auth.1 b/doc/man/git-bug-bridge-auth.1
index 9be49b68..1fd94f5b 100644
--- a/doc/man/git-bug-bridge-auth.1
+++ b/doc/man/git-bug-bridge-auth.1
@@ -1,14 +1,14 @@
.nh
-.TH "GIT\-BUG" "1" "Apr 2019" "Generated from git\-bug's source code" ""
+.TH "GIT-BUG" "1" "Apr 2019" "Generated from git-bug's source code" ""
.SH NAME
.PP
-git\-bug\-bridge\-auth \- List all known bridge authentication credentials.
+git-bug-bridge-auth - List all known bridge authentication credentials.
.SH SYNOPSIS
.PP
-\fBgit\-bug bridge auth [flags]\fP
+\fBgit-bug bridge auth [flags]\fP
.SH DESCRIPTION
@@ -18,10 +18,10 @@ List all known bridge authentication credentials.
.SH OPTIONS
.PP
-\fB\-h\fP, \fB\-\-help\fP[=false]
+\fB-h\fP, \fB--help\fP[=false]
help for auth
.SH SEE ALSO
.PP
-\fBgit\-bug\-bridge(1)\fP, \fBgit\-bug\-bridge\-auth\-add\-token(1)\fP, \fBgit\-bug\-bridge\-auth\-rm(1)\fP, \fBgit\-bug\-bridge\-auth\-show(1)\fP
+\fBgit-bug-bridge(1)\fP, \fBgit-bug-bridge-auth-add-token(1)\fP, \fBgit-bug-bridge-auth-rm(1)\fP, \fBgit-bug-bridge-auth-show(1)\fP
diff --git a/doc/man/git-bug-bridge-configure.1 b/doc/man/git-bug-bridge-configure.1
index 4e3da371..ae01bf14 100644
--- a/doc/man/git-bug-bridge-configure.1
+++ b/doc/man/git-bug-bridge-configure.1
@@ -1,14 +1,14 @@
.nh
-.TH "GIT\-BUG" "1" "Apr 2019" "Generated from git\-bug's source code" ""
+.TH "GIT-BUG" "1" "Apr 2019" "Generated from git-bug's source code" ""
.SH NAME
.PP
-git\-bug\-bridge\-configure \- Configure a new bridge.
+git-bug-bridge-configure - Configure a new bridge.
.SH SYNOPSIS
.PP
-\fBgit\-bug bridge configure [flags]\fP
+\fBgit-bug bridge configure [flags]\fP
.SH DESCRIPTION
@@ -24,51 +24,51 @@ Configure a new bridge by passing flags or/and using interactive terminal prompt
.SH OPTIONS
.PP
-\fB\-n\fP, \fB\-\-name\fP=""
+\fB-n\fP, \fB--name\fP=""
A distinctive name to identify the bridge
.PP
-\fB\-t\fP, \fB\-\-target\fP=""
- The target of the bridge. Valid values are [github,gitlab,jira,launchpad\-preview]
+\fB-t\fP, \fB--target\fP=""
+ The target of the bridge. Valid values are [github,gitlab,jira,launchpad-preview]
.PP
-\fB\-u\fP, \fB\-\-url\fP=""
+\fB-u\fP, \fB--url\fP=""
The URL of the remote repository
.PP
-\fB\-b\fP, \fB\-\-base\-url\fP=""
+\fB-b\fP, \fB--base-url\fP=""
The base URL of your remote issue tracker
.PP
-\fB\-l\fP, \fB\-\-login\fP=""
+\fB-l\fP, \fB--login\fP=""
The login on your remote issue tracker
.PP
-\fB\-c\fP, \fB\-\-credential\fP=""
- The identifier or prefix of an already known credential for your remote issue tracker (see "git\-bug bridge auth")
+\fB-c\fP, \fB--credential\fP=""
+ The identifier or prefix of an already known credential for your remote issue tracker (see "git-bug bridge auth")
.PP
-\fB\-\-token\fP=""
+\fB--token\fP=""
A raw authentication token for the remote issue tracker
.PP
-\fB\-\-token\-stdin\fP[=false]
- Will read the token from stdin and ignore \-\-token
+\fB--token-stdin\fP[=false]
+ Will read the token from stdin and ignore --token
.PP
-\fB\-o\fP, \fB\-\-owner\fP=""
+\fB-o\fP, \fB--owner\fP=""
The owner of the remote repository
.PP
-\fB\-p\fP, \fB\-\-project\fP=""
+\fB-p\fP, \fB--project\fP=""
The name of the remote repository
.PP
-\fB\-\-non\-interactive\fP[=false]
+\fB--non-interactive\fP[=false]
Do not ask for user input
.PP
-\fB\-h\fP, \fB\-\-help\fP[=false]
+\fB-h\fP, \fB--help\fP[=false]
help for configure
@@ -81,14 +81,14 @@ Configure a new bridge by passing flags or/and using interactive terminal prompt
[1]: github
[2]: gitlab
[3]: jira
-[4]: launchpad\-preview
+[4]: launchpad-preview
target: 1
name [default]: default
Detected projects:
-[1]: github.com/a\-hilaly/git\-bug
-[2]: github.com/MichaelMure/git\-bug
+[1]: github.com/a-hilaly/git-bug
+[2]: github.com/MichaelMure/git-bug
[0]: Another project
@@ -103,33 +103,33 @@ Choose 'Generate new token' and set the necessary access scope for your reposito
The access scope depend on the type of repository.
Public:
- \- 'public\_repo': to be able to read public repositories
+ - 'public_repo': to be able to read public repositories
Private:
- \- 'repo' : to be able to read private repositories
+ - 'repo' : to be able to read private repositories
Enter token: 87cf5c03b64029f18ea5f9ca5679daa08ccbd700
Successfully configured bridge: default
# For GitHub
git bug bridge configure \\
- \-\-name=default \\
- \-\-target=github \\
- \-\-owner=$(OWNER) \\
- \-\-project=$(PROJECT) \\
- \-\-token=$(TOKEN)
+ --name=default \\
+ --target=github \\
+ --owner=$(OWNER) \\
+ --project=$(PROJECT) \\
+ --token=$(TOKEN)
# For Launchpad
git bug bridge configure \\
- \-\-name=default \\
- \-\-target=launchpad\-preview \\
- \-\-url=https://bugs.launchpad.net/ubuntu/
+ --name=default \\
+ --target=launchpad-preview \\
+ --url=https://bugs.launchpad.net/ubuntu/
# For Gitlab
git bug bridge configure \\
- \-\-name=default \\
- \-\-target=github \\
- \-\-url=https://github.com/michaelmure/git\-bug \\
- \-\-token=$(TOKEN)
+ --name=default \\
+ --target=github \\
+ --url=https://github.com/michaelmure/git-bug \\
+ --token=$(TOKEN)
.fi
.RE
@@ -137,4 +137,4 @@ git bug bridge configure \\
.SH SEE ALSO
.PP
-\fBgit\-bug\-bridge(1)\fP
+\fBgit-bug-bridge(1)\fP
diff --git a/doc/man/git-bug-bridge-pull.1 b/doc/man/git-bug-bridge-pull.1
index 96502fb9..0ff1f860 100644
--- a/doc/man/git-bug-bridge-pull.1
+++ b/doc/man/git-bug-bridge-pull.1
@@ -1,14 +1,14 @@
.nh
-.TH "GIT\-BUG" "1" "Apr 2019" "Generated from git\-bug's source code" ""
+.TH "GIT-BUG" "1" "Apr 2019" "Generated from git-bug's source code" ""
.SH NAME
.PP
-git\-bug\-bridge\-pull \- Pull updates.
+git-bug-bridge-pull - Pull updates.
.SH SYNOPSIS
.PP
-\fBgit\-bug bridge pull [NAME] [flags]\fP
+\fBgit-bug bridge pull [NAME] [flags]\fP
.SH DESCRIPTION
@@ -18,18 +18,18 @@ Pull updates.
.SH OPTIONS
.PP
-\fB\-n\fP, \fB\-\-no\-resume\fP[=false]
+\fB-n\fP, \fB--no-resume\fP[=false]
force importing all bugs
.PP
-\fB\-s\fP, \fB\-\-since\fP=""
+\fB-s\fP, \fB--since\fP=""
import only bugs updated after the given date (ex: "200h" or "june 2 2019")
.PP
-\fB\-h\fP, \fB\-\-help\fP[=false]
+\fB-h\fP, \fB--help\fP[=false]
help for pull
.SH SEE ALSO
.PP
-\fBgit\-bug\-bridge(1)\fP
+\fBgit-bug-bridge(1)\fP
diff --git a/doc/man/git-bug-bridge-push.1 b/doc/man/git-bug-bridge-push.1
index c5893de9..fa882cf0 100644
--- a/doc/man/git-bug-bridge-push.1
+++ b/doc/man/git-bug-bridge-push.1
@@ -1,14 +1,14 @@
.nh
-.TH "GIT\-BUG" "1" "Apr 2019" "Generated from git\-bug's source code" ""
+.TH "GIT-BUG" "1" "Apr 2019" "Generated from git-bug's source code" ""
.SH NAME
.PP
-git\-bug\-bridge\-push \- Push updates.
+git-bug-bridge-push - Push updates.
.SH SYNOPSIS
.PP
-\fBgit\-bug bridge push [NAME] [flags]\fP
+\fBgit-bug bridge push [NAME] [flags]\fP
.SH DESCRIPTION
@@ -18,10 +18,10 @@ Push updates.
.SH OPTIONS
.PP
-\fB\-h\fP, \fB\-\-help\fP[=false]
+\fB-h\fP, \fB--help\fP[=false]
help for push
.SH SEE ALSO
.PP
-\fBgit\-bug\-bridge(1)\fP
+\fBgit-bug-bridge(1)\fP
diff --git a/doc/man/git-bug-bridge-rm.1 b/doc/man/git-bug-bridge-rm.1
index 0066785a..2445e6d8 100644
--- a/doc/man/git-bug-bridge-rm.1
+++ b/doc/man/git-bug-bridge-rm.1
@@ -1,14 +1,14 @@
.nh
-.TH "GIT\-BUG" "1" "Apr 2019" "Generated from git\-bug's source code" ""
+.TH "GIT-BUG" "1" "Apr 2019" "Generated from git-bug's source code" ""
.SH NAME
.PP
-git\-bug\-bridge\-rm \- Delete a configured bridge.
+git-bug-bridge-rm - Delete a configured bridge.
.SH SYNOPSIS
.PP
-\fBgit\-bug bridge rm NAME [flags]\fP
+\fBgit-bug bridge rm NAME [flags]\fP
.SH DESCRIPTION
@@ -18,10 +18,10 @@ Delete a configured bridge.
.SH OPTIONS
.PP
-\fB\-h\fP, \fB\-\-help\fP[=false]
+\fB-h\fP, \fB--help\fP[=false]
help for rm
.SH SEE ALSO
.PP
-\fBgit\-bug\-bridge(1)\fP
+\fBgit-bug-bridge(1)\fP
diff --git a/doc/man/git-bug-bridge.1 b/doc/man/git-bug-bridge.1
index 42670054..30e5f3ed 100644
--- a/doc/man/git-bug-bridge.1
+++ b/doc/man/git-bug-bridge.1
@@ -1,14 +1,14 @@
.nh
-.TH "GIT\-BUG" "1" "Apr 2019" "Generated from git\-bug's source code" ""
+.TH "GIT-BUG" "1" "Apr 2019" "Generated from git-bug's source code" ""
.SH NAME
.PP
-git\-bug\-bridge \- Configure and use bridges to other bug trackers.
+git-bug-bridge - Configure and use bridges to other bug trackers.
.SH SYNOPSIS
.PP
-\fBgit\-bug bridge [flags]\fP
+\fBgit-bug bridge [flags]\fP
.SH DESCRIPTION
@@ -18,10 +18,10 @@ Configure and use bridges to other bug trackers.
.SH OPTIONS
.PP
-\fB\-h\fP, \fB\-\-help\fP[=false]
+\fB-h\fP, \fB--help\fP[=false]
help for bridge
.SH SEE ALSO
.PP
-\fBgit\-bug(1)\fP, \fBgit\-bug\-bridge\-auth(1)\fP, \fBgit\-bug\-bridge\-configure(1)\fP, \fBgit\-bug\-bridge\-pull(1)\fP, \fBgit\-bug\-bridge\-push(1)\fP, \fBgit\-bug\-bridge\-rm(1)\fP
+\fBgit-bug(1)\fP, \fBgit-bug-bridge-auth(1)\fP, \fBgit-bug-bridge-configure(1)\fP, \fBgit-bug-bridge-pull(1)\fP, \fBgit-bug-bridge-push(1)\fP, \fBgit-bug-bridge-rm(1)\fP
diff --git a/doc/man/git-bug-commands.1 b/doc/man/git-bug-commands.1
index 949b82fe..1d508cdd 100644
--- a/doc/man/git-bug-commands.1
+++ b/doc/man/git-bug-commands.1
@@ -1,14 +1,14 @@
.nh
-.TH "GIT\-BUG" "1" "Apr 2019" "Generated from git\-bug's source code" ""
+.TH "GIT-BUG" "1" "Apr 2019" "Generated from git-bug's source code" ""
.SH NAME
.PP
-git\-bug\-commands \- Display available commands.
+git-bug-commands - Display available commands.
.SH SYNOPSIS
.PP
-\fBgit\-bug commands [flags]\fP
+\fBgit-bug commands [flags]\fP
.SH DESCRIPTION
@@ -18,14 +18,14 @@ Display available commands.
.SH OPTIONS
.PP
-\fB\-p\fP, \fB\-\-pretty\fP[=false]
+\fB-p\fP, \fB--pretty\fP[=false]
Output the command description as well as Markdown compatible comment
.PP
-\fB\-h\fP, \fB\-\-help\fP[=false]
+\fB-h\fP, \fB--help\fP[=false]
help for commands
.SH SEE ALSO
.PP
-\fBgit\-bug(1)\fP
+\fBgit-bug(1)\fP
diff --git a/doc/man/git-bug-comment-add.1 b/doc/man/git-bug-comment-add.1
index c33ac22d..41aec9bb 100644
--- a/doc/man/git-bug-comment-add.1
+++ b/doc/man/git-bug-comment-add.1
@@ -1,14 +1,14 @@
.nh
-.TH "GIT\-BUG" "1" "Apr 2019" "Generated from git\-bug's source code" ""
+.TH "GIT-BUG" "1" "Apr 2019" "Generated from git-bug's source code" ""
.SH NAME
.PP
-git\-bug\-comment\-add \- Add a new comment to a bug.
+git-bug-comment-add - Add a new comment to a bug.
.SH SYNOPSIS
.PP
-\fBgit\-bug comment add [ID] [flags]\fP
+\fBgit-bug comment add [ID] [flags]\fP
.SH DESCRIPTION
@@ -18,22 +18,22 @@ Add a new comment to a bug.
.SH OPTIONS
.PP
-\fB\-F\fP, \fB\-\-file\fP=""
- Take the message from the given file. Use \- to read the message from the standard input
+\fB-F\fP, \fB--file\fP=""
+ Take the message from the given file. Use - to read the message from the standard input
.PP
-\fB\-m\fP, \fB\-\-message\fP=""
+\fB-m\fP, \fB--message\fP=""
Provide the new message from the command line
.PP
-\fB\-\-non\-interactive\fP[=false]
+\fB--non-interactive\fP[=false]
Do not ask for user input
.PP
-\fB\-h\fP, \fB\-\-help\fP[=false]
+\fB-h\fP, \fB--help\fP[=false]
help for add
.SH SEE ALSO
.PP
-\fBgit\-bug\-comment(1)\fP
+\fBgit-bug-comment(1)\fP
diff --git a/doc/man/git-bug-comment-edit.1 b/doc/man/git-bug-comment-edit.1
index c476b47a..03e6c1cd 100644
--- a/doc/man/git-bug-comment-edit.1
+++ b/doc/man/git-bug-comment-edit.1
@@ -1,14 +1,14 @@
.nh
-.TH "GIT\-BUG" "1" "Apr 2019" "Generated from git\-bug's source code" ""
+.TH "GIT-BUG" "1" "Apr 2019" "Generated from git-bug's source code" ""
.SH NAME
.PP
-git\-bug\-comment\-edit \- Edit an existing comment on a bug.
+git-bug-comment-edit - Edit an existing comment on a bug.
.SH SYNOPSIS
.PP
-\fBgit\-bug comment edit [COMMENT\_ID] [flags]\fP
+\fBgit-bug comment edit [COMMENT_ID] [flags]\fP
.SH DESCRIPTION
@@ -18,22 +18,22 @@ Edit an existing comment on a bug.
.SH OPTIONS
.PP
-\fB\-F\fP, \fB\-\-file\fP=""
- Take the message from the given file. Use \- to read the message from the standard input
+\fB-F\fP, \fB--file\fP=""
+ Take the message from the given file. Use - to read the message from the standard input
.PP
-\fB\-m\fP, \fB\-\-message\fP=""
+\fB-m\fP, \fB--message\fP=""
Provide the new message from the command line
.PP
-\fB\-\-non\-interactive\fP[=false]
+\fB--non-interactive\fP[=false]
Do not ask for user input
.PP
-\fB\-h\fP, \fB\-\-help\fP[=false]
+\fB-h\fP, \fB--help\fP[=false]
help for edit
.SH SEE ALSO
.PP
-\fBgit\-bug\-comment(1)\fP
+\fBgit-bug-comment(1)\fP
diff --git a/doc/man/git-bug-comment.1 b/doc/man/git-bug-comment.1
index cb0740bb..2939b641 100644
--- a/doc/man/git-bug-comment.1
+++ b/doc/man/git-bug-comment.1
@@ -1,14 +1,14 @@
.nh
-.TH "GIT\-BUG" "1" "Apr 2019" "Generated from git\-bug's source code" ""
+.TH "GIT-BUG" "1" "Apr 2019" "Generated from git-bug's source code" ""
.SH NAME
.PP
-git\-bug\-comment \- Display or add comments to a bug.
+git-bug-comment - Display or add comments to a bug.
.SH SYNOPSIS
.PP
-\fBgit\-bug comment [ID] [flags]\fP
+\fBgit-bug comment [ID] [flags]\fP
.SH DESCRIPTION
@@ -18,10 +18,10 @@ Display or add comments to a bug.
.SH OPTIONS
.PP
-\fB\-h\fP, \fB\-\-help\fP[=false]
+\fB-h\fP, \fB--help\fP[=false]
help for comment
.SH SEE ALSO
.PP
-\fBgit\-bug(1)\fP, \fBgit\-bug\-comment\-add(1)\fP, \fBgit\-bug\-comment\-edit(1)\fP
+\fBgit-bug(1)\fP, \fBgit-bug-comment-add(1)\fP, \fBgit-bug-comment-edit(1)\fP
diff --git a/doc/man/git-bug-deselect.1 b/doc/man/git-bug-deselect.1
index 0b179453..9b630357 100644
--- a/doc/man/git-bug-deselect.1
+++ b/doc/man/git-bug-deselect.1
@@ -1,14 +1,14 @@
.nh
-.TH "GIT\-BUG" "1" "Apr 2019" "Generated from git\-bug's source code" ""
+.TH "GIT-BUG" "1" "Apr 2019" "Generated from git-bug's source code" ""
.SH NAME
.PP
-git\-bug\-deselect \- Clear the implicitly selected bug.
+git-bug-deselect - Clear the implicitly selected bug.
.SH SYNOPSIS
.PP
-\fBgit\-bug deselect [flags]\fP
+\fBgit-bug deselect [flags]\fP
.SH DESCRIPTION
@@ -18,7 +18,7 @@ Clear the implicitly selected bug.
.SH OPTIONS
.PP
-\fB\-h\fP, \fB\-\-help\fP[=false]
+\fB-h\fP, \fB--help\fP[=false]
help for deselect
@@ -39,4 +39,4 @@ git bug deselect
.SH SEE ALSO
.PP
-\fBgit\-bug(1)\fP
+\fBgit-bug(1)\fP
diff --git a/doc/man/git-bug-label-add.1 b/doc/man/git-bug-label-add.1
index 3becf736..a8ef3375 100644
--- a/doc/man/git-bug-label-add.1
+++ b/doc/man/git-bug-label-add.1
@@ -1,14 +1,14 @@
.nh
-.TH "GIT\-BUG" "1" "Apr 2019" "Generated from git\-bug's source code" ""
+.TH "GIT-BUG" "1" "Apr 2019" "Generated from git-bug's source code" ""
.SH NAME
.PP
-git\-bug\-label\-add \- Add a label to a bug.
+git-bug-label-add - Add a label to a bug.
.SH SYNOPSIS
.PP
-\fBgit\-bug label add [ID] LABEL... [flags]\fP
+\fBgit-bug label add [ID] LABEL... [flags]\fP
.SH DESCRIPTION
@@ -18,10 +18,10 @@ Add a label to a bug.
.SH OPTIONS
.PP
-\fB\-h\fP, \fB\-\-help\fP[=false]
+\fB-h\fP, \fB--help\fP[=false]
help for add
.SH SEE ALSO
.PP
-\fBgit\-bug\-label(1)\fP
+\fBgit-bug-label(1)\fP
diff --git a/doc/man/git-bug-label-rm.1 b/doc/man/git-bug-label-rm.1
index 43008118..6b98196b 100644
--- a/doc/man/git-bug-label-rm.1
+++ b/doc/man/git-bug-label-rm.1
@@ -1,14 +1,14 @@
.nh
-.TH "GIT\-BUG" "1" "Apr 2019" "Generated from git\-bug's source code" ""
+.TH "GIT-BUG" "1" "Apr 2019" "Generated from git-bug's source code" ""
.SH NAME
.PP
-git\-bug\-label\-rm \- Remove a label from a bug.
+git-bug-label-rm - Remove a label from a bug.
.SH SYNOPSIS
.PP
-\fBgit\-bug label rm [ID] LABEL... [flags]\fP
+\fBgit-bug label rm [ID] LABEL... [flags]\fP
.SH DESCRIPTION
@@ -18,10 +18,10 @@ Remove a label from a bug.
.SH OPTIONS
.PP
-\fB\-h\fP, \fB\-\-help\fP[=false]
+\fB-h\fP, \fB--help\fP[=false]
help for rm
.SH SEE ALSO
.PP
-\fBgit\-bug\-label(1)\fP
+\fBgit-bug-label(1)\fP
diff --git a/doc/man/git-bug-label.1 b/doc/man/git-bug-label.1
index 6fdaceb1..9dfc5c89 100644
--- a/doc/man/git-bug-label.1
+++ b/doc/man/git-bug-label.1
@@ -1,14 +1,14 @@
.nh
-.TH "GIT\-BUG" "1" "Apr 2019" "Generated from git\-bug's source code" ""
+.TH "GIT-BUG" "1" "Apr 2019" "Generated from git-bug's source code" ""
.SH NAME
.PP
-git\-bug\-label \- Display, add or remove labels to/from a bug.
+git-bug-label - Display, add or remove labels to/from a bug.
.SH SYNOPSIS
.PP
-\fBgit\-bug label [ID] [flags]\fP
+\fBgit-bug label [ID] [flags]\fP
.SH DESCRIPTION
@@ -18,10 +18,10 @@ Display, add or remove labels to/from a bug.
.SH OPTIONS
.PP
-\fB\-h\fP, \fB\-\-help\fP[=false]
+\fB-h\fP, \fB--help\fP[=false]
help for label
.SH SEE ALSO
.PP
-\fBgit\-bug(1)\fP, \fBgit\-bug\-label\-add(1)\fP, \fBgit\-bug\-label\-rm(1)\fP
+\fBgit-bug(1)\fP, \fBgit-bug-label-add(1)\fP, \fBgit-bug-label-rm(1)\fP
diff --git a/doc/man/git-bug-ls-id.1 b/doc/man/git-bug-ls-id.1
index 4a3cecb9..eebdf421 100644
--- a/doc/man/git-bug-ls-id.1
+++ b/doc/man/git-bug-ls-id.1
@@ -1,14 +1,14 @@
.nh
-.TH "GIT\-BUG" "1" "Apr 2019" "Generated from git\-bug's source code" ""
+.TH "GIT-BUG" "1" "Apr 2019" "Generated from git-bug's source code" ""
.SH NAME
.PP
-git\-bug\-ls\-id \- List bug identifiers.
+git-bug-ls-id - List bug identifiers.
.SH SYNOPSIS
.PP
-\fBgit\-bug ls\-id [PREFIX] [flags]\fP
+\fBgit-bug ls-id [PREFIX] [flags]\fP
.SH DESCRIPTION
@@ -18,10 +18,10 @@ List bug identifiers.
.SH OPTIONS
.PP
-\fB\-h\fP, \fB\-\-help\fP[=false]
- help for ls\-id
+\fB-h\fP, \fB--help\fP[=false]
+ help for ls-id
.SH SEE ALSO
.PP
-\fBgit\-bug(1)\fP
+\fBgit-bug(1)\fP
diff --git a/doc/man/git-bug-ls-label.1 b/doc/man/git-bug-ls-label.1
index 6e7bfca8..65857083 100644
--- a/doc/man/git-bug-ls-label.1
+++ b/doc/man/git-bug-ls-label.1
@@ -1,14 +1,14 @@
.nh
-.TH "GIT\-BUG" "1" "Apr 2019" "Generated from git\-bug's source code" ""
+.TH "GIT-BUG" "1" "Apr 2019" "Generated from git-bug's source code" ""
.SH NAME
.PP
-git\-bug\-ls\-label \- List valid labels.
+git-bug-ls-label - List valid labels.
.SH SYNOPSIS
.PP
-\fBgit\-bug ls\-label [flags]\fP
+\fBgit-bug ls-label [flags]\fP
.SH DESCRIPTION
@@ -21,10 +21,10 @@ Note: in the future, a proper label policy could be implemented where valid labe
.SH OPTIONS
.PP
-\fB\-h\fP, \fB\-\-help\fP[=false]
- help for ls\-label
+\fB-h\fP, \fB--help\fP[=false]
+ help for ls-label
.SH SEE ALSO
.PP
-\fBgit\-bug(1)\fP
+\fBgit-bug(1)\fP
diff --git a/doc/man/git-bug-ls.1 b/doc/man/git-bug-ls.1
index 0ab51709..61a37610 100644
--- a/doc/man/git-bug-ls.1
+++ b/doc/man/git-bug-ls.1
@@ -1,14 +1,14 @@
.nh
-.TH "GIT\-BUG" "1" "Apr 2019" "Generated from git\-bug's source code" ""
+.TH "GIT-BUG" "1" "Apr 2019" "Generated from git-bug's source code" ""
.SH NAME
.PP
-git\-bug\-ls \- List bugs.
+git-bug-ls - List bugs.
.SH SYNOPSIS
.PP
-\fBgit\-bug ls [QUERY] [flags]\fP
+\fBgit-bug ls [QUERY] [flags]\fP
.SH DESCRIPTION
@@ -21,51 +21,51 @@ You can pass an additional query to filter and order the list. This query can be
.SH OPTIONS
.PP
-\fB\-s\fP, \fB\-\-status\fP=[]
+\fB-s\fP, \fB--status\fP=[]
Filter by status. Valid values are [open,closed]
.PP
-\fB\-a\fP, \fB\-\-author\fP=[]
+\fB-a\fP, \fB--author\fP=[]
Filter by author
.PP
-\fB\-m\fP, \fB\-\-metadata\fP=[]
- Filter by metadata. Example: github\-url=URL
+\fB-m\fP, \fB--metadata\fP=[]
+ Filter by metadata. Example: github-url=URL
.PP
-\fB\-p\fP, \fB\-\-participant\fP=[]
+\fB-p\fP, \fB--participant\fP=[]
Filter by participant
.PP
-\fB\-A\fP, \fB\-\-actor\fP=[]
+\fB-A\fP, \fB--actor\fP=[]
Filter by actor
.PP
-\fB\-l\fP, \fB\-\-label\fP=[]
+\fB-l\fP, \fB--label\fP=[]
Filter by label
.PP
-\fB\-t\fP, \fB\-\-title\fP=[]
+\fB-t\fP, \fB--title\fP=[]
Filter by title
.PP
-\fB\-n\fP, \fB\-\-no\fP=[]
+\fB-n\fP, \fB--no\fP=[]
Filter by absence of something. Valid values are [label]
.PP
-\fB\-b\fP, \fB\-\-by\fP="creation"
+\fB-b\fP, \fB--by\fP="creation"
Sort the results by a characteristic. Valid values are [id,creation,edit]
.PP
-\fB\-d\fP, \fB\-\-direction\fP="asc"
+\fB-d\fP, \fB--direction\fP="asc"
Select the sorting direction. Valid values are [asc,desc]
.PP
-\fB\-f\fP, \fB\-\-format\fP="default"
- Select the output formatting style. Valid values are [default,plain,json,org\-mode]
+\fB-f\fP, \fB--format\fP="default"
+ Select the output formatting style. Valid values are [default,plain,json,org-mode]
.PP
-\fB\-h\fP, \fB\-\-help\fP[=false]
+\fB-h\fP, \fB--help\fP[=false]
help for ls
@@ -75,16 +75,16 @@ You can pass an additional query to filter and order the list. This query can be
.nf
List open bugs sorted by last edition with a query:
-git bug ls status:open sort:edit\-desc
+git bug ls status:open sort:edit-desc
List closed bugs sorted by creation with flags:
-git bug ls \-\-status closed \-\-by creation
+git bug ls --status closed --by creation
Do a full text search of all bugs:
git bug ls "foo bar" baz
Use queries, flags, and full text search:
-git bug ls status:open \-\-by creation "foo bar" baz
+git bug ls status:open --by creation "foo bar" baz
.fi
@@ -93,4 +93,4 @@ git bug ls status:open \-\-by creation "foo bar" baz
.SH SEE ALSO
.PP
-\fBgit\-bug(1)\fP
+\fBgit-bug(1)\fP
diff --git a/doc/man/git-bug-pull.1 b/doc/man/git-bug-pull.1
index 3bbcd8d8..f2536b30 100644
--- a/doc/man/git-bug-pull.1
+++ b/doc/man/git-bug-pull.1
@@ -1,14 +1,14 @@
.nh
-.TH "GIT\-BUG" "1" "Apr 2019" "Generated from git\-bug's source code" ""
+.TH "GIT-BUG" "1" "Apr 2019" "Generated from git-bug's source code" ""
.SH NAME
.PP
-git\-bug\-pull \- Pull bugs update from a git remote.
+git-bug-pull - Pull bugs update from a git remote.
.SH SYNOPSIS
.PP
-\fBgit\-bug pull [REMOTE] [flags]\fP
+\fBgit-bug pull [REMOTE] [flags]\fP
.SH DESCRIPTION
@@ -18,10 +18,10 @@ Pull bugs update from a git remote.
.SH OPTIONS
.PP
-\fB\-h\fP, \fB\-\-help\fP[=false]
+\fB-h\fP, \fB--help\fP[=false]
help for pull
.SH SEE ALSO
.PP
-\fBgit\-bug(1)\fP
+\fBgit-bug(1)\fP
diff --git a/doc/man/git-bug-push.1 b/doc/man/git-bug-push.1
index 37a1200e..2be8d6e2 100644
--- a/doc/man/git-bug-push.1
+++ b/doc/man/git-bug-push.1
@@ -1,14 +1,14 @@
.nh
-.TH "GIT\-BUG" "1" "Apr 2019" "Generated from git\-bug's source code" ""
+.TH "GIT-BUG" "1" "Apr 2019" "Generated from git-bug's source code" ""
.SH NAME
.PP
-git\-bug\-push \- Push bugs update to a git remote.
+git-bug-push - Push bugs update to a git remote.
.SH SYNOPSIS
.PP
-\fBgit\-bug push [REMOTE] [flags]\fP
+\fBgit-bug push [REMOTE] [flags]\fP
.SH DESCRIPTION
@@ -18,10 +18,10 @@ Push bugs update to a git remote.
.SH OPTIONS
.PP
-\fB\-h\fP, \fB\-\-help\fP[=false]
+\fB-h\fP, \fB--help\fP[=false]
help for push
.SH SEE ALSO
.PP
-\fBgit\-bug(1)\fP
+\fBgit-bug(1)\fP
diff --git a/doc/man/git-bug-rm.1 b/doc/man/git-bug-rm.1
index 73ccfc48..78156f37 100644
--- a/doc/man/git-bug-rm.1
+++ b/doc/man/git-bug-rm.1
@@ -1,14 +1,14 @@
.nh
-.TH "GIT\-BUG" "1" "Apr 2019" "Generated from git\-bug's source code" ""
+.TH "GIT-BUG" "1" "Apr 2019" "Generated from git-bug's source code" ""
.SH NAME
.PP
-git\-bug\-rm \- Remove an existing bug.
+git-bug-rm - Remove an existing bug.
.SH SYNOPSIS
.PP
-\fBgit\-bug rm ID [flags]\fP
+\fBgit-bug rm ID [flags]\fP
.SH DESCRIPTION
@@ -18,10 +18,10 @@ Remove an existing bug in the local repository. Note removing bugs that were imp
.SH OPTIONS
.PP
-\fB\-h\fP, \fB\-\-help\fP[=false]
+\fB-h\fP, \fB--help\fP[=false]
help for rm
.SH SEE ALSO
.PP
-\fBgit\-bug(1)\fP
+\fBgit-bug(1)\fP
diff --git a/doc/man/git-bug-select.1 b/doc/man/git-bug-select.1
index dfd02a97..e94d80b1 100644
--- a/doc/man/git-bug-select.1
+++ b/doc/man/git-bug-select.1
@@ -1,14 +1,14 @@
.nh
-.TH "GIT\-BUG" "1" "Apr 2019" "Generated from git\-bug's source code" ""
+.TH "GIT-BUG" "1" "Apr 2019" "Generated from git-bug's source code" ""
.SH NAME
.PP
-git\-bug\-select \- Select a bug for implicit use in future commands.
+git-bug-select - Select a bug for implicit use in future commands.
.SH SYNOPSIS
.PP
-\fBgit\-bug select ID [flags]\fP
+\fBgit-bug select ID [flags]\fP
.SH DESCRIPTION
@@ -27,7 +27,7 @@ The complementary command is "git bug deselect" performing the opposite operatio
.SH OPTIONS
.PP
-\fB\-h\fP, \fB\-\-help\fP[=false]
+\fB-h\fP, \fB--help\fP[=false]
help for select
@@ -47,4 +47,4 @@ git bug status
.SH SEE ALSO
.PP
-\fBgit\-bug(1)\fP
+\fBgit-bug(1)\fP
diff --git a/doc/man/git-bug-show.1 b/doc/man/git-bug-show.1
index 4191774b..6abf1b6f 100644
--- a/doc/man/git-bug-show.1
+++ b/doc/man/git-bug-show.1
@@ -1,14 +1,14 @@
.nh
-.TH "GIT\-BUG" "1" "Apr 2019" "Generated from git\-bug's source code" ""
+.TH "GIT-BUG" "1" "Apr 2019" "Generated from git-bug's source code" ""
.SH NAME
.PP
-git\-bug\-show \- Display the details of a bug.
+git-bug-show - Display the details of a bug.
.SH SYNOPSIS
.PP
-\fBgit\-bug show [ID] [flags]\fP
+\fBgit-bug show [ID] [flags]\fP
.SH DESCRIPTION
@@ -18,18 +18,18 @@ Display the details of a bug.
.SH OPTIONS
.PP
-\fB\-\-field\fP=""
+\fB--field\fP=""
Select field to display. Valid values are [author,authorEmail,createTime,lastEdit,humanId,id,labels,shortId,status,title,actors,participants]
.PP
-\fB\-f\fP, \fB\-\-format\fP="default"
- Select the output formatting style. Valid values are [default,json,org\-mode]
+\fB-f\fP, \fB--format\fP="default"
+ Select the output formatting style. Valid values are [default,json,org-mode]
.PP
-\fB\-h\fP, \fB\-\-help\fP[=false]
+\fB-h\fP, \fB--help\fP[=false]
help for show
.SH SEE ALSO
.PP
-\fBgit\-bug(1)\fP
+\fBgit-bug(1)\fP
diff --git a/doc/man/git-bug-status-close.1 b/doc/man/git-bug-status-close.1
index 5ccbe5ab..3fcbdc35 100644
--- a/doc/man/git-bug-status-close.1
+++ b/doc/man/git-bug-status-close.1
@@ -1,14 +1,14 @@
.nh
-.TH "GIT\-BUG" "1" "Apr 2019" "Generated from git\-bug's source code" ""
+.TH "GIT-BUG" "1" "Apr 2019" "Generated from git-bug's source code" ""
.SH NAME
.PP
-git\-bug\-status\-close \- Mark a bug as closed.
+git-bug-status-close - Mark a bug as closed.
.SH SYNOPSIS
.PP
-\fBgit\-bug status close [ID] [flags]\fP
+\fBgit-bug status close [ID] [flags]\fP
.SH DESCRIPTION
@@ -18,10 +18,10 @@ Mark a bug as closed.
.SH OPTIONS
.PP
-\fB\-h\fP, \fB\-\-help\fP[=false]
+\fB-h\fP, \fB--help\fP[=false]
help for close
.SH SEE ALSO
.PP
-\fBgit\-bug\-status(1)\fP
+\fBgit-bug-status(1)\fP
diff --git a/doc/man/git-bug-status-open.1 b/doc/man/git-bug-status-open.1
index d7fd7dff..e13f11a3 100644
--- a/doc/man/git-bug-status-open.1
+++ b/doc/man/git-bug-status-open.1
@@ -1,14 +1,14 @@
.nh
-.TH "GIT\-BUG" "1" "Apr 2019" "Generated from git\-bug's source code" ""
+.TH "GIT-BUG" "1" "Apr 2019" "Generated from git-bug's source code" ""
.SH NAME
.PP
-git\-bug\-status\-open \- Mark a bug as open.
+git-bug-status-open - Mark a bug as open.
.SH SYNOPSIS
.PP
-\fBgit\-bug status open [ID] [flags]\fP
+\fBgit-bug status open [ID] [flags]\fP
.SH DESCRIPTION
@@ -18,10 +18,10 @@ Mark a bug as open.
.SH OPTIONS
.PP
-\fB\-h\fP, \fB\-\-help\fP[=false]
+\fB-h\fP, \fB--help\fP[=false]
help for open
.SH SEE ALSO
.PP
-\fBgit\-bug\-status(1)\fP
+\fBgit-bug-status(1)\fP
diff --git a/doc/man/git-bug-status.1 b/doc/man/git-bug-status.1
index b0207bf1..e810b673 100644
--- a/doc/man/git-bug-status.1
+++ b/doc/man/git-bug-status.1
@@ -1,14 +1,14 @@
.nh
-.TH "GIT\-BUG" "1" "Apr 2019" "Generated from git\-bug's source code" ""
+.TH "GIT-BUG" "1" "Apr 2019" "Generated from git-bug's source code" ""
.SH NAME
.PP
-git\-bug\-status \- Display or change a bug status.
+git-bug-status - Display or change a bug status.
.SH SYNOPSIS
.PP
-\fBgit\-bug status [ID] [flags]\fP
+\fBgit-bug status [ID] [flags]\fP
.SH DESCRIPTION
@@ -18,10 +18,10 @@ Display or change a bug status.
.SH OPTIONS
.PP
-\fB\-h\fP, \fB\-\-help\fP[=false]
+\fB-h\fP, \fB--help\fP[=false]
help for status
.SH SEE ALSO
.PP
-\fBgit\-bug(1)\fP, \fBgit\-bug\-status\-close(1)\fP, \fBgit\-bug\-status\-open(1)\fP
+\fBgit-bug(1)\fP, \fBgit-bug-status-close(1)\fP, \fBgit-bug-status-open(1)\fP
diff --git a/doc/man/git-bug-termui.1 b/doc/man/git-bug-termui.1
index 7454d22f..ac09d2ed 100644
--- a/doc/man/git-bug-termui.1
+++ b/doc/man/git-bug-termui.1
@@ -1,14 +1,14 @@
.nh
-.TH "GIT\-BUG" "1" "Apr 2019" "Generated from git\-bug's source code" ""
+.TH "GIT-BUG" "1" "Apr 2019" "Generated from git-bug's source code" ""
.SH NAME
.PP
-git\-bug\-termui \- Launch the terminal UI.
+git-bug-termui - Launch the terminal UI.
.SH SYNOPSIS
.PP
-\fBgit\-bug termui [flags]\fP
+\fBgit-bug termui [flags]\fP
.SH DESCRIPTION
@@ -18,10 +18,10 @@ Launch the terminal UI.
.SH OPTIONS
.PP
-\fB\-h\fP, \fB\-\-help\fP[=false]
+\fB-h\fP, \fB--help\fP[=false]
help for termui
.SH SEE ALSO
.PP
-\fBgit\-bug(1)\fP
+\fBgit-bug(1)\fP
diff --git a/doc/man/git-bug-title-edit.1 b/doc/man/git-bug-title-edit.1
index 2164d71a..5e0fa139 100644
--- a/doc/man/git-bug-title-edit.1
+++ b/doc/man/git-bug-title-edit.1
@@ -1,14 +1,14 @@
.nh
-.TH "GIT\-BUG" "1" "Apr 2019" "Generated from git\-bug's source code" ""
+.TH "GIT-BUG" "1" "Apr 2019" "Generated from git-bug's source code" ""
.SH NAME
.PP
-git\-bug\-title\-edit \- Edit a title of a bug.
+git-bug-title-edit - Edit a title of a bug.
.SH SYNOPSIS
.PP
-\fBgit\-bug title edit [ID] [flags]\fP
+\fBgit-bug title edit [ID] [flags]\fP
.SH DESCRIPTION
@@ -18,18 +18,18 @@ Edit a title of a bug.
.SH OPTIONS
.PP
-\fB\-t\fP, \fB\-\-title\fP=""
+\fB-t\fP, \fB--title\fP=""
Provide a title to describe the issue
.PP
-\fB\-\-non\-interactive\fP[=false]
+\fB--non-interactive\fP[=false]
Do not ask for user input
.PP
-\fB\-h\fP, \fB\-\-help\fP[=false]
+\fB-h\fP, \fB--help\fP[=false]
help for edit
.SH SEE ALSO
.PP
-\fBgit\-bug\-title(1)\fP
+\fBgit-bug-title(1)\fP
diff --git a/doc/man/git-bug-title.1 b/doc/man/git-bug-title.1
index aa60e7b5..164c0257 100644
--- a/doc/man/git-bug-title.1
+++ b/doc/man/git-bug-title.1
@@ -1,14 +1,14 @@
.nh
-.TH "GIT\-BUG" "1" "Apr 2019" "Generated from git\-bug's source code" ""
+.TH "GIT-BUG" "1" "Apr 2019" "Generated from git-bug's source code" ""
.SH NAME
.PP
-git\-bug\-title \- Display or change a title of a bug.
+git-bug-title - Display or change a title of a bug.
.SH SYNOPSIS
.PP
-\fBgit\-bug title [ID] [flags]\fP
+\fBgit-bug title [ID] [flags]\fP
.SH DESCRIPTION
@@ -18,10 +18,10 @@ Display or change a title of a bug.
.SH OPTIONS
.PP
-\fB\-h\fP, \fB\-\-help\fP[=false]
+\fB-h\fP, \fB--help\fP[=false]
help for title
.SH SEE ALSO
.PP
-\fBgit\-bug(1)\fP, \fBgit\-bug\-title\-edit(1)\fP
+\fBgit-bug(1)\fP, \fBgit-bug-title-edit(1)\fP
diff --git a/doc/man/git-bug-user-adopt.1 b/doc/man/git-bug-user-adopt.1
index 5259b61b..ce4e9fe1 100644
--- a/doc/man/git-bug-user-adopt.1
+++ b/doc/man/git-bug-user-adopt.1
@@ -1,14 +1,14 @@
.nh
-.TH "GIT\-BUG" "1" "Apr 2019" "Generated from git\-bug's source code" ""
+.TH "GIT-BUG" "1" "Apr 2019" "Generated from git-bug's source code" ""
.SH NAME
.PP
-git\-bug\-user\-adopt \- Adopt an existing identity as your own.
+git-bug-user-adopt - Adopt an existing identity as your own.
.SH SYNOPSIS
.PP
-\fBgit\-bug user adopt USER\-ID [flags]\fP
+\fBgit-bug user adopt USER-ID [flags]\fP
.SH DESCRIPTION
@@ -18,10 +18,10 @@ Adopt an existing identity as your own.
.SH OPTIONS
.PP
-\fB\-h\fP, \fB\-\-help\fP[=false]
+\fB-h\fP, \fB--help\fP[=false]
help for adopt
.SH SEE ALSO
.PP
-\fBgit\-bug\-user(1)\fP
+\fBgit-bug-user(1)\fP
diff --git a/doc/man/git-bug-user-create.1 b/doc/man/git-bug-user-create.1
index f547ebd7..66c7db58 100644
--- a/doc/man/git-bug-user-create.1
+++ b/doc/man/git-bug-user-create.1
@@ -1,14 +1,14 @@
.nh
-.TH "GIT\-BUG" "1" "Apr 2019" "Generated from git\-bug's source code" ""
+.TH "GIT-BUG" "1" "Apr 2019" "Generated from git-bug's source code" ""
.SH NAME
.PP
-git\-bug\-user\-create \- Create a new identity.
+git-bug-user-create - Create a new identity.
.SH SYNOPSIS
.PP
-\fBgit\-bug user create [flags]\fP
+\fBgit-bug user create [flags]\fP
.SH DESCRIPTION
@@ -18,26 +18,26 @@ Create a new identity.
.SH OPTIONS
.PP
-\fB\-a\fP, \fB\-\-avatar\fP=""
+\fB-a\fP, \fB--avatar\fP=""
Avatar URL
.PP
-\fB\-e\fP, \fB\-\-email\fP=""
+\fB-e\fP, \fB--email\fP=""
Email of the user
.PP
-\fB\-h\fP, \fB\-\-help\fP[=false]
+\fB-h\fP, \fB--help\fP[=false]
help for create
.PP
-\fB\-n\fP, \fB\-\-name\fP=""
+\fB-n\fP, \fB--name\fP=""
Name to identify the user
.PP
-\fB\-\-non\-interactive\fP[=false]
+\fB--non-interactive\fP[=false]
Do not ask for user input
.SH SEE ALSO
.PP
-\fBgit\-bug\-user(1)\fP
+\fBgit-bug-user(1)\fP
diff --git a/doc/man/git-bug-user-ls.1 b/doc/man/git-bug-user-ls.1
index 83f7706b..aff46335 100644
--- a/doc/man/git-bug-user-ls.1
+++ b/doc/man/git-bug-user-ls.1
@@ -1,14 +1,14 @@
.nh
-.TH "GIT\-BUG" "1" "Apr 2019" "Generated from git\-bug's source code" ""
+.TH "GIT-BUG" "1" "Apr 2019" "Generated from git-bug's source code" ""
.SH NAME
.PP
-git\-bug\-user\-ls \- List identities.
+git-bug-user-ls - List identities.
.SH SYNOPSIS
.PP
-\fBgit\-bug user ls [flags]\fP
+\fBgit-bug user ls [flags]\fP
.SH DESCRIPTION
@@ -18,14 +18,14 @@ List identities.
.SH OPTIONS
.PP
-\fB\-f\fP, \fB\-\-format\fP="default"
+\fB-f\fP, \fB--format\fP="default"
Select the output formatting style. Valid values are [default,json]
.PP
-\fB\-h\fP, \fB\-\-help\fP[=false]
+\fB-h\fP, \fB--help\fP[=false]
help for ls
.SH SEE ALSO
.PP
-\fBgit\-bug\-user(1)\fP
+\fBgit-bug-user(1)\fP
diff --git a/doc/man/git-bug-user.1 b/doc/man/git-bug-user.1
index c4ca0e54..2a613ae2 100644
--- a/doc/man/git-bug-user.1
+++ b/doc/man/git-bug-user.1
@@ -1,14 +1,14 @@
.nh
-.TH "GIT\-BUG" "1" "Apr 2019" "Generated from git\-bug's source code" ""
+.TH "GIT-BUG" "1" "Apr 2019" "Generated from git-bug's source code" ""
.SH NAME
.PP
-git\-bug\-user \- Display or change the user identity.
+git-bug-user - Display or change the user identity.
.SH SYNOPSIS
.PP
-\fBgit\-bug user [USER\-ID] [flags]\fP
+\fBgit-bug user [USER-ID] [flags]\fP
.SH DESCRIPTION
@@ -18,14 +18,14 @@ Display or change the user identity.
.SH OPTIONS
.PP
-\fB\-f\fP, \fB\-\-field\fP=""
+\fB-f\fP, \fB--field\fP=""
Select field to display. Valid values are [email,humanId,id,lastModification,lastModificationLamports,login,metadata,name]
.PP
-\fB\-h\fP, \fB\-\-help\fP[=false]
+\fB-h\fP, \fB--help\fP[=false]
help for user
.SH SEE ALSO
.PP
-\fBgit\-bug(1)\fP, \fBgit\-bug\-user\-adopt(1)\fP, \fBgit\-bug\-user\-create(1)\fP, \fBgit\-bug\-user\-ls(1)\fP
+\fBgit-bug(1)\fP, \fBgit-bug-user-adopt(1)\fP, \fBgit-bug-user-create(1)\fP, \fBgit-bug-user-ls(1)\fP
diff --git a/doc/man/git-bug-version.1 b/doc/man/git-bug-version.1
index 581bf006..311f1d2a 100644
--- a/doc/man/git-bug-version.1
+++ b/doc/man/git-bug-version.1
@@ -1,39 +1,39 @@
.nh
-.TH "GIT\-BUG" "1" "Apr 2019" "Generated from git\-bug's source code" ""
+.TH "GIT-BUG" "1" "Apr 2019" "Generated from git-bug's source code" ""
.SH NAME
.PP
-git\-bug\-version \- Show git\-bug version information.
+git-bug-version - Show git-bug version information.
.SH SYNOPSIS
.PP
-\fBgit\-bug version [flags]\fP
+\fBgit-bug version [flags]\fP
.SH DESCRIPTION
.PP
-Show git\-bug version information.
+Show git-bug version information.
.SH OPTIONS
.PP
-\fB\-n\fP, \fB\-\-number\fP[=false]
+\fB-n\fP, \fB--number\fP[=false]
Only show the version number
.PP
-\fB\-c\fP, \fB\-\-commit\fP[=false]
+\fB-c\fP, \fB--commit\fP[=false]
Only show the commit hash
.PP
-\fB\-a\fP, \fB\-\-all\fP[=false]
+\fB-a\fP, \fB--all\fP[=false]
Show all version information
.PP
-\fB\-h\fP, \fB\-\-help\fP[=false]
+\fB-h\fP, \fB--help\fP[=false]
help for version
.SH SEE ALSO
.PP
-\fBgit\-bug(1)\fP
+\fBgit-bug(1)\fP
diff --git a/doc/man/git-bug-webui.1 b/doc/man/git-bug-webui.1
index 782cba56..ae6c7837 100644
--- a/doc/man/git-bug-webui.1
+++ b/doc/man/git-bug-webui.1
@@ -1,14 +1,14 @@
.nh
-.TH "GIT\-BUG" "1" "Apr 2019" "Generated from git\-bug's source code" ""
+.TH "GIT-BUG" "1" "Apr 2019" "Generated from git-bug's source code" ""
.SH NAME
.PP
-git\-bug\-webui \- Launch the web UI.
+git-bug-webui - Launch the web UI.
.SH SYNOPSIS
.PP
-\fBgit\-bug webui [flags]\fP
+\fBgit-bug webui [flags]\fP
.SH DESCRIPTION
@@ -17,39 +17,39 @@ Launch the web UI.
.PP
Available git config:
- git\-bug.webui.open [bool]: control the automatic opening of the web UI in the default browser
+ git-bug.webui.open [bool]: control the automatic opening of the web UI in the default browser
.SH OPTIONS
.PP
-\fB\-\-host\fP="127.0.0.1"
+\fB--host\fP="127.0.0.1"
Network address or hostname to listen to (default to 127.0.0.1)
.PP
-\fB\-\-open\fP[=false]
+\fB--open\fP[=false]
Automatically open the web UI in the default browser
.PP
-\fB\-\-no\-open\fP[=false]
+\fB--no-open\fP[=false]
Prevent the automatic opening of the web UI in the default browser
.PP
-\fB\-p\fP, \fB\-\-port\fP=0
+\fB-p\fP, \fB--port\fP=0
Port to listen to (default to random available port)
.PP
-\fB\-\-read\-only\fP[=false]
- Whether to run the web UI in read\-only mode
+\fB--read-only\fP[=false]
+ Whether to run the web UI in read-only mode
.PP
-\fB\-q\fP, \fB\-\-query\fP=""
+\fB-q\fP, \fB--query\fP=""
The query to open in the web UI bug list
.PP
-\fB\-h\fP, \fB\-\-help\fP[=false]
+\fB-h\fP, \fB--help\fP[=false]
help for webui
.SH SEE ALSO
.PP
-\fBgit\-bug(1)\fP
+\fBgit-bug(1)\fP
diff --git a/doc/man/git-bug.1 b/doc/man/git-bug.1
index aea6792f..47e433ae 100644
--- a/doc/man/git-bug.1
+++ b/doc/man/git-bug.1
@@ -1,32 +1,32 @@
.nh
-.TH "GIT\-BUG" "1" "Apr 2019" "Generated from git\-bug's source code" ""
+.TH "GIT-BUG" "1" "Apr 2019" "Generated from git-bug's source code" ""
.SH NAME
.PP
-git\-bug \- A bug tracker embedded in Git.
+git-bug - A bug tracker embedded in Git.
.SH SYNOPSIS
.PP
-\fBgit\-bug [flags]\fP
+\fBgit-bug [flags]\fP
.SH DESCRIPTION
.PP
-git\-bug is a bug tracker embedded in git.
+git-bug is a bug tracker embedded in git.
.PP
-git\-bug use git objects to store the bug tracking separated from the files
+git-bug use git objects to store the bug tracking separated from the files
history. As bugs are regular git objects, they can be pushed and pulled from/to
the same git remote you are already using to collaborate with other people.
.SH OPTIONS
.PP
-\fB\-h\fP, \fB\-\-help\fP[=false]
- help for git\-bug
+\fB-h\fP, \fB--help\fP[=false]
+ help for git-bug
.SH SEE ALSO
.PP
-\fBgit\-bug\-add(1)\fP, \fBgit\-bug\-bridge(1)\fP, \fBgit\-bug\-commands(1)\fP, \fBgit\-bug\-comment(1)\fP, \fBgit\-bug\-deselect(1)\fP, \fBgit\-bug\-label(1)\fP, \fBgit\-bug\-ls(1)\fP, \fBgit\-bug\-ls\-id(1)\fP, \fBgit\-bug\-ls\-label(1)\fP, \fBgit\-bug\-pull(1)\fP, \fBgit\-bug\-push(1)\fP, \fBgit\-bug\-rm(1)\fP, \fBgit\-bug\-select(1)\fP, \fBgit\-bug\-show(1)\fP, \fBgit\-bug\-status(1)\fP, \fBgit\-bug\-termui(1)\fP, \fBgit\-bug\-title(1)\fP, \fBgit\-bug\-user(1)\fP, \fBgit\-bug\-version(1)\fP, \fBgit\-bug\-webui(1)\fP
+\fBgit-bug-add(1)\fP, \fBgit-bug-bridge(1)\fP, \fBgit-bug-commands(1)\fP, \fBgit-bug-comment(1)\fP, \fBgit-bug-deselect(1)\fP, \fBgit-bug-label(1)\fP, \fBgit-bug-ls(1)\fP, \fBgit-bug-ls-id(1)\fP, \fBgit-bug-ls-label(1)\fP, \fBgit-bug-pull(1)\fP, \fBgit-bug-push(1)\fP, \fBgit-bug-rm(1)\fP, \fBgit-bug-select(1)\fP, \fBgit-bug-show(1)\fP, \fBgit-bug-status(1)\fP, \fBgit-bug-termui(1)\fP, \fBgit-bug-title(1)\fP, \fBgit-bug-user(1)\fP, \fBgit-bug-version(1)\fP, \fBgit-bug-webui(1)\fP
diff --git a/go.mod b/go.mod
index c98d196b..6f7bb875 100644
--- a/go.mod
+++ b/go.mod
@@ -3,7 +3,7 @@ module github.com/MichaelMure/git-bug
go 1.15
require (
- github.com/99designs/gqlgen v0.10.3-0.20200209012558-b7a58a1c0e4b
+ github.com/99designs/gqlgen v0.16.0
github.com/99designs/keyring v1.1.6
github.com/MichaelMure/go-term-text v0.3.1
github.com/araddon/dateparse v0.0.0-20190622164848-0fb0a474d195
@@ -16,7 +16,6 @@ require (
github.com/go-git/go-billy/v5 v5.3.1
github.com/go-git/go-git/v5 v5.4.2
github.com/gorilla/mux v1.8.0
- github.com/gorilla/websocket v1.4.2 // indirect
github.com/hashicorp/golang-lru v0.5.4
github.com/icrowley/fake v0.0.0-20180203215853-4178557ae428
github.com/mattn/go-isatty v0.0.14
@@ -27,7 +26,7 @@ require (
github.com/skratchdot/open-golang v0.0.0-20190402232053-79abb63cd66e
github.com/spf13/cobra v1.3.0
github.com/stretchr/testify v1.7.0
- github.com/vektah/gqlparser v1.3.1
+ github.com/vektah/gqlparser/v2 v2.2.0
github.com/xanzy/go-gitlab v0.54.3
golang.org/x/crypto v0.0.0-20210817164053-32db794688a5
golang.org/x/oauth2 v0.0.0-20211104180415-d3ed0bb246c8
diff --git a/go.sum b/go.sum
index be30f4ea..0a0bd816 100644
--- a/go.sum
+++ b/go.sum
@@ -46,8 +46,8 @@ cloud.google.com/go/storage v1.6.0/go.mod h1:N7U0C8pVQ/+NIKOBQyamJIeKQKkZ+mxpohl
cloud.google.com/go/storage v1.8.0/go.mod h1:Wv1Oy7z6Yz3DshWRJFhqM/UCfaWIRTdp0RXyy7KQOVs=
cloud.google.com/go/storage v1.10.0/go.mod h1:FLPqc6j+Ki4BU591ie1oL6qBQGu2Bl/tZ9ullr3+Kg0=
dmitri.shuralyov.com/gpu/mtl v0.0.0-20190408044501-666a987793e9/go.mod h1:H6x//7gZCb22OMCxBHrMx7a5I7Hp++hsVxbQ4BYO7hU=
-github.com/99designs/gqlgen v0.10.3-0.20200209012558-b7a58a1c0e4b h1:510xa84qGbDemwTHNio4cLWkdKFxxJgVtsIOH+Ku8bo=
-github.com/99designs/gqlgen v0.10.3-0.20200209012558-b7a58a1c0e4b/go.mod h1:dfBhwZKMcSYiYRMTs8qWF+Oha6782e1xPfgRmVal9I8=
+github.com/99designs/gqlgen v0.16.0 h1:7Qc4Ll3mfN3doAyUWOgtGLcBGu+KDgK48HdkBGLZVFs=
+github.com/99designs/gqlgen v0.16.0/go.mod h1:nbeSjFkqphIqpZsYe1ULVz0yfH8hjpJdJIQoX/e0G2I=
github.com/99designs/keyring v1.1.6 h1:kVDC2uCgVwecxCk+9zoCt2uEL6dt+dfVzMvGgnVcIuM=
github.com/99designs/keyring v1.1.6/go.mod h1:16e0ds7LGQQcT59QqkTg72Hh5ShM51Byv5PEmW6uoRU=
github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU=
@@ -68,8 +68,9 @@ github.com/RoaringBitmap/roaring v0.4.23 h1:gpyfd12QohbqhFO4NVDUdoPOCXsyahYRQhIN
github.com/RoaringBitmap/roaring v0.4.23/go.mod h1:D0gp8kJQgE1A4LQ5wFLggQEyvDi06Mq5mKs52e1TwOo=
github.com/acomagu/bufpipe v1.0.3 h1:fxAGrHZTgQ9w5QqVItgzwj235/uYZYgbXitB+dLupOk=
github.com/acomagu/bufpipe v1.0.3/go.mod h1:mxdxdup/WdsKVreO5GpW4+M/1CE2sMG4jeGJ2sYmHc4=
-github.com/agnivade/levenshtein v1.0.1 h1:3oJU7J3FGFmyhn8KHjmVaZCN5hxTr7GxgRue+sxIXdQ=
github.com/agnivade/levenshtein v1.0.1/go.mod h1:CURSv5d9Uaml+FovSIICkLbAUZ9S4RqaHDIsdSBg7lM=
+github.com/agnivade/levenshtein v1.1.0 h1:n6qGwyHG61v3ABce1rPVZklEYRT8NFpCMrpZdBUbYGM=
+github.com/agnivade/levenshtein v1.1.0/go.mod h1:veldBMzWxcCG2ZvUTKD2kJNRdCk5hVbJomOvKkmgYbo=
github.com/alecthomas/template v0.0.0-20160405071501-a0175ee3bccc/go.mod h1:LOuyumcjzFXgccqObfd/Ljyb9UuFJ6TxHnclSeseNhc=
github.com/alecthomas/template v0.0.0-20190718012654-fb15b899a751/go.mod h1:LOuyumcjzFXgccqObfd/Ljyb9UuFJ6TxHnclSeseNhc=
github.com/alecthomas/units v0.0.0-20151022065526-2efee857e7cf/go.mod h1:ybxpYRFXyAe+OPACYpWeL0wqObRcbAqCMya13uyzqw0=
@@ -81,6 +82,8 @@ github.com/anmitsu/go-shlex v0.0.0-20161002113705-648efa622239/go.mod h1:2FmKhYU
github.com/antihax/optional v1.0.0/go.mod h1:uupD/76wgC+ih3iEmQUL+0Ugr19nfwCT1kdvxnR2qWY=
github.com/araddon/dateparse v0.0.0-20190622164848-0fb0a474d195 h1:c4mLfegoDw6OhSJXTd2jUEQgZUQuJWtocudb97Qn9EM=
github.com/araddon/dateparse v0.0.0-20190622164848-0fb0a474d195/go.mod h1:SLqhdZcd+dF3TEVL2RMoob5bBP5R1P1qkox+HtCBgGI=
+github.com/arbovm/levenshtein v0.0.0-20160628152529-48b4e1c0c4d0 h1:jfIu9sQUG6Ig+0+Ap1h4unLjW6YQJpKZVmUzxsD4E/Q=
+github.com/arbovm/levenshtein v0.0.0-20160628152529-48b4e1c0c4d0/go.mod h1:t2tdKJDJF9BV14lnkjHmOQgcvEKgtqs5a1N3LNdJhGE=
github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e/go.mod h1:3U/XgcO3hCbHZ8TKRvWD2dDTCfh9M9ya+I9JpbB7O8o=
github.com/armon/consul-api v0.0.0-20180202201655-eb2c6b5be1b6/go.mod h1:grANhF5doyWs3UAsr3K4I6qtAmlQcZDesFNEHPZAzj8=
github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da/go.mod h1:Q73ZrmVTwzkszR9V5SSuryQ31EELlFMUz1kKyl939pY=
@@ -165,6 +168,7 @@ github.com/couchbase/vellum v1.0.2 h1:BrbP0NKiyDdndMPec8Jjhy0U47CZ0Lgx3xUC2r9rZq
github.com/couchbase/vellum v1.0.2/go.mod h1:FcwrEivFpNi24R3jLOs3n+fs5RnuQnQqCLBJ1uAg1W4=
github.com/cpuguy83/go-md2man v1.0.10 h1:BSKMNlYxDvnunlTymqtgONjNnaRV1sTpcovwwjF22jk=
github.com/cpuguy83/go-md2man v1.0.10/go.mod h1:SmD6nW6nTyfqj6ABTjUi3V3JVMnlJmwcJI5acqYI6dE=
+github.com/cpuguy83/go-md2man/v2 v2.0.0-20190314233015-f79a8a8ca69d/go.mod h1:maD7wRr/U5Z6m/iR4s+kqSMx2CaBsrgA7czyZG/E6dU=
github.com/cpuguy83/go-md2man/v2 v2.0.1 h1:r/myEWzV9lfsM1tFLgDyu0atFtJ1fXn261LKYj/3DxU=
github.com/cpuguy83/go-md2man/v2 v2.0.1/go.mod h1:tgQtvFlXSQOSOSIRvRPT7W67SCa46tRHOmNcaadrF8o=
github.com/creack/pty v1.1.9/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E=
@@ -179,6 +183,8 @@ github.com/danieljoos/wincred v1.0.2/go.mod h1:SnuYRW9lp1oJrZX/dXJqr0cPK5gYXqx3E
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c=
github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
+github.com/dgryski/trifles v0.0.0-20200323201526-dd97f9abfb48 h1:fRzb/w+pyskVMQ+UbP35JkH8yB7MYb4q/qhBarqZE6g=
+github.com/dgryski/trifles v0.0.0-20200323201526-dd97f9abfb48/go.mod h1:if7Fbed8SFyPtHLHbg49SI7NAdJiC5WIA09pe59rfAA=
github.com/dustin/go-humanize v1.0.0 h1:VSnTsYCnlFHaM2/igO1h6X3HA71jcobQuxemgkq4zYo=
github.com/dustin/go-humanize v1.0.0/go.mod h1:HtrtbFcZ19U5GC7JDqmcUSB87Iq5E25KnS6fMYU6eOk=
github.com/dvsekhvalnov/jose2go v0.0.0-20200901110807-248326c1351b h1:HBah4D48ypg3J7Np4N+HY/ZR76fx3HEUGxDU6Uk39oQ=
@@ -218,7 +224,6 @@ github.com/glycerine/go-unsnap-stream v0.0.0-20181221182339-f9677308dec2 h1:Ujru
github.com/glycerine/go-unsnap-stream v0.0.0-20181221182339-f9677308dec2/go.mod h1:/20jfyN9Y5QPEAprSgKAUr+glWDY39ZiUEAYOEv5dsE=
github.com/glycerine/goconvey v0.0.0-20190410193231-58a59202ab31 h1:gclg6gY70GLy3PbkQ1AERPfmLMMagS60DKF78eWwLn8=
github.com/glycerine/goconvey v0.0.0-20190410193231-58a59202ab31/go.mod h1:Ogl1Tioa0aV7gstGFO7KhffUsb9M4ydbEbbxpcEDc24=
-github.com/go-chi/chi v3.3.2+incompatible/go.mod h1:eB3wogJHnLi3x/kFX2A+IbTBlXxmMeXJVKy9tTv1XzQ=
github.com/go-errors/errors v1.0.1 h1:LUHzmkK3GUKUrL/1gfBUxAHzcev3apQlezX/+O7ma6w=
github.com/go-errors/errors v1.0.1/go.mod h1:f4zRHt4oKfwPJE5k8C9vpYG+aDHdBFUsgrm6/TyX73Q=
github.com/go-git/gcfg v1.5.0 h1:Q5ViNfGF8zFgyJWPqYwA7qGFoMTEiBmdlkcfRmpIMa4=
@@ -241,7 +246,6 @@ github.com/go-stack/stack v1.8.0/go.mod h1:v0f6uXyyMGvRgIKkXu+yp6POWl0qKG85gN/me
github.com/godbus/dbus v0.0.0-20190726142602-4481cbc300e2 h1:ZpnhV/YsD2/4cESfV5+Hoeu/iUR3ruzNvZ+yQfO03a0=
github.com/godbus/dbus v0.0.0-20190726142602-4481cbc300e2/go.mod h1:bBOAhwG1umN6/6ZUMtDFBMQR8jRg9O75tm9K00oMsK4=
github.com/godbus/dbus/v5 v5.0.4/go.mod h1:xhWf0FNVPg57R7Z0UbKHbJfkEywrmjJnf7w5xrFpKfA=
-github.com/gogo/protobuf v1.0.0/go.mod h1:r8qH/GZQm5c6nD/R0oafs1akxWv10x8SbQlK7atdtwQ=
github.com/gogo/protobuf v1.1.1/go.mod h1:r8qH/GZQm5c6nD/R0oafs1akxWv10x8SbQlK7atdtwQ=
github.com/gogo/protobuf v1.3.2/go.mod h1:P1XiOD3dCwIKUDQYPy72D8LYyHL2YPYrpS2s69NZV8Q=
github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b/go.mod h1:SBH7ygxi8pfUlaOkMMuAQtPIUF8ecWP5IEl/CR7VP2Q=
@@ -324,11 +328,8 @@ github.com/googleapis/gax-go/v2 v2.1.0/go.mod h1:Q3nei7sK6ybPYH7twZdmQpAd1MKb7pf
github.com/googleapis/gax-go/v2 v2.1.1/go.mod h1:hddJymUZASv3XPyGkUpKj8pPO47Rmb0eJc8R6ouapiM=
github.com/gopherjs/gopherjs v0.0.0-20190910122728-9d188e94fb99 h1:twflg0XRTjwKpxb/jFExr4HGq6on2dEOmnL6FV+fgPw=
github.com/gopherjs/gopherjs v0.0.0-20190910122728-9d188e94fb99/go.mod h1:wJfORRmW1u3UXTncJ5qlYoELFm8eSnnEO6hX4iZ3EWY=
-github.com/gorilla/context v0.0.0-20160226214623-1ea25387ff6f/go.mod h1:kBGZzfjB9CEq2AlWe17Uuf7NDRt0dE0s8S51q0aT7Yg=
-github.com/gorilla/mux v1.6.1/go.mod h1:1lud6UwP+6orDFRuTfBEV8e9/aOM/c4fVVCaMa2zaAs=
github.com/gorilla/mux v1.8.0 h1:i40aqfkR1h2SlN9hojwV5ZA91wcXFOvkdNIeFDP5koI=
github.com/gorilla/mux v1.8.0/go.mod h1:DVbg23sWSpFRCP0SfiEN6jmj59UnW/n46BH5rLB71So=
-github.com/gorilla/websocket v1.2.0/go.mod h1:E7qHFY5m1UJ88s3WnNqhKjPHQ0heANvMoAMk2YaljkQ=
github.com/gorilla/websocket v1.4.2 h1:+/TMaTYc4QFitKJxsQ7Yye35DkWvkdLcvGKqM+x0Ufc=
github.com/gorilla/websocket v1.4.2/go.mod h1:YR8l580nyteQvAITg2hZ9XVh4b55+EU/adAjf1fMHhE=
github.com/grpc-ecosystem/grpc-gateway v1.16.0/go.mod h1:BDjrQk3hbvj6Nolgz8mAMFbcEtjT1g+wF4CSlocrBnw=
@@ -398,6 +399,7 @@ github.com/jtolds/gls v4.20.0+incompatible/go.mod h1:QJZ7F/aHp+rZTRtaJ1ow/lLfFfV
github.com/julienschmidt/httprouter v1.2.0/go.mod h1:SYymIcj16QtmaHHD7aYtjjsJG7VTCxuUUipMqKk8s4w=
github.com/kevinburke/ssh_config v0.0.0-20201106050909-4977a11b4351 h1:DowS9hvgyYSX4TO5NpyC606/Z4SxnNYbT+WX27or6Ck=
github.com/kevinburke/ssh_config v0.0.0-20201106050909-4977a11b4351/go.mod h1:CT57kijsi8u/K/BOFA39wgDQJ9CxiF4nAY/ojJ6r6mM=
+github.com/kevinmbeaulieu/eq-go v1.0.0/go.mod h1:G3S8ajA56gKBZm4UB9AOyoOS37JO3roToPzKNM8dtdM=
github.com/keybase/go-keychain v0.0.0-20190712205309-48d3d31d256d h1:Z+RDyXzjKE0i2sTjZ/b1uxiGtPhFy34Ou/Tk0qwN0kM=
github.com/keybase/go-keychain v0.0.0-20190712205309-48d3d31d256d/go.mod h1:JJNrCn9otv/2QP4D7SMJBgaleKpOf66PnW6F5WGNRIc=
github.com/kisielk/errcheck v1.5.0/go.mod h1:pFxgyoBC7bSaBwPgfKdkLd5X25qrDl4LWUI2bnpBCr8=
@@ -414,13 +416,13 @@ github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ=
github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI=
github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY=
github.com/kr/text v0.2.0/go.mod h1:eLer722TekiGuMkidMxC/pM04lWEeraHUUmBw8l2grE=
-github.com/logrusorgru/aurora v0.0.0-20200102142835-e9ef32dff381/go.mod h1:7rIyQOR62GCctdiQpZ/zOJlFyk6y+94wXzv6RNZgaR4=
+github.com/logrusorgru/aurora/v3 v3.0.0/go.mod h1:vsR12bk5grlLvLXAYrBsb5Oc/N+LxAlxggSjiwMnCUc=
github.com/lyft/protoc-gen-star v0.5.3/go.mod h1:V0xaHgaf5oCCqmcxYcWiDfTiKsZsRc87/1qhoTACD8w=
github.com/magiconair/properties v1.8.0/go.mod h1:PppfXfuXeibc/6YijjN8zIbojt8czPbwD3XqdrwzmxQ=
github.com/magiconair/properties v1.8.5/go.mod h1:y3VJvCyxH9uVvJTWEGAELF3aiYNyPKd5NZ3oSwXrF60=
github.com/matryer/is v1.2.0 h1:92UTHpy8CDwaJ08GqLDzhhuixiBUUD1p3AU6PHddz4A=
github.com/matryer/is v1.2.0/go.mod h1:2fLPjFQM9rhQ15aVEtbuwhJinnOqrmgXPNdZsdwlWXA=
-github.com/matryer/moq v0.0.0-20200106131100-75d0ddfc0007/go.mod h1:9ELz6aaclSIGnZBoaSLZ3NAl1VTufbOrXBPvtcy6WiQ=
+github.com/matryer/moq v0.2.3/go.mod h1:9RtPYjTnH1bSBIkpvtHkFN7nbWAnO7oRpdJkEIn6UtE=
github.com/mattn/go-colorable v0.0.9/go.mod h1:9vuHe8Xs5qXnSaW/c/ABM9alt+Vo+STaOChaDxuIBZU=
github.com/mattn/go-colorable v0.1.4/go.mod h1:U0ppj6V5qS13XJ6of8GYAs25YV2eR4EVcfRqFIhoBtE=
github.com/mattn/go-colorable v0.1.6/go.mod h1:u6P/XSegPjTcexA+o6vUJrdnUu04hMope9wVRipJSqc=
@@ -446,8 +448,8 @@ github.com/mitchellh/go-homedir v1.1.0 h1:lukF9ziXFxDFPkA1vsr5zpc1XuPDn/wFntq5mG
github.com/mitchellh/go-homedir v1.1.0/go.mod h1:SfyaCUpYCn1Vlf4IUYiD9fPX4A5wJrkLzIz1N1q0pr0=
github.com/mitchellh/go-testing-interface v1.0.0/go.mod h1:kRemZodwjscx+RGhAo8eIhFbs2+BFgRtFPeD/KE+zxI=
github.com/mitchellh/mapstructure v0.0.0-20160808181253-ca63d7c062ee/go.mod h1:FVVH3fgwuzCH5S8UJGiWEs2h04kUh9fWfEaFds41c1Y=
-github.com/mitchellh/mapstructure v0.0.0-20180203102830-a4e142e9c047/go.mod h1:FVVH3fgwuzCH5S8UJGiWEs2h04kUh9fWfEaFds41c1Y=
github.com/mitchellh/mapstructure v1.1.2/go.mod h1:FVVH3fgwuzCH5S8UJGiWEs2h04kUh9fWfEaFds41c1Y=
+github.com/mitchellh/mapstructure v1.2.3/go.mod h1:bFUtVrKA4DC2yAKiSyO/QUcy7e+RRV2QTWOzhPopBRo=
github.com/mitchellh/mapstructure v1.4.3 h1:OVowDSCllw/YjdLkam3/sm7wEtOy59d8ndGgCcyj8cs=
github.com/mitchellh/mapstructure v1.4.3/go.mod h1:bFUtVrKA4DC2yAKiSyO/QUcy7e+RRV2QTWOzhPopBRo=
github.com/modern-go/concurrent v0.0.0-20180228061459-e0a39a4cb421/go.mod h1:6dJC0mAP4ikYIbvyc7fijjWJddQyLn8Ig3JB5CqoB9Q=
@@ -468,8 +470,6 @@ github.com/onsi/ginkgo v1.7.0 h1:WSHQ+IS43OoUrWtD1/bbclrwK8TTH5hzp+umCiuxHgs=
github.com/onsi/ginkgo v1.7.0/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE=
github.com/onsi/gomega v1.4.3 h1:RE1xgDvH7imwFD45h+u2SgIfERHlS2yNG4DObb5BSKU=
github.com/onsi/gomega v1.4.3/go.mod h1:ex+gbHU/CVuBBDIJjb2X0qEXbFg53c61hWP/1CpauHY=
-github.com/opentracing/basictracer-go v1.0.0/go.mod h1:QfBfYuafItcjQuMwinw9GhYKwFXS9KnPs5lxoYwgW74=
-github.com/opentracing/opentracing-go v1.0.2/go.mod h1:UkNAQd3GIcIGf0SeVgPpRdFStlNbqXla1AfSYxPUl2o=
github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c/go.mod h1:lzWF7FIEvWOWxwDKqyGYQf6ZUaNfKdP144TG7ZOy1lc=
github.com/pascaldekloe/goe v0.1.0/go.mod h1:lzWF7FIEvWOWxwDKqyGYQf6ZUaNfKdP144TG7ZOy1lc=
github.com/pelletier/go-toml v1.2.0/go.mod h1:5z9KED0ma1S8pY6P1sdut58dfprrGBbd/94hg7ilaic=
@@ -506,23 +506,21 @@ github.com/rivo/uniseg v0.1.0 h1:+2KBaVoUmb9XzDsrx/Ct0W/EYOSFf/nWTauy++DprtY=
github.com/rivo/uniseg v0.1.0/go.mod h1:J6wj4VEh+S6ZtnVlnTBMWIodfgj8LQOQFoIToxlJtxc=
github.com/rogpeppe/fastuuid v1.2.0/go.mod h1:jVj6XXZzXRy/MSR5jhDC/2q6DgLz+nrA6LYCDYWNEvQ=
github.com/rogpeppe/go-internal v1.3.0/go.mod h1:M8bDsm7K2OlrFYOpmOWEs/qY81heoFRclV5y23lUDJ4=
-github.com/rs/cors v1.6.0/go.mod h1:gFx+x8UowdsKA9AchylcLynDq+nNFfI8FkUZdN/jGCU=
github.com/russross/blackfriday v1.5.2 h1:HyvC0ARfnZBqnXwABFeSZHpKvJHJJfPz81GNueLj0oo=
github.com/russross/blackfriday v1.5.2/go.mod h1:JO/DiYxRf+HjHt06OyowR9PTA263kcR/rfWxYHBV53g=
+github.com/russross/blackfriday/v2 v2.0.1/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM=
github.com/russross/blackfriday/v2 v2.1.0 h1:JIOH55/0cWyOuilr9/qlrm0BSXldqnqwMsf35Ld67mk=
github.com/russross/blackfriday/v2 v2.1.0/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM=
github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f/go.mod h1:sm1tb6uqfes/u+d4ooFouqFdy9/2g9QGwK3SQygK0Ts=
github.com/sagikazarmark/crypt v0.3.0/go.mod h1:uD/D+6UF4SrIR1uGEv7bBNkNqLGqUr43MRiaGWX1Nig=
github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529/go.mod h1:DxrIzT+xaE7yg65j358z/aeFdxmN0P9QXhEzd20vsDc=
-github.com/sergi/go-diff v1.0.0/go.mod h1:0CfEIISq7TuYL3j771MWULgwwjU+GofnZX9QAmXWZgo=
github.com/sergi/go-diff v1.1.0 h1:we8PVUC3FE2uYfodKH/nBHMSetSfHDR6scGdBi+erh0=
github.com/sergi/go-diff v1.1.0/go.mod h1:STckp+ISIX8hZLjrqAeVduY0gWCT9IjLuqbuNXdaHfM=
github.com/shurcooL/githubv4 v0.0.0-20190601194912-068505affed7 h1:Vk3RiBQpF0Ja+OqbFG7lYTk79+l8Cm2QESLXB0x6u6U=
github.com/shurcooL/githubv4 v0.0.0-20190601194912-068505affed7/go.mod h1:hAF0iLZy4td2EX+/8Tw+4nodhlMrwN3HupfaXj3zkGo=
github.com/shurcooL/graphql v0.0.0-20181231061246-d48a9a75455f h1:tygelZueB1EtXkPI6mQ4o9DQ0+FKW41hTbunoXZCTqk=
github.com/shurcooL/graphql v0.0.0-20181231061246-d48a9a75455f/go.mod h1:AuYgA5Kyo4c7HfUmvRGs/6rGlMMV/6B1bVnB9JxJEEg=
-github.com/shurcooL/httpfs v0.0.0-20171119174359-809beceb2371/go.mod h1:ZY1cvUeJuFPAdZ/B6v7RHavJWZn2YPVFQ1OSXhCGOkg=
-github.com/shurcooL/vfsgen v0.0.0-20180121065927-ffb13db8def0/go.mod h1:TrYk7fJVaAttu97ZZKrO9UbRa8izdowaMIZcxYMbVaw=
+github.com/shurcooL/sanitized_anchor_name v1.0.0/go.mod h1:1NzhyTcUVG4SuEtjjoZeVRXNmyL/1OwPU0+IJeTBvfc=
github.com/sirupsen/logrus v1.2.0/go.mod h1:LxeOpSwHxABJmUn/MG1IvRgCAasNZTLOkJPxbbu5VWo=
github.com/sirupsen/logrus v1.4.1/go.mod h1:ni0Sbl8bgC9z8RoU9G6nDWqqs/fq4eDPysMBDgk/93Q=
github.com/sirupsen/logrus v1.4.2/go.mod h1:tLMulIdttU9McNUspp0xgXVQah82FyeX6MwdIuYE2rE=
@@ -550,7 +548,6 @@ github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+
github.com/stretchr/objx v0.1.1/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
github.com/stretchr/objx v0.2.0 h1:Hbg2NidpLE8veEBkEZTL3CvlkUIVzuU9jDplZO54c48=
github.com/stretchr/objx v0.2.0/go.mod h1:qt09Ya8vawLte6SNmTgCsAVtYtaKzEcn8ATUoHMkEqE=
-github.com/stretchr/testify v1.2.1/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs=
github.com/stretchr/testify v1.2.2/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs=
github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI=
github.com/stretchr/testify v1.4.0/go.mod h1:j7eGeouHqKxXV5pUuKE4zz7dFj8WfuZ+81PSLYec5m4=
@@ -568,10 +565,9 @@ github.com/tinylib/msgp v1.1.0 h1:9fQd+ICuRIu/ue4vxJZu6/LzxN0HwMds2nq/0cFvxHU=
github.com/tinylib/msgp v1.1.0/go.mod h1:+d+yLhGm8mzTaHzB+wgMYrodPfmZrzkirds8fDWklFE=
github.com/tv42/httpunix v0.0.0-20150427012821-b75d8614f926/go.mod h1:9ESjWnEqriFuLhtthL60Sar/7RFoluCcXsuvEwTV5KM=
github.com/ugorji/go/codec v0.0.0-20181204163529-d75b2dcb6bc8/go.mod h1:VFNgLljTbGfSG7qAOspJ7OScBnGdDN/yBr0sguwnwf0=
-github.com/urfave/cli v1.20.0/go.mod h1:70zkFmudgCuE/ngEzBv17Jvp/497gISqfk5gWijbERA=
-github.com/vektah/dataloaden v0.2.1-0.20190515034641-a19b9a6e7c9e/go.mod h1:/HUdMve7rvxZma+2ZELQeNh88+003LL7Pf/CZ089j8U=
-github.com/vektah/gqlparser v1.3.1 h1:8b0IcD3qZKWJQHSzynbDlrtP3IxVydZ2DZepCGofqfU=
-github.com/vektah/gqlparser v1.3.1/go.mod h1:bkVf0FX+Stjg/MHnm8mEyubuaArhNEqfQhF+OTiAL74=
+github.com/urfave/cli/v2 v2.3.0/go.mod h1:LJmUH05zAU44vOAcrfzZQKsZbVcdbOG8rtL3/XcUArI=
+github.com/vektah/gqlparser/v2 v2.2.0 h1:bAc3slekAAJW6sZTi07aGq0OrfaCjj4jxARAaC7g2EM=
+github.com/vektah/gqlparser/v2 v2.2.0/go.mod h1:i3mQIGIrbK2PD1RrCeMTlVbkF2FJ6WkU1KJlJlC+3F4=
github.com/willf/bitset v1.1.10 h1:NotGKqX0KwQ72NUzqrjZq5ipPNDQex9lo3WpaS8L2sc=
github.com/willf/bitset v1.1.10/go.mod h1:RjeCKbqT1RxIR/KWY6phxZiaY1IyutSBfGjNPySAYV4=
github.com/xanzy/go-gitlab v0.54.3 h1:fPfZ3Jcu5dPc3xyIYtAALZsEgoyKNFNuULD+TdJ7Zvk=
@@ -827,7 +823,6 @@ golang.org/x/tools v0.0.0-20190312151545-0bb0c0a6e846/go.mod h1:LCzVGOaR6xXOjkQ3
golang.org/x/tools v0.0.0-20190312170243-e65039ee4138/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs=
golang.org/x/tools v0.0.0-20190425150028-36563e24a262/go.mod h1:RgjU9mgBXZiqYHBnxXauZ1Gv1EHHAz9KjViQ78xBX0Q=
golang.org/x/tools v0.0.0-20190506145303-2d16b83fe98c/go.mod h1:RgjU9mgBXZiqYHBnxXauZ1Gv1EHHAz9KjViQ78xBX0Q=
-golang.org/x/tools v0.0.0-20190515012406-7d7faa4812bd/go.mod h1:RgjU9mgBXZiqYHBnxXauZ1Gv1EHHAz9KjViQ78xBX0Q=
golang.org/x/tools v0.0.0-20190524140312-2c0ae7006135/go.mod h1:RgjU9mgBXZiqYHBnxXauZ1Gv1EHHAz9KjViQ78xBX0Q=
golang.org/x/tools v0.0.0-20190606124116-d0a3d012864b/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc=
golang.org/x/tools v0.0.0-20190621195816-6e04913cbbac/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc=
@@ -843,7 +838,6 @@ golang.org/x/tools v0.0.0-20191125144606-a911d9008d1f/go.mod h1:b+2E5dAYhXwXZwtn
golang.org/x/tools v0.0.0-20191130070609-6e064ea0cf2d/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo=
golang.org/x/tools v0.0.0-20191216173652-a0e659d51361/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28=
golang.org/x/tools v0.0.0-20191227053925-7b8e75db28f4/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28=
-golang.org/x/tools v0.0.0-20200114235610-7ae403b6b589/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28=
golang.org/x/tools v0.0.0-20200117161641-43d50277825c/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28=
golang.org/x/tools v0.0.0-20200122220014-bf1340f18c4a/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28=
golang.org/x/tools v0.0.0-20200130002326-2f3ba24bd6e7/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28=
@@ -862,6 +856,7 @@ golang.org/x/tools v0.0.0-20200618134242-20370b0cb4b2/go.mod h1:EkVYQZoAsY45+roY
golang.org/x/tools v0.0.0-20200619180055-7c47624df98f/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE=
golang.org/x/tools v0.0.0-20200729194436-6467de6f59a7/go.mod h1:njjCfa9FT2d7l9Bc6FUM5FLjQPp3cFF28FI3qnDFljA=
golang.org/x/tools v0.0.0-20200804011535-6c149bb5ef0d/go.mod h1:njjCfa9FT2d7l9Bc6FUM5FLjQPp3cFF28FI3qnDFljA=
+golang.org/x/tools v0.0.0-20200815165600-90abf76919f3/go.mod h1:njjCfa9FT2d7l9Bc6FUM5FLjQPp3cFF28FI3qnDFljA=
golang.org/x/tools v0.0.0-20200825202427-b303f430e36d/go.mod h1:njjCfa9FT2d7l9Bc6FUM5FLjQPp3cFF28FI3qnDFljA=
golang.org/x/tools v0.0.0-20200904185747-39188db58858/go.mod h1:Cj7w3i3Rnn0Xh82ur9kSqwfTHTeVxaDqrfMjpcNT6bE=
golang.org/x/tools v0.0.0-20201110124207-079ba7bd75cd/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA=
@@ -1063,5 +1058,3 @@ honnef.co/go/tools v0.0.1-2020.1.4/go.mod h1:X/FiERA/W4tHapMX5mGpAtMSVEeEUOyHaw9
rsc.io/binaryregexp v0.2.0/go.mod h1:qTv7/COck+e2FymRvadv62gMdZztPaShugOCi3I+8D8=
rsc.io/quote/v3 v3.1.0/go.mod h1:yEA65RcK8LyAZtP9Kv3t0HmxON59tX3rD+tICJqUlj0=
rsc.io/sampler v1.3.0/go.mod h1:T1hPZKmBbMNahiBKFy5HrXp6adAjACjK9JXDnKaTXpA=
-sourcegraph.com/sourcegraph/appdash v0.0.0-20180110180208-2cc67fd64755/go.mod h1:hI742Nqp5OhwiqlzhgfbWU4mW4yO10fP+LoT9WOswdU=
-sourcegraph.com/sourcegraph/appdash-data v0.0.0-20151005221446-73f23eafcf67/go.mod h1:L5q+DGLGOQFpo1snNEkLOJT2d1YTW66rWNzatr3He1k=
diff --git a/misc/bash_completion/git-bug b/misc/bash_completion/git-bug
index 8b303991..2320c1c0 100644
--- a/misc/bash_completion/git-bug
+++ b/misc/bash_completion/git-bug
@@ -2,7 +2,7 @@
__git-bug_debug()
{
- if [[ -n ${BASH_COMP_DEBUG_FILE} ]]; then
+ if [[ -n ${BASH_COMP_DEBUG_FILE:-} ]]; then
echo "$*" >> "${BASH_COMP_DEBUG_FILE}"
fi
}
@@ -112,7 +112,7 @@ __git-bug_handle_go_custom_completion()
$filteringCmd
elif [ $((directive & shellCompDirectiveFilterDirs)) -ne 0 ]; then
# File completion for directories only
- local subDir
+ local subdir
# Use printf to strip any trailing newline
subdir=$(printf "%s" "${out[0]}")
if [ -n "$subdir" ]; then
@@ -165,13 +165,19 @@ __git-bug_handle_reply()
PREFIX=""
cur="${cur#*=}"
${flags_completion[${index}]}
- if [ -n "${ZSH_VERSION}" ]; then
+ if [ -n "${ZSH_VERSION:-}" ]; then
# zsh completion needs --flag= prefix
eval "COMPREPLY=( \"\${COMPREPLY[@]/#/${flag}=}\" )"
fi
fi
fi
- return 0;
+
+ if [[ -z "${flag_parsing_disabled}" ]]; then
+ # If flag parsing is enabled, we have completed the flags and can return.
+ # If flag parsing is disabled, we may not know all (or any) of the flags, so we fallthrough
+ # to possibly call handle_go_custom_completion.
+ return 0;
+ fi
;;
esac
@@ -210,13 +216,13 @@ __git-bug_handle_reply()
fi
if [[ ${#COMPREPLY[@]} -eq 0 ]]; then
- if declare -F __git-bug_custom_func >/dev/null; then
- # try command name qualified custom func
- __git-bug_custom_func
- else
- # otherwise fall back to unqualified for compatibility
- declare -F __custom_func >/dev/null && __custom_func
- fi
+ if declare -F __git-bug_custom_func >/dev/null; then
+ # try command name qualified custom func
+ __git-bug_custom_func
+ else
+ # otherwise fall back to unqualified for compatibility
+ declare -F __custom_func >/dev/null && __custom_func
+ fi
fi
# available in bash-completion >= 2, not always present on macOS
@@ -250,7 +256,7 @@ __git-bug_handle_flag()
# if a command required a flag, and we found it, unset must_have_one_flag()
local flagname=${words[c]}
- local flagvalue
+ local flagvalue=""
# if the word contained an =
if [[ ${words[c]} == *"="* ]]; then
flagvalue=${flagname#*=} # take in as flagvalue after the =
@@ -269,7 +275,7 @@ __git-bug_handle_flag()
# keep flag value with flagname as flaghash
# flaghash variable is an associative array which is only supported in bash > 3.
- if [[ -z "${BASH_VERSION}" || "${BASH_VERSINFO[0]}" -gt 3 ]]; then
+ if [[ -z "${BASH_VERSION:-}" || "${BASH_VERSINFO[0]:-}" -gt 3 ]]; then
if [ -n "${flagvalue}" ] ; then
flaghash[${flagname}]=${flagvalue}
elif [ -n "${words[ $((c+1)) ]}" ] ; then
@@ -281,7 +287,7 @@ __git-bug_handle_flag()
# skip the argument to a two word flag
if [[ ${words[c]} != *"="* ]] && __git-bug_contains_word "${words[c]}" "${two_word_flags[@]}"; then
- __git-bug_debug "${FUNCNAME[0]}: found a flag ${words[c]}, skip the next argument"
+ __git-bug_debug "${FUNCNAME[0]}: found a flag ${words[c]}, skip the next argument"
c=$((c+1))
# if we are looking for a flags value, don't show commands
if [[ $c -eq $cword ]]; then
@@ -341,7 +347,7 @@ __git-bug_handle_word()
__git-bug_handle_command
elif __git-bug_contains_word "${words[c]}" "${command_aliases[@]}"; then
# aliashash variable is an associative array which is only supported in bash > 3.
- if [[ -z "${BASH_VERSION}" || "${BASH_VERSINFO[0]}" -gt 3 ]]; then
+ if [[ -z "${BASH_VERSION:-}" || "${BASH_VERSINFO[0]:-}" -gt 3 ]]; then
words[c]=${aliashash[${words[c]}]}
__git-bug_handle_command
else
@@ -1445,7 +1451,7 @@ _git-bug_root_command()
commands+=("show")
commands+=("status")
commands+=("termui")
- if [[ -z "${BASH_VERSION}" || "${BASH_VERSINFO[0]}" -gt 3 ]]; then
+ if [[ -z "${BASH_VERSION:-}" || "${BASH_VERSINFO[0]:-}" -gt 3 ]]; then
command_aliases+=("tui")
aliashash["tui"]="termui"
fi
@@ -1468,7 +1474,7 @@ _git-bug_root_command()
__start_git-bug()
{
- local cur prev words cword
+ local cur prev words cword split
declare -A flaghash 2>/dev/null || :
declare -A aliashash 2>/dev/null || :
if declare -F _init_completion >/dev/null 2>&1; then
@@ -1478,17 +1484,20 @@ __start_git-bug()
fi
local c=0
+ local flag_parsing_disabled=
local flags=()
local two_word_flags=()
local local_nonpersistent_flags=()
local flags_with_completion=()
local flags_completion=()
local commands=("git-bug")
+ local command_aliases=()
local must_have_one_flag=()
local must_have_one_noun=()
- local has_completion_function
- local last_command
+ local has_completion_function=""
+ local last_command=""
local nouns=()
+ local noun_aliases=()
__git-bug_handle_word
}
diff --git a/misc/fish_completion/git-bug b/misc/fish_completion/git-bug
index 28e66532..a3c2d008 100644
--- a/misc/fish_completion/git-bug
+++ b/misc/fish_completion/git-bug
@@ -1,44 +1,47 @@
# fish completion for git-bug -*- shell-script -*-
function __git_bug_debug
- set file "$BASH_COMP_DEBUG_FILE"
+ set -l file "$BASH_COMP_DEBUG_FILE"
if test -n "$file"
echo "$argv" >> $file
end
end
function __git_bug_perform_completion
- __git_bug_debug "Starting __git_bug_perform_completion with: $argv"
+ __git_bug_debug "Starting __git_bug_perform_completion"
- set args (string split -- " " "$argv")
- set lastArg "$args[-1]"
+ # Extract all args except the last one
+ set -l args (commandline -opc)
+ # Extract the last arg and escape it in case it is a space
+ set -l lastArg (string escape -- (commandline -ct))
__git_bug_debug "args: $args"
__git_bug_debug "last arg: $lastArg"
- set emptyArg ""
- if test -z "$lastArg"
- __git_bug_debug "Setting emptyArg"
- set emptyArg \"\"
- end
- __git_bug_debug "emptyArg: $emptyArg"
-
- if not type -q "$args[1]"
- # This can happen when "complete --do-complete git-bug" is called when running this script.
- __git_bug_debug "Cannot find $args[1]. No completions."
- return
- end
+ set -l requestComp "$args[1] __complete $args[2..-1] $lastArg"
- set requestComp "$args[1] __complete $args[2..-1] $emptyArg"
__git_bug_debug "Calling $requestComp"
+ set -l results (eval $requestComp 2> /dev/null)
+
+ # Some programs may output extra empty lines after the directive.
+ # Let's ignore them or else it will break completion.
+ # Ref: https://github.com/spf13/cobra/issues/1279
+ for line in $results[-1..1]
+ if test (string trim -- $line) = ""
+ # Found an empty line, remove it
+ set results $results[1..-2]
+ else
+ # Found non-empty line, we have our proper output
+ break
+ end
+ end
- set results (eval $requestComp 2> /dev/null)
- set comps $results[1..-2]
- set directiveLine $results[-1]
+ set -l comps $results[1..-2]
+ set -l directiveLine $results[-1]
# For Fish, when completing a flag with an = (e.g., <program> -n=<TAB>)
# completions must be prefixed with the flag
- set flagPrefix (string match -r -- '-.*=' "$lastArg")
+ set -l flagPrefix (string match -r -- '-.*=' "$lastArg")
__git_bug_debug "Comps: $comps"
__git_bug_debug "DirectiveLine: $directiveLine"
@@ -51,114 +54,123 @@ function __git_bug_perform_completion
printf "%s\n" "$directiveLine"
end
-# This function does three things:
-# 1- Obtain the completions and store them in the global __git_bug_comp_results
-# 2- Set the __git_bug_comp_do_file_comp flag if file completion should be performed
-# and unset it otherwise
-# 3- Return true if the completion results are not empty
+# This function does two things:
+# - Obtain the completions and store them in the global __git_bug_comp_results
+# - Return false if file completion should be performed
function __git_bug_prepare_completions
+ __git_bug_debug ""
+ __git_bug_debug "========= starting completion logic =========="
+
# Start fresh
- set --erase __git_bug_comp_do_file_comp
set --erase __git_bug_comp_results
- # Check if the command-line is already provided. This is useful for testing.
- if not set --query __git_bug_comp_commandLine
- # Use the -c flag to allow for completion in the middle of the line
- set __git_bug_comp_commandLine (commandline -c)
- end
- __git_bug_debug "commandLine is: $__git_bug_comp_commandLine"
-
- set results (__git_bug_perform_completion "$__git_bug_comp_commandLine")
- set --erase __git_bug_comp_commandLine
+ set -l results (__git_bug_perform_completion)
__git_bug_debug "Completion results: $results"
if test -z "$results"
__git_bug_debug "No completion, probably due to a failure"
# Might as well do file completion, in case it helps
- set --global __git_bug_comp_do_file_comp 1
return 1
end
- set directive (string sub --start 2 $results[-1])
+ set -l directive (string sub --start 2 $results[-1])
set --global __git_bug_comp_results $results[1..-2]
__git_bug_debug "Completions are: $__git_bug_comp_results"
__git_bug_debug "Directive is: $directive"
- set shellCompDirectiveError 1
- set shellCompDirectiveNoSpace 2
- set shellCompDirectiveNoFileComp 4
- set shellCompDirectiveFilterFileExt 8
- set shellCompDirectiveFilterDirs 16
+ set -l shellCompDirectiveError 1
+ set -l shellCompDirectiveNoSpace 2
+ set -l shellCompDirectiveNoFileComp 4
+ set -l shellCompDirectiveFilterFileExt 8
+ set -l shellCompDirectiveFilterDirs 16
if test -z "$directive"
set directive 0
end
- set compErr (math (math --scale 0 $directive / $shellCompDirectiveError) % 2)
+ set -l compErr (math (math --scale 0 $directive / $shellCompDirectiveError) % 2)
if test $compErr -eq 1
__git_bug_debug "Received error directive: aborting."
# Might as well do file completion, in case it helps
- set --global __git_bug_comp_do_file_comp 1
return 1
end
- set filefilter (math (math --scale 0 $directive / $shellCompDirectiveFilterFileExt) % 2)
- set dirfilter (math (math --scale 0 $directive / $shellCompDirectiveFilterDirs) % 2)
+ set -l filefilter (math (math --scale 0 $directive / $shellCompDirectiveFilterFileExt) % 2)
+ set -l dirfilter (math (math --scale 0 $directive / $shellCompDirectiveFilterDirs) % 2)
if test $filefilter -eq 1; or test $dirfilter -eq 1
__git_bug_debug "File extension filtering or directory filtering not supported"
# Do full file completion instead
- set --global __git_bug_comp_do_file_comp 1
return 1
end
- set nospace (math (math --scale 0 $directive / $shellCompDirectiveNoSpace) % 2)
- set nofiles (math (math --scale 0 $directive / $shellCompDirectiveNoFileComp) % 2)
+ set -l nospace (math (math --scale 0 $directive / $shellCompDirectiveNoSpace) % 2)
+ set -l nofiles (math (math --scale 0 $directive / $shellCompDirectiveNoFileComp) % 2)
__git_bug_debug "nospace: $nospace, nofiles: $nofiles"
- # Important not to quote the variable for count to work
- set numComps (count $__git_bug_comp_results)
- __git_bug_debug "numComps: $numComps"
-
- if test $numComps -eq 1; and test $nospace -ne 0
- # To support the "nospace" directive we trick the shell
- # by outputting an extra, longer completion.
- __git_bug_debug "Adding second completion to perform nospace directive"
- set --append __git_bug_comp_results $__git_bug_comp_results[1].
- end
-
- if test $numComps -eq 0; and test $nofiles -eq 0
- __git_bug_debug "Requesting file completion"
- set --global __git_bug_comp_do_file_comp 1
+ # If we want to prevent a space, or if file completion is NOT disabled,
+ # we need to count the number of valid completions.
+ # To do so, we will filter on prefix as the completions we have received
+ # may not already be filtered so as to allow fish to match on different
+ # criteria than the prefix.
+ if test $nospace -ne 0; or test $nofiles -eq 0
+ set -l prefix (commandline -t | string escape --style=regex)
+ __git_bug_debug "prefix: $prefix"
+
+ set -l completions (string match -r -- "^$prefix.*" $__git_bug_comp_results)
+ set --global __git_bug_comp_results $completions
+ __git_bug_debug "Filtered completions are: $__git_bug_comp_results"
+
+ # Important not to quote the variable for count to work
+ set -l numComps (count $__git_bug_comp_results)
+ __git_bug_debug "numComps: $numComps"
+
+ if test $numComps -eq 1; and test $nospace -ne 0
+ # We must first split on \t to get rid of the descriptions to be
+ # able to check what the actual completion will be.
+ # We don't need descriptions anyway since there is only a single
+ # real completion which the shell will expand immediately.
+ set -l split (string split --max 1 \t $__git_bug_comp_results[1])
+
+ # Fish won't add a space if the completion ends with any
+ # of the following characters: @=/:.,
+ set -l lastChar (string sub -s -1 -- $split)
+ if not string match -r -q "[@=/:.,]" -- "$lastChar"
+ # In other cases, to support the "nospace" directive we trick the shell
+ # by outputting an extra, longer completion.
+ __git_bug_debug "Adding second completion to perform nospace directive"
+ set --global __git_bug_comp_results $split[1] $split[1].
+ __git_bug_debug "Completions are now: $__git_bug_comp_results"
+ end
+ end
+
+ if test $numComps -eq 0; and test $nofiles -eq 0
+ # To be consistent with bash and zsh, we only trigger file
+ # completion when there are no other completions
+ __git_bug_debug "Requesting file completion"
+ return 1
+ end
end
- # If we don't want file completion, we must return true even if there
- # are no completions found. This is because fish will perform the last
- # completion command, even if its condition is false, if no other
- # completion command was triggered
- return (not set --query __git_bug_comp_do_file_comp)
+ return 0
end
# Since Fish completions are only loaded once the user triggers them, we trigger them ourselves
# so we can properly delete any completions provided by another script.
-# The space after the the program name is essential to trigger completion for the program
-# and not completion of the program name itself.
-complete --do-complete "git-bug " > /dev/null 2>&1
-# Using '> /dev/null 2>&1' since '&>' is not supported in older versions of fish.
+# Only do this if the program can be found, or else fish may print some errors; besides,
+# the existing completions will only be loaded if the program can be found.
+if type -q "git-bug"
+ # The space after the program name is essential to trigger completion for the program
+ # and not completion of the program name itself.
+ # Also, we use '> /dev/null 2>&1' since '&>' is not supported in older versions of fish.
+ complete --do-complete "git-bug " > /dev/null 2>&1
+end
# Remove any pre-existing completions for the program since we will be handling all of them.
complete -c git-bug -e
-# The order in which the below two lines are defined is very important so that __git_bug_prepare_completions
-# is called first. It is __git_bug_prepare_completions that sets up the __git_bug_comp_do_file_comp variable.
-#
-# This completion will be run second as complete commands are added FILO.
-# It triggers file completion choices when __git_bug_comp_do_file_comp is set.
-complete -c git-bug -n 'set --query __git_bug_comp_do_file_comp'
-
-# This completion will be run first as complete commands are added FILO.
-# The call to __git_bug_prepare_completions will setup both __git_bug_comp_results and __git_bug_comp_do_file_comp.
-# It provides the program's completion choices.
+# The call to __git_bug_prepare_completions will setup __git_bug_comp_results
+# which provides the program's completion choices.
complete -c git-bug -n '__git_bug_prepare_completions' -f -a '$__git_bug_comp_results'
diff --git a/misc/powershell_completion/git-bug b/misc/powershell_completion/git-bug
index a5bc9fdf..b8280eea 100644
--- a/misc/powershell_completion/git-bug
+++ b/misc/powershell_completion/git-bug
@@ -33,7 +33,7 @@ Register-ArgumentCompleter -CommandName 'git-bug' -ScriptBlock {
if ($Command.Length -gt $CursorPosition) {
$Command=$Command.Substring(0,$CursorPosition)
}
- __git-bug_debug "Truncated command: $Command"
+ __git-bug_debug "Truncated command: $Command"
$ShellCompDirectiveError=1
$ShellCompDirectiveNoSpace=2
@@ -41,7 +41,7 @@ Register-ArgumentCompleter -CommandName 'git-bug' -ScriptBlock {
$ShellCompDirectiveFilterFileExt=8
$ShellCompDirectiveFilterDirs=16
- # Prepare the command to request completions for the program.
+ # Prepare the command to request completions for the program.
# Split the command at the first space to separate the program and arguments.
$Program,$Arguments = $Command.Split(" ",2)
$RequestComp="$Program __completeNoDesc $Arguments"
@@ -69,7 +69,7 @@ Register-ArgumentCompleter -CommandName 'git-bug' -ScriptBlock {
# We add an extra empty parameter so we can indicate this to the go method.
__git-bug_debug "Adding extra empty parameter"
# We need to use `"`" to pass an empty argument a "" or '' does not work!!!
- $RequestComp="$RequestComp" + ' `"`"'
+ $RequestComp="$RequestComp" + ' `"`"'
}
__git-bug_debug "Calling $RequestComp"
@@ -123,19 +123,6 @@ Register-ArgumentCompleter -CommandName 'git-bug' -ScriptBlock {
$Space = ""
}
- if (($Directive -band $ShellCompDirectiveNoFileComp) -ne 0 ) {
- __git-bug_debug "ShellCompDirectiveNoFileComp is called"
-
- if ($Values.Length -eq 0) {
- # Just print an empty string here so the
- # shell does not start to complete paths.
- # We cannot use CompletionResult here because
- # it does not accept an empty string as argument.
- ""
- return
- }
- }
-
if ((($Directive -band $ShellCompDirectiveFilterFileExt) -ne 0 ) -or
(($Directive -band $ShellCompDirectiveFilterDirs) -ne 0 )) {
__git-bug_debug "ShellCompDirectiveFilterFileExt ShellCompDirectiveFilterDirs are not supported"
@@ -148,20 +135,33 @@ Register-ArgumentCompleter -CommandName 'git-bug' -ScriptBlock {
# filter the result
$_.Name -like "$WordToComplete*"
- # Join the flag back if we have a equal sign flag
+ # Join the flag back if we have an equal sign flag
if ( $IsEqualFlag ) {
__git-bug_debug "Join the equal sign flag back to the completion value"
$_.Name = $Flag + "=" + $_.Name
}
}
+ if (($Directive -band $ShellCompDirectiveNoFileComp) -ne 0 ) {
+ __git-bug_debug "ShellCompDirectiveNoFileComp is called"
+
+ if ($Values.Length -eq 0) {
+ # Just print an empty string here so the
+ # shell does not start to complete paths.
+ # We cannot use CompletionResult here because
+ # it does not accept an empty string as argument.
+ ""
+ return
+ }
+ }
+
# Get the current mode
$Mode = (Get-PSReadLineKeyHandler | Where-Object {$_.Key -eq "Tab" }).Function
__git-bug_debug "Mode: $Mode"
$Values | ForEach-Object {
- # store temporay because switch will overwrite $_
+ # store temporary because switch will overwrite $_
$comp = $_
# PowerShell supports three different completion modes
@@ -216,7 +216,7 @@ Register-ArgumentCompleter -CommandName 'git-bug' -ScriptBlock {
Default {
# Like MenuComplete but we don't want to add a space here because
# the user need to press space anyway to get the completion.
- # Description will not be shown because thats not possible with TabCompleteNext
+ # Description will not be shown because that's not possible with TabCompleteNext
[System.Management.Automation.CompletionResult]::new($($comp.Name | __git-bug_escapeStringWithSpecialChars), "$($comp.Name)", 'ParameterValue', "$($comp.Description)")
}
}
diff --git a/misc/zsh_completion/git-bug b/misc/zsh_completion/git-bug
index e0a6d8a1..e7cbe9a9 100644
--- a/misc/zsh_completion/git-bug
+++ b/misc/zsh_completion/git-bug
@@ -18,7 +18,7 @@ _git-bug()
local shellCompDirectiveFilterFileExt=8
local shellCompDirectiveFilterDirs=16
- local lastParam lastChar flagPrefix requestComp out directive compCount comp lastComp
+ local lastParam lastChar flagPrefix requestComp out directive comp lastComp noSpace
local -a completions
__git-bug_debug "\n========= starting completion logic =========="
@@ -86,7 +86,6 @@ _git-bug()
return
fi
- compCount=0
while IFS='\n' read -r comp; do
if [ -n "$comp" ]; then
# If requested, completions are returned with a description.
@@ -98,13 +97,17 @@ _git-bug()
local tab=$(printf '\t')
comp=${comp//$tab/:}
- ((compCount++))
__git-bug_debug "Adding completion: ${comp}"
completions+=${comp}
lastComp=$comp
fi
done < <(printf "%s\n" "${out[@]}")
+ if [ $((directive & shellCompDirectiveNoSpace)) -ne 0 ]; then
+ __git-bug_debug "Activating nospace."
+ noSpace="-S ''"
+ fi
+
if [ $((directive & shellCompDirectiveFilterFileExt)) -ne 0 ]; then
# File extension filtering
local filteringCmd
@@ -122,7 +125,7 @@ _git-bug()
_arguments '*:filename:'"$filteringCmd"
elif [ $((directive & shellCompDirectiveFilterDirs)) -ne 0 ]; then
# File completion for directories only
- local subDir
+ local subdir
subdir="${completions[1]}"
if [ -n "$subdir" ]; then
__git-bug_debug "Listing directories in $subdir"
@@ -131,29 +134,44 @@ _git-bug()
__git-bug_debug "Listing directories in ."
fi
+ local result
_arguments '*:dirname:_files -/'" ${flagPrefix}"
+ result=$?
if [ -n "$subdir" ]; then
popd >/dev/null 2>&1
fi
- elif [ $((directive & shellCompDirectiveNoSpace)) -ne 0 ] && [ ${compCount} -eq 1 ]; then
- __git-bug_debug "Activating nospace."
- # We can use compadd here as there is no description when
- # there is only one completion.
- compadd -S '' "${lastComp}"
- elif [ ${compCount} -eq 0 ]; then
- if [ $((directive & shellCompDirectiveNoFileComp)) -ne 0 ]; then
- __git-bug_debug "deactivating file completion"
+ return $result
+ else
+ __git-bug_debug "Calling _describe"
+ if eval _describe "completions" completions $flagPrefix $noSpace; then
+ __git-bug_debug "_describe found some completions"
+
+ # Return the success of having called _describe
+ return 0
else
- # Perform file completion
- __git-bug_debug "activating file completion"
- _arguments '*:filename:_files'" ${flagPrefix}"
+ __git-bug_debug "_describe did not find completions."
+ __git-bug_debug "Checking if we should do file completion."
+ if [ $((directive & shellCompDirectiveNoFileComp)) -ne 0 ]; then
+ __git-bug_debug "deactivating file completion"
+
+ # We must return an error code here to let zsh know that there were no
+ # completions found by _describe; this is what will trigger other
+ # matching algorithms to attempt to find completions.
+ # For example zsh can match letters in the middle of words.
+ return 1
+ else
+ # Perform file completion
+ __git-bug_debug "Activating file completion"
+
+ # We must return the result of this command, so it must be the
+ # last command, or else we must store its result to return it.
+ _arguments '*:filename:_files'" ${flagPrefix}"
+ fi
fi
- else
- _describe "completions" completions $(echo $flagPrefix)
fi
}
# don't run the completion function when being source-ed or eval-ed
if [ "$funcstack[1]" = "_git-bug" ]; then
- _git-bug
+ _git-bug
fi