Open getlarge opened 9 months ago
One potential blocker: Nestia does not provide decorators for TypedMessagePattern
and TypedEventPattern
; an issue has already been created.
I might consider creating custom decorators following recipes for TypedRoute => TypedBody
They both seem great candidates to :
class-validator
andclass-transformer
to declare DTOs used for validationnests-swagger
the same interface created for Typia can also be inferred to generate API properties and response can be generated by NestiaTypedRoute
This results in classes containing fewer decorators and more performant validation steps.
I already successfully tested Nestia integration in this app.
References