We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 90dc61d commit 170901dCopy full SHA for 170901d
src/Support/SimplePaginationType.php
@@ -38,7 +38,7 @@ protected function getPaginationFields(string $typeName): array
38
{
39
return [
40
'data' => [
41
- 'type' => GraphQLType::listOf(GraphQL::type($typeName)),
+ 'type' => GraphQLType::nonNull(GraphQLType::listOf(GraphQL::type($typeName))),
42
'description' => 'List of items on the current page',
43
'resolve' => function (Paginator $data): Collection {
44
return $data->getCollection();
0 commit comments