Closed rubiin closed 2 years ago
Can you create a minimal reproducible sample repo where this behavior occurs?
I tried with 0.2.28 and it works while this seems to be the issue with 0.2.29
Can you create a minimal reproducible sample repo where this behavior occurs? I think this change is the cause of issue https://github.com/typeorm/typeorm/commit/b518fa15f9b2183545b3c0daa2447ecd38ecc859 @imnotjames @pleerock
That is possible but it would help if you could make a test that reproduces the behavior, then we will easily find out exactly what is causing it and debug the problem (and prevent it from occurring in the future).
Yeah I can , but it will take some time. As the project is private, I will have to setup a fresh one with reproduction of the issue but now do know for sure that the commit has something to do with this because its the only commit in the release which is changing the way querybuilder worked
I will put a link to a repo tomorrow first hour
No rush, it's just that anyone else trying to fix it will also have to do the same to reproduce. I don't think this particular commit would be responsible it is just for mapping property paths to the database names, but who knows. Could you post the full error log so we know where it is being thrown? There are two locations where it can happen.
sure let me rerun it and i will post it in
Issue Description
Expected Behavior
Typeorm should be able to save it
Actual Behavior
Throwing error message
cannot perform update query because update values are not defined. Call "qb.set(...)" method to specify updated values.
My Environment
Additional Context
Relevant Database Driver(s)
aurora-data-api
aurora-data-api-pg
better-sqlite3
cockroachdb
cordova
expo
mongodb
mysql
nativescript
oracle
postgres
react-native
sap
sqlite
sqlite-abstract
sqljs
sqlserver
Are you willing to resolve this issue by submitting a Pull Request?