Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Some property names are incomplete after a query #38

Open
voinik opened this issue Sep 15, 2021 · 0 comments
Open

Some property names are incomplete after a query #38

voinik opened this issue Sep 15, 2021 · 0 comments

Comments

@voinik
Copy link

voinik commented Sep 15, 2021

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant