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 built-in type ltree is not supported #1772

Closed
drewwestphal opened this issue Sep 29, 2023 · 0 comments · Fixed by #1949
Closed

Postgres built-in type ltree is not supported #1772

drewwestphal opened this issue Sep 29, 2023 · 0 comments · Fixed by #1949
Labels

Comments

@drewwestphal
Copy link

Summary

[ltree](1: https://www.postgresql.org/docs/current/ltree.html) is a trusted extension distributed with postgres

Steps to reproduce

Create a query or mutation that contains a column/parameter of type ltree

Expected results

The query or mutation is accessible via graphql

Actual results

CLI error Don't understand how to build type for ltree, query/mutation does not appear in schema

Additional context

Thread with @benjie on the subject in discord https://discord.com/channels/489127045289476126/1157342633644003429 (wherein it was requested I create this issue)

Possible Solution

Implement ltree as, basically, a text type. There are domain constraints on the text it will accept, but the main thing is to be able to read and write values of ltree via postgraphile without needed to cast to text.

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

Successfully merging a pull request may close this issue.

1 participant