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 @@ -239,6 +239,7 @@ class: $class,
239239 paginationClientPartial: $ paginationClientPartial ,
240240 paginationFetchJoinCollection: $ paginationFetchJoinCollection ,
241241 paginationUseOutputWalkers: $ paginationUseOutputWalkers ,
242+ paginationViaCursor: $ paginationViaCursor ,
242243 order: $ order ,
243244 description: $ description ,
244245 normalizationContext: $ normalizationContext ,
Original file line number Diff line number Diff line change @@ -60,4 +60,13 @@ public static function operationProvider(): \Generator
6060 yield [new Mutation (...$ args )];
6161 yield [new Subscription (...$ args )];
6262 }
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+ }
6372}
You can’t perform that action at this time.
0 commit comments