From 60fcfcdcb0e89741528cfc99a94a48f204d48e6b Mon Sep 17 00:00:00 2001 From: Michael Muré Date: Wed, 12 Sep 2018 16:57:04 +0200 Subject: bug: change the OperationPack serialization format for Json See https://github.com/MichaelMure/git-bug/issues/5 for the details of this choice --- graphql/graph/gen_graph.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'graphql') diff --git a/graphql/graph/gen_graph.go b/graphql/graph/gen_graph.go index 6969f008..a3ea1738 100644 --- a/graphql/graph/gen_graph.go +++ b/graphql/graph/gen_graph.go @@ -340,7 +340,7 @@ func (ec *executionContext) _AddCommentOperation_files(ctx context.Context, fiel rctx.Field = field rctx.PushField(field.Alias) defer rctx.Pop() - res := obj.Files() + res := obj.Files arr1 := graphql.Array{} for idx1 := range res { arr1 = append(arr1, func() graphql.Marshaler { @@ -1157,7 +1157,7 @@ func (ec *executionContext) _CreateOperation_files(ctx context.Context, field gr rctx.Field = field rctx.PushField(field.Alias) defer rctx.Pop() - res := obj.Files() + res := obj.Files arr1 := graphql.Array{} for idx1 := range res { arr1 = append(arr1, func() graphql.Marshaler { -- cgit