SupabaseS
Supabase•4y ago
Tim B.

pg_graphql batching not working?

Aim: reduce # requests to supabase

Action:
  1. using https://github.com/prisma-labs/graphql-request#batching to perform a simple mutation multiple times
  2. result: only the first batchQue entry (BatchQue[0]) is actually performed on supabase (res.data.updatecreativescollection.records.length ===1)
  3. while expected: to be of lenght batchQue iso 1.
Question, is this kind of operation batching not supported by pg_graphql on supabase? or should I do something differently?



Thanks! @olirice? 🙂
image.png
image.png
image.png
GitHub
Minimal GraphQL client supporting Node and browsers for scripts or simple apps - GitHub - prisma-labs/graphql-request: Minimal GraphQL client supporting Node and browsers for scripts or simple apps
Was this page helpful?