New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Queries are returning a duplicated id element inside an Array #823
Comments
This was fixed with this PR #797 |
Hello @MrMaz |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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: