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
Al queries "findOne" or "find" are returning the id field as Array with duplicated id value inside.
TypeORM is returning ok, i've consoled the returning values. The controller layer is failing.
Hello @MrMaz
Is this package maintained (seems not?), or should we try other forks (for example: https://github.com/gid-oss/dataui-nestjs-crud)?
It would be nice if nestjs itself were supporting such an essential package. Thanks.
Bug Report
Al queries "findOne" or "find" are returning the id field as Array with duplicated id value inside.
TypeORM is returning ok, i've consoled the returning values. The controller layer is failing.
Current behavior
"id": [
14,
14
],
Input Code
Model:
Controller:
Expected behavior
Returning the id as a number, not an array.
Possible Solution
Keep "typeorm": "^0.2.37" instead of 0.3.x
Environment
Repository with minimal reproduction
N/A
The text was updated successfully, but these errors were encountered: