Skip to content

Commit c7199fc

Browse files
committed
Allow routes pagination to be disabled
1 parent a90e5e7 commit c7199fc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Entity/Core/Route.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@
5959
#[ApiFilter(OrderFilter::class, properties: ['createdAt', 'path'], arguments: ['orderParameterName' => 'order'])]
6060
#[ApiFilter(OrSearchFilter::class, properties: ['path' => 'ipartial'])]
6161
#[Post]
62-
#[GetCollection(order: ['createdAt' => 'DESC'])]
62+
#[GetCollection(paginationClientEnabled: true, order: ['createdAt' => 'DESC'])]
6363
#[Delete(requirements: Route::API_REQUIREMENTS, security: Route::API_SECURITY)]
6464
#[Put(requirements: Route::API_REQUIREMENTS, security: Route::API_SECURITY)]
6565
#[Patch(requirements: Route::API_REQUIREMENTS, security: Route::API_SECURITY)]

0 commit comments

Comments
 (0)