@@ -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)