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
Error updating data with the save() function #6375
Comments
@Kolisium i think you can try @ next version Edit: I just check you can try next version or a fresh build of master, be aware if your are using next version when you call find with relation the structure of relation has change, it's now type safe. so xx.find({..., relation: ["aa", "bb", "bb.cc"]}) to xx.find({..., relation: {aa: true, bb: true, bb: {cc: true}}}) same as #6233 |
The @ next solves this problem, thank you very much! |
Honestly this issue should be left open, I spent so many hours trying to figure out why the current stable release of TypeORM wasn't working. Any object relationships will break on current stable. |
it did not work for me on Expo, @ next version doesn't have the driver option for expo so all crashes |
Issue type:
[x] question
[ ] bug report
[ ] feature request
[ ] documentation issue
Database system/driver:
[ ]
cordova
[ ]
mongodb
[ ]
mssql
[ ]
mysql
/mariadb
[ ]
oracle
[ ]
postgres
[ ]
cockroachdb
[x]
sqlite
[ ]
sqljs
[x]
react-native
[ ]
expo
TypeORM version:
[x]
latest
[ ]
@next
[ ]
0.x.x
(or put your version here)Entity:
JSON Typeorm returns in find():
JSON i sent to save():
Function i use to save data:
Error:
Am I doing something wrong? How to solve this problem?
The text was updated successfully, but these errors were encountered: