From a23dfd2b8187e554a0e41c7302acd5cffb65a73f Mon Sep 17 00:00:00 2001 From: Noah Metz Date: Mon, 3 Jul 2023 19:38:55 -0600 Subject: [PATCH] test --- gql_graph.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gql_graph.go b/gql_graph.go index 8461cc4..9067c7d 100644 --- a/gql_graph.go +++ b/gql_graph.go @@ -700,6 +700,9 @@ func GQLTypeSignalInput() *graphql.InputObject { func GQLSubscribeSignal(p graphql.ResolveParams) (interface{}, error) { return GQLSubscribeFn(p, func(signal GraphSignal, p graphql.ResolveParams)(interface{}, error) { + if signal == nil { + return nil, nil + } return signal, nil }) }