typelevel / typelevel/grackle

Allow predicates to traverse Postgres array and jsonb columns

Open
#74 1 comment 0 reactions 0 assignees View on GitHub

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.