typed-knex
typed-knex copied to clipboard
Some property names are incomplete after a query
Issue type:
[ ] Question [x] Bug report [ ] Feature request [ ] Documentation issue
Database system/driver:
[x] Postgres [ ] MSSQL [ ] MySQL [ ] MariaDB [ ] SQLite3 [ ] Oracle [ ] Amazon Redshift
typed-knex version:
[x] latest
[ ] @next
[ ] 0.x.x
(or put your version here)
Knex.js version: 0.21.8
Steps to reproduce or a small repository showing the problem: See https://github.com/voinik/typedKnexBugTest/tree/master
Edit: I've found the culprit. It's not TypedKnex, it's postgres:
NOTICE: identifier "paymentProviderCustomerReference.organization.accessUntilExtended" will be truncated to "paymentProviderCustomerReference.organization.accessUntilExtend"
The same thing happens in Knex.
Do you think you want to fix this problem within TypedKnex, or will you leave it up to the devs to be aware of this postgres behavior?