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
I've found the issue, its here, the function is missing the length check for the relationAlias var. My question is, should I use StringUtils.shorten(relationAlias) (used here) or StringUtils.hash(relationAlias) (used here)
or should I use the has function
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?
Yes, I have the time, and I know how to start.
Yes, I have the time, but I don't know how to start. I would need guidance.
No, I don't have the time, although I believe I could do it if I had the time...
No, I don't have the time and I wouldn't even know how to start.
The text was updated successfully, but these errors were encountered:
Issue Description
Postgres identifier exceeds limit on eager relations
Expected Behavior
eager relations "relation alias" or identifier should not exceed Postgres's (or the driver's) limit
Actual Behavior
eager relations identifier do not get shortened when a query is built
Steps to Reproduce
https://github.com/nurdism/typeorm_issue
My Environment
Additional Context
I've found the issue, its here, the function is missing the length check for the
relationAlias
var. My question is, should I useStringUtils.shorten(relationAlias)
(used here) orStringUtils.hash(relationAlias)
(used here)or should I use the has function
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?
The text was updated successfully, but these errors were encountered: