Open sebabromberg opened 1 year ago
This was fixed with this PR https://github.com/nestjsx/crud/pull/797
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