Skip to content

Commit 4a34302

Browse files
committed
feat: improve type items: [Type] -> items: [Type!]
1 parent 64c01da commit 4a34302

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/preparePaginationType.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ export function preparePaginationTC<TSource, TContext>(
5858
description: 'Total object count.',
5959
},
6060
items: {
61-
type: () => [tc],
61+
type: () => tc.getTypeNonNull().getTypePlural(),
6262
description: 'Array of objects.',
6363
},
6464
pageInfo: {

0 commit comments

Comments
 (0)