diff options
Diffstat (limited to 'graphql')
-rw-r--r-- | graphql/graph/gen_graph.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/graphql/graph/gen_graph.go b/graphql/graph/gen_graph.go index 568aa2b9..67913377 100644 --- a/graphql/graph/gen_graph.go +++ b/graphql/graph/gen_graph.go @@ -10457,6 +10457,9 @@ func (ec *executionContext) _Authored(ctx context.Context, sel ast.SelectionSet, } return ec._Comment(ctx, sel, obj) case models.BugWrapper: + if obj == nil { + return graphql.Null + } return ec._Bug(ctx, sel, obj) case *bug.CreateOperation: if obj == nil { |