hasura / hasura/graphql-engine

Array of JSONB mutation

Open
#7,308 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
32.1k
Forks
3k
PR merge metrics
PR metrics pending

Description

Im attempting for days to somewhat have an update mutation that updates a field that have a type of jsonb[].

What I've been trying

![image](https://user-images.githubusercontent.com/7508104/127292186-136cb1cc-4a68-4eaa-8d2a-4e12b4565d78.png)

In short how do you even get updating of array of jsonb to work?
I've been up and over the docs but I can't seem to find something relevant to this. Any kind of help would be pretty much appreciated

Contributor guide

Open the contributing guide

Research direction

The issue provides only an image-based reproduction and names no source file or test. Start by reproducing the attempted update against a PostgreSQL jsonb[] field, then inspect the mutation documentation and related database-update tests. Done should mean the supported behavior is clarified and, if broken, covered by a regression test.

Written by the indexing model from the issue text.

Assessment

Tech stack
postgres
Domain
api, databases
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.