diff options
author | Michael Muré <batolettre@gmail.com> | 2022-08-20 11:01:37 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-20 11:01:37 +0200 |
commit | 855684149740e2fb8eec21f3d97df2eba39b27c5 (patch) | |
tree | a3bd60a9f533fc6fc11a094038d095510210cd23 /api/graphql/graph/timeline.generated.go | |
parent | 58df94d38d754bff4dcca11e2ae4b99326a9a87e (diff) | |
parent | 8818d091e85087766d7f493b7dfaf1aedc3a4ab0 (diff) | |
download | git-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/timeline.generated.go')
-rw-r--r-- | api/graphql/graph/timeline.generated.go | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/api/graphql/graph/timeline.generated.go b/api/graphql/graph/timeline.generated.go index 9d9b85b4..9ad32e0b 100644 --- a/api/graphql/graph/timeline.generated.go +++ b/api/graphql/graph/timeline.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/repository" "github.com/vektah/gqlparser/v2/ast" ) @@ -1419,9 +1420,9 @@ func (ec *executionContext) _SetStatusTimelineItem_status(ctx context.Context, f } 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_SetStatusTimelineItem_status(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { @@ -1991,6 +1992,8 @@ func (ec *executionContext) _TimelineItem(ctx context.Context, sel ast.Selection return graphql.Null } return ec._SetStatusTimelineItem(ctx, sel, obj) + case bug.SetTitleTimelineItem: + return ec._SetTitleTimelineItem(ctx, sel, &obj) case *bug.SetTitleTimelineItem: if obj == nil { return graphql.Null |