samchon / nestia

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

Fix #816 - `@TypedException<T>()` when namespaced type comes. #818

Closed samchon closed 6 months ago

samchon commented 6 months ago

When namespaced type being used in the @TypedException<T>() decorator function, @nestia/sdk could not identify it, so that could not generate proper swagger documents.

This PR fixes bug, so that such problem would not be occured more. Also, as I've found dangerous point in the implementation code of the @TypedException<T>(), I've also fixed it.

I think no more bug would be occured from the @TypedException<T>().