samchon / nestia

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

Text after the comma disappears in TypedFormData.Body #898

Closed itzRolf closed 2 months ago

itzRolf commented 2 months ago

Summary

Code occuring the bug

@TypedRoute.Patch()
async update(@TypedFormData.Body() body: IUser): Promise<IUser> {
  return this.appService.update(body);
}

image

Project:

git clone https://github.com/itzRolf/nestia-bug-report.git
cd nestia-bug-report
pnpm run start:dev
samchon commented 2 months ago

Oops, I've used mis-implemented FormData parsing code of LLM generated.

Will fix it ASAP.

samchon commented 2 months ago

Upgrade to v3.1.3, then be fixed. Thanks for reporting.