Open makthomas opened 10 months ago
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?
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
and to have access to these Query Params and the way they works:
or how to extend the functionality that the Query Params have?