You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
The text was updated successfully, but these errors were encountered:
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?
The text was updated successfully, but these errors were encountered: