diff options
Diffstat (limited to 'graphql')
-rw-r--r-- | graphql/graph/gen_graph.go | 14 | ||||
-rw-r--r-- | graphql/schema.graphql | 1 |
2 files changed, 15 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 { diff --git a/graphql/schema.graphql b/graphql/schema.graphql index e4299629..5910984d 100644 --- a/graphql/schema.graphql +++ b/graphql/schema.graphql @@ -92,6 +92,7 @@ type SetTitleOperation implements Operation, Authored { date: Time! title: String! + was: String! } type AddCommentOperation implements Operation, Authored { |