We have generic entity controller to reduce amount of code and decorators in other controllers and it's very handy to get values for decorators from child controller, e.g. @ValidateBody((controller: EntityController<any>) => controller.paginatedListSchema).
But for ValidateBody @foal/typestack we can't.
Maybe there is a way to add similar lambda based parameter to get class from controller?
We have generic entity controller to reduce amount of code and decorators in other controllers and it's very handy to get values for decorators from child controller, e.g.
@ValidateBody((controller: EntityController<any>) => controller.paginatedListSchema)
. But forValidateBody
@foal/typestack we can't. Maybe there is a way to add similar lambda based parameter to get class from controller?