graphjin icon indicating copy to clipboard operation
graphjin copied to clipboard

Upsert mutation requires where close

Open MIRO1990 opened this issue 3 years ago • 0 comments
trafficstars

What version of GraphJin are you using? v0.17.22

Have you tried reproducing the issue with the latest release? No

Steps to reproduce the issue (config used to run GraphJin).

  • Using upsert mutation with either bulk or single upsert

mutation { books(upsert: $data) { id name author } }

//////////////////Variables////////////////// { "data": { "id": "NEWID", "name": "new book", "author": "Author" } }

Expected behaviour and actual result.

Expected: similar to the docs mention here https://github-wiki-see.page/m/dosco/graphjin/wiki/Guide-to-GraphQL the upsert mutation doesn't require where close Actual: receiving error due to missing a where clause

MIRO1990 avatar Apr 11 '22 14:04 MIRO1990