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

[BUG] range types not supported #193

Open
rintaun opened this issue Apr 1, 2021 · 0 comments
Open

[BUG] range types not supported #193

rintaun opened this issue Apr 1, 2021 · 0 comments
Labels
bug Something isn't working

Comments

@rintaun
Copy link
Member

rintaun commented Apr 1, 2021

Describe the bug

Unknown type detected: 'int4range'. You have either disabled generation of the type or this is a bug.

Reproduction
Create a column with a range type, e.g. int4range and attempt to generate types.

Expected behavior
A range type should generate a type of [type, type] | [null, type] | [type, null]

Additional context
It might also be necessary to add support for range types to DBDataSource, but I'm not sure whether slonik supports them out of the box. Some testing may be necessary.

@rintaun rintaun added the bug Something isn't working label Apr 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant