aboutsummaryrefslogtreecommitdiffstats
path: root/graphql/graph/gen_graph.go
diff options
context:
space:
mode:
authorMichael Muré <batolettre@gmail.com>2018-08-15 22:01:45 +0200
committerMichael Muré <batolettre@gmail.com>2018-08-15 22:01:45 +0200
commita47409377417538b7be446a6aa33dae8989cfd9a (patch)
tree88b52134a0e0818aa03661de0ba55adfa9df1709 /graphql/graph/gen_graph.go
parentcf9e83e74dc5f91b0e13fbdb79848925e68809a3 (diff)
downloadgit-bug-a47409377417538b7be446a6aa33dae8989cfd9a.tar.gz
bug: add "was" on SetTitleOperation to store what the title was
Diffstat (limited to 'graphql/graph/gen_graph.go')
-rw-r--r--graphql/graph/gen_graph.go14
1 files changed, 14 insertions, 0 deletions
diff --git a/graphql/graph/gen_graph.go b/graphql/graph/gen_graph.go
index 605fa15a..06c65e84 100644
--- a/graphql/graph/gen_graph.go
+++ b/graphql/graph/gen_graph.go
@@ -2413,6 +2413,8 @@ func (ec *executionContext) _SetTitleOperation(ctx context.Context, sel []query.
out.Values[i] = ec._SetTitleOperation_date(ctx, field, obj)
case "title":
out.Values[i] = ec._SetTitleOperation_title(ctx, field, obj)
+ case "was":
+ out.Values[i] = ec._SetTitleOperation_was(ctx, field, obj)
default:
panic("unknown field " + strconv.Quote(field.Name))
}
@@ -2473,6 +2475,17 @@ func (ec *executionContext) _SetTitleOperation_title(ctx context.Context, field
return graphql.MarshalString(res)
}
+func (ec *executionContext) _SetTitleOperation_was(ctx context.Context, field graphql.CollectedField, obj *operations.SetTitleOperation) graphql.Marshaler {
+ rctx := graphql.GetResolverContext(ctx)
+ rctx.Object = "SetTitleOperation"
+ rctx.Args = nil
+ rctx.Field = field
+ rctx.PushField(field.Alias)
+ defer rctx.Pop()
+ res := obj.Was
+ return graphql.MarshalString(res)
+}
+
var __DirectiveImplementors = []string{"__Directive"}
// nolint: gocyclo, errcheck, gas, goconst
@@ -3331,6 +3344,7 @@ type SetTitleOperation implements Operation, Authored {
date: Time!
title: String!
+ was: String!
}
type AddCommentOperation implements Operation, Authored {