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
NestJs Interceptor makes call to this service method.
but the save method errors out with this stack trace:
(node:2037) UnhandledPromiseRejectionWarning: TypeError: Cannot assign to read only property 'writeQueueSize' of object '#<TCP>'
at Function.assign (<anonymous>)
at Function.OrmUtils.mergeDeep (/home/vineet/Haskell project/haskell_api/node_modules/typeorm/util/OrmUtils.js:89:28)
at Function.OrmUtils.mergeDeep (/home/vineet/Haskell project/haskell_api/node_modules/typeorm/util/OrmUtils.js:86:26)
at Function.OrmUtils.mergeDeep (/home/vineet/Haskell project/haskell_api/node_modules/typeorm/util/OrmUtils.js:86:26)
at Function.OrmUtils.mergeDeep (/home/vineet/Haskell project/haskell_api/node_modules/typeorm/util/OrmUtils.js:86:26)
at /home/vineet/Haskell project/haskell_api/node_modules/typeorm/persistence/Subject.js:210:33
at Array.reduce (<anonymous>)
at Subject.createValueSetAndPopChangeMap (/home/vineet/Haskell project/haskell_api/node_modules/typeorm/persistence/Subject.js:167:41)
at /home/vineet/Haskell project/haskell_api/node_modules/typeorm/persistence/SubjectExecutor.js:270:85
at Array.forEach (<anonymous>)
(node:2037) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 2)
(node:2037) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
Please help about why this is going wrong?
The text was updated successfully, but these errors were encountered:
The mergeDeep functionality was causing issues where it would
try to merge objects that were not safe to merge. to correct this
we now only merge plain objects - such as those returned
by createValueMap.
there were three cases where the mongo driver had a split off
code path where it passed in entities, so we've updated to instead
update that to getEntityValueMap as well
adds basic support of array embedded in ColumnMetadata so we can
use getEntityValueMap with mongo
fixes#5096fixes#5762fixes#6181fixes#5487fixes#5321
MerlinB
pushed a commit
to MerlinB/typeorm
that referenced
this issue
Jul 20, 2021
…7774)
The mergeDeep functionality was causing issues where it would
try to merge objects that were not safe to merge. to correct this
we now only merge plain objects - such as those returned
by createValueMap.
there were three cases where the mongo driver had a split off
code path where it passed in entities, so we've updated to instead
update that to getEntityValueMap as well
adds basic support of array embedded in ColumnMetadata so we can
use getEntityValueMap with mongo
fixestypeorm#5096fixestypeorm#5762fixestypeorm#6181fixestypeorm#5487fixestypeorm#5321
Issue type:
[x ] question
[x ] bug report
[ ] feature request
[ ] documentation issue
Database system/driver:
[ ]
cordova
[ ]
mongodb
[ ]
mssql
[ ]
mysql
/mariadb
[ ]
oracle
[ x]
postgres
[ ]
cockroachdb
[ ]
sqlite
[ ]
sqljs
[ ]
react-native
[ ]
expo
TypeORM version:
[ x]
latest
[ ]
@next
[ ]
0.x.x
(or put your version here)Steps to reproduce or a small repository showing the problem:
NestJs Interceptor makes call to this service method.
but the save method errors out with this stack trace:
Please help about why this is going wrong?
The text was updated successfully, but these errors were encountered: