日本語の説明はこちら
This repository demonstrates the issue of boolean values not being parsed correctly.
It seems that when data is sent using multipart/form-data
, boolean values are not parsed correctly.
npm install
npm run start:dev
Swagger will be available, so you can also check there: http://localhost:3000/api
curl -X 'POST' \
'http://localhost:3000/' \
-H 'accept: */*' \
-H 'Content-Type: multipart/form-data' \
-F 'is_banana=true' \
-F 'is_apple=false'