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

override default bindings postgres type -> ts type #108

Closed
darky opened this issue Jun 10, 2020 · 1 comment · Fixed by #109
Closed

override default bindings postgres type -> ts type #108

darky opened this issue Jun 10, 2020 · 1 comment · Fixed by #109

Comments

@darky
Copy link
Contributor

darky commented Jun 10, 2020

For example, postgres bigint -> ts number now.
How to override it to postgres bigint -> ts string? (which default behaviour for node-postgres)

adelsz added a commit that referenced this issue Jun 10, 2020
Postgres `bigint` and `bigserial` should be casted to TS `string`
#108
@adelsz
Copy link
Owner

adelsz commented Jun 10, 2020

Agree, I think it was a mistake to cast postgres bigints into ts numbers. Fixed in #109
We also have a separate ticket to track supporting custom type maps: #60

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

Successfully merging a pull request may close this issue.

2 participants