aboutsummaryrefslogtreecommitdiffstats
path: root/api/graphql/graph/operations.generated.go
diff options
context:
space:
mode:
authorMichael Muré <batolettre@gmail.com>2022-08-20 11:01:37 +0200
committerGitHub <noreply@github.com>2022-08-20 11:01:37 +0200
commit855684149740e2fb8eec21f3d97df2eba39b27c5 (patch)
treea3bd60a9f533fc6fc11a094038d095510210cd23 /api/graphql/graph/operations.generated.go
parent58df94d38d754bff4dcca11e2ae4b99326a9a87e (diff)
parent8818d091e85087766d7f493b7dfaf1aedc3a4ab0 (diff)
downloadgit-bug-855684149740e2fb8eec21f3d97df2eba39b27c5.tar.gz
Merge pull request #856 from MichaelMure/common-status
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) {