You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Isn't possible this scenario is widely covered in unit test and integration test. And many project in production works also.
Your given example works.
Please verify your code (tsconfig, schema etc) ;), generate a small project with CLI, create a small model with a boolean props and you'll see that works as expected.
Information
"@tsed/core": "7.34.0",
"@tsed/exceptions": "7.34.0",
"@tsed/json-mapper": "7.34.0",
"@tsed/platform-express": "7.34.0",
"@tsed/socketio": "7.34.0",
"@tsed/swagger": "7.34.0",
"@tsed/typeorm": "7.34.0"
In a swagger doc generate boolean is a object and can not receive value this property on product. isOutStock
Example
Result on swagger
The text was updated successfully, but these errors were encountered: