summaryrefslogtreecommitdiffstatshomepage
path: root/api/graphql/graph/root_.generated.go
diff options
context:
space:
mode:
Diffstat (limited to 'api/graphql/graph/root_.generated.go')
-rw-r--r--api/graphql/graph/root_.generated.go113
1 files changed, 26 insertions, 87 deletions
diff --git a/api/graphql/graph/root_.generated.go b/api/graphql/graph/root_.generated.go
index 30740b9c8..8f6ae0152 100644
--- a/api/graphql/graph/root_.generated.go
+++ b/api/graphql/graph/root_.generated.go
@@ -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!