diff options
author | Michael Muré <batolettre@gmail.com> | 2018-09-29 00:44:35 +0200 |
---|---|---|
committer | Michael Muré <batolettre@gmail.com> | 2018-09-29 00:48:38 +0200 |
commit | 8af6f7d98f2fd98f85d6a17bcda49983c272cf48 (patch) | |
tree | 57724cff733aa9e09cf68de1060224b33d001773 /graphql | |
parent | 8ab2f173e7e5b008d9a5c72d124e99fe0cd578ab (diff) | |
download | git-bug-8af6f7d98f2fd98f85d6a17bcda49983c272cf48.tar.gz |
graphql: manually fix the generated code, gix the graphql handler
Diffstat (limited to 'graphql')
-rw-r--r-- | graphql/graph/gen_graph.go | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/graphql/graph/gen_graph.go b/graphql/graph/gen_graph.go index c9bb165c..95a15499 100644 --- a/graphql/graph/gen_graph.go +++ b/graphql/graph/gen_graph.go @@ -5516,16 +5516,16 @@ func (ec *executionContext) _Operation(ctx context.Context, sel ast.SelectionSet switch obj := (*obj).(type) { case nil: return graphql.Null - case *operations.CreateOperation: - return ec._CreateOperation(ctx, sel, obj) - case *operations.SetTitleOperation: - return ec._SetTitleOperation(ctx, sel, obj) - case *operations.AddCommentOperation: - return ec._AddCommentOperation(ctx, sel, obj) - case *operations.SetStatusOperation: - return ec._SetStatusOperation(ctx, sel, obj) - case *operations.LabelChangeOperation: - return ec._LabelChangeOperation(ctx, sel, obj) + case operations.CreateOperation: + return ec._CreateOperation(ctx, sel, &obj) + case operations.SetTitleOperation: + return ec._SetTitleOperation(ctx, sel, &obj) + case operations.AddCommentOperation: + return ec._AddCommentOperation(ctx, sel, &obj) + case operations.SetStatusOperation: + return ec._SetStatusOperation(ctx, sel, &obj) + case operations.LabelChangeOperation: + return ec._LabelChangeOperation(ctx, sel, &obj) default: panic(fmt.Errorf("unexpected type %T", obj)) } |