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

Allow predicates to traverse Postgres array and jsonb columns #74

Open
milessabin opened this issue Aug 14, 2020 · 1 comment
Open

Allow predicates to traverse Postgres array and jsonb columns #74

milessabin opened this issue Aug 14, 2020 · 1 comment
Labels
enhancement New feature or request

Comments

@milessabin
Copy link
Member

Currently doobie array (and in the future jsonb) columns are handled as special kinds of leaf types as far as GraphQL query execution is concerned. It should be possible to consider array elements and json fields as an extension of the model and allow predicates to index in to them.

@milessabin milessabin added the enhancement New feature or request label Aug 14, 2020
@milessabin
Copy link
Member Author

This is done for jsonb via the circe mapping. We could probably do something similar for arrays by handling array elements using a value or generic mapping.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant