From 6980048cb3e6dbf25be830c8c07d12b44a68eadf Mon Sep 17 00:00:00 2001 From: Sikan He Date: Sun, 5 Nov 2023 21:09:40 +0400 Subject: [PATCH] node of edge should be nullable --- src/relay.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/relay.ts b/src/relay.ts index a96b579..baf715c 100644 --- a/src/relay.ts +++ b/src/relay.ts @@ -161,7 +161,7 @@ export function connectionDefinitions( fields: () => [ field({ name: 'node', - type: nonnull(nodeType), + type: nodeType, description: 'The item at the end of the edge', }), field({