Closed kakasoo closed 1 year ago
Upgrade packages, then no problem would be:
typia
: 3.6.8@nestia/core
: 1.0.17@nestia/sdk
: 1.0.16git clone https://github.com/kakasoo/nestia-demo
cd nestia-demo
git switch nestia#28x
npm i
npm run build
I updated it to the version as you specified and then created the SDK again. But nothing has changed. Please check one more.
23.03.19 I leave an additional comment because I am not authorized to reopen this issue. Currently, this issue is not resolved, but it will be resolved once that PR is passed.
@samchon I mention you because it is a closed issue.
Hello, I brought a new issue today. :(
Now I have implemented a type called
Try<T,E>
. I defined a type that returns T in normal cases and E in other cases. I decided to treat errors as an object instead of throwing it so that even all errors could be inferred. Therefore, this type ofTry<T,E>
is deduced to be a very long return type.The problem happened here. If you look at the code below, you can immediately see how Nestia generated the SDK.
Please check the Output type of the namespace "ThisFunctionHasTooLongReturnType". At the end of the type,
"{...; } | {...; } | { ...; }".
if you check this...
Then, you can check this bug. (
src/api/functional/api/omg/index.ts
)