Allow predicates to traverse Postgres array and jsonb columns
Open
Nobody has claimed this yet.
enhancement
- Dominant language
- Scala
- Stars
- 189
- Forks
- 32
- Avg merge
- 18h 31m
- Merged PRs (30d)
- 37
Description
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.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue names no files or tests; start by tracing GraphQL query execution and how doobie array and jsonb columns are currently treated as leaf types. Define the traversal and predicate behavior for array elements and JSON fields, with completion shown by predicates successfully indexing into both kinds of columns.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- graphql, postgresql, scala
- Domain
- api, databases
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100