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

Postgres array types #25

Open
robinsonkwame opened this issue Apr 3, 2019 · 4 comments · May be fixed by #51
Open

Postgres array types #25

robinsonkwame opened this issue Apr 3, 2019 · 4 comments · May be fixed by #51

Comments

@robinsonkwame
Copy link

I noticed when inspecting types that the postgres array type is not supported. Are there plans to support it? Openapi has an array type which triggered this issue for me.

@erikbern
Copy link
Contributor

erikbern commented Apr 3, 2019

That's a good point – we don't use arrays for our use case at Better – but there's nothing fundamentally that stops from mapping it to Postgres.

@mbrowne
Copy link

mbrowne commented Dec 16, 2020

Does this mean that this library doesn't support many-to-many relationships?

@erikbern
Copy link
Contributor

erikbern commented Jan 4, 2021

json schemas don't support many-to-many, so yes that's right

@ctrlcctrlv
Copy link

Sorry, it's a tad absurd to me that full ID support exists but arrays are broken. Why not convert them to index-keyed dictionaries? That's what I've ended up doing. 🤷‍♂️

ctrlcctrlv added a commit to ctrlcctrlv/jsonschema2db that referenced this issue Sep 14, 2022
Among other QoL improvements.

Closes better#25.
@ctrlcctrlv ctrlcctrlv linked a pull request Sep 14, 2022 that will close this issue
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.

4 participants