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
2020-06-26T19:49:40.638Z 16e2936c-2dce-40bb-bdc6-0c01b2745e06 ERROR Invoke Error {"errorType":"TypeError","errorMessage":"Cannot read property 'connect' of undefined","stack":["TypeError: Cannot read property 'connect' of undefined"," at /var/task/node_modules/typeorm/driver/postgres/PostgresDriver.js:285:42"," at new Promise (<anonymous>)"," at /var/task/node_modules/typeorm/driver/postgres/PostgresDriver.js:284:40"," at Array.map (<anonymous>)"," at AuroraDataApiPostgresDriver.<anonymous> (/var/task/node_modules/typeorm/driver/postgres/PostgresDriver.js:283:103)"," at step (/var/task/node_modules/tslib/tslib.js:141:27)"," at Object.next (/var/task/node_modules/tslib/tslib.js:122:57)"," at /var/task/node_modules/tslib/tslib.js:115:75"," at new Promise (<anonymous>)"," at Object.__awaiter (/var/task/node_modules/tslib/tslib.js:111:16)"]}
Removing the 'uuid' allows createConnection to succeed.
The text was updated successfully, but these errors were encountered:
abd1tus
changed the title
aurora-data-api-pg crashes with uuid @PrimaryGeneratedColumn()
aurora-data-api-pg crashes with @PrimaryGeneratedColumn('uuid')
Jun 26, 2020
When an entity has uuid as a primary column
either:
or:
then the following:
fails with:
Removing the 'uuid' allows createConnection to succeed.
If I use:
with 'uuid' then createConnection also succeeds.
The text was updated successfully, but these errors were encountered: