aboutsummaryrefslogtreecommitdiffstats
path: root/api/graphql/graph/operations.generated.go
diff options
context:
space:
mode:
authorMichael Muré <batolettre@gmail.com>2022-08-20 10:52:11 +0200
committerMichael Muré <batolettre@gmail.com>2022-08-20 10:52:11 +0200
commit8818d091e85087766d7f493b7dfaf1aedc3a4ab0 (patch)
treea3bd60a9f533fc6fc11a094038d095510210cd23 /api/graphql/graph/operations.generated.go
parent58df94d38d754bff4dcca11e2ae4b99326a9a87e (diff)
downloadgit-bug-8818d091e85087766d7f493b7dfaf1aedc3a4ab0.tar.gz
move bug.Status in entities/common for reuse
Diffstat (limited to 'api/graphql/graph/operations.generated.go')
-rw-r--r--api/graphql/graph/operations.generated.go5
1 files changed, 3 insertions, 2 deletions
diff --git a/api/graphql/graph/operations.generated.go b/api/graphql/graph/operations.generated.go
index d82fa5d4..39a216f4 100644
--- a/api/graphql/graph/operations.generated.go
+++ b/api/graphql/graph/operations.generated.go
@@ -14,6 +14,7 @@ import (
"github.com/99designs/gqlgen/graphql"
"github.com/MichaelMure/git-bug/api/graphql/models"
"github.com/MichaelMure/git-bug/entities/bug"
+ "github.com/MichaelMure/git-bug/entities/common"
"github.com/MichaelMure/git-bug/entity/dag"
"github.com/MichaelMure/git-bug/repository"
"github.com/vektah/gqlparser/v2/ast"
@@ -1573,9 +1574,9 @@ func (ec *executionContext) _SetStatusOperation_status(ctx context.Context, fiel
}
return graphql.Null
}
- res := resTmp.(bug.Status)
+ res := resTmp.(common.Status)
fc.Result = res
- return ec.marshalNStatus2githubᚗcomᚋMichaelMureᚋgitᚑbugᚋentitiesᚋbugᚐStatus(ctx, field.Selections, res)
+ return ec.marshalNStatus2githubᚗcomᚋMichaelMureᚋgitᚑbugᚋentitiesᚋcommonᚐStatus(ctx, field.Selections, res)
}
func (ec *executionContext) fieldContext_SetStatusOperation_status(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {