graph-rework-2
noah metz 2023-07-03 19:38:55 -06:00
parent dd6b0de414
commit a23dfd2b81
1 changed files with 3 additions and 0 deletions

@ -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
})
}