Enhance @nestia/sdk
performance by abandoning ts-node
#893
Labels
enhancement
New feature or request
help wanted
Extra attention is needed
question
Further information is requested
Current
@nestia/sdk
is usingawait import
statement for every controller classts
files withts-node
. Therefore,@nestia/sdk
is repeating TypeScript source parsing through TypeScript compiler API whenever new controller class comes, and such repeated process is making SDK library and Swagger Documents generation speed extremely slower.To reduce the generation time, I'll abandon the
await import
statement withts-node
, and inject metadata information in the compilation level through transform API. Instead, this strategy requires@nestia/core
must be required even when using only@nestia/sdk
, but I think reducing generation time would be valuable for enduring the dependency.The text was updated successfully, but these errors were encountered: