File tree Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -221,6 +221,7 @@ class: $class,
221
221
paginationClientPartial: $ paginationClientPartial ,
222
222
paginationFetchJoinCollection: $ paginationFetchJoinCollection ,
223
223
paginationUseOutputWalkers: $ paginationUseOutputWalkers ,
224
+ paginationViaCursor: $ paginationViaCursor ,
224
225
order: $ order ,
225
226
description: $ description ,
226
227
normalizationContext: $ normalizationContext ,
Original file line number Diff line number Diff line change @@ -60,4 +60,13 @@ public static function operationProvider(): \Generator
60
60
yield [new Mutation (...$ args )];
61
61
yield [new Subscription (...$ args )];
62
62
}
63
+
64
+ public function testPaginationViaCursor (): void
65
+ {
66
+ $ operation = (new GetCollection ())->withPaginationViaCursor (true );
67
+ $ this ->assertTrue ($ operation ->canPaginateViaCursor ());
68
+
69
+ $ operation = (new GetCollection ())->withPaginationViaCursor (false );
70
+ $ this ->assertFalse ($ operation ->canPaginateViaCursor ());
71
+ }
63
72
}
You can’t perform that action at this time.
0 commit comments