access to Query Params from custom endpoint
makthomas opened this issue · 0 comments
makthomas commented
Is there a way to use CrudRequest in a custom endpoint and to have access in Query Params and their functionality? For example to have something like that:
custom endpoint: /something/3/stats?filter[0]=price||$lte||100
@Get('/:id/stats')
async getStatistics(
@Param('id') id:number,
@ParsedRequest() req: CrudRequest
) {
. . .
}
and to have access to these Query Params and the way they works:
or how to extend the functionality that the Query Params have?