samchon / nestia

NestJS Helper Libraries + TypeScript OpenAPI generator
https://nestia.io/
MIT License
1.81k stars 94 forks source link

[Bug Report] Parsing incorrect module paths #906

Closed rojiwon123 closed 4 months ago

rojiwon123 commented 4 months ago

Bug Report

When running the nestia swagger command, the path to the prisma client module is parsed to the wrong location. I have pointed the path @Prisma to the location prisma/client via the tsconfig > path setting. When running the tsc -p tsconfig.build.json command, the path is built correctly. However, when running the nestia swagger command, the path to @Prisma seems to be parsed to the wrong location.

In my code, depth is encountered once more.

I've created a project environment to verify this bug.

git clone https://github.com/rojiwon123/nestia-bug-report.git
cd nestia-bug-report
npm i
npm run bug

Summary

Parsing incorrect module paths

test repository

Nestia Version

rojiwon123 commented 4 months ago

it is not @nestia/sdk bug, and i solved it!