Skip to content

Commit f9531b4

Browse files
committed
Remove default set first (relay connections)
When querying for backwards pagination, `first` should be unset, therefore adding a default does not work.
1 parent 1d36f39 commit f9531b4

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/Resolver/Type/FieldResolver.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,6 @@ public function getConnectionArgs(TypeReference $reference): array
113113
'name' => 'first',
114114
'type' => Type::int(),
115115
'description' => 'Connection: return the first # items',
116-
'defaultValue' => $reference->first,
117116
],
118117
[
119118
'name' => 'after',

0 commit comments

Comments
 (0)