Skip to content

Add implicit custom type inference #361

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

Merged
merged 1 commit into from
May 12, 2022

Conversation

Minigugus
Copy link
Contributor

@Minigugus Minigugus commented May 12, 2022

Since postgres use oid for encoding parameters now, custom types no more need to be wrapped in sql.types.someType(...), and then they should be infered with TypeScript (could help detect missing custom types by the way, for instance with bigints)

@porsager
Copy link
Owner

Thanks @Minigugus - I'll merge this to include in the next release.

@porsager porsager merged commit 28512bf into porsager:master May 12, 2022
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 this pull request may close these issues.

2 participants