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,
221221 paginationClientPartial: $ paginationClientPartial ,
222222 paginationFetchJoinCollection: $ paginationFetchJoinCollection ,
223223 paginationUseOutputWalkers: $ paginationUseOutputWalkers ,
224+ paginationViaCursor: $ paginationViaCursor ,
224225 order: $ order ,
225226 description: $ description ,
226227 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