Detailed changes
@@ -34,215 +34,490 @@ type BugResolver interface {
// region ***************************** args.gotpl *****************************
-func (ec *executionContext) field_Bug_actors_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) {
+func (ec *executionContext) field_Bug_actors_args(ctx context.Context, rawArgs map[string]any) (map[string]any, error) {
var err error
- 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
- }
+ args := map[string]any{}
+ arg0, err := ec.field_Bug_actors_argsAfter(ctx, rawArgs)
+ if err != nil {
+ return nil, err
}
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
- }
+ arg1, err := ec.field_Bug_actors_argsBefore(ctx, rawArgs)
+ if err != nil {
+ return nil, err
}
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
- }
+ arg2, err := ec.field_Bug_actors_argsFirst(ctx, rawArgs)
+ if err != nil {
+ return nil, err
}
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
- }
+ arg3, err := ec.field_Bug_actors_argsLast(ctx, rawArgs)
+ if err != nil {
+ return nil, err
}
args["last"] = arg3
return args, nil
}
+func (ec *executionContext) field_Bug_actors_argsAfter(
+ ctx context.Context,
+ rawArgs map[string]any,
+) (*string, error) {
+ if _, ok := rawArgs["after"]; !ok {
+ var zeroVal *string
+ return zeroVal, nil
+ }
-func (ec *executionContext) field_Bug_comments_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) {
- var err error
- args := map[string]interface{}{}
- var arg0 *string
+ ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("after"))
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
- }
+ return ec.unmarshalOString2ᚖstring(ctx, tmp)
}
- args["after"] = arg0
- var arg1 *string
+
+ var zeroVal *string
+ return zeroVal, nil
+}
+
+func (ec *executionContext) field_Bug_actors_argsBefore(
+ ctx context.Context,
+ rawArgs map[string]any,
+) (*string, error) {
+ if _, ok := rawArgs["before"]; !ok {
+ var zeroVal *string
+ return zeroVal, nil
+ }
+
+ ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("before"))
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
- }
+ return ec.unmarshalOString2ᚖstring(ctx, tmp)
}
- args["before"] = arg1
- var arg2 *int
+
+ var zeroVal *string
+ return zeroVal, nil
+}
+
+func (ec *executionContext) field_Bug_actors_argsFirst(
+ ctx context.Context,
+ rawArgs map[string]any,
+) (*int, error) {
+ if _, ok := rawArgs["first"]; !ok {
+ var zeroVal *int
+ return zeroVal, nil
+ }
+
+ ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("first"))
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
- }
+ return ec.unmarshalOInt2ᚖint(ctx, tmp)
}
- args["first"] = arg2
- var arg3 *int
+
+ var zeroVal *int
+ return zeroVal, nil
+}
+
+func (ec *executionContext) field_Bug_actors_argsLast(
+ ctx context.Context,
+ rawArgs map[string]any,
+) (*int, error) {
+ if _, ok := rawArgs["last"]; !ok {
+ var zeroVal *int
+ return zeroVal, nil
+ }
+
+ ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("last"))
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
- }
+ return ec.unmarshalOInt2ᚖint(ctx, tmp)
+ }
+
+ var zeroVal *int
+ return zeroVal, nil
+}
+
+func (ec *executionContext) field_Bug_comments_args(ctx context.Context, rawArgs map[string]any) (map[string]any, error) {
+ var err error
+ args := map[string]any{}
+ arg0, err := ec.field_Bug_comments_argsAfter(ctx, rawArgs)
+ if err != nil {
+ return nil, err
+ }
+ args["after"] = arg0
+ arg1, err := ec.field_Bug_comments_argsBefore(ctx, rawArgs)
+ if err != nil {
+ return nil, err
+ }
+ args["before"] = arg1
+ arg2, err := ec.field_Bug_comments_argsFirst(ctx, rawArgs)
+ if err != nil {
+ return nil, err
+ }
+ args["first"] = arg2
+ arg3, err := ec.field_Bug_comments_argsLast(ctx, rawArgs)
+ if err != nil {
+ return nil, err
}
args["last"] = arg3
return args, nil
}
+func (ec *executionContext) field_Bug_comments_argsAfter(
+ ctx context.Context,
+ rawArgs map[string]any,
+) (*string, error) {
+ if _, ok := rawArgs["after"]; !ok {
+ var zeroVal *string
+ return zeroVal, nil
+ }
-func (ec *executionContext) field_Bug_operations_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) {
- var err error
- args := map[string]interface{}{}
- var arg0 *string
+ ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("after"))
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
- }
+ return ec.unmarshalOString2ᚖstring(ctx, tmp)
}
- args["after"] = arg0
- var arg1 *string
+
+ var zeroVal *string
+ return zeroVal, nil
+}
+
+func (ec *executionContext) field_Bug_comments_argsBefore(
+ ctx context.Context,
+ rawArgs map[string]any,
+) (*string, error) {
+ if _, ok := rawArgs["before"]; !ok {
+ var zeroVal *string
+ return zeroVal, nil
+ }
+
+ ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("before"))
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
- }
+ return ec.unmarshalOString2ᚖstring(ctx, tmp)
}
- args["before"] = arg1
- var arg2 *int
+
+ var zeroVal *string
+ return zeroVal, nil
+}
+
+func (ec *executionContext) field_Bug_comments_argsFirst(
+ ctx context.Context,
+ rawArgs map[string]any,
+) (*int, error) {
+ if _, ok := rawArgs["first"]; !ok {
+ var zeroVal *int
+ return zeroVal, nil
+ }
+
+ ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("first"))
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
- }
+ return ec.unmarshalOInt2ᚖint(ctx, tmp)
}
- args["first"] = arg2
- var arg3 *int
+
+ var zeroVal *int
+ return zeroVal, nil
+}
+
+func (ec *executionContext) field_Bug_comments_argsLast(
+ ctx context.Context,
+ rawArgs map[string]any,
+) (*int, error) {
+ if _, ok := rawArgs["last"]; !ok {
+ var zeroVal *int
+ return zeroVal, nil
+ }
+
+ ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("last"))
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
- }
+ return ec.unmarshalOInt2ᚖint(ctx, tmp)
+ }
+
+ var zeroVal *int
+ return zeroVal, nil
+}
+
+func (ec *executionContext) field_Bug_operations_args(ctx context.Context, rawArgs map[string]any) (map[string]any, error) {
+ var err error
+ args := map[string]any{}
+ arg0, err := ec.field_Bug_operations_argsAfter(ctx, rawArgs)
+ if err != nil {
+ return nil, err
+ }
+ args["after"] = arg0
+ arg1, err := ec.field_Bug_operations_argsBefore(ctx, rawArgs)
+ if err != nil {
+ return nil, err
+ }
+ args["before"] = arg1
+ arg2, err := ec.field_Bug_operations_argsFirst(ctx, rawArgs)
+ if err != nil {
+ return nil, err
+ }
+ args["first"] = arg2
+ arg3, err := ec.field_Bug_operations_argsLast(ctx, rawArgs)
+ if err != nil {
+ return nil, err
}
args["last"] = arg3
return args, nil
}
+func (ec *executionContext) field_Bug_operations_argsAfter(
+ ctx context.Context,
+ rawArgs map[string]any,
+) (*string, error) {
+ if _, ok := rawArgs["after"]; !ok {
+ var zeroVal *string
+ return zeroVal, nil
+ }
-func (ec *executionContext) field_Bug_participants_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) {
- var err error
- args := map[string]interface{}{}
- var arg0 *string
+ ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("after"))
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
- }
+ return ec.unmarshalOString2ᚖstring(ctx, tmp)
}
- args["after"] = arg0
- var arg1 *string
+
+ var zeroVal *string
+ return zeroVal, nil
+}
+
+func (ec *executionContext) field_Bug_operations_argsBefore(
+ ctx context.Context,
+ rawArgs map[string]any,
+) (*string, error) {
+ if _, ok := rawArgs["before"]; !ok {
+ var zeroVal *string
+ return zeroVal, nil
+ }
+
+ ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("before"))
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
- }
+ return ec.unmarshalOString2ᚖstring(ctx, tmp)
}
- args["before"] = arg1
- var arg2 *int
+
+ var zeroVal *string
+ return zeroVal, nil
+}
+
+func (ec *executionContext) field_Bug_operations_argsFirst(
+ ctx context.Context,
+ rawArgs map[string]any,
+) (*int, error) {
+ if _, ok := rawArgs["first"]; !ok {
+ var zeroVal *int
+ return zeroVal, nil
+ }
+
+ ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("first"))
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
- }
+ return ec.unmarshalOInt2ᚖint(ctx, tmp)
}
- args["first"] = arg2
- var arg3 *int
+
+ var zeroVal *int
+ return zeroVal, nil
+}
+
+func (ec *executionContext) field_Bug_operations_argsLast(
+ ctx context.Context,
+ rawArgs map[string]any,
+) (*int, error) {
+ if _, ok := rawArgs["last"]; !ok {
+ var zeroVal *int
+ return zeroVal, nil
+ }
+
+ ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("last"))
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
- }
+ return ec.unmarshalOInt2ᚖint(ctx, tmp)
+ }
+
+ var zeroVal *int
+ return zeroVal, nil
+}
+
+func (ec *executionContext) field_Bug_participants_args(ctx context.Context, rawArgs map[string]any) (map[string]any, error) {
+ var err error
+ args := map[string]any{}
+ arg0, err := ec.field_Bug_participants_argsAfter(ctx, rawArgs)
+ if err != nil {
+ return nil, err
+ }
+ args["after"] = arg0
+ arg1, err := ec.field_Bug_participants_argsBefore(ctx, rawArgs)
+ if err != nil {
+ return nil, err
+ }
+ args["before"] = arg1
+ arg2, err := ec.field_Bug_participants_argsFirst(ctx, rawArgs)
+ if err != nil {
+ return nil, err
+ }
+ args["first"] = arg2
+ arg3, err := ec.field_Bug_participants_argsLast(ctx, rawArgs)
+ if err != nil {
+ return nil, err
}
args["last"] = arg3
return args, nil
}
+func (ec *executionContext) field_Bug_participants_argsAfter(
+ ctx context.Context,
+ rawArgs map[string]any,
+) (*string, error) {
+ if _, ok := rawArgs["after"]; !ok {
+ var zeroVal *string
+ return zeroVal, nil
+ }
-func (ec *executionContext) field_Bug_timeline_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) {
- var err error
- args := map[string]interface{}{}
- var arg0 *string
+ ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("after"))
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
- }
+ return ec.unmarshalOString2ᚖstring(ctx, tmp)
}
- args["after"] = arg0
- var arg1 *string
+
+ var zeroVal *string
+ return zeroVal, nil
+}
+
+func (ec *executionContext) field_Bug_participants_argsBefore(
+ ctx context.Context,
+ rawArgs map[string]any,
+) (*string, error) {
+ if _, ok := rawArgs["before"]; !ok {
+ var zeroVal *string
+ return zeroVal, nil
+ }
+
+ ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("before"))
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
- }
+ return ec.unmarshalOString2ᚖstring(ctx, tmp)
}
- args["before"] = arg1
- var arg2 *int
+
+ var zeroVal *string
+ return zeroVal, nil
+}
+
+func (ec *executionContext) field_Bug_participants_argsFirst(
+ ctx context.Context,
+ rawArgs map[string]any,
+) (*int, error) {
+ if _, ok := rawArgs["first"]; !ok {
+ var zeroVal *int
+ return zeroVal, nil
+ }
+
+ ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("first"))
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
- }
+ return ec.unmarshalOInt2ᚖint(ctx, tmp)
}
- args["first"] = arg2
- var arg3 *int
+
+ var zeroVal *int
+ return zeroVal, nil
+}
+
+func (ec *executionContext) field_Bug_participants_argsLast(
+ ctx context.Context,
+ rawArgs map[string]any,
+) (*int, error) {
+ if _, ok := rawArgs["last"]; !ok {
+ var zeroVal *int
+ return zeroVal, nil
+ }
+
+ ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("last"))
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
- }
+ return ec.unmarshalOInt2ᚖint(ctx, tmp)
+ }
+
+ var zeroVal *int
+ return zeroVal, nil
+}
+
+func (ec *executionContext) field_Bug_timeline_args(ctx context.Context, rawArgs map[string]any) (map[string]any, error) {
+ var err error
+ args := map[string]any{}
+ arg0, err := ec.field_Bug_timeline_argsAfter(ctx, rawArgs)
+ if err != nil {
+ return nil, err
+ }
+ args["after"] = arg0
+ arg1, err := ec.field_Bug_timeline_argsBefore(ctx, rawArgs)
+ if err != nil {
+ return nil, err
+ }
+ args["before"] = arg1
+ arg2, err := ec.field_Bug_timeline_argsFirst(ctx, rawArgs)
+ if err != nil {
+ return nil, err
+ }
+ args["first"] = arg2
+ arg3, err := ec.field_Bug_timeline_argsLast(ctx, rawArgs)
+ if err != nil {
+ return nil, err
}
args["last"] = arg3
return args, nil
}
+func (ec *executionContext) field_Bug_timeline_argsAfter(
+ ctx context.Context,
+ rawArgs map[string]any,
+) (*string, error) {
+ if _, ok := rawArgs["after"]; !ok {
+ var zeroVal *string
+ return zeroVal, nil
+ }
+
+ ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("after"))
+ if tmp, ok := rawArgs["after"]; ok {
+ return ec.unmarshalOString2ᚖstring(ctx, tmp)
+ }
+
+ var zeroVal *string
+ return zeroVal, nil
+}
+
+func (ec *executionContext) field_Bug_timeline_argsBefore(
+ ctx context.Context,
+ rawArgs map[string]any,
+) (*string, error) {
+ if _, ok := rawArgs["before"]; !ok {
+ var zeroVal *string
+ return zeroVal, nil
+ }
+
+ ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("before"))
+ if tmp, ok := rawArgs["before"]; ok {
+ return ec.unmarshalOString2ᚖstring(ctx, tmp)
+ }
+
+ var zeroVal *string
+ return zeroVal, nil
+}
+
+func (ec *executionContext) field_Bug_timeline_argsFirst(
+ ctx context.Context,
+ rawArgs map[string]any,
+) (*int, error) {
+ if _, ok := rawArgs["first"]; !ok {
+ var zeroVal *int
+ return zeroVal, nil
+ }
+
+ ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("first"))
+ if tmp, ok := rawArgs["first"]; ok {
+ return ec.unmarshalOInt2ᚖint(ctx, tmp)
+ }
+
+ var zeroVal *int
+ return zeroVal, nil
+}
+
+func (ec *executionContext) field_Bug_timeline_argsLast(
+ ctx context.Context,
+ rawArgs map[string]any,
+) (*int, error) {
+ if _, ok := rawArgs["last"]; !ok {
+ var zeroVal *int
+ return zeroVal, nil
+ }
+
+ ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("last"))
+ if tmp, ok := rawArgs["last"]; ok {
+ return ec.unmarshalOInt2ᚖint(ctx, tmp)
+ }
+
+ var zeroVal *int
+ return zeroVal, nil
+}
// endregion ***************************** args.gotpl *****************************
@@ -264,7 +539,7 @@ func (ec *executionContext) _Bug_id(ctx context.Context, field graphql.Collected
ret = graphql.Null
}
}()
- resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
+ resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
ctx = rctx // use context from middleware stack in children
return obj.Id(), nil
})
@@ -308,7 +583,7 @@ func (ec *executionContext) _Bug_humanId(ctx context.Context, field graphql.Coll
ret = graphql.Null
}
}()
- resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
+ resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
ctx = rctx // use context from middleware stack in children
return ec.resolvers.Bug().HumanID(rctx, obj)
})
@@ -352,7 +627,7 @@ func (ec *executionContext) _Bug_status(ctx context.Context, field graphql.Colle
ret = graphql.Null
}
}()
- resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
+ resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
ctx = rctx // use context from middleware stack in children
return obj.Status(), nil
})
@@ -396,7 +671,7 @@ func (ec *executionContext) _Bug_title(ctx context.Context, field graphql.Collec
ret = graphql.Null
}
}()
- resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
+ resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
ctx = rctx // use context from middleware stack in children
return obj.Title(), nil
})
@@ -440,7 +715,7 @@ func (ec *executionContext) _Bug_labels(ctx context.Context, field graphql.Colle
ret = graphql.Null
}
}()
- resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
+ resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
ctx = rctx // use context from middleware stack in children
return obj.Labels(), nil
})
@@ -490,7 +765,7 @@ func (ec *executionContext) _Bug_author(ctx context.Context, field graphql.Colle
ret = graphql.Null
}
}()
- resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
+ resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
ctx = rctx // use context from middleware stack in children
return obj.Author()
})
@@ -552,7 +827,7 @@ func (ec *executionContext) _Bug_createdAt(ctx context.Context, field graphql.Co
ret = graphql.Null
}
}()
- resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
+ resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
ctx = rctx // use context from middleware stack in children
return obj.CreatedAt(), nil
})
@@ -596,7 +871,7 @@ func (ec *executionContext) _Bug_lastEdit(ctx context.Context, field graphql.Col
ret = graphql.Null
}
}()
- resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
+ resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
ctx = rctx // use context from middleware stack in children
return obj.LastEdit(), nil
})
@@ -640,7 +915,7 @@ func (ec *executionContext) _Bug_actors(ctx context.Context, field graphql.Colle
ret = graphql.Null
}
}()
- resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
+ resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
ctx = rctx // use context from middleware stack in children
return ec.resolvers.Bug().Actors(rctx, obj, fc.Args["after"].(*string), fc.Args["before"].(*string), fc.Args["first"].(*int), fc.Args["last"].(*int))
})
@@ -705,7 +980,7 @@ func (ec *executionContext) _Bug_participants(ctx context.Context, field graphql
ret = graphql.Null
}
}()
- resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
+ resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
ctx = rctx // use context from middleware stack in children
return ec.resolvers.Bug().Participants(rctx, obj, fc.Args["after"].(*string), fc.Args["before"].(*string), fc.Args["first"].(*int), fc.Args["last"].(*int))
})
@@ -770,7 +1045,7 @@ func (ec *executionContext) _Bug_comments(ctx context.Context, field graphql.Col
ret = graphql.Null
}
}()
- resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
+ resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
ctx = rctx // use context from middleware stack in children
return ec.resolvers.Bug().Comments(rctx, obj, fc.Args["after"].(*string), fc.Args["before"].(*string), fc.Args["first"].(*int), fc.Args["last"].(*int))
})
@@ -835,7 +1110,7 @@ func (ec *executionContext) _Bug_timeline(ctx context.Context, field graphql.Col
ret = graphql.Null
}
}()
- resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
+ resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
ctx = rctx // use context from middleware stack in children
return ec.resolvers.Bug().Timeline(rctx, obj, fc.Args["after"].(*string), fc.Args["before"].(*string), fc.Args["first"].(*int), fc.Args["last"].(*int))
})
@@ -900,7 +1175,7 @@ func (ec *executionContext) _Bug_operations(ctx context.Context, field graphql.C
ret = graphql.Null
}
}()
- resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
+ resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
ctx = rctx // use context from middleware stack in children
return ec.resolvers.Bug().Operations(rctx, obj, fc.Args["after"].(*string), fc.Args["before"].(*string), fc.Args["first"].(*int), fc.Args["last"].(*int))
})
@@ -965,7 +1240,7 @@ func (ec *executionContext) _BugConnection_edges(ctx context.Context, field grap
ret = graphql.Null
}
}()
- resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
+ resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
ctx = rctx // use context from middleware stack in children
return obj.Edges, nil
})
@@ -1015,7 +1290,7 @@ func (ec *executionContext) _BugConnection_nodes(ctx context.Context, field grap
ret = graphql.Null
}
}()
- resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
+ resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
ctx = rctx // use context from middleware stack in children
return obj.Nodes, nil
})
@@ -1087,7 +1362,7 @@ func (ec *executionContext) _BugConnection_pageInfo(ctx context.Context, field g
ret = graphql.Null
}
}()
- resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
+ resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
ctx = rctx // use context from middleware stack in children
return obj.PageInfo, nil
})
@@ -1141,7 +1416,7 @@ func (ec *executionContext) _BugConnection_totalCount(ctx context.Context, field
ret = graphql.Null
}
}()
- resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
+ resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
ctx = rctx // use context from middleware stack in children
return obj.TotalCount, nil
})
@@ -1185,7 +1460,7 @@ func (ec *executionContext) _BugEdge_cursor(ctx context.Context, field graphql.C
ret = graphql.Null
}
}()
- resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
+ resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
ctx = rctx // use context from middleware stack in children
return obj.Cursor, nil
})
@@ -1229,7 +1504,7 @@ func (ec *executionContext) _BugEdge_node(ctx context.Context, field graphql.Col
ret = graphql.Null
}
}()
- resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
+ resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
ctx = rctx // use context from middleware stack in children
return obj.Node, nil
})
@@ -48,7 +48,7 @@ func (ec *executionContext) _BugComment_id(ctx context.Context, field graphql.Co
ret = graphql.Null
}
}()
- resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
+ resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
ctx = rctx // use context from middleware stack in children
return obj.CombinedId(), nil
})
@@ -92,7 +92,7 @@ func (ec *executionContext) _BugComment_author(ctx context.Context, field graphq
ret = graphql.Null
}
}()
- resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
+ resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
ctx = rctx // use context from middleware stack in children
return ec.resolvers.BugComment().Author(rctx, obj)
})
@@ -154,7 +154,7 @@ func (ec *executionContext) _BugComment_message(ctx context.Context, field graph
ret = graphql.Null
}
}()
- resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
+ resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
ctx = rctx // use context from middleware stack in children
return obj.Message, nil
})
@@ -198,7 +198,7 @@ func (ec *executionContext) _BugComment_files(ctx context.Context, field graphql
ret = graphql.Null
}
}()
- resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
+ resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
ctx = rctx // use context from middleware stack in children
return obj.Files, nil
})
@@ -242,7 +242,7 @@ func (ec *executionContext) _BugCommentConnection_edges(ctx context.Context, fie
ret = graphql.Null
}
}()
- resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
+ resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
ctx = rctx // use context from middleware stack in children
return obj.Edges, nil
})
@@ -292,7 +292,7 @@ func (ec *executionContext) _BugCommentConnection_nodes(ctx context.Context, fie
ret = graphql.Null
}
}()
- resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
+ resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
ctx = rctx // use context from middleware stack in children
return obj.Nodes, nil
})
@@ -346,7 +346,7 @@ func (ec *executionContext) _BugCommentConnection_pageInfo(ctx context.Context,
ret = graphql.Null
}
}()
- resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
+ resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
ctx = rctx // use context from middleware stack in children
return obj.PageInfo, nil
})
@@ -400,7 +400,7 @@ func (ec *executionContext) _BugCommentConnection_totalCount(ctx context.Context
ret = graphql.Null
}
}()
- resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
+ resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
ctx = rctx // use context from middleware stack in children
return obj.TotalCount, nil
})
@@ -444,7 +444,7 @@ func (ec *executionContext) _BugCommentEdge_cursor(ctx context.Context, field gr
ret = graphql.Null
}
}()
- resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
+ resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
ctx = rctx // use context from middleware stack in children
return obj.Cursor, nil
})
@@ -488,7 +488,7 @@ func (ec *executionContext) _BugCommentEdge_node(ctx context.Context, field grap
ret = graphql.Null
}
}()
- resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
+ resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
ctx = rctx // use context from middleware stack in children
return obj.Node, nil
})
@@ -41,7 +41,7 @@ func (ec *executionContext) _BugAddCommentAndClosePayload_clientMutationId(ctx c
ret = graphql.Null
}
}()
- resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
+ resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
ctx = rctx // use context from middleware stack in children
return obj.ClientMutationID, nil
})
@@ -82,7 +82,7 @@ func (ec *executionContext) _BugAddCommentAndClosePayload_bug(ctx context.Contex
ret = graphql.Null
}
}()
- resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
+ resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
ctx = rctx // use context from middleware stack in children
return obj.Bug, nil
})
@@ -154,7 +154,7 @@ func (ec *executionContext) _BugAddCommentAndClosePayload_commentOperation(ctx c
ret = graphql.Null
}
}()
- resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
+ resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
ctx = rctx // use context from middleware stack in children
return obj.CommentOperation, nil
})
@@ -210,7 +210,7 @@ func (ec *executionContext) _BugAddCommentAndClosePayload_statusOperation(ctx co
ret = graphql.Null
}
}()
- resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
+ resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
ctx = rctx // use context from middleware stack in children
return obj.StatusOperation, nil
})
@@ -264,7 +264,7 @@ func (ec *executionContext) _BugAddCommentAndReopenPayload_clientMutationId(ctx
ret = graphql.Null
}
}()
- resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
+ resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
ctx = rctx // use context from middleware stack in children
return obj.ClientMutationID, nil
})
@@ -305,7 +305,7 @@ func (ec *executionContext) _BugAddCommentAndReopenPayload_bug(ctx context.Conte
ret = graphql.Null
}
}()
- resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
+ resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
ctx = rctx // use context from middleware stack in children
return obj.Bug, nil
})
@@ -377,7 +377,7 @@ func (ec *executionContext) _BugAddCommentAndReopenPayload_commentOperation(ctx
ret = graphql.Null
}
}()
- resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
+ resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
ctx = rctx // use context from middleware stack in children
return obj.CommentOperation, nil
})
@@ -433,7 +433,7 @@ func (ec *executionContext) _BugAddCommentAndReopenPayload_statusOperation(ctx c
ret = graphql.Null
}
}()
- resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
+ resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
ctx = rctx // use context from middleware stack in children
return obj.StatusOperation, nil
})
@@ -487,7 +487,7 @@ func (ec *executionContext) _BugAddCommentPayload_clientMutationId(ctx context.C
ret = graphql.Null
}
}()
- resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
+ resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
ctx = rctx // use context from middleware stack in children
return obj.ClientMutationID, nil
})
@@ -528,7 +528,7 @@ func (ec *executionContext) _BugAddCommentPayload_bug(ctx context.Context, field
ret = graphql.Null
}
}()
- resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
+ resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
ctx = rctx // use context from middleware stack in children
return obj.Bug, nil
})
@@ -600,7 +600,7 @@ func (ec *executionContext) _BugAddCommentPayload_operation(ctx context.Context,
ret = graphql.Null
}
}()
- resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
+ resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
ctx = rctx // use context from middleware stack in children
return obj.Operation, nil
})
@@ -656,7 +656,7 @@ func (ec *executionContext) _BugChangeLabelPayload_clientMutationId(ctx context.
ret = graphql.Null
}
}()
- resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
+ resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
ctx = rctx // use context from middleware stack in children
return obj.ClientMutationID, nil
})
@@ -697,7 +697,7 @@ func (ec *executionContext) _BugChangeLabelPayload_bug(ctx context.Context, fiel
ret = graphql.Null
}
}()
- resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
+ resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
ctx = rctx // use context from middleware stack in children
return obj.Bug, nil
})
@@ -769,7 +769,7 @@ func (ec *executionContext) _BugChangeLabelPayload_operation(ctx context.Context
ret = graphql.Null
}
}()
- resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
+ resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
ctx = rctx // use context from middleware stack in children
return obj.Operation, nil
})
@@ -825,7 +825,7 @@ func (ec *executionContext) _BugChangeLabelPayload_results(ctx context.Context,
ret = graphql.Null
}
}()
- resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
+ resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
ctx = rctx // use context from middleware stack in children
return obj.Results, nil
})
@@ -875,7 +875,7 @@ func (ec *executionContext) _BugCreatePayload_clientMutationId(ctx context.Conte
ret = graphql.Null
}
}()
- resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
+ resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
ctx = rctx // use context from middleware stack in children
return obj.ClientMutationID, nil
})
@@ -916,7 +916,7 @@ func (ec *executionContext) _BugCreatePayload_bug(ctx context.Context, field gra
ret = graphql.Null
}
}()
- resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
+ resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
ctx = rctx // use context from middleware stack in children
return obj.Bug, nil
})
@@ -988,7 +988,7 @@ func (ec *executionContext) _BugCreatePayload_operation(ctx context.Context, fie
ret = graphql.Null
}
}()
- resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
+ resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
ctx = rctx // use context from middleware stack in children
return obj.Operation, nil
})
@@ -1046,7 +1046,7 @@ func (ec *executionContext) _BugEditCommentPayload_clientMutationId(ctx context.
ret = graphql.Null
}
}()
- resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
+ resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
ctx = rctx // use context from middleware stack in children
return obj.ClientMutationID, nil
})
@@ -1087,7 +1087,7 @@ func (ec *executionContext) _BugEditCommentPayload_bug(ctx context.Context, fiel
ret = graphql.Null
}
}()
- resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
+ resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
ctx = rctx // use context from middleware stack in children
return obj.Bug, nil
})
@@ -1159,7 +1159,7 @@ func (ec *executionContext) _BugEditCommentPayload_operation(ctx context.Context
ret = graphql.Null
}
}()
- resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
+ resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
ctx = rctx // use context from middleware stack in children
return obj.Operation, nil
})
@@ -1217,7 +1217,7 @@ func (ec *executionContext) _BugSetTitlePayload_clientMutationId(ctx context.Con
ret = graphql.Null
}
}()
- resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
+ resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
ctx = rctx // use context from middleware stack in children
return obj.ClientMutationID, nil
})
@@ -1258,7 +1258,7 @@ func (ec *executionContext) _BugSetTitlePayload_bug(ctx context.Context, field g
ret = graphql.Null
}
}()
- resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
+ resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
ctx = rctx // use context from middleware stack in children
return obj.Bug, nil
})
@@ -1330,7 +1330,7 @@ func (ec *executionContext) _BugSetTitlePayload_operation(ctx context.Context, f
ret = graphql.Null
}
}()
- resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
+ resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
ctx = rctx // use context from middleware stack in children
return obj.Operation, nil
})
@@ -1386,7 +1386,7 @@ func (ec *executionContext) _BugStatusClosePayload_clientMutationId(ctx context.
ret = graphql.Null
}
}()
- resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
+ resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
ctx = rctx // use context from middleware stack in children
return obj.ClientMutationID, nil
})
@@ -1427,7 +1427,7 @@ func (ec *executionContext) _BugStatusClosePayload_bug(ctx context.Context, fiel
ret = graphql.Null
}
}()
- resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
+ resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
ctx = rctx // use context from middleware stack in children
return obj.Bug, nil
})
@@ -1499,7 +1499,7 @@ func (ec *executionContext) _BugStatusClosePayload_operation(ctx context.Context
ret = graphql.Null
}
}()
- resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
+ resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
ctx = rctx // use context from middleware stack in children
return obj.Operation, nil
})
@@ -1553,7 +1553,7 @@ func (ec *executionContext) _BugStatusOpenPayload_clientMutationId(ctx context.C
ret = graphql.Null
}
}()
- resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
+ resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
ctx = rctx // use context from middleware stack in children
return obj.ClientMutationID, nil
})
@@ -1594,7 +1594,7 @@ func (ec *executionContext) _BugStatusOpenPayload_bug(ctx context.Context, field
ret = graphql.Null
}
}()
- resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
+ resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
ctx = rctx // use context from middleware stack in children
return obj.Bug, nil
})
@@ -1666,7 +1666,7 @@ func (ec *executionContext) _BugStatusOpenPayload_operation(ctx context.Context,
ret = graphql.Null
}
}()
- resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
+ resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
ctx = rctx // use context from middleware stack in children
return obj.Operation, nil
})
@@ -1712,10 +1712,10 @@ func (ec *executionContext) fieldContext_BugStatusOpenPayload_operation(_ contex
// region **************************** input.gotpl *****************************
-func (ec *executionContext) unmarshalInputBugAddCommentAndCloseInput(ctx context.Context, obj interface{}) (models.BugAddCommentAndCloseInput, error) {
+func (ec *executionContext) unmarshalInputBugAddCommentAndCloseInput(ctx context.Context, obj any) (models.BugAddCommentAndCloseInput, error) {
var it models.BugAddCommentAndCloseInput
- asMap := map[string]interface{}{}
- for k, v := range obj.(map[string]interface{}) {
+ asMap := map[string]any{}
+ for k, v := range obj.(map[string]any) {
asMap[k] = v
}
@@ -1767,10 +1767,10 @@ func (ec *executionContext) unmarshalInputBugAddCommentAndCloseInput(ctx context
return it, nil
}
-func (ec *executionContext) unmarshalInputBugAddCommentAndReopenInput(ctx context.Context, obj interface{}) (models.BugAddCommentAndReopenInput, error) {
+func (ec *executionContext) unmarshalInputBugAddCommentAndReopenInput(ctx context.Context, obj any) (models.BugAddCommentAndReopenInput, error) {
var it models.BugAddCommentAndReopenInput
- asMap := map[string]interface{}{}
- for k, v := range obj.(map[string]interface{}) {
+ asMap := map[string]any{}
+ for k, v := range obj.(map[string]any) {
asMap[k] = v
}
@@ -1822,10 +1822,10 @@ func (ec *executionContext) unmarshalInputBugAddCommentAndReopenInput(ctx contex
return it, nil
}
-func (ec *executionContext) unmarshalInputBugAddCommentInput(ctx context.Context, obj interface{}) (models.BugAddCommentInput, error) {
+func (ec *executionContext) unmarshalInputBugAddCommentInput(ctx context.Context, obj any) (models.BugAddCommentInput, error) {
var it models.BugAddCommentInput
- asMap := map[string]interface{}{}
- for k, v := range obj.(map[string]interface{}) {
+ asMap := map[string]any{}
+ for k, v := range obj.(map[string]any) {
asMap[k] = v
}
@@ -1877,10 +1877,10 @@ func (ec *executionContext) unmarshalInputBugAddCommentInput(ctx context.Context
return it, nil
}
-func (ec *executionContext) unmarshalInputBugChangeLabelInput(ctx context.Context, obj interface{}) (models.BugChangeLabelInput, error) {
+func (ec *executionContext) unmarshalInputBugChangeLabelInput(ctx context.Context, obj any) (models.BugChangeLabelInput, error) {
var it models.BugChangeLabelInput
- asMap := map[string]interface{}{}
- for k, v := range obj.(map[string]interface{}) {
+ asMap := map[string]any{}
+ for k, v := range obj.(map[string]any) {
asMap[k] = v
}
@@ -1932,10 +1932,10 @@ func (ec *executionContext) unmarshalInputBugChangeLabelInput(ctx context.Contex
return it, nil
}
-func (ec *executionContext) unmarshalInputBugCreateInput(ctx context.Context, obj interface{}) (models.BugCreateInput, error) {
+func (ec *executionContext) unmarshalInputBugCreateInput(ctx context.Context, obj any) (models.BugCreateInput, error) {
var it models.BugCreateInput
- asMap := map[string]interface{}{}
- for k, v := range obj.(map[string]interface{}) {
+ asMap := map[string]any{}
+ for k, v := range obj.(map[string]any) {
asMap[k] = v
}
@@ -1987,10 +1987,10 @@ func (ec *executionContext) unmarshalInputBugCreateInput(ctx context.Context, ob
return it, nil
}
-func (ec *executionContext) unmarshalInputBugEditCommentInput(ctx context.Context, obj interface{}) (models.BugEditCommentInput, error) {
+func (ec *executionContext) unmarshalInputBugEditCommentInput(ctx context.Context, obj any) (models.BugEditCommentInput, error) {
var it models.BugEditCommentInput
- asMap := map[string]interface{}{}
- for k, v := range obj.(map[string]interface{}) {
+ asMap := map[string]any{}
+ for k, v := range obj.(map[string]any) {
asMap[k] = v
}
@@ -2042,10 +2042,10 @@ func (ec *executionContext) unmarshalInputBugEditCommentInput(ctx context.Contex
return it, nil
}
-func (ec *executionContext) unmarshalInputBugSetTitleInput(ctx context.Context, obj interface{}) (models.BugSetTitleInput, error) {
+func (ec *executionContext) unmarshalInputBugSetTitleInput(ctx context.Context, obj any) (models.BugSetTitleInput, error) {
var it models.BugSetTitleInput
- asMap := map[string]interface{}{}
- for k, v := range obj.(map[string]interface{}) {
+ asMap := map[string]any{}
+ for k, v := range obj.(map[string]any) {
asMap[k] = v
}
@@ -2090,10 +2090,10 @@ func (ec *executionContext) unmarshalInputBugSetTitleInput(ctx context.Context,
return it, nil
}
-func (ec *executionContext) unmarshalInputBugStatusCloseInput(ctx context.Context, obj interface{}) (models.BugStatusCloseInput, error) {
+func (ec *executionContext) unmarshalInputBugStatusCloseInput(ctx context.Context, obj any) (models.BugStatusCloseInput, error) {
var it models.BugStatusCloseInput
- asMap := map[string]interface{}{}
- for k, v := range obj.(map[string]interface{}) {
+ asMap := map[string]any{}
+ for k, v := range obj.(map[string]any) {
asMap[k] = v
}
@@ -2131,10 +2131,10 @@ func (ec *executionContext) unmarshalInputBugStatusCloseInput(ctx context.Contex
return it, nil
}
-func (ec *executionContext) unmarshalInputBugStatusOpenInput(ctx context.Context, obj interface{}) (models.BugStatusOpenInput, error) {
+func (ec *executionContext) unmarshalInputBugStatusOpenInput(ctx context.Context, obj any) (models.BugStatusOpenInput, error) {
var it models.BugStatusOpenInput
- asMap := map[string]interface{}{}
- for k, v := range obj.(map[string]interface{}) {
+ asMap := map[string]any{}
+ for k, v := range obj.(map[string]any) {
asMap[k] = v
}
@@ -2613,7 +2613,7 @@ func (ec *executionContext) _BugStatusOpenPayload(ctx context.Context, sel ast.S
// region ***************************** type.gotpl *****************************
-func (ec *executionContext) unmarshalNBugAddCommentAndCloseInput2githubᚗcomᚋgitᚑbugᚋgitᚑbugᚋapiᚋgraphqlᚋmodelsᚐBugAddCommentAndCloseInput(ctx context.Context, v interface{}) (models.BugAddCommentAndCloseInput, error) {
+func (ec *executionContext) unmarshalNBugAddCommentAndCloseInput2githubᚗcomᚋgitᚑbugᚋgitᚑbugᚋapiᚋgraphqlᚋmodelsᚐBugAddCommentAndCloseInput(ctx context.Context, v any) (models.BugAddCommentAndCloseInput, error) {
res, err := ec.unmarshalInputBugAddCommentAndCloseInput(ctx, v)
return res, graphql.ErrorOnPath(ctx, err)
}
@@ -2632,7 +2632,7 @@ func (ec *executionContext) marshalNBugAddCommentAndClosePayload2ᚖgithubᚗcom
return ec._BugAddCommentAndClosePayload(ctx, sel, v)
}
-func (ec *executionContext) unmarshalNBugAddCommentAndReopenInput2githubᚗcomᚋgitᚑbugᚋgitᚑbugᚋapiᚋgraphqlᚋmodelsᚐBugAddCommentAndReopenInput(ctx context.Context, v interface{}) (models.BugAddCommentAndReopenInput, error) {
+func (ec *executionContext) unmarshalNBugAddCommentAndReopenInput2githubᚗcomᚋgitᚑbugᚋgitᚑbugᚋapiᚋgraphqlᚋmodelsᚐBugAddCommentAndReopenInput(ctx context.Context, v any) (models.BugAddCommentAndReopenInput, error) {
res, err := ec.unmarshalInputBugAddCommentAndReopenInput(ctx, v)
return res, graphql.ErrorOnPath(ctx, err)
}
@@ -2651,7 +2651,7 @@ func (ec *executionContext) marshalNBugAddCommentAndReopenPayload2ᚖgithubᚗco
return ec._BugAddCommentAndReopenPayload(ctx, sel, v)
}
-func (ec *executionContext) unmarshalNBugAddCommentInput2githubᚗcomᚋgitᚑbugᚋgitᚑbugᚋapiᚋgraphqlᚋmodelsᚐBugAddCommentInput(ctx context.Context, v interface{}) (models.BugAddCommentInput, error) {
+func (ec *executionContext) unmarshalNBugAddCommentInput2githubᚗcomᚋgitᚑbugᚋgitᚑbugᚋapiᚋgraphqlᚋmodelsᚐBugAddCommentInput(ctx context.Context, v any) (models.BugAddCommentInput, error) {
res, err := ec.unmarshalInputBugAddCommentInput(ctx, v)
return res, graphql.ErrorOnPath(ctx, err)
}
@@ -2684,7 +2684,7 @@ func (ec *executionContext) marshalNBugChangeLabelPayload2ᚖgithubᚗcomᚋgit
return ec._BugChangeLabelPayload(ctx, sel, v)
}
-func (ec *executionContext) unmarshalNBugCreateInput2githubᚗcomᚋgitᚑbugᚋgitᚑbugᚋapiᚋgraphqlᚋmodelsᚐBugCreateInput(ctx context.Context, v interface{}) (models.BugCreateInput, error) {
+func (ec *executionContext) unmarshalNBugCreateInput2githubᚗcomᚋgitᚑbugᚋgitᚑbugᚋapiᚋgraphqlᚋmodelsᚐBugCreateInput(ctx context.Context, v any) (models.BugCreateInput, error) {
res, err := ec.unmarshalInputBugCreateInput(ctx, v)
return res, graphql.ErrorOnPath(ctx, err)
}
@@ -2703,7 +2703,7 @@ func (ec *executionContext) marshalNBugCreatePayload2ᚖgithubᚗcomᚋgitᚑbug
return ec._BugCreatePayload(ctx, sel, v)
}
-func (ec *executionContext) unmarshalNBugEditCommentInput2githubᚗcomᚋgitᚑbugᚋgitᚑbugᚋapiᚋgraphqlᚋmodelsᚐBugEditCommentInput(ctx context.Context, v interface{}) (models.BugEditCommentInput, error) {
+func (ec *executionContext) unmarshalNBugEditCommentInput2githubᚗcomᚋgitᚑbugᚋgitᚑbugᚋapiᚋgraphqlᚋmodelsᚐBugEditCommentInput(ctx context.Context, v any) (models.BugEditCommentInput, error) {
res, err := ec.unmarshalInputBugEditCommentInput(ctx, v)
return res, graphql.ErrorOnPath(ctx, err)
}
@@ -2722,7 +2722,7 @@ func (ec *executionContext) marshalNBugEditCommentPayload2ᚖgithubᚗcomᚋgit
return ec._BugEditCommentPayload(ctx, sel, v)
}
-func (ec *executionContext) unmarshalNBugSetTitleInput2githubᚗcomᚋgitᚑbugᚋgitᚑbugᚋapiᚋgraphqlᚋmodelsᚐBugSetTitleInput(ctx context.Context, v interface{}) (models.BugSetTitleInput, error) {
+func (ec *executionContext) unmarshalNBugSetTitleInput2githubᚗcomᚋgitᚑbugᚋgitᚑbugᚋapiᚋgraphqlᚋmodelsᚐBugSetTitleInput(ctx context.Context, v any) (models.BugSetTitleInput, error) {
res, err := ec.unmarshalInputBugSetTitleInput(ctx, v)
return res, graphql.ErrorOnPath(ctx, err)
}
@@ -2741,7 +2741,7 @@ func (ec *executionContext) marshalNBugSetTitlePayload2ᚖgithubᚗcomᚋgitᚑb
return ec._BugSetTitlePayload(ctx, sel, v)
}
-func (ec *executionContext) unmarshalNBugStatusCloseInput2githubᚗcomᚋgitᚑbugᚋgitᚑbugᚋapiᚋgraphqlᚋmodelsᚐBugStatusCloseInput(ctx context.Context, v interface{}) (models.BugStatusCloseInput, error) {
+func (ec *executionContext) unmarshalNBugStatusCloseInput2githubᚗcomᚋgitᚑbugᚋgitᚑbugᚋapiᚋgraphqlᚋmodelsᚐBugStatusCloseInput(ctx context.Context, v any) (models.BugStatusCloseInput, error) {
res, err := ec.unmarshalInputBugStatusCloseInput(ctx, v)
return res, graphql.ErrorOnPath(ctx, err)
}
@@ -2760,7 +2760,7 @@ func (ec *executionContext) marshalNBugStatusClosePayload2ᚖgithubᚗcomᚋgit
return ec._BugStatusClosePayload(ctx, sel, v)
}
-func (ec *executionContext) unmarshalNBugStatusOpenInput2githubᚗcomᚋgitᚑbugᚋgitᚑbugᚋapiᚋgraphqlᚋmodelsᚐBugStatusOpenInput(ctx context.Context, v interface{}) (models.BugStatusOpenInput, error) {
+func (ec *executionContext) unmarshalNBugStatusOpenInput2githubᚗcomᚋgitᚑbugᚋgitᚑbugᚋapiᚋgraphqlᚋmodelsᚐBugStatusOpenInput(ctx context.Context, v any) (models.BugStatusOpenInput, error) {
res, err := ec.unmarshalInputBugStatusOpenInput(ctx, v)
return res, graphql.ErrorOnPath(ctx, err)
}
@@ -2779,7 +2779,7 @@ func (ec *executionContext) marshalNBugStatusOpenPayload2ᚖgithubᚗcomᚋgit
return ec._BugStatusOpenPayload(ctx, sel, v)
}
-func (ec *executionContext) unmarshalOBugChangeLabelInput2ᚖgithubᚗcomᚋgitᚑbugᚋgitᚑbugᚋapiᚋgraphqlᚋmodelsᚐBugChangeLabelInput(ctx context.Context, v interface{}) (*models.BugChangeLabelInput, error) {
+func (ec *executionContext) unmarshalOBugChangeLabelInput2ᚖgithubᚗcomᚋgitᚑbugᚋgitᚑbugᚋapiᚋgraphqlᚋmodelsᚐBugChangeLabelInput(ctx context.Context, v any) (*models.BugChangeLabelInput, error) {
if v == nil {
return nil, nil
}
@@ -29,8 +29,6 @@ type BugCreateOperationResolver interface {
}
type BugEditCommentOperationResolver interface {
Author(ctx context.Context, obj *bug.EditCommentOperation) (models.IdentityWrapper, error)
-
- Target(ctx context.Context, obj *bug.EditCommentOperation) (string, error)
}
type BugLabelChangeOperationResolver interface {
Author(ctx context.Context, obj *bug.LabelChangeOperation) (models.IdentityWrapper, error)
@@ -66,7 +64,7 @@ func (ec *executionContext) _BugAddCommentOperation_id(ctx context.Context, fiel
ret = graphql.Null
}
}()
- resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
+ resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
ctx = rctx // use context from middleware stack in children
return obj.Id(), nil
})
@@ -110,7 +108,7 @@ func (ec *executionContext) _BugAddCommentOperation_author(ctx context.Context,
ret = graphql.Null
}
}()
- resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
+ resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
ctx = rctx // use context from middleware stack in children
return ec.resolvers.BugAddCommentOperation().Author(rctx, obj)
})
@@ -172,7 +170,7 @@ func (ec *executionContext) _BugAddCommentOperation_date(ctx context.Context, fi
ret = graphql.Null
}
}()
- resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
+ resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
ctx = rctx // use context from middleware stack in children
return obj.Time(), nil
})
@@ -216,7 +214,7 @@ func (ec *executionContext) _BugAddCommentOperation_message(ctx context.Context,
ret = graphql.Null
}
}()
- resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
+ resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
ctx = rctx // use context from middleware stack in children
return obj.Message, nil
})
@@ -260,7 +258,7 @@ func (ec *executionContext) _BugAddCommentOperation_files(ctx context.Context, f
ret = graphql.Null
}
}()
- resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
+ resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
ctx = rctx // use context from middleware stack in children
return obj.Files, nil
})
@@ -304,7 +302,7 @@ func (ec *executionContext) _BugCreateOperation_id(ctx context.Context, field gr
ret = graphql.Null
}
}()
- resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
+ resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
ctx = rctx // use context from middleware stack in children
return obj.Id(), nil
})
@@ -348,7 +346,7 @@ func (ec *executionContext) _BugCreateOperation_author(ctx context.Context, fiel
ret = graphql.Null
}
}()
- resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
+ resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
ctx = rctx // use context from middleware stack in children
return ec.resolvers.BugCreateOperation().Author(rctx, obj)
})
@@ -410,7 +408,7 @@ func (ec *executionContext) _BugCreateOperation_date(ctx context.Context, field
ret = graphql.Null
}
}()
- resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
+ resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
ctx = rctx // use context from middleware stack in children
return obj.Time(), nil
})
@@ -454,7 +452,7 @@ func (ec *executionContext) _BugCreateOperation_title(ctx context.Context, field
ret = graphql.Null
}
}()
- resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
+ resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
ctx = rctx // use context from middleware stack in children
return obj.Title, nil
})
@@ -498,7 +496,7 @@ func (ec *executionContext) _BugCreateOperation_message(ctx context.Context, fie
ret = graphql.Null
}
}()
- resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
+ resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
ctx = rctx // use context from middleware stack in children
return obj.Message, nil
})
@@ -542,7 +540,7 @@ func (ec *executionContext) _BugCreateOperation_files(ctx context.Context, field
ret = graphql.Null
}
}()
- resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
+ resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
ctx = rctx // use context from middleware stack in children
return obj.Files, nil
})
@@ -586,7 +584,7 @@ func (ec *executionContext) _BugEditCommentOperation_id(ctx context.Context, fie
ret = graphql.Null
}
}()
- resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
+ resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
ctx = rctx // use context from middleware stack in children
return obj.Id(), nil
})
@@ -630,7 +628,7 @@ func (ec *executionContext) _BugEditCommentOperation_author(ctx context.Context,
ret = graphql.Null
}
}()
- resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
+ resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
ctx = rctx // use context from middleware stack in children
return ec.resolvers.BugEditCommentOperation().Author(rctx, obj)
})
@@ -692,7 +690,7 @@ func (ec *executionContext) _BugEditCommentOperation_date(ctx context.Context, f
ret = graphql.Null
}
}()
- resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
+ resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
ctx = rctx // use context from middleware stack in children
return obj.Time(), nil
})
@@ -736,9 +734,9 @@ func (ec *executionContext) _BugEditCommentOperation_target(ctx context.Context,
ret = graphql.Null
}
}()
- resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
+ resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
ctx = rctx // use context from middleware stack in children
- return ec.resolvers.BugEditCommentOperation().Target(rctx, obj)
+ return obj.Target, nil
})
if err != nil {
ec.Error(ctx, err)
@@ -750,17 +748,17 @@ func (ec *executionContext) _BugEditCommentOperation_target(ctx context.Context,
}
return graphql.Null
}
- res := resTmp.(string)
+ res := resTmp.(entity.Id)
fc.Result = res
- return ec.marshalNString2string(ctx, field.Selections, res)
+ return ec.marshalNString2githubᚗcomᚋgitᚑbugᚋgitᚑbugᚋentityᚐId(ctx, field.Selections, res)
}
func (ec *executionContext) fieldContext_BugEditCommentOperation_target(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
fc = &graphql.FieldContext{
Object: "BugEditCommentOperation",
Field: field,
- IsMethod: true,
- IsResolver: true,
+ IsMethod: false,
+ IsResolver: false,
Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
return nil, errors.New("field of type String does not have child fields")
},
@@ -780,7 +778,7 @@ func (ec *executionContext) _BugEditCommentOperation_message(ctx context.Context
ret = graphql.Null
}
}()
- resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
+ resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
ctx = rctx // use context from middleware stack in children
return obj.Message, nil
})
@@ -824,7 +822,7 @@ func (ec *executionContext) _BugEditCommentOperation_files(ctx context.Context,
ret = graphql.Null
}
}()
- resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
+ resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
ctx = rctx // use context from middleware stack in children
return obj.Files, nil
})
@@ -868,7 +866,7 @@ func (ec *executionContext) _BugLabelChangeOperation_id(ctx context.Context, fie
ret = graphql.Null
}
}()
- resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
+ resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
ctx = rctx // use context from middleware stack in children
return obj.Id(), nil
})
@@ -912,7 +910,7 @@ func (ec *executionContext) _BugLabelChangeOperation_author(ctx context.Context,
ret = graphql.Null
}
}()
- resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
+ resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
ctx = rctx // use context from middleware stack in children
return ec.resolvers.BugLabelChangeOperation().Author(rctx, obj)
})
@@ -974,7 +972,7 @@ func (ec *executionContext) _BugLabelChangeOperation_date(ctx context.Context, f
ret = graphql.Null
}
}()
- resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
+ resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
ctx = rctx // use context from middleware stack in children
return obj.Time(), nil
})
@@ -1018,7 +1016,7 @@ func (ec *executionContext) _BugLabelChangeOperation_added(ctx context.Context,
ret = graphql.Null
}
}()
- resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
+ resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
ctx = rctx // use context from middleware stack in children
return obj.Added, nil
})
@@ -1068,7 +1066,7 @@ func (ec *executionContext) _BugLabelChangeOperation_removed(ctx context.Context
ret = graphql.Null
}
}()
- resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
+ resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
ctx = rctx // use context from middleware stack in children
return obj.Removed, nil
})
@@ -1118,7 +1116,7 @@ func (ec *executionContext) _BugSetStatusOperation_id(ctx context.Context, field
ret = graphql.Null
}
}()
- resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
+ resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
ctx = rctx // use context from middleware stack in children
return obj.Id(), nil
})
@@ -1162,7 +1160,7 @@ func (ec *executionContext) _BugSetStatusOperation_author(ctx context.Context, f
ret = graphql.Null
}
}()
- resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
+ resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
ctx = rctx // use context from middleware stack in children
return ec.resolvers.BugSetStatusOperation().Author(rctx, obj)
})
@@ -1224,7 +1222,7 @@ func (ec *executionContext) _BugSetStatusOperation_date(ctx context.Context, fie
ret = graphql.Null
}
}()
- resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
+ resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
ctx = rctx // use context from middleware stack in children
return obj.Time(), nil
})
@@ -1268,7 +1266,7 @@ func (ec *executionContext) _BugSetStatusOperation_status(ctx context.Context, f
ret = graphql.Null
}
}()
- resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
+ resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
ctx = rctx // use context from middleware stack in children
return obj.Status, nil
})
@@ -1312,7 +1310,7 @@ func (ec *executionContext) _BugSetTitleOperation_id(ctx context.Context, field
ret = graphql.Null
}
}()
- resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
+ resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
ctx = rctx // use context from middleware stack in children
return obj.Id(), nil
})
@@ -1356,7 +1354,7 @@ func (ec *executionContext) _BugSetTitleOperation_author(ctx context.Context, fi
ret = graphql.Null
}
}()
- resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
+ resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
ctx = rctx // use context from middleware stack in children
return ec.resolvers.BugSetTitleOperation().Author(rctx, obj)
})
@@ -1418,7 +1416,7 @@ func (ec *executionContext) _BugSetTitleOperation_date(ctx context.Context, fiel
ret = graphql.Null
}
}()
- resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
+ resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
ctx = rctx // use context from middleware stack in children
return obj.Time(), nil
})
@@ -1462,7 +1460,7 @@ func (ec *executionContext) _BugSetTitleOperation_title(ctx context.Context, fie
ret = graphql.Null
}
}()
- resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
+ resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
ctx = rctx // use context from middleware stack in children
return obj.Title, nil
})
@@ -1506,7 +1504,7 @@ func (ec *executionContext) _BugSetTitleOperation_was(ctx context.Context, field
ret = graphql.Null
}
}()
- resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
+ resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
ctx = rctx // use context from middleware stack in children
return obj.Was, nil
})
@@ -1793,41 +1791,10 @@ func (ec *executionContext) _BugEditCommentOperation(ctx context.Context, sel as
atomic.AddUint32(&out.Invalids, 1)
}
case "target":
- field := field
-
- innerFunc := func(ctx context.Context, fs *graphql.FieldSet) (res graphql.Marshaler) {
- defer func() {
- if r := recover(); r != nil {
- ec.Error(ctx, ec.Recover(ctx, r))
- }
- }()
- res = ec._BugEditCommentOperation_target(ctx, field, obj)
- if res == graphql.Null {
- atomic.AddUint32(&fs.Invalids, 1)
- }
- return res
- }
-
- if field.Deferrable != nil {
- dfs, ok := deferred[field.Deferrable.Label]
- di := 0
- if ok {
- dfs.AddField(field)
- di = len(dfs.Values) - 1
- } else {
- dfs = graphql.NewFieldSet([]graphql.CollectedField{field})
- deferred[field.Deferrable.Label] = dfs
- }
- dfs.Concurrently(di, func(ctx context.Context) graphql.Marshaler {
- return innerFunc(ctx, dfs)
- })
-
- // don't run the out.Concurrently() call below
- out.Values[i] = graphql.Null
- continue
+ out.Values[i] = ec._BugEditCommentOperation_target(ctx, field, obj)
+ if out.Values[i] == graphql.Null {
+ atomic.AddUint32(&out.Invalids, 1)
}
-
- out.Concurrently(i, func(ctx context.Context) graphql.Marshaler { return innerFunc(ctx, out) })
case "message":
out.Values[i] = ec._BugEditCommentOperation_message(ctx, field, obj)
if out.Values[i] == graphql.Null {
@@ -74,7 +74,7 @@ func (ec *executionContext) _BugAddCommentTimelineItem_id(ctx context.Context, f
ret = graphql.Null
}
}()
- resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
+ resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
ctx = rctx // use context from middleware stack in children
return obj.CombinedId(), nil
})
@@ -118,7 +118,7 @@ func (ec *executionContext) _BugAddCommentTimelineItem_author(ctx context.Contex
ret = graphql.Null
}
}()
- resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
+ resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
ctx = rctx // use context from middleware stack in children
return ec.resolvers.BugAddCommentTimelineItem().Author(rctx, obj)
})
@@ -180,7 +180,7 @@ func (ec *executionContext) _BugAddCommentTimelineItem_message(ctx context.Conte
ret = graphql.Null
}
}()
- resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
+ resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
ctx = rctx // use context from middleware stack in children
return obj.Message, nil
})
@@ -224,7 +224,7 @@ func (ec *executionContext) _BugAddCommentTimelineItem_messageIsEmpty(ctx contex
ret = graphql.Null
}
}()
- resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
+ resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
ctx = rctx // use context from middleware stack in children
return obj.MessageIsEmpty(), nil
})
@@ -268,7 +268,7 @@ func (ec *executionContext) _BugAddCommentTimelineItem_files(ctx context.Context
ret = graphql.Null
}
}()
- resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
+ resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
ctx = rctx // use context from middleware stack in children
return obj.Files, nil
})
@@ -312,7 +312,7 @@ func (ec *executionContext) _BugAddCommentTimelineItem_createdAt(ctx context.Con
ret = graphql.Null
}
}()
- resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
+ resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
ctx = rctx // use context from middleware stack in children
return ec.resolvers.BugAddCommentTimelineItem().CreatedAt(rctx, obj)
})
@@ -356,7 +356,7 @@ func (ec *executionContext) _BugAddCommentTimelineItem_lastEdit(ctx context.Cont
ret = graphql.Null
}
}()
- resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
+ resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
ctx = rctx // use context from middleware stack in children
return ec.resolvers.BugAddCommentTimelineItem().LastEdit(rctx, obj)
})
@@ -400,7 +400,7 @@ func (ec *executionContext) _BugAddCommentTimelineItem_edited(ctx context.Contex
ret = graphql.Null
}
}()
- resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
+ resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
ctx = rctx // use context from middleware stack in children
return obj.Edited(), nil
})
@@ -444,7 +444,7 @@ func (ec *executionContext) _BugAddCommentTimelineItem_history(ctx context.Conte
ret = graphql.Null
}
}()
- resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
+ resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
ctx = rctx // use context from middleware stack in children
return obj.History, nil
})
@@ -494,7 +494,7 @@ func (ec *executionContext) _BugCommentHistoryStep_message(ctx context.Context,
ret = graphql.Null
}
}()
- resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
+ resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
ctx = rctx // use context from middleware stack in children
return obj.Message, nil
})
@@ -538,7 +538,7 @@ func (ec *executionContext) _BugCommentHistoryStep_date(ctx context.Context, fie
ret = graphql.Null
}
}()
- resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
+ resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
ctx = rctx // use context from middleware stack in children
return ec.resolvers.BugCommentHistoryStep().Date(rctx, obj)
})
@@ -582,7 +582,7 @@ func (ec *executionContext) _BugCreateTimelineItem_id(ctx context.Context, field
ret = graphql.Null
}
}()
- resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
+ resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
ctx = rctx // use context from middleware stack in children
return obj.CombinedId(), nil
})
@@ -626,7 +626,7 @@ func (ec *executionContext) _BugCreateTimelineItem_author(ctx context.Context, f
ret = graphql.Null
}
}()
- resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
+ resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
ctx = rctx // use context from middleware stack in children
return ec.resolvers.BugCreateTimelineItem().Author(rctx, obj)
})
@@ -688,7 +688,7 @@ func (ec *executionContext) _BugCreateTimelineItem_message(ctx context.Context,
ret = graphql.Null
}
}()
- resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
+ resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
ctx = rctx // use context from middleware stack in children
return obj.Message, nil
})
@@ -732,7 +732,7 @@ func (ec *executionContext) _BugCreateTimelineItem_messageIsEmpty(ctx context.Co
ret = graphql.Null
}
}()
- resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
+ resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
ctx = rctx // use context from middleware stack in children
return obj.MessageIsEmpty(), nil
})
@@ -776,7 +776,7 @@ func (ec *executionContext) _BugCreateTimelineItem_files(ctx context.Context, fi
ret = graphql.Null
}
}()
- resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
+ resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
ctx = rctx // use context from middleware stack in children
return obj.Files, nil
})
@@ -820,7 +820,7 @@ func (ec *executionContext) _BugCreateTimelineItem_createdAt(ctx context.Context
ret = graphql.Null
}
}()
- resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
+ resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
ctx = rctx // use context from middleware stack in children
return ec.resolvers.BugCreateTimelineItem().CreatedAt(rctx, obj)
})
@@ -864,7 +864,7 @@ func (ec *executionContext) _BugCreateTimelineItem_lastEdit(ctx context.Context,
ret = graphql.Null
}
}()
- resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
+ resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
ctx = rctx // use context from middleware stack in children
return ec.resolvers.BugCreateTimelineItem().LastEdit(rctx, obj)
})
@@ -908,7 +908,7 @@ func (ec *executionContext) _BugCreateTimelineItem_edited(ctx context.Context, f
ret = graphql.Null
}
}()
- resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
+ resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
ctx = rctx // use context from middleware stack in children
return obj.Edited(), nil
})
@@ -952,7 +952,7 @@ func (ec *executionContext) _BugCreateTimelineItem_history(ctx context.Context,
ret = graphql.Null
}
}()
- resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
+ resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
ctx = rctx // use context from middleware stack in children
return obj.History, nil
})
@@ -1002,7 +1002,7 @@ func (ec *executionContext) _BugLabelChangeTimelineItem_id(ctx context.Context,
ret = graphql.Null
}
}()
- resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
+ resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
ctx = rctx // use context from middleware stack in children
return obj.CombinedId(), nil
})
@@ -1046,7 +1046,7 @@ func (ec *executionContext) _BugLabelChangeTimelineItem_author(ctx context.Conte
ret = graphql.Null
}
}()
- resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
+ resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
ctx = rctx // use context from middleware stack in children
return ec.resolvers.BugLabelChangeTimelineItem().Author(rctx, obj)
})
@@ -1108,7 +1108,7 @@ func (ec *executionContext) _BugLabelChangeTimelineItem_date(ctx context.Context
ret = graphql.Null
}
}()
- resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
+ resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
ctx = rctx // use context from middleware stack in children
return ec.resolvers.BugLabelChangeTimelineItem().Date(rctx, obj)
})
@@ -1152,7 +1152,7 @@ func (ec *executionContext) _BugLabelChangeTimelineItem_added(ctx context.Contex
ret = graphql.Null
}
}()
- resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
+ resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
ctx = rctx // use context from middleware stack in children
return obj.Added, nil
})
@@ -1202,7 +1202,7 @@ func (ec *executionContext) _BugLabelChangeTimelineItem_removed(ctx context.Cont
ret = graphql.Null
}
}()
- resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
+ resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
ctx = rctx // use context from middleware stack in children
return obj.Removed, nil
})
@@ -1252,7 +1252,7 @@ func (ec *executionContext) _BugSetStatusTimelineItem_id(ctx context.Context, fi
ret = graphql.Null
}
}()
- resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
+ resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
ctx = rctx // use context from middleware stack in children
return obj.CombinedId(), nil
})
@@ -1296,7 +1296,7 @@ func (ec *executionContext) _BugSetStatusTimelineItem_author(ctx context.Context
ret = graphql.Null
}
}()
- resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
+ resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
ctx = rctx // use context from middleware stack in children
return ec.resolvers.BugSetStatusTimelineItem().Author(rctx, obj)
})
@@ -1358,7 +1358,7 @@ func (ec *executionContext) _BugSetStatusTimelineItem_date(ctx context.Context,
ret = graphql.Null
}
}()
- resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
+ resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
ctx = rctx // use context from middleware stack in children
return ec.resolvers.BugSetStatusTimelineItem().Date(rctx, obj)
})
@@ -1402,7 +1402,7 @@ func (ec *executionContext) _BugSetStatusTimelineItem_status(ctx context.Context
ret = graphql.Null
}
}()
- resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
+ resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
ctx = rctx // use context from middleware stack in children
return obj.Status, nil
})
@@ -1446,7 +1446,7 @@ func (ec *executionContext) _BugSetTitleTimelineItem_id(ctx context.Context, fie
ret = graphql.Null
}
}()
- resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
+ resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
ctx = rctx // use context from middleware stack in children
return obj.CombinedId(), nil
})
@@ -1490,7 +1490,7 @@ func (ec *executionContext) _BugSetTitleTimelineItem_author(ctx context.Context,
ret = graphql.Null
}
}()
- resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
+ resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
ctx = rctx // use context from middleware stack in children
return ec.resolvers.BugSetTitleTimelineItem().Author(rctx, obj)
})
@@ -1552,7 +1552,7 @@ func (ec *executionContext) _BugSetTitleTimelineItem_date(ctx context.Context, f
ret = graphql.Null
}
}()
- resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
+ resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
ctx = rctx // use context from middleware stack in children
return ec.resolvers.BugSetTitleTimelineItem().Date(rctx, obj)
})
@@ -1596,7 +1596,7 @@ func (ec *executionContext) _BugSetTitleTimelineItem_title(ctx context.Context,
ret = graphql.Null
}
}()
- resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
+ resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
ctx = rctx // use context from middleware stack in children
return obj.Title, nil
})
@@ -1640,7 +1640,7 @@ func (ec *executionContext) _BugSetTitleTimelineItem_was(ctx context.Context, fi
ret = graphql.Null
}
}()
- resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
+ resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
ctx = rctx // use context from middleware stack in children
return obj.Was, nil
})
@@ -1684,7 +1684,7 @@ func (ec *executionContext) _BugTimelineItemConnection_edges(ctx context.Context
ret = graphql.Null
}
}()
- resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
+ resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
ctx = rctx // use context from middleware stack in children
return obj.Edges, nil
})
@@ -1734,7 +1734,7 @@ func (ec *executionContext) _BugTimelineItemConnection_nodes(ctx context.Context
ret = graphql.Null
}
}()
- resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
+ resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
ctx = rctx // use context from middleware stack in children
return obj.Nodes, nil
})
@@ -1778,7 +1778,7 @@ func (ec *executionContext) _BugTimelineItemConnection_pageInfo(ctx context.Cont
ret = graphql.Null
}
}()
- resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
+ resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
ctx = rctx // use context from middleware stack in children
return obj.PageInfo, nil
})
@@ -1832,7 +1832,7 @@ func (ec *executionContext) _BugTimelineItemConnection_totalCount(ctx context.Co
ret = graphql.Null
}
}()
- resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
+ resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
ctx = rctx // use context from middleware stack in children
return obj.TotalCount, nil
})
@@ -1876,7 +1876,7 @@ func (ec *executionContext) _BugTimelineItemEdge_cursor(ctx context.Context, fie
ret = graphql.Null
}
}()
- resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
+ resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
ctx = rctx // use context from middleware stack in children
return obj.Cursor, nil
})
@@ -1920,7 +1920,7 @@ func (ec *executionContext) _BugTimelineItemEdge_node(ctx context.Context, field
ret = graphql.Null
}
}()
- resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
+ resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
ctx = rctx // use context from middleware stack in children
return obj.Node, nil
})
@@ -1964,16 +1964,20 @@ func (ec *executionContext) _BugTimelineItem(ctx context.Context, sel ast.Select
switch obj := (obj).(type) {
case nil:
return graphql.Null
- case *bug.CreateTimelineItem:
+ case bug.SetTitleTimelineItem:
+ return ec._BugSetTitleTimelineItem(ctx, sel, &obj)
+ case *bug.SetTitleTimelineItem:
if obj == nil {
return graphql.Null
}
- return ec._BugCreateTimelineItem(ctx, sel, obj)
- case *bug.AddCommentTimelineItem:
+ return ec._BugSetTitleTimelineItem(ctx, sel, obj)
+ case bug.SetStatusTimelineItem:
+ return ec._BugSetStatusTimelineItem(ctx, sel, &obj)
+ case *bug.SetStatusTimelineItem:
if obj == nil {
return graphql.Null
}
- return ec._BugAddCommentTimelineItem(ctx, sel, obj)
+ return ec._BugSetStatusTimelineItem(ctx, sel, obj)
case bug.LabelChangeTimelineItem:
return ec._BugLabelChangeTimelineItem(ctx, sel, &obj)
case *bug.LabelChangeTimelineItem:
@@ -1981,20 +1985,16 @@ func (ec *executionContext) _BugTimelineItem(ctx context.Context, sel ast.Select
return graphql.Null
}
return ec._BugLabelChangeTimelineItem(ctx, sel, obj)
- case bug.SetStatusTimelineItem:
- return ec._BugSetStatusTimelineItem(ctx, sel, &obj)
- case *bug.SetStatusTimelineItem:
+ case *bug.CreateTimelineItem:
if obj == nil {
return graphql.Null
}
- return ec._BugSetStatusTimelineItem(ctx, sel, obj)
- case bug.SetTitleTimelineItem:
- return ec._BugSetTitleTimelineItem(ctx, sel, &obj)
- case *bug.SetTitleTimelineItem:
+ return ec._BugCreateTimelineItem(ctx, sel, obj)
+ case *bug.AddCommentTimelineItem:
if obj == nil {
return graphql.Null
}
- return ec._BugSetTitleTimelineItem(ctx, sel, obj)
+ return ec._BugAddCommentTimelineItem(ctx, sel, obj)
default:
panic(fmt.Errorf("unexpected type %T", obj))
}
@@ -46,7 +46,7 @@ func (ec *executionContext) _Identity_id(ctx context.Context, field graphql.Coll
ret = graphql.Null
}
}()
- resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
+ resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
ctx = rctx // use context from middleware stack in children
return obj.Id(), nil
})
@@ -90,7 +90,7 @@ func (ec *executionContext) _Identity_humanId(ctx context.Context, field graphql
ret = graphql.Null
}
}()
- resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
+ resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
ctx = rctx // use context from middleware stack in children
return ec.resolvers.Identity().HumanID(rctx, obj)
})
@@ -134,7 +134,7 @@ func (ec *executionContext) _Identity_name(ctx context.Context, field graphql.Co
ret = graphql.Null
}
}()
- resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
+ resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
ctx = rctx // use context from middleware stack in children
return obj.Name(), nil
})
@@ -175,7 +175,7 @@ func (ec *executionContext) _Identity_email(ctx context.Context, field graphql.C
ret = graphql.Null
}
}()
- resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
+ resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
ctx = rctx // use context from middleware stack in children
return obj.Email()
})
@@ -216,7 +216,7 @@ func (ec *executionContext) _Identity_login(ctx context.Context, field graphql.C
ret = graphql.Null
}
}()
- resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
+ resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
ctx = rctx // use context from middleware stack in children
return obj.Login()
})
@@ -257,7 +257,7 @@ func (ec *executionContext) _Identity_displayName(ctx context.Context, field gra
ret = graphql.Null
}
}()
- resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
+ resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
ctx = rctx // use context from middleware stack in children
return obj.DisplayName(), nil
})
@@ -301,7 +301,7 @@ func (ec *executionContext) _Identity_avatarUrl(ctx context.Context, field graph
ret = graphql.Null
}
}()
- resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
+ resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
ctx = rctx // use context from middleware stack in children
return obj.AvatarUrl()
})
@@ -342,7 +342,7 @@ func (ec *executionContext) _Identity_isProtected(ctx context.Context, field gra
ret = graphql.Null
}
}()
- resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
+ resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
ctx = rctx // use context from middleware stack in children
return obj.IsProtected()
})
@@ -386,7 +386,7 @@ func (ec *executionContext) _IdentityConnection_edges(ctx context.Context, field
ret = graphql.Null
}
}()
- resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
+ resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
ctx = rctx // use context from middleware stack in children
return obj.Edges, nil
})
@@ -436,7 +436,7 @@ func (ec *executionContext) _IdentityConnection_nodes(ctx context.Context, field
ret = graphql.Null
}
}()
- resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
+ resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
ctx = rctx // use context from middleware stack in children
return obj.Nodes, nil
})
@@ -498,7 +498,7 @@ func (ec *executionContext) _IdentityConnection_pageInfo(ctx context.Context, fi
ret = graphql.Null
}
}()
- resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
+ resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
ctx = rctx // use context from middleware stack in children
return obj.PageInfo, nil
})
@@ -552,7 +552,7 @@ func (ec *executionContext) _IdentityConnection_totalCount(ctx context.Context,
ret = graphql.Null
}
}()
- resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
+ resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
ctx = rctx // use context from middleware stack in children
return obj.TotalCount, nil
})
@@ -596,7 +596,7 @@ func (ec *executionContext) _IdentityEdge_cursor(ctx context.Context, field grap
ret = graphql.Null
}
}()
- resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
+ resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
ctx = rctx // use context from middleware stack in children
return obj.Cursor, nil
})
@@ -640,7 +640,7 @@ func (ec *executionContext) _IdentityEdge_node(ctx context.Context, field graphq
ret = graphql.Null
}
}()
- resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
+ resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
ctx = rctx // use context from middleware stack in children
return obj.Node, nil
})
@@ -49,7 +49,7 @@ func (ec *executionContext) _Label_name(ctx context.Context, field graphql.Colle
ret = graphql.Null
}
}()
- resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
+ resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
ctx = rctx // use context from middleware stack in children
return ec.resolvers.Label().Name(rctx, obj)
})
@@ -93,7 +93,7 @@ func (ec *executionContext) _Label_color(ctx context.Context, field graphql.Coll
ret = graphql.Null
}
}()
- resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
+ resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
ctx = rctx // use context from middleware stack in children
return ec.resolvers.Label().Color(rctx, obj)
})
@@ -145,7 +145,7 @@ func (ec *executionContext) _LabelChangeResult_label(ctx context.Context, field
ret = graphql.Null
}
}()
- resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
+ resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
ctx = rctx // use context from middleware stack in children
return obj.Label, nil
})
@@ -195,7 +195,7 @@ func (ec *executionContext) _LabelChangeResult_status(ctx context.Context, field
ret = graphql.Null
}
}()
- resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
+ resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
ctx = rctx // use context from middleware stack in children
return obj.Status, nil
})
@@ -239,7 +239,7 @@ func (ec *executionContext) _LabelConnection_edges(ctx context.Context, field gr
ret = graphql.Null
}
}()
- resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
+ resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
ctx = rctx // use context from middleware stack in children
return obj.Edges, nil
})
@@ -289,7 +289,7 @@ func (ec *executionContext) _LabelConnection_nodes(ctx context.Context, field gr
ret = graphql.Null
}
}()
- resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
+ resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
ctx = rctx // use context from middleware stack in children
return obj.Nodes, nil
})
@@ -339,7 +339,7 @@ func (ec *executionContext) _LabelConnection_pageInfo(ctx context.Context, field
ret = graphql.Null
}
}()
- resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
+ resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
ctx = rctx // use context from middleware stack in children
return obj.PageInfo, nil
})
@@ -393,7 +393,7 @@ func (ec *executionContext) _LabelConnection_totalCount(ctx context.Context, fie
ret = graphql.Null
}
}()
- resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
+ resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
ctx = rctx // use context from middleware stack in children
return obj.TotalCount, nil
})
@@ -437,7 +437,7 @@ func (ec *executionContext) _LabelEdge_cursor(ctx context.Context, field graphql
ret = graphql.Null
}
}()
- resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
+ resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
ctx = rctx // use context from middleware stack in children
return obj.Cursor, nil
})
@@ -481,7 +481,7 @@ func (ec *executionContext) _LabelEdge_node(ctx context.Context, field graphql.C
ret = graphql.Null
}
}()
- resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
+ resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
ctx = rctx // use context from middleware stack in children
return obj.Node, nil
})
@@ -869,7 +869,7 @@ func (ec *executionContext) marshalNLabelChangeResult2ᚕᚖgithubᚗcomᚋgit
return ret
}
-func (ec *executionContext) unmarshalNLabelChangeStatus2githubᚗcomᚋgitᚑbugᚋgitᚑbugᚋentitiesᚋbugᚐLabelChangeStatus(ctx context.Context, v interface{}) (bug.LabelChangeStatus, error) {
+func (ec *executionContext) unmarshalNLabelChangeStatus2githubᚗcomᚋgitᚑbugᚋgitᚑbugᚋentitiesᚋbugᚐLabelChangeStatus(ctx context.Context, v any) (bug.LabelChangeStatus, error) {
var res bug.LabelChangeStatus
err := res.UnmarshalGQL(v)
return res, graphql.ErrorOnPath(ctx, err)
@@ -43,7 +43,7 @@ func (ec *executionContext) _OperationConnection_edges(ctx context.Context, fiel
ret = graphql.Null
}
}()
- resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
+ resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
ctx = rctx // use context from middleware stack in children
return obj.Edges, nil
})
@@ -93,7 +93,7 @@ func (ec *executionContext) _OperationConnection_nodes(ctx context.Context, fiel
ret = graphql.Null
}
}()
- resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
+ resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
ctx = rctx // use context from middleware stack in children
return obj.Nodes, nil
})
@@ -137,7 +137,7 @@ func (ec *executionContext) _OperationConnection_pageInfo(ctx context.Context, f
ret = graphql.Null
}
}()
- resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
+ resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
ctx = rctx // use context from middleware stack in children
return obj.PageInfo, nil
})
@@ -191,7 +191,7 @@ func (ec *executionContext) _OperationConnection_totalCount(ctx context.Context,
ret = graphql.Null
}
}()
- resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
+ resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
ctx = rctx // use context from middleware stack in children
return obj.TotalCount, nil
})
@@ -235,7 +235,7 @@ func (ec *executionContext) _OperationEdge_cursor(ctx context.Context, field gra
ret = graphql.Null
}
}()
- resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
+ resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
ctx = rctx // use context from middleware stack in children
return obj.Cursor, nil
})
@@ -279,7 +279,7 @@ func (ec *executionContext) _OperationEdge_node(ctx context.Context, field graph
ret = graphql.Null
}
}()
- resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
+ resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
ctx = rctx // use context from middleware stack in children
return obj.Node, nil
})
@@ -323,36 +323,36 @@ func (ec *executionContext) _Operation(ctx context.Context, sel ast.SelectionSet
switch obj := (obj).(type) {
case nil:
return graphql.Null
- case *bug.CreateOperation:
+ case *bug.SetTitleOperation:
if obj == nil {
return graphql.Null
}
- return ec._BugCreateOperation(ctx, sel, obj)
- case *bug.SetTitleOperation:
+ return ec._BugSetTitleOperation(ctx, sel, obj)
+ case *bug.SetStatusOperation:
if obj == nil {
return graphql.Null
}
- return ec._BugSetTitleOperation(ctx, sel, obj)
- case *bug.AddCommentOperation:
+ return ec._BugSetStatusOperation(ctx, sel, obj)
+ case *bug.LabelChangeOperation:
if obj == nil {
return graphql.Null
}
- return ec._BugAddCommentOperation(ctx, sel, obj)
+ return ec._BugLabelChangeOperation(ctx, sel, obj)
case *bug.EditCommentOperation:
if obj == nil {
return graphql.Null
}
return ec._BugEditCommentOperation(ctx, sel, obj)
- case *bug.SetStatusOperation:
+ case *bug.CreateOperation:
if obj == nil {
return graphql.Null
}
- return ec._BugSetStatusOperation(ctx, sel, obj)
- case *bug.LabelChangeOperation:
+ return ec._BugCreateOperation(ctx, sel, obj)
+ case *bug.AddCommentOperation:
if obj == nil {
return graphql.Null
}
- return ec._BugLabelChangeOperation(ctx, sel, obj)
+ return ec._BugAddCommentOperation(ctx, sel, obj)
default:
panic(fmt.Errorf("unexpected type %T", obj))
}
@@ -22,59 +22,168 @@ import (
// region ***************************** args.gotpl *****************************
-func (ec *executionContext) dir_defer_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) {
+func (ec *executionContext) dir_defer_args(ctx context.Context, rawArgs map[string]any) (map[string]any, error) {
var err error
- args := map[string]interface{}{}
- var arg0 *bool
- if tmp, ok := rawArgs["if"]; ok {
- ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("if"))
- arg0, err = ec.unmarshalOBoolean2ᚖbool(ctx, tmp)
- if err != nil {
- return nil, err
- }
+ args := map[string]any{}
+ arg0, err := ec.dir_defer_argsIf(ctx, rawArgs)
+ if err != nil {
+ return nil, err
}
args["if"] = arg0
- var arg1 *string
- if tmp, ok := rawArgs["label"]; ok {
- ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("label"))
- arg1, err = ec.unmarshalOString2ᚖstring(ctx, tmp)
- if err != nil {
- return nil, err
- }
+ arg1, err := ec.dir_defer_argsLabel(ctx, rawArgs)
+ if err != nil {
+ return nil, err
}
args["label"] = arg1
return args, nil
}
+func (ec *executionContext) dir_defer_argsIf(
+ ctx context.Context,
+ rawArgs map[string]any,
+) (*bool, error) {
+ if _, ok := rawArgs["if"]; !ok {
+ var zeroVal *bool
+ return zeroVal, nil
+ }
+
+ ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("if"))
+ if tmp, ok := rawArgs["if"]; ok {
+ return ec.unmarshalOBoolean2ᚖbool(ctx, tmp)
+ }
+
+ var zeroVal *bool
+ return zeroVal, nil
+}
+
+func (ec *executionContext) dir_defer_argsLabel(
+ ctx context.Context,
+ rawArgs map[string]any,
+) (*string, error) {
+ if _, ok := rawArgs["label"]; !ok {
+ var zeroVal *string
+ return zeroVal, nil
+ }
+
+ ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("label"))
+ if tmp, ok := rawArgs["label"]; ok {
+ return ec.unmarshalOString2ᚖstring(ctx, tmp)
+ }
+
+ var zeroVal *string
+ return zeroVal, nil
+}
-func (ec *executionContext) field___Type_enumValues_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) {
+func (ec *executionContext) field___Directive_args_args(ctx context.Context, rawArgs map[string]any) (map[string]any, error) {
var err error
- args := map[string]interface{}{}
- var arg0 bool
+ args := map[string]any{}
+ arg0, err := ec.field___Directive_args_argsIncludeDeprecated(ctx, rawArgs)
+ if err != nil {
+ return nil, err
+ }
+ args["includeDeprecated"] = arg0
+ return args, nil
+}
+func (ec *executionContext) field___Directive_args_argsIncludeDeprecated(
+ ctx context.Context,
+ rawArgs map[string]any,
+) (*bool, error) {
+ if _, ok := rawArgs["includeDeprecated"]; !ok {
+ var zeroVal *bool
+ return zeroVal, nil
+ }
+
+ ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("includeDeprecated"))
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
- }
+ return ec.unmarshalOBoolean2ᚖbool(ctx, tmp)
+ }
+
+ var zeroVal *bool
+ return zeroVal, nil
+}
+
+func (ec *executionContext) field___Field_args_args(ctx context.Context, rawArgs map[string]any) (map[string]any, error) {
+ var err error
+ args := map[string]any{}
+ arg0, err := ec.field___Field_args_argsIncludeDeprecated(ctx, rawArgs)
+ if err != nil {
+ return nil, err
}
args["includeDeprecated"] = arg0
return args, nil
}
+func (ec *executionContext) field___Field_args_argsIncludeDeprecated(
+ ctx context.Context,
+ rawArgs map[string]any,
+) (*bool, error) {
+ if _, ok := rawArgs["includeDeprecated"]; !ok {
+ var zeroVal *bool
+ return zeroVal, nil
+ }
-func (ec *executionContext) field___Type_fields_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) {
+ ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("includeDeprecated"))
+ if tmp, ok := rawArgs["includeDeprecated"]; ok {
+ return ec.unmarshalOBoolean2ᚖbool(ctx, tmp)
+ }
+
+ var zeroVal *bool
+ return zeroVal, nil
+}
+
+func (ec *executionContext) field___Type_enumValues_args(ctx context.Context, rawArgs map[string]any) (map[string]any, error) {
var err error
- args := map[string]interface{}{}
- var arg0 bool
+ args := map[string]any{}
+ arg0, err := ec.field___Type_enumValues_argsIncludeDeprecated(ctx, rawArgs)
+ if err != nil {
+ return nil, err
+ }
+ args["includeDeprecated"] = arg0
+ return args, nil
+}
+func (ec *executionContext) field___Type_enumValues_argsIncludeDeprecated(
+ ctx context.Context,
+ rawArgs map[string]any,
+) (bool, error) {
+ if _, ok := rawArgs["includeDeprecated"]; !ok {
+ var zeroVal bool
+ return zeroVal, nil
+ }
+
+ ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("includeDeprecated"))
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
- }
+ return ec.unmarshalOBoolean2bool(ctx, tmp)
+ }
+
+ var zeroVal bool
+ return zeroVal, nil
+}
+
+func (ec *executionContext) field___Type_fields_args(ctx context.Context, rawArgs map[string]any) (map[string]any, error) {
+ var err error
+ args := map[string]any{}
+ arg0, err := ec.field___Type_fields_argsIncludeDeprecated(ctx, rawArgs)
+ if err != nil {
+ return nil, err
}
args["includeDeprecated"] = arg0
return args, nil
}
+func (ec *executionContext) field___Type_fields_argsIncludeDeprecated(
+ ctx context.Context,
+ rawArgs map[string]any,
+) (bool, error) {
+ if _, ok := rawArgs["includeDeprecated"]; !ok {
+ var zeroVal bool
+ return zeroVal, nil
+ }
+
+ ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("includeDeprecated"))
+ if tmp, ok := rawArgs["includeDeprecated"]; ok {
+ return ec.unmarshalOBoolean2bool(ctx, tmp)
+ }
+
+ var zeroVal bool
+ return zeroVal, nil
+}
// endregion ***************************** args.gotpl *****************************
@@ -96,7 +205,7 @@ func (ec *executionContext) ___Directive_name(ctx context.Context, field graphql
ret = graphql.Null
}
}()
- resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
+ resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
ctx = rctx // use context from middleware stack in children
return obj.Name, nil
})
@@ -140,7 +249,7 @@ func (ec *executionContext) ___Directive_description(ctx context.Context, field
ret = graphql.Null
}
}()
- resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
+ resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
ctx = rctx // use context from middleware stack in children
return obj.Description(), nil
})
@@ -169,8 +278,8 @@ func (ec *executionContext) fieldContext___Directive_description(_ context.Conte
return fc, nil
}
-func (ec *executionContext) ___Directive_locations(ctx context.Context, field graphql.CollectedField, obj *introspection.Directive) (ret graphql.Marshaler) {
- fc, err := ec.fieldContext___Directive_locations(ctx, field)
+func (ec *executionContext) ___Directive_isRepeatable(ctx context.Context, field graphql.CollectedField, obj *introspection.Directive) (ret graphql.Marshaler) {
+ fc, err := ec.fieldContext___Directive_isRepeatable(ctx, field)
if err != nil {
return graphql.Null
}
@@ -181,9 +290,9 @@ func (ec *executionContext) ___Directive_locations(ctx context.Context, field gr
ret = graphql.Null
}
}()
- resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
+ resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
ctx = rctx // use context from middleware stack in children
- return obj.Locations, nil
+ return obj.IsRepeatable, nil
})
if err != nil {
ec.Error(ctx, err)
@@ -195,26 +304,26 @@ func (ec *executionContext) ___Directive_locations(ctx context.Context, field gr
}
return graphql.Null
}
- res := resTmp.([]string)
+ res := resTmp.(bool)
fc.Result = res
- return ec.marshalN__DirectiveLocation2ᚕstringᚄ(ctx, field.Selections, res)
+ return ec.marshalNBoolean2bool(ctx, field.Selections, res)
}
-func (ec *executionContext) fieldContext___Directive_locations(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
+func (ec *executionContext) fieldContext___Directive_isRepeatable(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
fc = &graphql.FieldContext{
Object: "__Directive",
Field: field,
IsMethod: false,
IsResolver: false,
Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
- return nil, errors.New("field of type __DirectiveLocation does not have child fields")
+ return nil, errors.New("field of type Boolean does not have child fields")
},
}
return fc, nil
}
-func (ec *executionContext) ___Directive_args(ctx context.Context, field graphql.CollectedField, obj *introspection.Directive) (ret graphql.Marshaler) {
- fc, err := ec.fieldContext___Directive_args(ctx, field)
+func (ec *executionContext) ___Directive_locations(ctx context.Context, field graphql.CollectedField, obj *introspection.Directive) (ret graphql.Marshaler) {
+ fc, err := ec.fieldContext___Directive_locations(ctx, field)
if err != nil {
return graphql.Null
}
@@ -225,9 +334,9 @@ func (ec *executionContext) ___Directive_args(ctx context.Context, field graphql
ret = graphql.Null
}
}()
- resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
+ resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
ctx = rctx // use context from middleware stack in children
- return obj.Args, nil
+ return obj.Locations, nil
})
if err != nil {
ec.Error(ctx, err)
@@ -239,36 +348,26 @@ func (ec *executionContext) ___Directive_args(ctx context.Context, field graphql
}
return graphql.Null
}
- res := resTmp.([]introspection.InputValue)
+ res := resTmp.([]string)
fc.Result = res
- return ec.marshalN__InputValue2ᚕgithubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚋintrospectionᚐInputValueᚄ(ctx, field.Selections, res)
+ return ec.marshalN__DirectiveLocation2ᚕstringᚄ(ctx, field.Selections, res)
}
-func (ec *executionContext) fieldContext___Directive_args(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
+func (ec *executionContext) fieldContext___Directive_locations(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
fc = &graphql.FieldContext{
Object: "__Directive",
Field: field,
IsMethod: false,
IsResolver: false,
Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
- switch field.Name {
- case "name":
- return ec.fieldContext___InputValue_name(ctx, field)
- case "description":
- return ec.fieldContext___InputValue_description(ctx, field)
- case "type":
- return ec.fieldContext___InputValue_type(ctx, field)
- case "defaultValue":
- return ec.fieldContext___InputValue_defaultValue(ctx, field)
- }
- return nil, fmt.Errorf("no field named %q was found under type __InputValue", field.Name)
+ return nil, errors.New("field of type __DirectiveLocation does not have child fields")
},
}
return fc, nil
}
-func (ec *executionContext) ___Directive_isRepeatable(ctx context.Context, field graphql.CollectedField, obj *introspection.Directive) (ret graphql.Marshaler) {
- fc, err := ec.fieldContext___Directive_isRepeatable(ctx, field)
+func (ec *executionContext) ___Directive_args(ctx context.Context, field graphql.CollectedField, obj *introspection.Directive) (ret graphql.Marshaler) {
+ fc, err := ec.fieldContext___Directive_args(ctx, field)
if err != nil {
return graphql.Null
}
@@ -279,9 +378,9 @@ func (ec *executionContext) ___Directive_isRepeatable(ctx context.Context, field
ret = graphql.Null
}
}()
- resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
+ resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
ctx = rctx // use context from middleware stack in children
- return obj.IsRepeatable, nil
+ return obj.Args, nil
})
if err != nil {
ec.Error(ctx, err)
@@ -293,21 +392,46 @@ func (ec *executionContext) ___Directive_isRepeatable(ctx context.Context, field
}
return graphql.Null
}
- res := resTmp.(bool)
+ res := resTmp.([]introspection.InputValue)
fc.Result = res
- return ec.marshalNBoolean2bool(ctx, field.Selections, res)
+ return ec.marshalN__InputValue2ᚕgithubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚋintrospectionᚐInputValueᚄ(ctx, field.Selections, res)
}
-func (ec *executionContext) fieldContext___Directive_isRepeatable(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
+func (ec *executionContext) fieldContext___Directive_args(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
fc = &graphql.FieldContext{
Object: "__Directive",
Field: field,
IsMethod: false,
IsResolver: false,
Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
- return nil, errors.New("field of type Boolean does not have child fields")
+ switch field.Name {
+ case "name":
+ return ec.fieldContext___InputValue_name(ctx, field)
+ case "description":
+ return ec.fieldContext___InputValue_description(ctx, field)
+ case "type":
+ return ec.fieldContext___InputValue_type(ctx, field)
+ case "defaultValue":
+ return ec.fieldContext___InputValue_defaultValue(ctx, field)
+ case "isDeprecated":
+ return ec.fieldContext___InputValue_isDeprecated(ctx, field)
+ case "deprecationReason":
+ return ec.fieldContext___InputValue_deprecationReason(ctx, field)
+ }
+ return nil, fmt.Errorf("no field named %q was found under type __InputValue", field.Name)
},
}
+ defer func() {
+ if r := recover(); r != nil {
+ err = ec.Recover(ctx, r)
+ ec.Error(ctx, err)
+ }
+ }()
+ ctx = graphql.WithFieldContext(ctx, fc)
+ if fc.Args, err = ec.field___Directive_args_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
+ ec.Error(ctx, err)
+ return fc, err
+ }
return fc, nil
}
@@ -323,7 +447,7 @@ func (ec *executionContext) ___EnumValue_name(ctx context.Context, field graphql
ret = graphql.Null
}
}()
- resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
+ resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
ctx = rctx // use context from middleware stack in children
return obj.Name, nil
})
@@ -367,7 +491,7 @@ func (ec *executionContext) ___EnumValue_description(ctx context.Context, field
ret = graphql.Null
}
}()
- resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
+ resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
ctx = rctx // use context from middleware stack in children
return obj.Description(), nil
})
@@ -408,7 +532,7 @@ func (ec *executionContext) ___EnumValue_isDeprecated(ctx context.Context, field
ret = graphql.Null
}
}()
- resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
+ resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
ctx = rctx // use context from middleware stack in children
return obj.IsDeprecated(), nil
})
@@ -452,7 +576,7 @@ func (ec *executionContext) ___EnumValue_deprecationReason(ctx context.Context,
ret = graphql.Null
}
}()
- resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
+ resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
ctx = rctx // use context from middleware stack in children
return obj.DeprecationReason(), nil
})
@@ -493,7 +617,7 @@ func (ec *executionContext) ___Field_name(ctx context.Context, field graphql.Col
ret = graphql.Null
}
}()
- resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
+ resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
ctx = rctx // use context from middleware stack in children
return obj.Name, nil
})
@@ -537,7 +661,7 @@ func (ec *executionContext) ___Field_description(ctx context.Context, field grap
ret = graphql.Null
}
}()
- resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
+ resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
ctx = rctx // use context from middleware stack in children
return obj.Description(), nil
})
@@ -578,7 +702,7 @@ func (ec *executionContext) ___Field_args(ctx context.Context, field graphql.Col
ret = graphql.Null
}
}()
- resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
+ resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
ctx = rctx // use context from middleware stack in children
return obj.Args, nil
})
@@ -597,7 +721,7 @@ func (ec *executionContext) ___Field_args(ctx context.Context, field graphql.Col
return ec.marshalN__InputValue2ᚕgithubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚋintrospectionᚐInputValueᚄ(ctx, field.Selections, res)
}
-func (ec *executionContext) fieldContext___Field_args(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
+func (ec *executionContext) fieldContext___Field_args(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
fc = &graphql.FieldContext{
Object: "__Field",
Field: field,
@@ -613,10 +737,25 @@ func (ec *executionContext) fieldContext___Field_args(_ context.Context, field g
return ec.fieldContext___InputValue_type(ctx, field)
case "defaultValue":
return ec.fieldContext___InputValue_defaultValue(ctx, field)
+ case "isDeprecated":
+ return ec.fieldContext___InputValue_isDeprecated(ctx, field)
+ case "deprecationReason":
+ return ec.fieldContext___InputValue_deprecationReason(ctx, field)
}
return nil, fmt.Errorf("no field named %q was found under type __InputValue", field.Name)
},
}
+ defer func() {
+ if r := recover(); r != nil {
+ err = ec.Recover(ctx, r)
+ ec.Error(ctx, err)
+ }
+ }()
+ ctx = graphql.WithFieldContext(ctx, fc)
+ if fc.Args, err = ec.field___Field_args_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
+ ec.Error(ctx, err)
+ return fc, err
+ }
return fc, nil
}
@@ -632,7 +771,7 @@ func (ec *executionContext) ___Field_type(ctx context.Context, field graphql.Col
ret = graphql.Null
}
}()
- resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
+ resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
ctx = rctx // use context from middleware stack in children
return obj.Type, nil
})
@@ -665,6 +804,8 @@ func (ec *executionContext) fieldContext___Field_type(_ context.Context, field g
return ec.fieldContext___Type_name(ctx, field)
case "description":
return ec.fieldContext___Type_description(ctx, field)
+ case "specifiedByURL":
+ return ec.fieldContext___Type_specifiedByURL(ctx, field)
case "fields":
return ec.fieldContext___Type_fields(ctx, field)
case "interfaces":
@@ -677,8 +818,8 @@ func (ec *executionContext) fieldContext___Field_type(_ context.Context, field g
return ec.fieldContext___Type_inputFields(ctx, field)
case "ofType":
return ec.fieldContext___Type_ofType(ctx, field)
- case "specifiedByURL":
- return ec.fieldContext___Type_specifiedByURL(ctx, field)
+ case "isOneOf":
+ return ec.fieldContext___Type_isOneOf(ctx, field)
}
return nil, fmt.Errorf("no field named %q was found under type __Type", field.Name)
},
@@ -698,7 +839,7 @@ func (ec *executionContext) ___Field_isDeprecated(ctx context.Context, field gra
ret = graphql.Null
}
}()
- resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
+ resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
ctx = rctx // use context from middleware stack in children
return obj.IsDeprecated(), nil
})
@@ -742,7 +883,7 @@ func (ec *executionContext) ___Field_deprecationReason(ctx context.Context, fiel
ret = graphql.Null
}
}()
- resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
+ resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
ctx = rctx // use context from middleware stack in children
return obj.DeprecationReason(), nil
})
@@ -783,7 +924,7 @@ func (ec *executionContext) ___InputValue_name(ctx context.Context, field graphq
ret = graphql.Null
}
}()
- resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
+ resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
ctx = rctx // use context from middleware stack in children
return obj.Name, nil
})
@@ -827,7 +968,7 @@ func (ec *executionContext) ___InputValue_description(ctx context.Context, field
ret = graphql.Null
}
}()
- resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
+ resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
ctx = rctx // use context from middleware stack in children
return obj.Description(), nil
})
@@ -868,7 +1009,7 @@ func (ec *executionContext) ___InputValue_type(ctx context.Context, field graphq
ret = graphql.Null
}
}()
- resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
+ resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
ctx = rctx // use context from middleware stack in children
return obj.Type, nil
})
@@ -901,6 +1042,8 @@ func (ec *executionContext) fieldContext___InputValue_type(_ context.Context, fi
return ec.fieldContext___Type_name(ctx, field)
case "description":
return ec.fieldContext___Type_description(ctx, field)
+ case "specifiedByURL":
+ return ec.fieldContext___Type_specifiedByURL(ctx, field)
case "fields":
return ec.fieldContext___Type_fields(ctx, field)
case "interfaces":
@@ -913,8 +1056,8 @@ func (ec *executionContext) fieldContext___InputValue_type(_ context.Context, fi
return ec.fieldContext___Type_inputFields(ctx, field)
case "ofType":
return ec.fieldContext___Type_ofType(ctx, field)
- case "specifiedByURL":
- return ec.fieldContext___Type_specifiedByURL(ctx, field)
+ case "isOneOf":
+ return ec.fieldContext___Type_isOneOf(ctx, field)
}
return nil, fmt.Errorf("no field named %q was found under type __Type", field.Name)
},
@@ -934,7 +1077,7 @@ func (ec *executionContext) ___InputValue_defaultValue(ctx context.Context, fiel
ret = graphql.Null
}
}()
- resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
+ resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
ctx = rctx // use context from middleware stack in children
return obj.DefaultValue, nil
})
@@ -963,6 +1106,91 @@ func (ec *executionContext) fieldContext___InputValue_defaultValue(_ context.Con
return fc, nil
}
+func (ec *executionContext) ___InputValue_isDeprecated(ctx context.Context, field graphql.CollectedField, obj *introspection.InputValue) (ret graphql.Marshaler) {
+ fc, err := ec.fieldContext___InputValue_isDeprecated(ctx, field)
+ if err != nil {
+ return graphql.Null
+ }
+ ctx = graphql.WithFieldContext(ctx, fc)
+ defer func() {
+ if r := recover(); r != nil {
+ ec.Error(ctx, ec.Recover(ctx, r))
+ ret = graphql.Null
+ }
+ }()
+ resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
+ ctx = rctx // use context from middleware stack in children
+ return obj.IsDeprecated(), 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) fieldContext___InputValue_isDeprecated(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
+ fc = &graphql.FieldContext{
+ Object: "__InputValue",
+ Field: field,
+ IsMethod: true,
+ IsResolver: false,
+ Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
+ return nil, errors.New("field of type Boolean does not have child fields")
+ },
+ }
+ return fc, nil
+}
+
+func (ec *executionContext) ___InputValue_deprecationReason(ctx context.Context, field graphql.CollectedField, obj *introspection.InputValue) (ret graphql.Marshaler) {
+ fc, err := ec.fieldContext___InputValue_deprecationReason(ctx, field)
+ if err != nil {
+ return graphql.Null
+ }
+ ctx = graphql.WithFieldContext(ctx, fc)
+ defer func() {
+ if r := recover(); r != nil {
+ ec.Error(ctx, ec.Recover(ctx, r))
+ ret = graphql.Null
+ }
+ }()
+ resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
+ ctx = rctx // use context from middleware stack in children
+ return obj.DeprecationReason(), nil
+ })
+ if err != nil {
+ ec.Error(ctx, err)
+ return graphql.Null
+ }
+ if resTmp == nil {
+ return graphql.Null
+ }
+ res := resTmp.(*string)
+ fc.Result = res
+ return ec.marshalOString2ᚖstring(ctx, field.Selections, res)
+}
+
+func (ec *executionContext) fieldContext___InputValue_deprecationReason(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
+ fc = &graphql.FieldContext{
+ Object: "__InputValue",
+ Field: field,
+ IsMethod: true,
+ IsResolver: false,
+ Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
+ return nil, errors.New("field of type String does not have child fields")
+ },
+ }
+ return fc, nil
+}
+
func (ec *executionContext) ___Schema_description(ctx context.Context, field graphql.CollectedField, obj *introspection.Schema) (ret graphql.Marshaler) {
fc, err := ec.fieldContext___Schema_description(ctx, field)
if err != nil {
@@ -975,7 +1203,7 @@ func (ec *executionContext) ___Schema_description(ctx context.Context, field gra
ret = graphql.Null
}
}()
- resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
+ resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
ctx = rctx // use context from middleware stack in children
return obj.Description(), nil
})
@@ -1016,7 +1244,7 @@ func (ec *executionContext) ___Schema_types(ctx context.Context, field graphql.C
ret = graphql.Null
}
}()
- resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
+ resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
ctx = rctx // use context from middleware stack in children
return obj.Types(), nil
})
@@ -1049,6 +1277,8 @@ func (ec *executionContext) fieldContext___Schema_types(_ context.Context, field
return ec.fieldContext___Type_name(ctx, field)
case "description":
return ec.fieldContext___Type_description(ctx, field)
+ case "specifiedByURL":
+ return ec.fieldContext___Type_specifiedByURL(ctx, field)
case "fields":
return ec.fieldContext___Type_fields(ctx, field)
case "interfaces":
@@ -1061,8 +1291,8 @@ func (ec *executionContext) fieldContext___Schema_types(_ context.Context, field
return ec.fieldContext___Type_inputFields(ctx, field)
case "ofType":
return ec.fieldContext___Type_ofType(ctx, field)
- case "specifiedByURL":
- return ec.fieldContext___Type_specifiedByURL(ctx, field)
+ case "isOneOf":
+ return ec.fieldContext___Type_isOneOf(ctx, field)
}
return nil, fmt.Errorf("no field named %q was found under type __Type", field.Name)
},
@@ -1082,7 +1312,7 @@ func (ec *executionContext) ___Schema_queryType(ctx context.Context, field graph
ret = graphql.Null
}
}()
- resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
+ resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
ctx = rctx // use context from middleware stack in children
return obj.QueryType(), nil
})
@@ -1115,6 +1345,8 @@ func (ec *executionContext) fieldContext___Schema_queryType(_ context.Context, f
return ec.fieldContext___Type_name(ctx, field)
case "description":
return ec.fieldContext___Type_description(ctx, field)
+ case "specifiedByURL":
+ return ec.fieldContext___Type_specifiedByURL(ctx, field)
case "fields":
return ec.fieldContext___Type_fields(ctx, field)
case "interfaces":
@@ -1127,8 +1359,8 @@ func (ec *executionContext) fieldContext___Schema_queryType(_ context.Context, f
return ec.fieldContext___Type_inputFields(ctx, field)
case "ofType":
return ec.fieldContext___Type_ofType(ctx, field)
- case "specifiedByURL":
- return ec.fieldContext___Type_specifiedByURL(ctx, field)
+ case "isOneOf":
+ return ec.fieldContext___Type_isOneOf(ctx, field)
}
return nil, fmt.Errorf("no field named %q was found under type __Type", field.Name)
},
@@ -1148,7 +1380,7 @@ func (ec *executionContext) ___Schema_mutationType(ctx context.Context, field gr
ret = graphql.Null
}
}()
- resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
+ resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
ctx = rctx // use context from middleware stack in children
return obj.MutationType(), nil
})
@@ -1178,6 +1410,8 @@ func (ec *executionContext) fieldContext___Schema_mutationType(_ context.Context
return ec.fieldContext___Type_name(ctx, field)
case "description":
return ec.fieldContext___Type_description(ctx, field)
+ case "specifiedByURL":
+ return ec.fieldContext___Type_specifiedByURL(ctx, field)
case "fields":
return ec.fieldContext___Type_fields(ctx, field)
case "interfaces":
@@ -1190,8 +1424,8 @@ func (ec *executionContext) fieldContext___Schema_mutationType(_ context.Context
return ec.fieldContext___Type_inputFields(ctx, field)
case "ofType":
return ec.fieldContext___Type_ofType(ctx, field)
- case "specifiedByURL":
- return ec.fieldContext___Type_specifiedByURL(ctx, field)
+ case "isOneOf":
+ return ec.fieldContext___Type_isOneOf(ctx, field)
}
return nil, fmt.Errorf("no field named %q was found under type __Type", field.Name)
},
@@ -1211,7 +1445,7 @@ func (ec *executionContext) ___Schema_subscriptionType(ctx context.Context, fiel
ret = graphql.Null
}
}()
- resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
+ resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
ctx = rctx // use context from middleware stack in children
return obj.SubscriptionType(), nil
})
@@ -1241,6 +1475,8 @@ func (ec *executionContext) fieldContext___Schema_subscriptionType(_ context.Con
return ec.fieldContext___Type_name(ctx, field)
case "description":
return ec.fieldContext___Type_description(ctx, field)
+ case "specifiedByURL":
+ return ec.fieldContext___Type_specifiedByURL(ctx, field)
case "fields":
return ec.fieldContext___Type_fields(ctx, field)
case "interfaces":
@@ -1253,8 +1489,8 @@ func (ec *executionContext) fieldContext___Schema_subscriptionType(_ context.Con
return ec.fieldContext___Type_inputFields(ctx, field)
case "ofType":
return ec.fieldContext___Type_ofType(ctx, field)
- case "specifiedByURL":
- return ec.fieldContext___Type_specifiedByURL(ctx, field)
+ case "isOneOf":
+ return ec.fieldContext___Type_isOneOf(ctx, field)
}
return nil, fmt.Errorf("no field named %q was found under type __Type", field.Name)
},
@@ -1274,7 +1510,7 @@ func (ec *executionContext) ___Schema_directives(ctx context.Context, field grap
ret = graphql.Null
}
}()
- resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
+ resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
ctx = rctx // use context from middleware stack in children
return obj.Directives(), nil
})
@@ -1305,12 +1541,12 @@ func (ec *executionContext) fieldContext___Schema_directives(_ context.Context,
return ec.fieldContext___Directive_name(ctx, field)
case "description":
return ec.fieldContext___Directive_description(ctx, field)
+ case "isRepeatable":
+ return ec.fieldContext___Directive_isRepeatable(ctx, field)
case "locations":
return ec.fieldContext___Directive_locations(ctx, field)
case "args":
return ec.fieldContext___Directive_args(ctx, field)
- case "isRepeatable":
- return ec.fieldContext___Directive_isRepeatable(ctx, field)
}
return nil, fmt.Errorf("no field named %q was found under type __Directive", field.Name)
},
@@ -1330,7 +1566,7 @@ func (ec *executionContext) ___Type_kind(ctx context.Context, field graphql.Coll
ret = graphql.Null
}
}()
- resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
+ resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
ctx = rctx // use context from middleware stack in children
return obj.Kind(), nil
})
@@ -1374,7 +1610,7 @@ func (ec *executionContext) ___Type_name(ctx context.Context, field graphql.Coll
ret = graphql.Null
}
}()
- resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
+ resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
ctx = rctx // use context from middleware stack in children
return obj.Name(), nil
})
@@ -1415,7 +1651,7 @@ func (ec *executionContext) ___Type_description(ctx context.Context, field graph
ret = graphql.Null
}
}()
- resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
+ resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
ctx = rctx // use context from middleware stack in children
return obj.Description(), nil
})
@@ -1444,6 +1680,47 @@ func (ec *executionContext) fieldContext___Type_description(_ context.Context, f
return fc, nil
}
+func (ec *executionContext) ___Type_specifiedByURL(ctx context.Context, field graphql.CollectedField, obj *introspection.Type) (ret graphql.Marshaler) {
+ fc, err := ec.fieldContext___Type_specifiedByURL(ctx, field)
+ if err != nil {
+ return graphql.Null
+ }
+ ctx = graphql.WithFieldContext(ctx, fc)
+ defer func() {
+ if r := recover(); r != nil {
+ ec.Error(ctx, ec.Recover(ctx, r))
+ ret = graphql.Null
+ }
+ }()
+ resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
+ ctx = rctx // use context from middleware stack in children
+ return obj.SpecifiedByURL(), nil
+ })
+ if err != nil {
+ ec.Error(ctx, err)
+ return graphql.Null
+ }
+ if resTmp == nil {
+ return graphql.Null
+ }
+ res := resTmp.(*string)
+ fc.Result = res
+ return ec.marshalOString2ᚖstring(ctx, field.Selections, res)
+}
+
+func (ec *executionContext) fieldContext___Type_specifiedByURL(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
+ fc = &graphql.FieldContext{
+ Object: "__Type",
+ Field: field,
+ IsMethod: true,
+ IsResolver: false,
+ Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
+ return nil, errors.New("field of type String does not have child fields")
+ },
+ }
+ return fc, nil
+}
+
func (ec *executionContext) ___Type_fields(ctx context.Context, field graphql.CollectedField, obj *introspection.Type) (ret graphql.Marshaler) {
fc, err := ec.fieldContext___Type_fields(ctx, field)
if err != nil {
@@ -1456,7 +1733,7 @@ func (ec *executionContext) ___Type_fields(ctx context.Context, field graphql.Co
ret = graphql.Null
}
}()
- resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
+ resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
ctx = rctx // use context from middleware stack in children
return obj.Fields(fc.Args["includeDeprecated"].(bool)), nil
})
@@ -1522,7 +1799,7 @@ func (ec *executionContext) ___Type_interfaces(ctx context.Context, field graphq
ret = graphql.Null
}
}()
- resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
+ resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
ctx = rctx // use context from middleware stack in children
return obj.Interfaces(), nil
})
@@ -1552,6 +1829,8 @@ func (ec *executionContext) fieldContext___Type_interfaces(_ context.Context, fi
return ec.fieldContext___Type_name(ctx, field)
case "description":
return ec.fieldContext___Type_description(ctx, field)
+ case "specifiedByURL":
+ return ec.fieldContext___Type_specifiedByURL(ctx, field)
case "fields":
return ec.fieldContext___Type_fields(ctx, field)
case "interfaces":
@@ -1564,8 +1843,8 @@ func (ec *executionContext) fieldContext___Type_interfaces(_ context.Context, fi
return ec.fieldContext___Type_inputFields(ctx, field)
case "ofType":
return ec.fieldContext___Type_ofType(ctx, field)
- case "specifiedByURL":
- return ec.fieldContext___Type_specifiedByURL(ctx, field)
+ case "isOneOf":
+ return ec.fieldContext___Type_isOneOf(ctx, field)
}
return nil, fmt.Errorf("no field named %q was found under type __Type", field.Name)
},
@@ -1585,7 +1864,7 @@ func (ec *executionContext) ___Type_possibleTypes(ctx context.Context, field gra
ret = graphql.Null
}
}()
- resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
+ resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
ctx = rctx // use context from middleware stack in children
return obj.PossibleTypes(), nil
})
@@ -1615,6 +1894,8 @@ func (ec *executionContext) fieldContext___Type_possibleTypes(_ context.Context,
return ec.fieldContext___Type_name(ctx, field)
case "description":
return ec.fieldContext___Type_description(ctx, field)
+ case "specifiedByURL":
+ return ec.fieldContext___Type_specifiedByURL(ctx, field)
case "fields":
return ec.fieldContext___Type_fields(ctx, field)
case "interfaces":
@@ -1627,8 +1908,8 @@ func (ec *executionContext) fieldContext___Type_possibleTypes(_ context.Context,
return ec.fieldContext___Type_inputFields(ctx, field)
case "ofType":
return ec.fieldContext___Type_ofType(ctx, field)
- case "specifiedByURL":
- return ec.fieldContext___Type_specifiedByURL(ctx, field)
+ case "isOneOf":
+ return ec.fieldContext___Type_isOneOf(ctx, field)
}
return nil, fmt.Errorf("no field named %q was found under type __Type", field.Name)
},
@@ -1648,7 +1929,7 @@ func (ec *executionContext) ___Type_enumValues(ctx context.Context, field graphq
ret = graphql.Null
}
}()
- resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
+ resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
ctx = rctx // use context from middleware stack in children
return obj.EnumValues(fc.Args["includeDeprecated"].(bool)), nil
})
@@ -1710,7 +1991,7 @@ func (ec *executionContext) ___Type_inputFields(ctx context.Context, field graph
ret = graphql.Null
}
}()
- resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
+ resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
ctx = rctx // use context from middleware stack in children
return obj.InputFields(), nil
})
@@ -1742,6 +2023,10 @@ func (ec *executionContext) fieldContext___Type_inputFields(_ context.Context, f
return ec.fieldContext___InputValue_type(ctx, field)
case "defaultValue":
return ec.fieldContext___InputValue_defaultValue(ctx, field)
+ case "isDeprecated":
+ return ec.fieldContext___InputValue_isDeprecated(ctx, field)
+ case "deprecationReason":
+ return ec.fieldContext___InputValue_deprecationReason(ctx, field)
}
return nil, fmt.Errorf("no field named %q was found under type __InputValue", field.Name)
},
@@ -30,170 +30,375 @@ type RepositoryResolver interface {
// region ***************************** args.gotpl *****************************
-func (ec *executionContext) field_Repository_allBugs_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) {
+func (ec *executionContext) field_Repository_allBugs_args(ctx context.Context, rawArgs map[string]any) (map[string]any, error) {
var err error
- 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
- }
+ args := map[string]any{}
+ arg0, err := ec.field_Repository_allBugs_argsAfter(ctx, rawArgs)
+ if err != nil {
+ return nil, err
}
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
- }
+ arg1, err := ec.field_Repository_allBugs_argsBefore(ctx, rawArgs)
+ if err != nil {
+ return nil, err
}
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
- }
+ arg2, err := ec.field_Repository_allBugs_argsFirst(ctx, rawArgs)
+ if err != nil {
+ return nil, err
}
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
- }
+ arg3, err := ec.field_Repository_allBugs_argsLast(ctx, rawArgs)
+ if err != nil {
+ return nil, err
}
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
- }
+ arg4, err := ec.field_Repository_allBugs_argsQuery(ctx, rawArgs)
+ if err != nil {
+ return nil, err
}
args["query"] = arg4
return args, nil
}
+func (ec *executionContext) field_Repository_allBugs_argsAfter(
+ ctx context.Context,
+ rawArgs map[string]any,
+) (*string, error) {
+ if _, ok := rawArgs["after"]; !ok {
+ var zeroVal *string
+ return zeroVal, nil
+ }
-func (ec *executionContext) field_Repository_allIdentities_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) {
- var err error
- args := map[string]interface{}{}
- var arg0 *string
+ ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("after"))
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
- }
+ return ec.unmarshalOString2ᚖstring(ctx, tmp)
}
- args["after"] = arg0
- var arg1 *string
+
+ var zeroVal *string
+ return zeroVal, nil
+}
+
+func (ec *executionContext) field_Repository_allBugs_argsBefore(
+ ctx context.Context,
+ rawArgs map[string]any,
+) (*string, error) {
+ if _, ok := rawArgs["before"]; !ok {
+ var zeroVal *string
+ return zeroVal, nil
+ }
+
+ ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("before"))
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
- }
+ return ec.unmarshalOString2ᚖstring(ctx, tmp)
}
- args["before"] = arg1
- var arg2 *int
+
+ var zeroVal *string
+ return zeroVal, nil
+}
+
+func (ec *executionContext) field_Repository_allBugs_argsFirst(
+ ctx context.Context,
+ rawArgs map[string]any,
+) (*int, error) {
+ if _, ok := rawArgs["first"]; !ok {
+ var zeroVal *int
+ return zeroVal, nil
+ }
+
+ ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("first"))
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
- }
+ return ec.unmarshalOInt2ᚖint(ctx, tmp)
}
- args["first"] = arg2
- var arg3 *int
+
+ var zeroVal *int
+ return zeroVal, nil
+}
+
+func (ec *executionContext) field_Repository_allBugs_argsLast(
+ ctx context.Context,
+ rawArgs map[string]any,
+) (*int, error) {
+ if _, ok := rawArgs["last"]; !ok {
+ var zeroVal *int
+ return zeroVal, nil
+ }
+
+ ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("last"))
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
- }
+ return ec.unmarshalOInt2ᚖint(ctx, tmp)
+ }
+
+ var zeroVal *int
+ return zeroVal, nil
+}
+
+func (ec *executionContext) field_Repository_allBugs_argsQuery(
+ ctx context.Context,
+ rawArgs map[string]any,
+) (*string, error) {
+ if _, ok := rawArgs["query"]; !ok {
+ var zeroVal *string
+ return zeroVal, nil
+ }
+
+ ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("query"))
+ if tmp, ok := rawArgs["query"]; ok {
+ return ec.unmarshalOString2ᚖstring(ctx, tmp)
+ }
+
+ var zeroVal *string
+ return zeroVal, nil
+}
+
+func (ec *executionContext) field_Repository_allIdentities_args(ctx context.Context, rawArgs map[string]any) (map[string]any, error) {
+ var err error
+ args := map[string]any{}
+ arg0, err := ec.field_Repository_allIdentities_argsAfter(ctx, rawArgs)
+ if err != nil {
+ return nil, err
+ }
+ args["after"] = arg0
+ arg1, err := ec.field_Repository_allIdentities_argsBefore(ctx, rawArgs)
+ if err != nil {
+ return nil, err
+ }
+ args["before"] = arg1
+ arg2, err := ec.field_Repository_allIdentities_argsFirst(ctx, rawArgs)
+ if err != nil {
+ return nil, err
+ }
+ args["first"] = arg2
+ arg3, err := ec.field_Repository_allIdentities_argsLast(ctx, rawArgs)
+ if err != nil {
+ return nil, err
}
args["last"] = arg3
return args, nil
}
+func (ec *executionContext) field_Repository_allIdentities_argsAfter(
+ ctx context.Context,
+ rawArgs map[string]any,
+) (*string, error) {
+ if _, ok := rawArgs["after"]; !ok {
+ var zeroVal *string
+ return zeroVal, nil
+ }
+
+ ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("after"))
+ if tmp, ok := rawArgs["after"]; ok {
+ return ec.unmarshalOString2ᚖstring(ctx, tmp)
+ }
+
+ var zeroVal *string
+ return zeroVal, nil
+}
+
+func (ec *executionContext) field_Repository_allIdentities_argsBefore(
+ ctx context.Context,
+ rawArgs map[string]any,
+) (*string, error) {
+ if _, ok := rawArgs["before"]; !ok {
+ var zeroVal *string
+ return zeroVal, nil
+ }
-func (ec *executionContext) field_Repository_bug_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) {
+ ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("before"))
+ if tmp, ok := rawArgs["before"]; ok {
+ return ec.unmarshalOString2ᚖstring(ctx, tmp)
+ }
+
+ var zeroVal *string
+ return zeroVal, nil
+}
+
+func (ec *executionContext) field_Repository_allIdentities_argsFirst(
+ ctx context.Context,
+ rawArgs map[string]any,
+) (*int, error) {
+ if _, ok := rawArgs["first"]; !ok {
+ var zeroVal *int
+ return zeroVal, nil
+ }
+
+ ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("first"))
+ if tmp, ok := rawArgs["first"]; ok {
+ return ec.unmarshalOInt2ᚖint(ctx, tmp)
+ }
+
+ var zeroVal *int
+ return zeroVal, nil
+}
+
+func (ec *executionContext) field_Repository_allIdentities_argsLast(
+ ctx context.Context,
+ rawArgs map[string]any,
+) (*int, error) {
+ if _, ok := rawArgs["last"]; !ok {
+ var zeroVal *int
+ return zeroVal, nil
+ }
+
+ ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("last"))
+ if tmp, ok := rawArgs["last"]; ok {
+ return ec.unmarshalOInt2ᚖint(ctx, tmp)
+ }
+
+ var zeroVal *int
+ return zeroVal, nil
+}
+
+func (ec *executionContext) field_Repository_bug_args(ctx context.Context, rawArgs map[string]any) (map[string]any, error) {
var err error
- 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
- }
+ args := map[string]any{}
+ arg0, err := ec.field_Repository_bug_argsPrefix(ctx, rawArgs)
+ if err != nil {
+ return nil, err
}
args["prefix"] = arg0
return args, nil
}
+func (ec *executionContext) field_Repository_bug_argsPrefix(
+ ctx context.Context,
+ rawArgs map[string]any,
+) (string, error) {
+ if _, ok := rawArgs["prefix"]; !ok {
+ var zeroVal string
+ return zeroVal, nil
+ }
-func (ec *executionContext) field_Repository_identity_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) {
- var err error
- args := map[string]interface{}{}
- var arg0 string
+ ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("prefix"))
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
- }
+ return ec.unmarshalNString2string(ctx, tmp)
+ }
+
+ var zeroVal string
+ return zeroVal, nil
+}
+
+func (ec *executionContext) field_Repository_identity_args(ctx context.Context, rawArgs map[string]any) (map[string]any, error) {
+ var err error
+ args := map[string]any{}
+ arg0, err := ec.field_Repository_identity_argsPrefix(ctx, rawArgs)
+ if err != nil {
+ return nil, err
}
args["prefix"] = arg0
return args, nil
}
+func (ec *executionContext) field_Repository_identity_argsPrefix(
+ ctx context.Context,
+ rawArgs map[string]any,
+) (string, error) {
+ if _, ok := rawArgs["prefix"]; !ok {
+ var zeroVal string
+ return zeroVal, nil
+ }
-func (ec *executionContext) field_Repository_validLabels_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) {
+ ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("prefix"))
+ if tmp, ok := rawArgs["prefix"]; ok {
+ return ec.unmarshalNString2string(ctx, tmp)
+ }
+
+ var zeroVal string
+ return zeroVal, nil
+}
+
+func (ec *executionContext) field_Repository_validLabels_args(ctx context.Context, rawArgs map[string]any) (map[string]any, error) {
var err error
- 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
- }
+ args := map[string]any{}
+ arg0, err := ec.field_Repository_validLabels_argsAfter(ctx, rawArgs)
+ if err != nil {
+ return nil, err
}
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
- }
+ arg1, err := ec.field_Repository_validLabels_argsBefore(ctx, rawArgs)
+ if err != nil {
+ return nil, err
}
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
- }
+ arg2, err := ec.field_Repository_validLabels_argsFirst(ctx, rawArgs)
+ if err != nil {
+ return nil, err
}
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
- }
+ arg3, err := ec.field_Repository_validLabels_argsLast(ctx, rawArgs)
+ if err != nil {
+ return nil, err
}
args["last"] = arg3
return args, nil
}
+func (ec *executionContext) field_Repository_validLabels_argsAfter(
+ ctx context.Context,
+ rawArgs map[string]any,
+) (*string, error) {
+ if _, ok := rawArgs["after"]; !ok {
+ var zeroVal *string
+ return zeroVal, nil
+ }
+
+ ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("after"))
+ if tmp, ok := rawArgs["after"]; ok {
+ return ec.unmarshalOString2ᚖstring(ctx, tmp)
+ }
+
+ var zeroVal *string
+ return zeroVal, nil
+}
+
+func (ec *executionContext) field_Repository_validLabels_argsBefore(
+ ctx context.Context,
+ rawArgs map[string]any,
+) (*string, error) {
+ if _, ok := rawArgs["before"]; !ok {
+ var zeroVal *string
+ return zeroVal, nil
+ }
+
+ ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("before"))
+ if tmp, ok := rawArgs["before"]; ok {
+ return ec.unmarshalOString2ᚖstring(ctx, tmp)
+ }
+
+ var zeroVal *string
+ return zeroVal, nil
+}
+
+func (ec *executionContext) field_Repository_validLabels_argsFirst(
+ ctx context.Context,
+ rawArgs map[string]any,
+) (*int, error) {
+ if _, ok := rawArgs["first"]; !ok {
+ var zeroVal *int
+ return zeroVal, nil
+ }
+
+ ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("first"))
+ if tmp, ok := rawArgs["first"]; ok {
+ return ec.unmarshalOInt2ᚖint(ctx, tmp)
+ }
+
+ var zeroVal *int
+ return zeroVal, nil
+}
+
+func (ec *executionContext) field_Repository_validLabels_argsLast(
+ ctx context.Context,
+ rawArgs map[string]any,
+) (*int, error) {
+ if _, ok := rawArgs["last"]; !ok {
+ var zeroVal *int
+ return zeroVal, nil
+ }
+
+ ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("last"))
+ if tmp, ok := rawArgs["last"]; ok {
+ return ec.unmarshalOInt2ᚖint(ctx, tmp)
+ }
+
+ var zeroVal *int
+ return zeroVal, nil
+}
// endregion ***************************** args.gotpl *****************************
@@ -215,7 +420,7 @@ func (ec *executionContext) _Repository_name(ctx context.Context, field graphql.
ret = graphql.Null
}
}()
- resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
+ resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
ctx = rctx // use context from middleware stack in children
return ec.resolvers.Repository().Name(rctx, obj)
})
@@ -256,7 +461,7 @@ func (ec *executionContext) _Repository_allBugs(ctx context.Context, field graph
ret = graphql.Null
}
}()
- resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
+ resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
ctx = rctx // use context from middleware stack in children
return ec.resolvers.Repository().AllBugs(rctx, obj, fc.Args["after"].(*string), fc.Args["before"].(*string), fc.Args["first"].(*int), fc.Args["last"].(*int), fc.Args["query"].(*string))
})
@@ -321,7 +526,7 @@ func (ec *executionContext) _Repository_bug(ctx context.Context, field graphql.C
ret = graphql.Null
}
}()
- resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
+ resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
ctx = rctx // use context from middleware stack in children
return ec.resolvers.Repository().Bug(rctx, obj, fc.Args["prefix"].(string))
})
@@ -401,7 +606,7 @@ func (ec *executionContext) _Repository_allIdentities(ctx context.Context, field
ret = graphql.Null
}
}()
- resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
+ resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
ctx = rctx // use context from middleware stack in children
return ec.resolvers.Repository().AllIdentities(rctx, obj, fc.Args["after"].(*string), fc.Args["before"].(*string), fc.Args["first"].(*int), fc.Args["last"].(*int))
})
@@ -466,7 +671,7 @@ func (ec *executionContext) _Repository_identity(ctx context.Context, field grap
ret = graphql.Null
}
}()
- resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
+ resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
ctx = rctx // use context from middleware stack in children
return ec.resolvers.Repository().Identity(rctx, obj, fc.Args["prefix"].(string))
})
@@ -536,7 +741,7 @@ func (ec *executionContext) _Repository_userIdentity(ctx context.Context, field
ret = graphql.Null
}
}()
- resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
+ resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
ctx = rctx // use context from middleware stack in children
return ec.resolvers.Repository().UserIdentity(rctx, obj)
})
@@ -595,7 +800,7 @@ func (ec *executionContext) _Repository_validLabels(ctx context.Context, field g
ret = graphql.Null
}
}()
- resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
+ resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
ctx = rctx // use context from middleware stack in children
return ec.resolvers.Repository().ValidLabels(rctx, obj, fc.Args["after"].(*string), fc.Args["before"].(*string), fc.Args["first"].(*int), fc.Args["last"].(*int))
})
@@ -35,170 +35,313 @@ type QueryResolver interface {
// region ***************************** args.gotpl *****************************
-func (ec *executionContext) field_Mutation_bugAddCommentAndClose_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) {
+func (ec *executionContext) field_Mutation_bugAddCommentAndClose_args(ctx context.Context, rawArgs map[string]any) (map[string]any, error) {
var err error
- args := map[string]interface{}{}
- var arg0 models.BugAddCommentAndCloseInput
- if tmp, ok := rawArgs["input"]; ok {
- ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("input"))
- arg0, err = ec.unmarshalNBugAddCommentAndCloseInput2githubᚗcomᚋgitᚑbugᚋgitᚑbugᚋapiᚋgraphqlᚋmodelsᚐBugAddCommentAndCloseInput(ctx, tmp)
- if err != nil {
- return nil, err
- }
+ args := map[string]any{}
+ arg0, err := ec.field_Mutation_bugAddCommentAndClose_argsInput(ctx, rawArgs)
+ if err != nil {
+ return nil, err
}
args["input"] = arg0
return args, nil
}
+func (ec *executionContext) field_Mutation_bugAddCommentAndClose_argsInput(
+ ctx context.Context,
+ rawArgs map[string]any,
+) (models.BugAddCommentAndCloseInput, error) {
+ if _, ok := rawArgs["input"]; !ok {
+ var zeroVal models.BugAddCommentAndCloseInput
+ return zeroVal, nil
+ }
-func (ec *executionContext) field_Mutation_bugAddCommentAndReopen_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) {
- var err error
- args := map[string]interface{}{}
- var arg0 models.BugAddCommentAndReopenInput
+ ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("input"))
if tmp, ok := rawArgs["input"]; ok {
- ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("input"))
- arg0, err = ec.unmarshalNBugAddCommentAndReopenInput2githubᚗcomᚋgitᚑbugᚋgitᚑbugᚋapiᚋgraphqlᚋmodelsᚐBugAddCommentAndReopenInput(ctx, tmp)
- if err != nil {
- return nil, err
- }
+ return ec.unmarshalNBugAddCommentAndCloseInput2githubᚗcomᚋgitᚑbugᚋgitᚑbugᚋapiᚋgraphqlᚋmodelsᚐBugAddCommentAndCloseInput(ctx, tmp)
+ }
+
+ var zeroVal models.BugAddCommentAndCloseInput
+ return zeroVal, nil
+}
+
+func (ec *executionContext) field_Mutation_bugAddCommentAndReopen_args(ctx context.Context, rawArgs map[string]any) (map[string]any, error) {
+ var err error
+ args := map[string]any{}
+ arg0, err := ec.field_Mutation_bugAddCommentAndReopen_argsInput(ctx, rawArgs)
+ if err != nil {
+ return nil, err
}
args["input"] = arg0
return args, nil
}
+func (ec *executionContext) field_Mutation_bugAddCommentAndReopen_argsInput(
+ ctx context.Context,
+ rawArgs map[string]any,
+) (models.BugAddCommentAndReopenInput, error) {
+ if _, ok := rawArgs["input"]; !ok {
+ var zeroVal models.BugAddCommentAndReopenInput
+ return zeroVal, nil
+ }
+
+ ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("input"))
+ if tmp, ok := rawArgs["input"]; ok {
+ return ec.unmarshalNBugAddCommentAndReopenInput2githubᚗcomᚋgitᚑbugᚋgitᚑbugᚋapiᚋgraphqlᚋmodelsᚐBugAddCommentAndReopenInput(ctx, tmp)
+ }
+
+ var zeroVal models.BugAddCommentAndReopenInput
+ return zeroVal, nil
+}
-func (ec *executionContext) field_Mutation_bugAddComment_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) {
+func (ec *executionContext) field_Mutation_bugAddComment_args(ctx context.Context, rawArgs map[string]any) (map[string]any, error) {
var err error
- args := map[string]interface{}{}
- var arg0 models.BugAddCommentInput
- if tmp, ok := rawArgs["input"]; ok {
- ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("input"))
- arg0, err = ec.unmarshalNBugAddCommentInput2githubᚗcomᚋgitᚑbugᚋgitᚑbugᚋapiᚋgraphqlᚋmodelsᚐBugAddCommentInput(ctx, tmp)
- if err != nil {
- return nil, err
- }
+ args := map[string]any{}
+ arg0, err := ec.field_Mutation_bugAddComment_argsInput(ctx, rawArgs)
+ if err != nil {
+ return nil, err
}
args["input"] = arg0
return args, nil
}
+func (ec *executionContext) field_Mutation_bugAddComment_argsInput(
+ ctx context.Context,
+ rawArgs map[string]any,
+) (models.BugAddCommentInput, error) {
+ if _, ok := rawArgs["input"]; !ok {
+ var zeroVal models.BugAddCommentInput
+ return zeroVal, nil
+ }
-func (ec *executionContext) field_Mutation_bugChangeLabels_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) {
- var err error
- args := map[string]interface{}{}
- var arg0 *models.BugChangeLabelInput
+ ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("input"))
if tmp, ok := rawArgs["input"]; ok {
- ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("input"))
- arg0, err = ec.unmarshalOBugChangeLabelInput2ᚖgithubᚗcomᚋgitᚑbugᚋgitᚑbugᚋapiᚋgraphqlᚋmodelsᚐBugChangeLabelInput(ctx, tmp)
- if err != nil {
- return nil, err
- }
+ return ec.unmarshalNBugAddCommentInput2githubᚗcomᚋgitᚑbugᚋgitᚑbugᚋapiᚋgraphqlᚋmodelsᚐBugAddCommentInput(ctx, tmp)
+ }
+
+ var zeroVal models.BugAddCommentInput
+ return zeroVal, nil
+}
+
+func (ec *executionContext) field_Mutation_bugChangeLabels_args(ctx context.Context, rawArgs map[string]any) (map[string]any, error) {
+ var err error
+ args := map[string]any{}
+ arg0, err := ec.field_Mutation_bugChangeLabels_argsInput(ctx, rawArgs)
+ if err != nil {
+ return nil, err
}
args["input"] = arg0
return args, nil
}
+func (ec *executionContext) field_Mutation_bugChangeLabels_argsInput(
+ ctx context.Context,
+ rawArgs map[string]any,
+) (*models.BugChangeLabelInput, error) {
+ if _, ok := rawArgs["input"]; !ok {
+ var zeroVal *models.BugChangeLabelInput
+ return zeroVal, nil
+ }
-func (ec *executionContext) field_Mutation_bugCreate_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) {
- var err error
- args := map[string]interface{}{}
- var arg0 models.BugCreateInput
+ ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("input"))
if tmp, ok := rawArgs["input"]; ok {
- ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("input"))
- arg0, err = ec.unmarshalNBugCreateInput2githubᚗcomᚋgitᚑbugᚋgitᚑbugᚋapiᚋgraphqlᚋmodelsᚐBugCreateInput(ctx, tmp)
- if err != nil {
- return nil, err
- }
+ return ec.unmarshalOBugChangeLabelInput2ᚖgithubᚗcomᚋgitᚑbugᚋgitᚑbugᚋapiᚋgraphqlᚋmodelsᚐBugChangeLabelInput(ctx, tmp)
+ }
+
+ var zeroVal *models.BugChangeLabelInput
+ return zeroVal, nil
+}
+
+func (ec *executionContext) field_Mutation_bugCreate_args(ctx context.Context, rawArgs map[string]any) (map[string]any, error) {
+ var err error
+ args := map[string]any{}
+ arg0, err := ec.field_Mutation_bugCreate_argsInput(ctx, rawArgs)
+ if err != nil {
+ return nil, err
}
args["input"] = arg0
return args, nil
}
+func (ec *executionContext) field_Mutation_bugCreate_argsInput(
+ ctx context.Context,
+ rawArgs map[string]any,
+) (models.BugCreateInput, error) {
+ if _, ok := rawArgs["input"]; !ok {
+ var zeroVal models.BugCreateInput
+ return zeroVal, nil
+ }
-func (ec *executionContext) field_Mutation_bugEditComment_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) {
- var err error
- args := map[string]interface{}{}
- var arg0 models.BugEditCommentInput
+ ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("input"))
if tmp, ok := rawArgs["input"]; ok {
- ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("input"))
- arg0, err = ec.unmarshalNBugEditCommentInput2githubᚗcomᚋgitᚑbugᚋgitᚑbugᚋapiᚋgraphqlᚋmodelsᚐBugEditCommentInput(ctx, tmp)
- if err != nil {
- return nil, err
- }
+ return ec.unmarshalNBugCreateInput2githubᚗcomᚋgitᚑbugᚋgitᚑbugᚋapiᚋgraphqlᚋmodelsᚐBugCreateInput(ctx, tmp)
+ }
+
+ var zeroVal models.BugCreateInput
+ return zeroVal, nil
+}
+
+func (ec *executionContext) field_Mutation_bugEditComment_args(ctx context.Context, rawArgs map[string]any) (map[string]any, error) {
+ var err error
+ args := map[string]any{}
+ arg0, err := ec.field_Mutation_bugEditComment_argsInput(ctx, rawArgs)
+ if err != nil {
+ return nil, err
}
args["input"] = arg0
return args, nil
}
+func (ec *executionContext) field_Mutation_bugEditComment_argsInput(
+ ctx context.Context,
+ rawArgs map[string]any,
+) (models.BugEditCommentInput, error) {
+ if _, ok := rawArgs["input"]; !ok {
+ var zeroVal models.BugEditCommentInput
+ return zeroVal, nil
+ }
-func (ec *executionContext) field_Mutation_bugSetTitle_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) {
- var err error
- args := map[string]interface{}{}
- var arg0 models.BugSetTitleInput
+ ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("input"))
if tmp, ok := rawArgs["input"]; ok {
- ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("input"))
- arg0, err = ec.unmarshalNBugSetTitleInput2githubᚗcomᚋgitᚑbugᚋgitᚑbugᚋapiᚋgraphqlᚋmodelsᚐBugSetTitleInput(ctx, tmp)
- if err != nil {
- return nil, err
- }
+ return ec.unmarshalNBugEditCommentInput2githubᚗcomᚋgitᚑbugᚋgitᚑbugᚋapiᚋgraphqlᚋmodelsᚐBugEditCommentInput(ctx, tmp)
+ }
+
+ var zeroVal models.BugEditCommentInput
+ return zeroVal, nil
+}
+
+func (ec *executionContext) field_Mutation_bugSetTitle_args(ctx context.Context, rawArgs map[string]any) (map[string]any, error) {
+ var err error
+ args := map[string]any{}
+ arg0, err := ec.field_Mutation_bugSetTitle_argsInput(ctx, rawArgs)
+ if err != nil {
+ return nil, err
}
args["input"] = arg0
return args, nil
}
+func (ec *executionContext) field_Mutation_bugSetTitle_argsInput(
+ ctx context.Context,
+ rawArgs map[string]any,
+) (models.BugSetTitleInput, error) {
+ if _, ok := rawArgs["input"]; !ok {
+ var zeroVal models.BugSetTitleInput
+ return zeroVal, nil
+ }
-func (ec *executionContext) field_Mutation_bugStatusClose_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) {
- var err error
- args := map[string]interface{}{}
- var arg0 models.BugStatusCloseInput
+ ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("input"))
if tmp, ok := rawArgs["input"]; ok {
- ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("input"))
- arg0, err = ec.unmarshalNBugStatusCloseInput2githubᚗcomᚋgitᚑbugᚋgitᚑbugᚋapiᚋgraphqlᚋmodelsᚐBugStatusCloseInput(ctx, tmp)
- if err != nil {
- return nil, err
- }
+ return ec.unmarshalNBugSetTitleInput2githubᚗcomᚋgitᚑbugᚋgitᚑbugᚋapiᚋgraphqlᚋmodelsᚐBugSetTitleInput(ctx, tmp)
+ }
+
+ var zeroVal models.BugSetTitleInput
+ return zeroVal, nil
+}
+
+func (ec *executionContext) field_Mutation_bugStatusClose_args(ctx context.Context, rawArgs map[string]any) (map[string]any, error) {
+ var err error
+ args := map[string]any{}
+ arg0, err := ec.field_Mutation_bugStatusClose_argsInput(ctx, rawArgs)
+ if err != nil {
+ return nil, err
}
args["input"] = arg0
return args, nil
}
+func (ec *executionContext) field_Mutation_bugStatusClose_argsInput(
+ ctx context.Context,
+ rawArgs map[string]any,
+) (models.BugStatusCloseInput, error) {
+ if _, ok := rawArgs["input"]; !ok {
+ var zeroVal models.BugStatusCloseInput
+ return zeroVal, nil
+ }
-func (ec *executionContext) field_Mutation_bugStatusOpen_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) {
- var err error
- args := map[string]interface{}{}
- var arg0 models.BugStatusOpenInput
+ ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("input"))
if tmp, ok := rawArgs["input"]; ok {
- ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("input"))
- arg0, err = ec.unmarshalNBugStatusOpenInput2githubᚗcomᚋgitᚑbugᚋgitᚑbugᚋapiᚋgraphqlᚋmodelsᚐBugStatusOpenInput(ctx, tmp)
- if err != nil {
- return nil, err
- }
+ return ec.unmarshalNBugStatusCloseInput2githubᚗcomᚋgitᚑbugᚋgitᚑbugᚋapiᚋgraphqlᚋmodelsᚐBugStatusCloseInput(ctx, tmp)
+ }
+
+ var zeroVal models.BugStatusCloseInput
+ return zeroVal, nil
+}
+
+func (ec *executionContext) field_Mutation_bugStatusOpen_args(ctx context.Context, rawArgs map[string]any) (map[string]any, error) {
+ var err error
+ args := map[string]any{}
+ arg0, err := ec.field_Mutation_bugStatusOpen_argsInput(ctx, rawArgs)
+ if err != nil {
+ return nil, err
}
args["input"] = arg0
return args, nil
}
+func (ec *executionContext) field_Mutation_bugStatusOpen_argsInput(
+ ctx context.Context,
+ rawArgs map[string]any,
+) (models.BugStatusOpenInput, error) {
+ if _, ok := rawArgs["input"]; !ok {
+ var zeroVal models.BugStatusOpenInput
+ return zeroVal, nil
+ }
-func (ec *executionContext) field_Query___type_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) {
+ ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("input"))
+ if tmp, ok := rawArgs["input"]; ok {
+ return ec.unmarshalNBugStatusOpenInput2githubᚗcomᚋgitᚑbugᚋgitᚑbugᚋapiᚋgraphqlᚋmodelsᚐBugStatusOpenInput(ctx, tmp)
+ }
+
+ var zeroVal models.BugStatusOpenInput
+ return zeroVal, nil
+}
+
+func (ec *executionContext) field_Query___type_args(ctx context.Context, rawArgs map[string]any) (map[string]any, error) {
var err error
- 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
- }
+ args := map[string]any{}
+ arg0, err := ec.field_Query___type_argsName(ctx, rawArgs)
+ if err != nil {
+ return nil, err
}
args["name"] = arg0
return args, nil
}
+func (ec *executionContext) field_Query___type_argsName(
+ ctx context.Context,
+ rawArgs map[string]any,
+) (string, error) {
+ if _, ok := rawArgs["name"]; !ok {
+ var zeroVal string
+ return zeroVal, nil
+ }
-func (ec *executionContext) field_Query_repository_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) {
+ ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("name"))
+ if tmp, ok := rawArgs["name"]; ok {
+ return ec.unmarshalNString2string(ctx, tmp)
+ }
+
+ var zeroVal string
+ return zeroVal, nil
+}
+
+func (ec *executionContext) field_Query_repository_args(ctx context.Context, rawArgs map[string]any) (map[string]any, error) {
var err error
- 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
- }
+ args := map[string]any{}
+ arg0, err := ec.field_Query_repository_argsRef(ctx, rawArgs)
+ if err != nil {
+ return nil, err
}
args["ref"] = arg0
return args, nil
}
+func (ec *executionContext) field_Query_repository_argsRef(
+ ctx context.Context,
+ rawArgs map[string]any,
+) (*string, error) {
+ if _, ok := rawArgs["ref"]; !ok {
+ var zeroVal *string
+ return zeroVal, nil
+ }
+
+ ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("ref"))
+ if tmp, ok := rawArgs["ref"]; ok {
+ return ec.unmarshalOString2ᚖstring(ctx, tmp)
+ }
+
+ var zeroVal *string
+ return zeroVal, nil
+}
// endregion ***************************** args.gotpl *****************************
@@ -220,7 +363,7 @@ func (ec *executionContext) _Mutation_bugCreate(ctx context.Context, field graph
ret = graphql.Null
}
}()
- resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
+ resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
ctx = rctx // use context from middleware stack in children
return ec.resolvers.Mutation().BugCreate(rctx, fc.Args["input"].(models.BugCreateInput))
})
@@ -283,7 +426,7 @@ func (ec *executionContext) _Mutation_bugAddComment(ctx context.Context, field g
ret = graphql.Null
}
}()
- resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
+ resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
ctx = rctx // use context from middleware stack in children
return ec.resolvers.Mutation().BugAddComment(rctx, fc.Args["input"].(models.BugAddCommentInput))
})
@@ -346,7 +489,7 @@ func (ec *executionContext) _Mutation_bugAddCommentAndClose(ctx context.Context,
ret = graphql.Null
}
}()
- resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
+ resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
ctx = rctx // use context from middleware stack in children
return ec.resolvers.Mutation().BugAddCommentAndClose(rctx, fc.Args["input"].(models.BugAddCommentAndCloseInput))
})
@@ -411,7 +554,7 @@ func (ec *executionContext) _Mutation_bugAddCommentAndReopen(ctx context.Context
ret = graphql.Null
}
}()
- resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
+ resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
ctx = rctx // use context from middleware stack in children
return ec.resolvers.Mutation().BugAddCommentAndReopen(rctx, fc.Args["input"].(models.BugAddCommentAndReopenInput))
})
@@ -476,7 +619,7 @@ func (ec *executionContext) _Mutation_bugEditComment(ctx context.Context, field
ret = graphql.Null
}
}()
- resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
+ resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
ctx = rctx // use context from middleware stack in children
return ec.resolvers.Mutation().BugEditComment(rctx, fc.Args["input"].(models.BugEditCommentInput))
})
@@ -539,7 +682,7 @@ func (ec *executionContext) _Mutation_bugChangeLabels(ctx context.Context, field
ret = graphql.Null
}
}()
- resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
+ resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
ctx = rctx // use context from middleware stack in children
return ec.resolvers.Mutation().BugChangeLabels(rctx, fc.Args["input"].(*models.BugChangeLabelInput))
})
@@ -604,7 +747,7 @@ func (ec *executionContext) _Mutation_bugStatusOpen(ctx context.Context, field g
ret = graphql.Null
}
}()
- resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
+ resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
ctx = rctx // use context from middleware stack in children
return ec.resolvers.Mutation().BugStatusOpen(rctx, fc.Args["input"].(models.BugStatusOpenInput))
})
@@ -667,7 +810,7 @@ func (ec *executionContext) _Mutation_bugStatusClose(ctx context.Context, field
ret = graphql.Null
}
}()
- resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
+ resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
ctx = rctx // use context from middleware stack in children
return ec.resolvers.Mutation().BugStatusClose(rctx, fc.Args["input"].(models.BugStatusCloseInput))
})
@@ -730,7 +873,7 @@ func (ec *executionContext) _Mutation_bugSetTitle(ctx context.Context, field gra
ret = graphql.Null
}
}()
- resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
+ resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
ctx = rctx // use context from middleware stack in children
return ec.resolvers.Mutation().BugSetTitle(rctx, fc.Args["input"].(models.BugSetTitleInput))
})
@@ -793,7 +936,7 @@ func (ec *executionContext) _Query_repository(ctx context.Context, field graphql
ret = graphql.Null
}
}()
- resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
+ resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
ctx = rctx // use context from middleware stack in children
return ec.resolvers.Query().Repository(rctx, fc.Args["ref"].(*string))
})
@@ -861,7 +1004,7 @@ func (ec *executionContext) _Query___type(ctx context.Context, field graphql.Col
ret = graphql.Null
}
}()
- resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
+ resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
ctx = rctx // use context from middleware stack in children
return ec.introspectType(fc.Args["name"].(string))
})
@@ -891,6 +1034,8 @@ func (ec *executionContext) fieldContext_Query___type(ctx context.Context, field
return ec.fieldContext___Type_name(ctx, field)
case "description":
return ec.fieldContext___Type_description(ctx, field)
+ case "specifiedByURL":
+ return ec.fieldContext___Type_specifiedByURL(ctx, field)
case "fields":
return ec.fieldContext___Type_fields(ctx, field)
case "interfaces":
@@ -903,8 +1048,8 @@ func (ec *executionContext) fieldContext_Query___type(ctx context.Context, field
return ec.fieldContext___Type_inputFields(ctx, field)
case "ofType":
return ec.fieldContext___Type_ofType(ctx, field)
- case "specifiedByURL":
- return ec.fieldContext___Type_specifiedByURL(ctx, field)
+ case "isOneOf":
+ return ec.fieldContext___Type_isOneOf(ctx, field)
}
return nil, fmt.Errorf("no field named %q was found under type __Type", field.Name)
},
@@ -935,7 +1080,7 @@ func (ec *executionContext) _Query___schema(ctx context.Context, field graphql.C
ret = graphql.Null
}
}()
- resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
+ resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
ctx = rctx // use context from middleware stack in children
return ec.introspectSchema()
})
@@ -387,7 +387,7 @@ func (e *executableSchema) Schema() *ast.Schema {
return parsedSchema
}
-func (e *executableSchema) Complexity(typeName, field string, childComplexity int, rawArgs map[string]interface{}) (int, bool) {
+func (e *executableSchema) Complexity(ctx context.Context, typeName, field string, childComplexity int, rawArgs map[string]any) (int, bool) {
ec := executionContext{nil, e, 0, 0, nil}
_ = ec
switch typeName + "." + field {
@@ -397,7 +397,7 @@ func (e *executableSchema) Complexity(typeName, field string, childComplexity in
break
}
- args, err := ec.field_Bug_actors_args(context.TODO(), rawArgs)
+ args, err := ec.field_Bug_actors_args(ctx, rawArgs)
if err != nil {
return 0, false
}
@@ -416,7 +416,7 @@ func (e *executableSchema) Complexity(typeName, field string, childComplexity in
break
}
- args, err := ec.field_Bug_comments_args(context.TODO(), rawArgs)
+ args, err := ec.field_Bug_comments_args(ctx, rawArgs)
if err != nil {
return 0, false
}
@@ -463,7 +463,7 @@ func (e *executableSchema) Complexity(typeName, field string, childComplexity in
break
}
- args, err := ec.field_Bug_operations_args(context.TODO(), rawArgs)
+ args, err := ec.field_Bug_operations_args(ctx, rawArgs)
if err != nil {
return 0, false
}
@@ -475,7 +475,7 @@ func (e *executableSchema) Complexity(typeName, field string, childComplexity in
break
}
- args, err := ec.field_Bug_participants_args(context.TODO(), rawArgs)
+ args, err := ec.field_Bug_participants_args(ctx, rawArgs)
if err != nil {
return 0, false
}
@@ -494,7 +494,7 @@ func (e *executableSchema) Complexity(typeName, field string, childComplexity in
break
}
- args, err := ec.field_Bug_timeline_args(context.TODO(), rawArgs)
+ args, err := ec.field_Bug_timeline_args(ctx, rawArgs)
if err != nil {
return 0, false
}
@@ -1521,7 +1521,7 @@ func (e *executableSchema) Complexity(typeName, field string, childComplexity in
break
}
- args, err := ec.field_Mutation_bugAddComment_args(context.TODO(), rawArgs)
+ args, err := ec.field_Mutation_bugAddComment_args(ctx, rawArgs)
if err != nil {
return 0, false
}
@@ -1533,7 +1533,7 @@ func (e *executableSchema) Complexity(typeName, field string, childComplexity in
break
}
- args, err := ec.field_Mutation_bugAddCommentAndClose_args(context.TODO(), rawArgs)
+ args, err := ec.field_Mutation_bugAddCommentAndClose_args(ctx, rawArgs)
if err != nil {
return 0, false
}
@@ -1545,7 +1545,7 @@ func (e *executableSchema) Complexity(typeName, field string, childComplexity in
break
}
- args, err := ec.field_Mutation_bugAddCommentAndReopen_args(context.TODO(), rawArgs)
+ args, err := ec.field_Mutation_bugAddCommentAndReopen_args(ctx, rawArgs)
if err != nil {
return 0, false
}
@@ -1557,7 +1557,7 @@ func (e *executableSchema) Complexity(typeName, field string, childComplexity in
break
}
- args, err := ec.field_Mutation_bugChangeLabels_args(context.TODO(), rawArgs)
+ args, err := ec.field_Mutation_bugChangeLabels_args(ctx, rawArgs)
if err != nil {
return 0, false
}
@@ -1569,7 +1569,7 @@ func (e *executableSchema) Complexity(typeName, field string, childComplexity in
break
}
- args, err := ec.field_Mutation_bugCreate_args(context.TODO(), rawArgs)
+ args, err := ec.field_Mutation_bugCreate_args(ctx, rawArgs)
if err != nil {
return 0, false
}
@@ -1581,7 +1581,7 @@ func (e *executableSchema) Complexity(typeName, field string, childComplexity in
break
}
- args, err := ec.field_Mutation_bugEditComment_args(context.TODO(), rawArgs)
+ args, err := ec.field_Mutation_bugEditComment_args(ctx, rawArgs)
if err != nil {
return 0, false
}
@@ -1593,7 +1593,7 @@ func (e *executableSchema) Complexity(typeName, field string, childComplexity in
break
}
- args, err := ec.field_Mutation_bugSetTitle_args(context.TODO(), rawArgs)
+ args, err := ec.field_Mutation_bugSetTitle_args(ctx, rawArgs)
if err != nil {
return 0, false
}
@@ -1605,7 +1605,7 @@ func (e *executableSchema) Complexity(typeName, field string, childComplexity in
break
}
- args, err := ec.field_Mutation_bugStatusClose_args(context.TODO(), rawArgs)
+ args, err := ec.field_Mutation_bugStatusClose_args(ctx, rawArgs)
if err != nil {
return 0, false
}
@@ -1617,7 +1617,7 @@ func (e *executableSchema) Complexity(typeName, field string, childComplexity in
break
}
- args, err := ec.field_Mutation_bugStatusOpen_args(context.TODO(), rawArgs)
+ args, err := ec.field_Mutation_bugStatusOpen_args(ctx, rawArgs)
if err != nil {
return 0, false
}
@@ -1699,7 +1699,7 @@ func (e *executableSchema) Complexity(typeName, field string, childComplexity in
break
}
- args, err := ec.field_Query_repository_args(context.TODO(), rawArgs)
+ args, err := ec.field_Query_repository_args(ctx, rawArgs)
if err != nil {
return 0, false
}
@@ -1711,7 +1711,7 @@ func (e *executableSchema) Complexity(typeName, field string, childComplexity in
break
}
- args, err := ec.field_Repository_allBugs_args(context.TODO(), rawArgs)
+ args, err := ec.field_Repository_allBugs_args(ctx, rawArgs)
if err != nil {
return 0, false
}
@@ -1723,7 +1723,7 @@ func (e *executableSchema) Complexity(typeName, field string, childComplexity in
break
}
- args, err := ec.field_Repository_allIdentities_args(context.TODO(), rawArgs)
+ args, err := ec.field_Repository_allIdentities_args(ctx, rawArgs)
if err != nil {
return 0, false
}
@@ -1735,7 +1735,7 @@ func (e *executableSchema) Complexity(typeName, field string, childComplexity in
break
}
- args, err := ec.field_Repository_bug_args(context.TODO(), rawArgs)
+ args, err := ec.field_Repository_bug_args(ctx, rawArgs)
if err != nil {
return 0, false
}
@@ -1747,7 +1747,7 @@ func (e *executableSchema) Complexity(typeName, field string, childComplexity in
break
}
- args, err := ec.field_Repository_identity_args(context.TODO(), rawArgs)
+ args, err := ec.field_Repository_identity_args(ctx, rawArgs)
if err != nil {
return 0, false
}
@@ -1773,7 +1773,7 @@ func (e *executableSchema) Complexity(typeName, field string, childComplexity in
break
}
- args, err := ec.field_Repository_validLabels_args(context.TODO(), rawArgs)
+ args, err := ec.field_Repository_validLabels_args(ctx, rawArgs)
if err != nil {
return 0, false
}
@@ -1785,8 +1785,8 @@ func (e *executableSchema) Complexity(typeName, field string, childComplexity in
}
func (e *executableSchema) Exec(ctx context.Context) graphql.ResponseHandler {
- rc := graphql.GetOperationContext(ctx)
- ec := executionContext{rc, e, 0, 0, make(chan graphql.DeferredResult)}
+ opCtx := graphql.GetOperationContext(ctx)
+ ec := executionContext{opCtx, e, 0, 0, make(chan graphql.DeferredResult)}
inputUnmarshalMap := graphql.BuildUnmarshalerMap(
ec.unmarshalInputBugAddCommentAndCloseInput,
ec.unmarshalInputBugAddCommentAndReopenInput,
@@ -1800,7 +1800,7 @@ func (e *executableSchema) Exec(ctx context.Context) graphql.ResponseHandler {
)
first := true
- switch rc.Operation.Operation {
+ switch opCtx.Operation.Operation {
case ast.Query:
return func(ctx context.Context) *graphql.Response {
var response graphql.Response
@@ -1808,7 +1808,7 @@ func (e *executableSchema) Exec(ctx context.Context) graphql.ResponseHandler {
if first {
first = false
ctx = graphql.WithUnmarshalerMap(ctx, inputUnmarshalMap)
- data = ec._Query(ctx, rc.Operation.SelectionSet)
+ data = ec._Query(ctx, opCtx.Operation.SelectionSet)
} else {
if atomic.LoadInt32(&ec.pendingDeferred) > 0 {
result := <-ec.deferredResults
@@ -1838,7 +1838,7 @@ func (e *executableSchema) Exec(ctx context.Context) graphql.ResponseHandler {
}
first = false
ctx = graphql.WithUnmarshalerMap(ctx, inputUnmarshalMap)
- data := ec._Mutation(ctx, rc.Operation.SelectionSet)
+ data := ec._Mutation(ctx, opCtx.Operation.SelectionSet)
var buf bytes.Buffer
data.MarshalGQL(&buf)
@@ -1894,67 +1894,6 @@ func (ec *executionContext) introspectType(name string) (*introspection.Type, er
}
var sources = []*ast.Source{
- {Name: "../schema/board.graphql", Input: `#type Board {
-# """The identifier for this board"""
-# id: ID!
-# """The human version (truncated) identifier for this board"""
-# humanId: String!
-#
-# createdAt: Time!
-# lastEdit: Time!
-#
-# title: String!
-# description: String!
-#
-#
-#
-# # TODO columns
-# # TODO status
-# # TODO: labels
-#
-# """The actors of the board. Actors are Identity that have interacted with the board."""
-# actors(
-# """Returns the elements in the list that come after the specified cursor."""
-# after: String
-# """Returns the elements in the list that come before the specified cursor."""
-# before: String
-# """Returns the first _n_ elements from the list."""
-# first: Int
-# """Returns the last _n_ elements from the list."""
-# last: Int
-# ): IdentityConnection!
-#
-# operations(
-# """Returns the elements in the list that come after the specified cursor."""
-# after: String
-# """Returns the elements in the list that come before the specified cursor."""
-# before: String
-# """Returns the first _n_ elements from the list."""
-# first: Int
-# """Returns the last _n_ elements from the list."""
-# last: Int
-# ): OperationConnection!
-#}
-#
-#"""The connection type for Board."""
-#type BoardConnection {
-# """A list of edges."""
-# edges: [BoardEdge!]!
-# nodes: [Board!]!
-# """Information to aid in pagination."""
-# pageInfo: PageInfo!
-# """Identifies the total count of items in the connection."""
-# totalCount: Int!
-#}
-#
-#"""An edge in a connection."""
-#type BoardEdge {
-# """A cursor for use in pagination."""
-# cursor: String!
-# """The item at the end of the edge."""
-# node: Board!
-#}
-`, BuiltIn: false},
{Name: "../schema/bug.graphql", Input: `type Bug implements Authored {
"""The identifier for this bug"""
id: ID!
@@ -40,7 +40,7 @@ import (
// region ***************************** type.gotpl *****************************
-func (ec *executionContext) unmarshalNStatus2githubᚗcomᚋgitᚑbugᚋgitᚑbugᚋentitiesᚋcommonᚐStatus(ctx context.Context, v interface{}) (common.Status, error) {
+func (ec *executionContext) unmarshalNStatus2githubᚗcomᚋgitᚑbugᚋgitᚑbugᚋentitiesᚋcommonᚐStatus(ctx context.Context, v any) (common.Status, error) {
var res common.Status
err := res.UnmarshalGQL(v)
return res, graphql.ErrorOnPath(ctx, err)
@@ -51,7 +51,7 @@ func (ec *executionContext) _Color_R(ctx context.Context, field graphql.Collecte
ret = graphql.Null
}
}()
- resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
+ resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
ctx = rctx // use context from middleware stack in children
return ec.resolvers.Color().R(rctx, obj)
})
@@ -95,7 +95,7 @@ func (ec *executionContext) _Color_G(ctx context.Context, field graphql.Collecte
ret = graphql.Null
}
}()
- resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
+ resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
ctx = rctx // use context from middleware stack in children
return ec.resolvers.Color().G(rctx, obj)
})
@@ -139,7 +139,7 @@ func (ec *executionContext) _Color_B(ctx context.Context, field graphql.Collecte
ret = graphql.Null
}
}()
- resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
+ resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
ctx = rctx // use context from middleware stack in children
return ec.resolvers.Color().B(rctx, obj)
})
@@ -183,7 +183,7 @@ func (ec *executionContext) _PageInfo_hasNextPage(ctx context.Context, field gra
ret = graphql.Null
}
}()
- resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
+ resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
ctx = rctx // use context from middleware stack in children
return obj.HasNextPage, nil
})
@@ -227,7 +227,7 @@ func (ec *executionContext) _PageInfo_hasPreviousPage(ctx context.Context, field
ret = graphql.Null
}
}()
- resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
+ resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
ctx = rctx // use context from middleware stack in children
return obj.HasPreviousPage, nil
})
@@ -271,7 +271,7 @@ func (ec *executionContext) _PageInfo_startCursor(ctx context.Context, field gra
ret = graphql.Null
}
}()
- resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
+ resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
ctx = rctx // use context from middleware stack in children
return obj.StartCursor, nil
})
@@ -315,7 +315,7 @@ func (ec *executionContext) _PageInfo_endCursor(ctx context.Context, field graph
ret = graphql.Null
}
}()
- resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
+ resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) {
ctx = rctx // use context from middleware stack in children
return obj.EndCursor, nil
})
@@ -359,61 +359,61 @@ func (ec *executionContext) _Authored(ctx context.Context, sel ast.SelectionSet,
switch obj := (obj).(type) {
case nil:
return graphql.Null
- case *bug.SetStatusOperation:
+ case *bug.SetTitleTimelineItem:
if obj == nil {
return graphql.Null
}
- return ec._BugSetStatusOperation(ctx, sel, obj)
- case *bug.CreateOperation:
+ return ec._BugSetTitleTimelineItem(ctx, sel, obj)
+ case *bug.SetTitleOperation:
if obj == nil {
return graphql.Null
}
- return ec._BugCreateOperation(ctx, sel, obj)
- case *bug.SetTitleOperation:
+ return ec._BugSetTitleOperation(ctx, sel, obj)
+ case *bug.SetStatusTimelineItem:
if obj == nil {
return graphql.Null
}
- return ec._BugSetTitleOperation(ctx, sel, obj)
- case *bug.AddCommentOperation:
+ return ec._BugSetStatusTimelineItem(ctx, sel, obj)
+ case *bug.SetStatusOperation:
if obj == nil {
return graphql.Null
}
- return ec._BugAddCommentOperation(ctx, sel, obj)
- case *bug.EditCommentOperation:
+ return ec._BugSetStatusOperation(ctx, sel, obj)
+ case *bug.LabelChangeTimelineItem:
if obj == nil {
return graphql.Null
}
- return ec._BugEditCommentOperation(ctx, sel, obj)
+ return ec._BugLabelChangeTimelineItem(ctx, sel, obj)
case *bug.LabelChangeOperation:
if obj == nil {
return graphql.Null
}
return ec._BugLabelChangeOperation(ctx, sel, obj)
- case *bug.CreateTimelineItem:
+ case *bug.EditCommentOperation:
if obj == nil {
return graphql.Null
}
- return ec._BugCreateTimelineItem(ctx, sel, obj)
- case *bug.AddCommentTimelineItem:
+ return ec._BugEditCommentOperation(ctx, sel, obj)
+ case *bug.CreateTimelineItem:
if obj == nil {
return graphql.Null
}
- return ec._BugAddCommentTimelineItem(ctx, sel, obj)
- case *bug.LabelChangeTimelineItem:
+ return ec._BugCreateTimelineItem(ctx, sel, obj)
+ case *bug.CreateOperation:
if obj == nil {
return graphql.Null
}
- return ec._BugLabelChangeTimelineItem(ctx, sel, obj)
- case *bug.SetStatusTimelineItem:
+ return ec._BugCreateOperation(ctx, sel, obj)
+ case *bug.AddCommentTimelineItem:
if obj == nil {
return graphql.Null
}
- return ec._BugSetStatusTimelineItem(ctx, sel, obj)
- case *bug.SetTitleTimelineItem:
+ return ec._BugAddCommentTimelineItem(ctx, sel, obj)
+ case *bug.AddCommentOperation:
if obj == nil {
return graphql.Null
}
- return ec._BugSetTitleTimelineItem(ctx, sel, obj)
+ return ec._BugAddCommentOperation(ctx, sel, obj)
case bug.Comment:
return ec._BugComment(ctx, sel, &obj)
case *bug.Comment:
@@ -649,7 +649,7 @@ func (ec *executionContext) marshalNColor2ᚖimageᚋcolorᚐRGBA(ctx context.Co
return ec._Color(ctx, sel, v)
}
-func (ec *executionContext) unmarshalNCombinedId2githubᚗcomᚋgitᚑbugᚋgitᚑbugᚋentityᚐCombinedId(ctx context.Context, v interface{}) (entity.CombinedId, error) {
+func (ec *executionContext) unmarshalNCombinedId2githubᚗcomᚋgitᚑbugᚋgitᚑbugᚋentityᚐCombinedId(ctx context.Context, v any) (entity.CombinedId, error) {
var res entity.CombinedId
err := res.UnmarshalGQL(v)
return res, graphql.ErrorOnPath(ctx, err)
@@ -659,7 +659,7 @@ func (ec *executionContext) marshalNCombinedId2githubᚗcomᚋgitᚑbugᚋgitᚑ
return v
}
-func (ec *executionContext) unmarshalNHash2githubᚗcomᚋgitᚑbugᚋgitᚑbugᚋrepositoryᚐHash(ctx context.Context, v interface{}) (repository.Hash, error) {
+func (ec *executionContext) unmarshalNHash2githubᚗcomᚋgitᚑbugᚋgitᚑbugᚋrepositoryᚐHash(ctx context.Context, v any) (repository.Hash, error) {
var res repository.Hash
err := res.UnmarshalGQL(v)
return res, graphql.ErrorOnPath(ctx, err)
@@ -669,11 +669,9 @@ func (ec *executionContext) marshalNHash2githubᚗcomᚋgitᚑbugᚋgitᚑbugᚋ
return v
}
-func (ec *executionContext) unmarshalNHash2ᚕgithubᚗcomᚋgitᚑbugᚋgitᚑbugᚋrepositoryᚐHashᚄ(ctx context.Context, v interface{}) ([]repository.Hash, error) {
- var vSlice []interface{}
- if v != nil {
- vSlice = graphql.CoerceList(v)
- }
+func (ec *executionContext) unmarshalNHash2ᚕgithubᚗcomᚋgitᚑbugᚋgitᚑbugᚋrepositoryᚐHashᚄ(ctx context.Context, v any) ([]repository.Hash, error) {
+ var vSlice []any
+ vSlice = graphql.CoerceList(v)
var err error
res := make([]repository.Hash, len(vSlice))
for i := range vSlice {
@@ -711,12 +709,13 @@ func (ec *executionContext) marshalNPageInfo2ᚖgithubᚗcomᚋgitᚑbugᚋgit
return ec._PageInfo(ctx, sel, v)
}
-func (ec *executionContext) unmarshalNTime2timeᚐTime(ctx context.Context, v interface{}) (time.Time, error) {
+func (ec *executionContext) unmarshalNTime2timeᚐTime(ctx context.Context, v any) (time.Time, error) {
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 {
+ _ = sel
res := graphql.MarshalTime(v)
if res == graphql.Null {
if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) {
@@ -726,7 +725,7 @@ func (ec *executionContext) marshalNTime2timeᚐTime(ctx context.Context, sel as
return res
}
-func (ec *executionContext) unmarshalNTime2ᚖtimeᚐTime(ctx context.Context, v interface{}) (*time.Time, error) {
+func (ec *executionContext) unmarshalNTime2ᚖtimeᚐTime(ctx context.Context, v any) (*time.Time, error) {
res, err := graphql.UnmarshalTime(v)
return &res, graphql.ErrorOnPath(ctx, err)
}
@@ -738,6 +737,7 @@ func (ec *executionContext) marshalNTime2ᚖtimeᚐTime(ctx context.Context, sel
}
return graphql.Null
}
+ _ = sel
res := graphql.MarshalTime(*v)
if res == graphql.Null {
if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) {
@@ -747,14 +747,12 @@ func (ec *executionContext) marshalNTime2ᚖtimeᚐTime(ctx context.Context, sel
return res
}
-func (ec *executionContext) unmarshalOHash2ᚕgithubᚗcomᚋgitᚑbugᚋgitᚑbugᚋrepositoryᚐHashᚄ(ctx context.Context, v interface{}) ([]repository.Hash, error) {
+func (ec *executionContext) unmarshalOHash2ᚕgithubᚗcomᚋgitᚑbugᚋgitᚑbugᚋrepositoryᚐHashᚄ(ctx context.Context, v any) ([]repository.Hash, error) {
if v == nil {
return nil, nil
}
- var vSlice []interface{}
- if v != nil {
- vSlice = graphql.CoerceList(v)
- }
+ var vSlice []any
+ vSlice = graphql.CoerceList(v)
var err error
res := make([]repository.Hash, len(vSlice))
for i := range vSlice {
@@ -1,4 +1,4 @@
-//go:generate go run github.com/99designs/gqlgen generate
+//go:generate go tool gqlgen generate
// Package graphql contains the root GraphQL http handler
package graphql
@@ -1,8 +0,0 @@
-//go:build tools
-// +build tools
-
-package graphql
-
-import (
- _ "github.com/99designs/gqlgen"
-)
@@ -2,22 +2,18 @@
.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
.SH SYNOPSIS
-.PP
\fBgit-bug bridge auth add-token [TOKEN] [flags]\fP
.SH DESCRIPTION
-.PP
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]
@@ -35,5 +31,4 @@ Store a new token
.SH SEE ALSO
-.PP
\fBgit-bug-bridge-auth(1)\fP
@@ -2,26 +2,21 @@
.TH "GIT-BUG" "1" "Apr 2019" "Generated from git-bug's source code" ""
.SH NAME
-.PP
git-bug-bridge-auth-rm - Remove a credential
.SH SYNOPSIS
-.PP
\fBgit-bug bridge auth rm BRIDGE_ID [flags]\fP
.SH DESCRIPTION
-.PP
Remove a credential
.SH OPTIONS
-.PP
\fB-h\fP, \fB--help\fP[=false]
help for rm
.SH SEE ALSO
-.PP
\fBgit-bug-bridge-auth(1)\fP
@@ -2,26 +2,21 @@
.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
.SH SYNOPSIS
-.PP
\fBgit-bug bridge auth show [flags]\fP
.SH DESCRIPTION
-.PP
Display an authentication credential
.SH OPTIONS
-.PP
\fB-h\fP, \fB--help\fP[=false]
help for show
.SH SEE ALSO
-.PP
\fBgit-bug-bridge-auth(1)\fP
@@ -2,26 +2,21 @@
.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
.SH SYNOPSIS
-.PP
\fBgit-bug bridge auth [flags]\fP
.SH DESCRIPTION
-.PP
List all known bridge authentication credentials
.SH OPTIONS
-.PP
\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
@@ -2,22 +2,18 @@
.TH "GIT-BUG" "1" "Apr 2019" "Generated from git-bug's source code" ""
.SH NAME
-.PP
git-bug-bridge-new - Configure a new bridge
.SH SYNOPSIS
-.PP
\fBgit-bug bridge new [flags]\fP
.SH DESCRIPTION
-.PP
Configure a new bridge by passing flags or/and using interactive terminal prompts. You can avoid all the terminal prompts by passing all the necessary flags to configure your bridge.
.SH OPTIONS
-.PP
\fB-n\fP, \fB--name\fP=""
A distinctive name to identify the bridge
@@ -124,5 +120,4 @@ git bug bridge new \\
.SH SEE ALSO
-.PP
\fBgit-bug-bridge(1)\fP
@@ -2,22 +2,18 @@
.TH "GIT-BUG" "1" "Apr 2019" "Generated from git-bug's source code" ""
.SH NAME
-.PP
git-bug-bridge-pull - Pull updates from a remote bug tracker
.SH SYNOPSIS
-.PP
\fBgit-bug bridge pull [NAME] [flags]\fP
.SH DESCRIPTION
-.PP
Pull updates from a remote bug tracker
.SH OPTIONS
-.PP
\fB-n\fP, \fB--no-resume\fP[=false]
force importing all bugs
@@ -31,5 +27,4 @@ Pull updates from a remote bug tracker
.SH SEE ALSO
-.PP
\fBgit-bug-bridge(1)\fP
@@ -2,26 +2,21 @@
.TH "GIT-BUG" "1" "Apr 2019" "Generated from git-bug's source code" ""
.SH NAME
-.PP
git-bug-bridge-push - Push updates to remote bug tracker
.SH SYNOPSIS
-.PP
\fBgit-bug bridge push [NAME] [flags]\fP
.SH DESCRIPTION
-.PP
Push updates to remote bug tracker
.SH OPTIONS
-.PP
\fB-h\fP, \fB--help\fP[=false]
help for push
.SH SEE ALSO
-.PP
\fBgit-bug-bridge(1)\fP
@@ -2,26 +2,21 @@
.TH "GIT-BUG" "1" "Apr 2019" "Generated from git-bug's source code" ""
.SH NAME
-.PP
git-bug-bridge-rm - Delete a configured bridge
.SH SYNOPSIS
-.PP
\fBgit-bug bridge rm NAME [flags]\fP
.SH DESCRIPTION
-.PP
Delete a configured bridge
.SH OPTIONS
-.PP
\fB-h\fP, \fB--help\fP[=false]
help for rm
.SH SEE ALSO
-.PP
\fBgit-bug-bridge(1)\fP
@@ -2,26 +2,21 @@
.TH "GIT-BUG" "1" "Apr 2019" "Generated from git-bug's source code" ""
.SH NAME
-.PP
git-bug-bridge - List bridges to other bug trackers
.SH SYNOPSIS
-.PP
\fBgit-bug bridge [flags]\fP
.SH DESCRIPTION
-.PP
List bridges to other bug trackers
.SH OPTIONS
-.PP
\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-new(1)\fP, \fBgit-bug-bridge-pull(1)\fP, \fBgit-bug-bridge-push(1)\fP, \fBgit-bug-bridge-rm(1)\fP
@@ -2,22 +2,18 @@
.TH "GIT-BUG" "1" "Apr 2019" "Generated from git-bug's source code" ""
.SH NAME
-.PP
git-bug-bug-comment-edit - Edit an existing comment on a bug
.SH SYNOPSIS
-.PP
\fBgit-bug bug comment edit [COMMENT_ID] [flags]\fP
.SH DESCRIPTION
-.PP
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
@@ -35,5 +31,4 @@ Edit an existing comment on a bug
.SH SEE ALSO
-.PP
\fBgit-bug-bug-comment(1)\fP
@@ -2,22 +2,18 @@
.TH "GIT-BUG" "1" "Apr 2019" "Generated from git-bug's source code" ""
.SH NAME
-.PP
git-bug-bug-comment-new - Add a new comment to a bug
.SH SYNOPSIS
-.PP
\fBgit-bug bug comment new [BUG_ID] [flags]\fP
.SH DESCRIPTION
-.PP
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
@@ -35,5 +31,4 @@ Add a new comment to a bug
.SH SEE ALSO
-.PP
\fBgit-bug-bug-comment(1)\fP
@@ -2,26 +2,21 @@
.TH "GIT-BUG" "1" "Apr 2019" "Generated from git-bug's source code" ""
.SH NAME
-.PP
git-bug-bug-comment - List a bug's comments
.SH SYNOPSIS
-.PP
\fBgit-bug bug comment [BUG_ID] [flags]\fP
.SH DESCRIPTION
-.PP
List a bug's comments
.SH OPTIONS
-.PP
\fB-h\fP, \fB--help\fP[=false]
help for comment
.SH SEE ALSO
-.PP
\fBgit-bug-bug(1)\fP, \fBgit-bug-bug-comment-edit(1)\fP, \fBgit-bug-bug-comment-new(1)\fP
@@ -2,22 +2,18 @@
.TH "GIT-BUG" "1" "Apr 2019" "Generated from git-bug's source code" ""
.SH NAME
-.PP
git-bug-bug-deselect - Clear the implicitly selected bug
.SH SYNOPSIS
-.PP
\fBgit-bug bug deselect [flags]\fP
.SH DESCRIPTION
-.PP
Clear the implicitly selected bug
.SH OPTIONS
-.PP
\fB-h\fP, \fB--help\fP[=false]
help for deselect
@@ -33,5 +29,4 @@ git bug deselect
.SH SEE ALSO
-.PP
\fBgit-bug-bug(1)\fP
@@ -2,26 +2,21 @@
.TH "GIT-BUG" "1" "Apr 2019" "Generated from git-bug's source code" ""
.SH NAME
-.PP
git-bug-bug-label-new - Add a label to a bug
.SH SYNOPSIS
-.PP
\fBgit-bug bug label new [BUG_ID] LABEL... [flags]\fP
.SH DESCRIPTION
-.PP
Add a label to a bug
.SH OPTIONS
-.PP
\fB-h\fP, \fB--help\fP[=false]
help for new
.SH SEE ALSO
-.PP
\fBgit-bug-bug-label(1)\fP
@@ -2,26 +2,21 @@
.TH "GIT-BUG" "1" "Apr 2019" "Generated from git-bug's source code" ""
.SH NAME
-.PP
git-bug-bug-label-rm - Remove a label from a bug
.SH SYNOPSIS
-.PP
\fBgit-bug bug label rm [BUG_ID] LABEL... [flags]\fP
.SH DESCRIPTION
-.PP
Remove a label from a bug
.SH OPTIONS
-.PP
\fB-h\fP, \fB--help\fP[=false]
help for rm
.SH SEE ALSO
-.PP
\fBgit-bug-bug-label(1)\fP
@@ -2,26 +2,21 @@
.TH "GIT-BUG" "1" "Apr 2019" "Generated from git-bug's source code" ""
.SH NAME
-.PP
git-bug-bug-label - Display labels of a bug
.SH SYNOPSIS
-.PP
\fBgit-bug bug label [BUG_ID] [flags]\fP
.SH DESCRIPTION
-.PP
Display labels of a bug
.SH OPTIONS
-.PP
\fB-h\fP, \fB--help\fP[=false]
help for label
.SH SEE ALSO
-.PP
\fBgit-bug-bug(1)\fP, \fBgit-bug-bug-label-new(1)\fP, \fBgit-bug-bug-label-rm(1)\fP
@@ -2,22 +2,18 @@
.TH "GIT-BUG" "1" "Apr 2019" "Generated from git-bug's source code" ""
.SH NAME
-.PP
git-bug-bug-new - Create a new bug
.SH SYNOPSIS
-.PP
\fBgit-bug bug new [flags]\fP
.SH DESCRIPTION
-.PP
Create a new bug
.SH OPTIONS
-.PP
\fB-t\fP, \fB--title\fP=""
Provide a title to describe the issue
@@ -39,5 +35,4 @@ Create a new bug
.SH SEE ALSO
-.PP
\fBgit-bug-bug(1)\fP
@@ -2,26 +2,21 @@
.TH "GIT-BUG" "1" "Apr 2019" "Generated from git-bug's source code" ""
.SH NAME
-.PP
git-bug-bug-rm - Remove an existing bug
.SH SYNOPSIS
-.PP
\fBgit-bug bug rm BUG_ID [flags]\fP
.SH DESCRIPTION
-.PP
Remove an existing bug in the local repository. Note removing bugs that were imported from bridges will not remove the bug on the remote, and will only remove the local copy of the bug.
.SH OPTIONS
-.PP
\fB-h\fP, \fB--help\fP[=false]
help for rm
.SH SEE ALSO
-.PP
\fBgit-bug-bug(1)\fP
@@ -2,17 +2,14 @@
.TH "GIT-BUG" "1" "Apr 2019" "Generated from git-bug's source code" ""
.SH NAME
-.PP
git-bug-bug-select - Select a bug for implicit use in future commands
.SH SYNOPSIS
-.PP
\fBgit-bug bug select BUG_ID [flags]\fP
.SH DESCRIPTION
-.PP
Select a bug for implicit use in future commands.
.PP
@@ -26,7 +23,6 @@ The complementary command is "git bug deselect" performing the opposite operatio
.SH OPTIONS
-.PP
\fB-h\fP, \fB--help\fP[=false]
help for select
@@ -41,5 +37,4 @@ git bug status
.SH SEE ALSO
-.PP
\fBgit-bug-bug(1)\fP
@@ -2,22 +2,18 @@
.TH "GIT-BUG" "1" "Apr 2019" "Generated from git-bug's source code" ""
.SH NAME
-.PP
git-bug-bug-show - Display the details of a bug
.SH SYNOPSIS
-.PP
\fBgit-bug bug show [BUG_ID] [flags]\fP
.SH DESCRIPTION
-.PP
Display the details of a bug
.SH OPTIONS
-.PP
\fB--field\fP=""
Select field to display. Valid values are [author,authorEmail,createTime,lastEdit,humanId,id,labels,shortId,status,title,actors,participants]
@@ -31,5 +27,4 @@ Display the details of a bug
.SH SEE ALSO
-.PP
\fBgit-bug-bug(1)\fP
@@ -2,26 +2,21 @@
.TH "GIT-BUG" "1" "Apr 2019" "Generated from git-bug's source code" ""
.SH NAME
-.PP
git-bug-bug-status-close - Mark a bug as closed
.SH SYNOPSIS
-.PP
\fBgit-bug bug status close [BUG_ID] [flags]\fP
.SH DESCRIPTION
-.PP
Mark a bug as closed
.SH OPTIONS
-.PP
\fB-h\fP, \fB--help\fP[=false]
help for close
.SH SEE ALSO
-.PP
\fBgit-bug-bug-status(1)\fP
@@ -2,26 +2,21 @@
.TH "GIT-BUG" "1" "Apr 2019" "Generated from git-bug's source code" ""
.SH NAME
-.PP
git-bug-bug-status-open - Mark a bug as open
.SH SYNOPSIS
-.PP
\fBgit-bug bug status open [BUG_ID] [flags]\fP
.SH DESCRIPTION
-.PP
Mark a bug as open
.SH OPTIONS
-.PP
\fB-h\fP, \fB--help\fP[=false]
help for open
.SH SEE ALSO
-.PP
\fBgit-bug-bug-status(1)\fP
@@ -2,26 +2,21 @@
.TH "GIT-BUG" "1" "Apr 2019" "Generated from git-bug's source code" ""
.SH NAME
-.PP
git-bug-bug-status - Display the status of a bug
.SH SYNOPSIS
-.PP
\fBgit-bug bug status [BUG_ID] [flags]\fP
.SH DESCRIPTION
-.PP
Display the status of a bug
.SH OPTIONS
-.PP
\fB-h\fP, \fB--help\fP[=false]
help for status
.SH SEE ALSO
-.PP
\fBgit-bug-bug(1)\fP, \fBgit-bug-bug-status-close(1)\fP, \fBgit-bug-bug-status-open(1)\fP
@@ -2,22 +2,18 @@
.TH "GIT-BUG" "1" "Apr 2019" "Generated from git-bug's source code" ""
.SH NAME
-.PP
git-bug-bug-title-edit - Edit a title of a bug
.SH SYNOPSIS
-.PP
\fBgit-bug bug title edit [BUG_ID] [flags]\fP
.SH DESCRIPTION
-.PP
Edit a title of a bug
.SH OPTIONS
-.PP
\fB-t\fP, \fB--title\fP=""
Provide a title to describe the issue
@@ -31,5 +27,4 @@ Edit a title of a bug
.SH SEE ALSO
-.PP
\fBgit-bug-bug-title(1)\fP
@@ -2,26 +2,21 @@
.TH "GIT-BUG" "1" "Apr 2019" "Generated from git-bug's source code" ""
.SH NAME
-.PP
git-bug-bug-title - Display the title of a bug
.SH SYNOPSIS
-.PP
\fBgit-bug bug title [BUG_ID] [flags]\fP
.SH DESCRIPTION
-.PP
Display the title of a bug
.SH OPTIONS
-.PP
\fB-h\fP, \fB--help\fP[=false]
help for title
.SH SEE ALSO
-.PP
\fBgit-bug-bug(1)\fP, \fBgit-bug-bug-title-edit(1)\fP
@@ -2,17 +2,14 @@
.TH "GIT-BUG" "1" "Apr 2019" "Generated from git-bug's source code" ""
.SH NAME
-.PP
git-bug-bug - List bugs
.SH SYNOPSIS
-.PP
\fBgit-bug bug [QUERY] [flags]\fP
.SH DESCRIPTION
-.PP
Display a summary of each bugs.
.PP
@@ -20,7 +17,6 @@ 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=[]
Filter by status. Valid values are [open,closed]
@@ -87,5 +83,4 @@ git bug status:open --by creation "foo bar" baz
.SH SEE ALSO
-.PP
\fBgit-bug(1)\fP, \fBgit-bug-bug-comment(1)\fP, \fBgit-bug-bug-deselect(1)\fP, \fBgit-bug-bug-label(1)\fP, \fBgit-bug-bug-new(1)\fP, \fBgit-bug-bug-rm(1)\fP, \fBgit-bug-bug-select(1)\fP, \fBgit-bug-bug-show(1)\fP, \fBgit-bug-bug-status(1)\fP, \fBgit-bug-bug-title(1)\fP
@@ -2,22 +2,18 @@
.TH "GIT-BUG" "1" "Apr 2019" "Generated from git-bug's source code" ""
.SH NAME
-.PP
git-bug-commands - Display available commands.
.SH SYNOPSIS
-.PP
\fBgit-bug commands [flags]\fP
.SH DESCRIPTION
-.PP
Display available commands.
.SH OPTIONS
-.PP
\fB-p\fP, \fB--pretty\fP[=false]
Output the command description as well as Markdown compatible comment
@@ -27,5 +23,4 @@ Display available commands.
.SH SEE ALSO
-.PP
\fBgit-bug(1)\fP
@@ -2,17 +2,14 @@
.TH "GIT-BUG" "1" "Apr 2019" "Generated from git-bug's source code" ""
.SH NAME
-.PP
git-bug-label - List valid labels
.SH SYNOPSIS
-.PP
\fBgit-bug label [flags]\fP
.SH DESCRIPTION
-.PP
List valid labels.
.PP
@@ -20,11 +17,9 @@ 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 label
.SH SEE ALSO
-.PP
\fBgit-bug(1)\fP
@@ -2,26 +2,21 @@
.TH "GIT-BUG" "1" "Apr 2019" "Generated from git-bug's source code" ""
.SH NAME
-.PP
git-bug-pull - Pull updates from a git remote
.SH SYNOPSIS
-.PP
\fBgit-bug pull [REMOTE] [flags]\fP
.SH DESCRIPTION
-.PP
Pull updates from a git remote
.SH OPTIONS
-.PP
\fB-h\fP, \fB--help\fP[=false]
help for pull
.SH SEE ALSO
-.PP
\fBgit-bug(1)\fP
@@ -2,26 +2,21 @@
.TH "GIT-BUG" "1" "Apr 2019" "Generated from git-bug's source code" ""
.SH NAME
-.PP
git-bug-push - Push updates to a git remote
.SH SYNOPSIS
-.PP
\fBgit-bug push [REMOTE] [flags]\fP
.SH DESCRIPTION
-.PP
Push updates to a git remote
.SH OPTIONS
-.PP
\fB-h\fP, \fB--help\fP[=false]
help for push
.SH SEE ALSO
-.PP
\fBgit-bug(1)\fP
@@ -2,26 +2,21 @@
.TH "GIT-BUG" "1" "Apr 2019" "Generated from git-bug's source code" ""
.SH NAME
-.PP
git-bug-termui - Launch the terminal UI
.SH SYNOPSIS
-.PP
\fBgit-bug termui [flags]\fP
.SH DESCRIPTION
-.PP
Launch the terminal UI
.SH OPTIONS
-.PP
\fB-h\fP, \fB--help\fP[=false]
help for termui
.SH SEE ALSO
-.PP
\fBgit-bug(1)\fP
@@ -2,26 +2,21 @@
.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
.SH SYNOPSIS
-.PP
\fBgit-bug user adopt USER_ID [flags]\fP
.SH DESCRIPTION
-.PP
Adopt an existing identity as your own
.SH OPTIONS
-.PP
\fB-h\fP, \fB--help\fP[=false]
help for adopt
.SH SEE ALSO
-.PP
\fBgit-bug-user(1)\fP
@@ -2,22 +2,18 @@
.TH "GIT-BUG" "1" "Apr 2019" "Generated from git-bug's source code" ""
.SH NAME
-.PP
git-bug-user-new - Create a new identity
.SH SYNOPSIS
-.PP
\fBgit-bug user new [flags]\fP
.SH DESCRIPTION
-.PP
Create a new identity
.SH OPTIONS
-.PP
\fB-a\fP, \fB--avatar\fP=""
Avatar URL
@@ -39,5 +35,4 @@ Create a new identity
.SH SEE ALSO
-.PP
\fBgit-bug-user(1)\fP
@@ -2,22 +2,18 @@
.TH "GIT-BUG" "1" "Apr 2019" "Generated from git-bug's source code" ""
.SH NAME
-.PP
git-bug-user-user - Display a user identity
.SH SYNOPSIS
-.PP
\fBgit-bug user user show [USER_ID] [flags]\fP
.SH DESCRIPTION
-.PP
Display a user identity
.SH OPTIONS
-.PP
\fB-f\fP, \fB--field\fP=""
Select field to display. Valid values are [email,humanId,id,lastModification,lastModificationLamports,login,metadata,name]
@@ -27,5 +23,4 @@ Display a user identity
.SH SEE ALSO
-.PP
\fBgit-bug-user(1)\fP
@@ -2,22 +2,18 @@
.TH "GIT-BUG" "1" "Apr 2019" "Generated from git-bug's source code" ""
.SH NAME
-.PP
git-bug-user - List identities
.SH SYNOPSIS
-.PP
\fBgit-bug user [flags]\fP
.SH DESCRIPTION
-.PP
List identities
.SH OPTIONS
-.PP
\fB-f\fP, \fB--format\fP="default"
Select the output formatting style. Valid values are [default,json]
@@ -27,5 +23,4 @@ List identities
.SH SEE ALSO
-.PP
\fBgit-bug(1)\fP, \fBgit-bug-user-adopt(1)\fP, \fBgit-bug-user-new(1)\fP, \fBgit-bug-user-user(1)\fP
@@ -2,22 +2,18 @@
.TH "GIT-BUG" "1" "Apr 2019" "Generated from git-bug's source code" ""
.SH NAME
-.PP
git-bug-version - Show git-bug version information
.SH SYNOPSIS
-.PP
\fBgit-bug version [flags]\fP
.SH DESCRIPTION
-.PP
Show git-bug version information
.SH OPTIONS
-.PP
\fB-n\fP, \fB--number\fP[=false]
Only show the version number
@@ -35,5 +31,4 @@ Show git-bug version information
.SH SEE ALSO
-.PP
\fBgit-bug(1)\fP
@@ -2,17 +2,14 @@
.TH "GIT-BUG" "1" "Apr 2019" "Generated from git-bug's source code" ""
.SH NAME
-.PP
git-bug-webui - Launch the web UI
.SH SYNOPSIS
-.PP
\fBgit-bug webui [flags]\fP
.SH DESCRIPTION
-.PP
Launch the web UI.
.PP
@@ -21,7 +18,6 @@ Available git config:
.SH OPTIONS
-.PP
\fB--host\fP="127.0.0.1"
Network address or hostname to listen to (default to 127.0.0.1)
@@ -55,5 +51,4 @@ Available git config:
.SH SEE ALSO
-.PP
\fBgit-bug(1)\fP
@@ -2,26 +2,21 @@
.TH "GIT-BUG" "1" "Apr 2019" "Generated from git-bug's source code" ""
.SH NAME
-.PP
git-bug-wipe - Wipe git-bug from the git repository
.SH SYNOPSIS
-.PP
\fBgit-bug wipe [flags]\fP
.SH DESCRIPTION
-.PP
Wipe git-bug from the git repository
.SH OPTIONS
-.PP
\fB-h\fP, \fB--help\fP[=false]
help for wipe
.SH SEE ALSO
-.PP
\fBgit-bug(1)\fP
@@ -2,17 +2,14 @@
.TH "GIT-BUG" "1" "Apr 2019" "Generated from git-bug's source code" ""
.SH NAME
-.PP
git-bug - A bug tracker embedded in Git
.SH SYNOPSIS
-.PP
\fBgit-bug [flags]\fP
.SH DESCRIPTION
-.PP
git-bug is a bug tracker embedded in git.
.PP
@@ -22,11 +19,9 @@ 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
.SH SEE ALSO
-.PP
\fBgit-bug-bridge(1)\fP, \fBgit-bug-bug(1)\fP, \fBgit-bug-commands(1)\fP, \fBgit-bug-label(1)\fP, \fBgit-bug-pull(1)\fP, \fBgit-bug-push(1)\fP, \fBgit-bug-termui(1)\fP, \fBgit-bug-user(1)\fP, \fBgit-bug-version(1)\fP, \fBgit-bug-webui(1)\fP, \fBgit-bug-wipe(1)\fP
@@ -236,15 +236,15 @@ const (
func (l LabelChangeStatus) MarshalGQL(w io.Writer) {
switch l {
case LabelChangeAdded:
- _, _ = fmt.Fprintf(w, strconv.Quote("ADDED"))
+ _, _ = w.Write([]byte(strconv.Quote("ADDED")))
case LabelChangeRemoved:
- _, _ = fmt.Fprintf(w, strconv.Quote("REMOVED"))
+ _, _ = w.Write([]byte(strconv.Quote("REMOVED")))
case LabelChangeDuplicateInOp:
- _, _ = fmt.Fprintf(w, strconv.Quote("DUPLICATE_IN_OP"))
+ _, _ = w.Write([]byte(strconv.Quote("DUPLICATE_IN_OP")))
case LabelChangeAlreadySet:
- _, _ = fmt.Fprintf(w, strconv.Quote("ALREADY_EXIST"))
+ _, _ = w.Write([]byte(strconv.Quote("ALREADY_EXIST")))
case LabelChangeDoesntExist:
- _, _ = fmt.Fprintf(w, strconv.Quote("DOESNT_EXIST"))
+ _, _ = w.Write([]byte(strconv.Quote("DOESNT_EXIST")))
default:
panic("missing case")
}
@@ -61,9 +61,9 @@ func (s Status) Validate() error {
func (s Status) MarshalGQL(w io.Writer) {
switch s {
case OpenStatus:
- _, _ = fmt.Fprintf(w, strconv.Quote("OPEN"))
+ _, _ = w.Write([]byte(strconv.Quote("OPEN")))
case ClosedStatus:
- _, _ = fmt.Fprintf(w, strconv.Quote("CLOSED"))
+ _, _ = w.Write([]byte(strconv.Quote("CLOSED")))
default:
panic("missing case")
}
@@ -1,6 +1,6 @@
module github.com/git-bug/git-bug
-go 1.23.0
+go 1.24.0
toolchain go1.24.2
@@ -9,7 +9,7 @@ toolchain go1.24.2
replace github.com/willf/bitset v1.1.11 => github.com/bits-and-blooms/bitset v1.1.11
require (
- github.com/99designs/gqlgen v0.17.49
+ github.com/99designs/gqlgen v0.17.73
github.com/99designs/keyring v1.2.2
github.com/MichaelMure/go-term-text v0.3.1
github.com/ProtonMail/go-crypto v1.1.3
@@ -33,7 +33,7 @@ require (
github.com/spf13/cobra v1.8.1
github.com/stretchr/testify v1.10.0
github.com/vbauerster/mpb/v8 v8.8.2
- github.com/vektah/gqlparser/v2 v2.5.25
+ github.com/vektah/gqlparser/v2 v2.5.26
gitlab.com/gitlab-org/api/client-go v0.116.0
golang.org/x/crypto v0.37.0
golang.org/x/oauth2 v0.22.0
@@ -42,12 +42,7 @@ require (
golang.org/x/text v0.24.0
)
-require (
- github.com/google/go-querystring v1.1.0 // indirect
- github.com/hashicorp/go-cleanhttp v0.5.2 // indirect
- github.com/hashicorp/go-retryablehttp v0.7.7 // indirect
- golang.org/x/time v0.3.0 // indirect
-)
+tool github.com/99designs/gqlgen
require (
dario.cat/mergo v1.0.1 // indirect
@@ -70,7 +65,7 @@ require (
github.com/cloudflare/circl v1.4.0 // indirect
github.com/corpix/uarand v0.2.0 // indirect
github.com/couchbase/vellum v1.0.2 // indirect
- github.com/cpuguy83/go-md2man/v2 v2.0.4 // indirect
+ github.com/cpuguy83/go-md2man/v2 v2.0.5 // indirect
github.com/cyphar/filepath-securejoin v0.3.3 // indirect
github.com/danieljoos/wincred v1.2.2 // indirect
github.com/davecgh/go-spew v1.1.1 // indirect
@@ -79,20 +74,23 @@ require (
github.com/gdamore/encoding v1.0.1 // indirect
github.com/gdamore/tcell/v2 v2.7.4 // indirect
github.com/go-git/gcfg v1.5.1-0.20230307220236-3a3c6141e376 // indirect
+ github.com/go-viper/mapstructure/v2 v2.2.1 // indirect
github.com/godbus/dbus v0.0.0-20190726142602-4481cbc300e2 // indirect
github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect
github.com/golang/protobuf v1.5.4 // indirect
github.com/golang/snappy v0.0.4 // indirect
+ github.com/google/go-querystring v1.1.0 // indirect
github.com/google/uuid v1.6.0 // indirect
github.com/gorilla/websocket v1.5.3 // indirect
github.com/gsterjov/go-libsecret v0.0.0-20161001094733-a6f4afe4910c // indirect
+ github.com/hashicorp/go-cleanhttp v0.5.2 // indirect
+ github.com/hashicorp/go-retryablehttp v0.7.7 // indirect
github.com/inconshreveable/mousetrap v1.1.0 // indirect
github.com/jbenet/go-context v0.0.0-20150711004518-d14ea06fba99 // indirect
github.com/kevinburke/ssh_config v1.2.0 // indirect
github.com/lucasb-eyer/go-colorful v1.2.0 // indirect
- github.com/mattn/go-colorable v0.1.13 // indirect
+ github.com/mattn/go-colorable v0.1.14 // indirect
github.com/mattn/go-runewidth v0.0.16 // indirect
- github.com/mitchellh/mapstructure v1.5.0 // indirect
github.com/mschoch/smat v0.2.0 // indirect
github.com/mtibben/percent v0.2.1 // indirect
github.com/pjbgf/sha1cd v0.3.0 // indirect
@@ -106,18 +104,19 @@ require (
github.com/spf13/pflag v1.0.5 // indirect
github.com/steveyen/gtreap v0.1.0 // indirect
github.com/stretchr/objx v0.5.2 // indirect
- github.com/urfave/cli/v2 v2.27.2 // indirect
+ github.com/urfave/cli/v2 v2.27.6 // indirect
github.com/willf/bitset v1.1.11 // indirect
github.com/xanzy/ssh-agent v0.3.3 // indirect
github.com/xrash/smetrics v0.0.0-20240521201337-686a1a2994c1 // indirect
go.etcd.io/bbolt v1.3.10 // indirect
- golang.org/x/mod v0.19.0 // indirect
+ golang.org/x/mod v0.24.0 // indirect
golang.org/x/net v0.39.0
golang.org/x/telemetry v0.0.0-20240723021908-ccdfb411a0c4 // indirect
golang.org/x/term v0.31.0
- golang.org/x/tools v0.23.0 // indirect
+ golang.org/x/time v0.3.0 // indirect
+ golang.org/x/tools v0.32.0 // indirect
golang.org/x/vuln v1.1.3
- google.golang.org/protobuf v1.34.2 // indirect
+ google.golang.org/protobuf v1.36.6 // indirect
gopkg.in/warnings.v0 v0.1.2 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
)
@@ -2,8 +2,8 @@ dario.cat/mergo v1.0.1 h1:Ra4+bf83h2ztPIQYNP99R6m+Y7KfnARDfID+a+vLl4s=
dario.cat/mergo v1.0.1/go.mod h1:uNxQE+84aUszobStD9th8a29P2fMDhsBdgRYvZOxGmk=
github.com/99designs/go-keychain v0.0.0-20191008050251-8e49817e8af4 h1:/vQbFIOMbk2FiG/kXiLl8BRyzTWDw7gX/Hz7Dd5eDMs=
github.com/99designs/go-keychain v0.0.0-20191008050251-8e49817e8af4/go.mod h1:hN7oaIRCjzsZ2dE+yG5k+rsdt3qcwykqK6HVGcKwsw4=
-github.com/99designs/gqlgen v0.17.49 h1:b3hNGexHd33fBSAd4NDT/c3NCcQzcAVkknhN9ym36YQ=
-github.com/99designs/gqlgen v0.17.49/go.mod h1:tC8YFVZMed81x7UJ7ORUwXF4Kn6SXuucFqQBhN8+BU0=
+github.com/99designs/gqlgen v0.17.73 h1:A3Ki+rHWqKbAOlg5fxiZBnz6OjW3nwupDHEG15gEsrg=
+github.com/99designs/gqlgen v0.17.73/go.mod h1:2RyGWjy2k7W9jxrs8MOQthXGkD3L3oGr0jXW3Pu8lGg=
github.com/99designs/keyring v1.2.2 h1:pZd3neh/EmUzWONb35LxQfvuY7kiSXAq3HQd97+XBn0=
github.com/99designs/keyring v1.2.2/go.mod h1:wes/FrByc8j7lFOAGLGSNEg8f/PaI3cgTBqhFkHUrPk=
github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU=
@@ -14,8 +14,8 @@ github.com/Microsoft/go-winio v0.6.2 h1:F2VQgta7ecxGYO8k3ZZz3RS8fVIXVxONVUPlNERo
github.com/Microsoft/go-winio v0.6.2/go.mod h1:yd8OoFMLzJbo9gZq8j5qaps8bJ9aShtEA8Ipt1oGCvU=
github.com/ProtonMail/go-crypto v1.1.3 h1:nRBOetoydLeUb4nHajyO2bKqMLfWQ/ZPwkXqXxPxCFk=
github.com/ProtonMail/go-crypto v1.1.3/go.mod h1:rA3QumHc/FZ8pAHreoekgiAbzpNsfQAosU5td4SnOrE=
-github.com/PuerkitoBio/goquery v1.9.2 h1:4/wZksC3KgkQw7SQgkKotmKljk0M6V8TUvA8Wb4yPeE=
-github.com/PuerkitoBio/goquery v1.9.2/go.mod h1:GHPCaP0ODyyxqcNoFGYlAprUFH81NuRPd0GX3Zu2Mvk=
+github.com/PuerkitoBio/goquery v1.10.3 h1:pFYcNSqHxBD06Fpj/KsbStFRsgRATgnf3LeXiUkhzPo=
+github.com/PuerkitoBio/goquery v1.10.3/go.mod h1:tMUX0zDMHXYlAQk6p35XxQMqMweEKB7iK7iLNd4RH4Y=
github.com/RoaringBitmap/roaring v0.4.23/go.mod h1:D0gp8kJQgE1A4LQ5wFLggQEyvDi06Mq5mKs52e1TwOo=
github.com/RoaringBitmap/roaring v1.9.4 h1:yhEIoH4YezLYT04s1nHehNO64EKFTop/wBhxv2QzDdQ=
github.com/RoaringBitmap/roaring v1.9.4/go.mod h1:6AXUsoIEzDTFFQCe1RbGA6uFONMhvejWj5rqITANK90=
@@ -27,8 +27,8 @@ github.com/agnivade/levenshtein v1.2.1 h1:EHBY3UOn1gwdy/VbFwgo4cxecRznFk7fKWN1KO
github.com/agnivade/levenshtein v1.2.1/go.mod h1:QVVI16kDrtSuwcpd0p1+xMC6Z/VfhtCyDIjcwga4/DU=
github.com/andreyvit/diff v0.0.0-20170406064948-c7f18ee00883 h1:bvNMNQO63//z+xNgfBlViaCIJKLlCJ6/fmUseuG0wVQ=
github.com/andreyvit/diff v0.0.0-20170406064948-c7f18ee00883/go.mod h1:rCTlJbsFo29Kk6CurOXKm700vrz8f0KW0JNfpkRJY/8=
-github.com/andybalholm/cascadia v1.3.2 h1:3Xi6Dw5lHF15JtdcmAHD3i1+T8plmv7BQ/nsViSLyss=
-github.com/andybalholm/cascadia v1.3.2/go.mod h1:7gtRlve5FxPPgIgX36uWBX58OdBsSS6lUvCFb+h7KvU=
+github.com/andybalholm/cascadia v1.3.3 h1:AG2YHrzJIm4BZ19iwJ/DAua6Btl3IwJX+VI4kktS1LM=
+github.com/andybalholm/cascadia v1.3.3/go.mod h1:xNd9bqTn98Ln4DwST8/nG+H0yuB8Hmgu1YHNnWw0GeA=
github.com/anmitsu/go-shlex v0.0.0-20200514113438-38f4b401e2be h1:9AeTilPcZAjCFIImctFaOjnTIavg87rW78vTPkQqLI8=
github.com/anmitsu/go-shlex v0.0.0-20200514113438-38f4b401e2be/go.mod h1:ySMOLuWl6zY27l47sB3qLNK6tF2fkHG55UZxx8oIVo4=
github.com/araddon/dateparse v0.0.0-20210429162001-6b43995a97de h1:FxWPpzIjnTlhPwqqXc4/vE0f7GvRjuAsbW+HOIe8KnA=
@@ -82,8 +82,9 @@ github.com/couchbase/moss v0.1.0/go.mod h1:9MaHIaRuy9pvLPUJxB8sh8OrLfyDczECVL37g
github.com/couchbase/vellum v1.0.2 h1:BrbP0NKiyDdndMPec8Jjhy0U47CZ0Lgx3xUC2r9rZqw=
github.com/couchbase/vellum v1.0.2/go.mod h1:FcwrEivFpNi24R3jLOs3n+fs5RnuQnQqCLBJ1uAg1W4=
github.com/cpuguy83/go-md2man v1.0.10/go.mod h1:SmD6nW6nTyfqj6ABTjUi3V3JVMnlJmwcJI5acqYI6dE=
-github.com/cpuguy83/go-md2man/v2 v2.0.4 h1:wfIWP927BUkWJb2NmU/kNDYIBTh/ziUX91+lVfRxZq4=
github.com/cpuguy83/go-md2man/v2 v2.0.4/go.mod h1:tgQtvFlXSQOSOSIRvRPT7W67SCa46tRHOmNcaadrF8o=
+github.com/cpuguy83/go-md2man/v2 v2.0.5 h1:ZtcqGrnekaHpVLArFSe4HK5DoKx1T0rq2DwVB0alcyc=
+github.com/cpuguy83/go-md2man/v2 v2.0.5/go.mod h1:tgQtvFlXSQOSOSIRvRPT7W67SCa46tRHOmNcaadrF8o=
github.com/cyphar/filepath-securejoin v0.3.3 h1:lofZkCEVFIBe0KcdQOzFs8Soy9oaHOWl4gGtPI+gCFc=
github.com/cyphar/filepath-securejoin v0.3.3/go.mod h1:8s/MCNJREmFK0H02MF6Ihv1nakJe4L/w3WZLHNkvlYM=
github.com/cznic/b v0.0.0-20181122101859-a26611c4d92d h1:SwD98825d6bdB+pEuTxWOXiSjBrHdOl/UVp75eI7JT8=
@@ -129,6 +130,8 @@ github.com/go-git/go-git-fixtures/v4 v4.3.2-0.20231010084843-55a94097c399 h1:eMj
github.com/go-git/go-git-fixtures/v4 v4.3.2-0.20231010084843-55a94097c399/go.mod h1:1OCfN199q1Jm3HZlxleg+Dw/mwps2Wbk9frAWm+4FII=
github.com/go-git/go-git/v5 v5.13.0 h1:vLn5wlGIh/X78El6r3Jr+30W16Blk0CTcxTYcYPWi5E=
github.com/go-git/go-git/v5 v5.13.0/go.mod h1:Wjo7/JyVKtQgUNdXYXIepzWfJQkUEIGvkvVkiXRR/zw=
+github.com/go-viper/mapstructure/v2 v2.2.1 h1:ZAaOCxANMuZx5RCeg0mBdEZk7DZasvvZIxtHqx8aGss=
+github.com/go-viper/mapstructure/v2 v2.2.1/go.mod h1:oJDH3BJKyqBA2TXFhDsKDGDTlndYOZ6rGS0BRZIxGhM=
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/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da h1:oI5xCqsCo564l8iNU+DwB5epxmsaqB+rhGL0m5jtYqE=
@@ -194,9 +197,8 @@ github.com/lucasb-eyer/go-colorful v1.0.3/go.mod h1:R4dSotOR9KMtayYi1e77YzuveK+i
github.com/lucasb-eyer/go-colorful v1.2.0 h1:1nnpGOrhyZZuNyfu1QjKiUICQ74+3FNCN69Aj6K7nkY=
github.com/lucasb-eyer/go-colorful v1.2.0/go.mod h1:R4dSotOR9KMtayYi1e77YzuveK+i7ruzyGqttikkLy0=
github.com/magiconair/properties v1.8.0/go.mod h1:PppfXfuXeibc/6YijjN8zIbojt8czPbwD3XqdrwzmxQ=
-github.com/mattn/go-colorable v0.1.13 h1:fFA4WZxdEF4tXPZVKMLwD8oUnCTTo08duU7wxecdEvA=
-github.com/mattn/go-colorable v0.1.13/go.mod h1:7S9/ev0klgBDR4GtXTXX8a3vIGJpMovkB8vQcUbaXHg=
-github.com/mattn/go-isatty v0.0.16/go.mod h1:kYGgaQfpe5nmfYZH+SKPsOc2e4SrIfOl2e/yFXSvRLM=
+github.com/mattn/go-colorable v0.1.14 h1:9A9LHSqF/7dyVVX6g0U9cwm9pG3kP9gSzcuIPHPsaIE=
+github.com/mattn/go-colorable v0.1.14/go.mod h1:6LmQG8QLFO4G5z1gPvYEzlUgJ2wF+stgPZH1UqBm1s8=
github.com/mattn/go-isatty v0.0.20 h1:xfD0iDuEKnDkl03q4limB+vH+GxLEtL/jb4xVJSWWEY=
github.com/mattn/go-isatty v0.0.20/go.mod h1:W+V8PltTTMOvKvAeJH7IuucS94S2C6jfK/D7dTCTo3Y=
github.com/mattn/go-runewidth v0.0.10/go.mod h1:RAqKPSqVFrSLVXbA8x7dzmKdmGzieGRCM46jaSJTDAk=
@@ -206,8 +208,6 @@ github.com/mattn/go-runewidth v0.0.16 h1:E5ScNMtiwvlvB5paMFdw9p4kSQzbXFikJ5SQO6T
github.com/mattn/go-runewidth v0.0.16/go.mod h1:Jdepj2loyihRzMpdS35Xk/zdY8IAYHsh153qUoGf23w=
github.com/mitchellh/go-homedir v1.1.0/go.mod h1:SfyaCUpYCn1Vlf4IUYiD9fPX4A5wJrkLzIz1N1q0pr0=
github.com/mitchellh/mapstructure v1.1.2/go.mod h1:FVVH3fgwuzCH5S8UJGiWEs2h04kUh9fWfEaFds41c1Y=
-github.com/mitchellh/mapstructure v1.5.0 h1:jeMsZIYE/09sWLaz43PL7Gy6RuMjD2eJVyuac5Z2hdY=
-github.com/mitchellh/mapstructure v1.5.0/go.mod h1:bFUtVrKA4DC2yAKiSyO/QUcy7e+RRV2QTWOzhPopBRo=
github.com/mschoch/smat v0.0.0-20160514031455-90eadee771ae/go.mod h1:qAyveg+e4CE+eKJXWVjKXM4ck2QobLqTDytGJbLLhJg=
github.com/mschoch/smat v0.2.0 h1:8imxQsjDm8yFEAVBe7azKmKSgzSkZXDuKkSq9374khM=
github.com/mschoch/smat v0.2.0/go.mod h1:kc9mz7DoBKqDyiRL7VZN8KvXQMWeTaVnttLRXOlotKw=
@@ -286,12 +286,12 @@ github.com/tecbot/gorocksdb v0.0.0-20191217155057-f0fad39f321c h1:g+WoO5jjkqGAzH
github.com/tecbot/gorocksdb v0.0.0-20191217155057-f0fad39f321c/go.mod h1:ahpPrc7HpcfEWDQRZEmnXMzHY03mLDYMCxeDzy46i+8=
github.com/tinylib/msgp v1.1.0/go.mod h1:+d+yLhGm8mzTaHzB+wgMYrodPfmZrzkirds8fDWklFE=
github.com/ugorji/go/codec v0.0.0-20181204163529-d75b2dcb6bc8/go.mod h1:VFNgLljTbGfSG7qAOspJ7OScBnGdDN/yBr0sguwnwf0=
-github.com/urfave/cli/v2 v2.27.2 h1:6e0H+AkS+zDckwPCUrZkKX38mRaau4nL2uipkJpbkcI=
-github.com/urfave/cli/v2 v2.27.2/go.mod h1:g0+79LmHHATl7DAcHO99smiR/T7uGLw84w8Y42x+4eM=
+github.com/urfave/cli/v2 v2.27.6 h1:VdRdS98FNhKZ8/Az8B7MTyGQmpIr36O1EHybx/LaZ4g=
+github.com/urfave/cli/v2 v2.27.6/go.mod h1:3Sevf16NykTbInEnD0yKkjDAeZDS0A6bzhBH5hrMvTQ=
github.com/vbauerster/mpb/v8 v8.8.2 h1:j9D/WmvKZw0BK1etRkw8lxVMKs4KO3TgdXsQWyEyPuc=
github.com/vbauerster/mpb/v8 v8.8.2/go.mod h1:JfCCrtcMsJwP6ZwMn9e5LMnNyp3TVNpUWWkN+nd4EWk=
-github.com/vektah/gqlparser/v2 v2.5.25 h1:FmWtFEa+invTIzWlWK6Vk7BVEZU/97QBzeI8Z1JjGt8=
-github.com/vektah/gqlparser/v2 v2.5.25/go.mod h1:D1/VCZtV3LPnQrcPBeR/q5jkSQIPti0uYCP/RI0gIeo=
+github.com/vektah/gqlparser/v2 v2.5.26 h1:REqqFkO8+SOEgZHR/eHScjjVjGS8Nk3RMO/juiTobN4=
+github.com/vektah/gqlparser/v2 v2.5.26/go.mod h1:D1/VCZtV3LPnQrcPBeR/q5jkSQIPti0uYCP/RI0gIeo=
github.com/willf/bitset v1.1.10/go.mod h1:RjeCKbqT1RxIR/KWY6phxZiaY1IyutSBfGjNPySAYV4=
github.com/xanzy/ssh-agent v0.3.3 h1:+/15pJfg/RsTxqYcX6fHqOXZwwMP+2VyYWJeWM2qQFM=
github.com/xanzy/ssh-agent v0.3.3/go.mod h1:6dzNDKs0J9rVPHPhaGCukekBHKqfl+L3KghI1Bc68Uw=
@@ -314,8 +314,8 @@ golang.org/x/exp v0.0.0-20240719175910-8a7402abbf56 h1:2dVuKD2vS7b0QIHQbpyTISPd0
golang.org/x/exp v0.0.0-20240719175910-8a7402abbf56/go.mod h1:M4RDyNAINzryxdtnbRXRL/OHtkFuWGRjvuhBJpk2IlY=
golang.org/x/mod v0.6.0-dev.0.20220419223038-86c51ed26bb4/go.mod h1:jJ57K6gSWd91VN4djpZkiMVwK6gcyfeH4XE8wZrZaV4=
golang.org/x/mod v0.8.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs=
-golang.org/x/mod v0.19.0 h1:fEdghXQSo20giMthA7cd28ZC+jts4amQ3YMXiP5oMQ8=
-golang.org/x/mod v0.19.0/go.mod h1:hTbmBsO62+eylJbnUtE2MGJUyE7QWk4xUqPFrRgJ+7c=
+golang.org/x/mod v0.24.0 h1:ZfthKaKaT4NrhGVZHO1/WDTwGES4De8KtWO0SIbNJMU=
+golang.org/x/mod v0.24.0/go.mod h1:IXM97Txy2VM4PJ3gI61r1YEk/gAj6zAHN3AdZt6S9Ww=
golang.org/x/net v0.0.0-20180906233101-161cd47e91fd/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s=
golang.org/x/net v0.0.0-20210226172049-e18ecbb05110/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg=
@@ -346,7 +346,6 @@ golang.org/x/sys v0.0.0-20210615035016-665e8c7367d1/go.mod h1:oPkhp1MJrh7nUepCBc
golang.org/x/sys v0.0.0-20220520151302-bc2c85ada10a/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.0.0-20220715151400-c0bba94af5f8/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.0.0-20220722155257-8c9f86f7a55f/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
-golang.org/x/sys v0.0.0-20220811171246-fbc7d0a398ab/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.5.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.6.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.17.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
@@ -375,14 +374,14 @@ golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGm
golang.org/x/tools v0.0.0-20191119224855-298f0cb1881e/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo=
golang.org/x/tools v0.1.12/go.mod h1:hNGJHUnrk76NpqgfD5Aqm5Crs+Hm0VOH/i9J2+nxYbc=
golang.org/x/tools v0.6.0/go.mod h1:Xwgl3UAJ/d3gWutnCtw505GrjyAbvKui8lOU390QaIU=
-golang.org/x/tools v0.23.0 h1:SGsXPZ+2l4JsgaCKkx+FQ9YZ5XEtA1GZYuoDjenLjvg=
-golang.org/x/tools v0.23.0/go.mod h1:pnu6ufv6vQkll6szChhK3C3L/ruaIv5eBeztNG8wtsI=
+golang.org/x/tools v0.32.0 h1:Q7N1vhpkQv7ybVzLFtTjvQya2ewbwNDZzUgfXGqtMWU=
+golang.org/x/tools v0.32.0/go.mod h1:ZxrU41P/wAbZD8EDa6dDCa6XfpkhJ7HFMjHJXfBDu8s=
golang.org/x/vuln v1.1.3 h1:NPGnvPOTgnjBc9HTaUx+nj+EaUYxl5SJOWqaDYGaFYw=
golang.org/x/vuln v1.1.3/go.mod h1:7Le6Fadm5FOqE9C926BCD0g12NWyhg7cxV4BwcPFuNY=
golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
-google.golang.org/protobuf v1.34.2 h1:6xV6lTsCfpGD21XK49h7MhtcApnLqkfYgPcdHftf6hg=
-google.golang.org/protobuf v1.34.2/go.mod h1:qYOHts0dSfpeUzUFpOMr/WGzszTmLH+DiWniOlNbLDw=
+google.golang.org/protobuf v1.36.6 h1:z1NpPI8ku2WgiWnf+t9wTPsn6eP1L7ksHUlkfLvd9xY=
+google.golang.org/protobuf v1.36.6/go.mod h1:jduwjTPXsFjZGTmRluh+L6NjiWu7pchiJ2/5YcXBHnY=
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
gopkg.in/check.v1 v1.0.0-20200902074654-038fdea0a05b/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
@@ -3,7 +3,6 @@
package tools
import (
- _ "github.com/99designs/gqlgen"
_ "github.com/shurcooL/httpfs/filter"
_ "github.com/shurcooL/vfsgen"
_ "golang.org/x/vuln/cmd/govulncheck"