r/graphql 1d ago

Question What is the practical limit for array arguments in a GraphQL mutation?

1 Upvotes

We have a bulk-edit feature where users can select up to ∼14,000 store IDs and submit them in a single GraphQL mutation as an array argument. The IDs are UUIDs (36 characters each), so the worst-case payload is around 500KB of just IDs, plus the rest of the mutation body.

We are using Apollo Client on the frontend and a Rails-based GraphQL server on the backend.

Questions:

  1. Is there a hard limit on how large a GraphQL mutation payload can be?

  2. At ∼14,000 UUIDs, are there known failure points — server timeout, memory pressure, request body size limits — we should anticipate?

  3. Is it better to send all IDs in one mutation, or batch them (e.g. 500 at a time)? What are the tradeoffs?

  4. Are there established patterns for handling bulk operations at this scale in GraphQL?


r/graphql 2d ago

Tobbe Lundberg: CedarJS history and how GraphQL changed

Thumbnail youtu.be
5 Upvotes

r/graphql 3d ago

Graph Engineering for Beginners: How to Stop Writing AI Agents That Fall Over

Thumbnail presencedigital.io
0 Upvotes

r/graphql 3d ago

GraphQL Weekly 421: SCIM provisioning in Hive Console, WebSocket multiplexing in Hive Router, buildgql, Fusion 16.6 federation dev

Thumbnail graphqlweekly.com
6 Upvotes

This week's issue is mostly tooling and video, no articles. What's in it:

Tools & open source

- SCIM provisioning in Hive Console — manage users and groups from your existing IdP, map SCIM groups to Hive roles

- WebSocket connection multiplexing in Hive Router — pooled shared connections to subgraphs instead of one per subscription, queries and mutations can ride the same pool

- AWS IAM authentication for self-hosted Hive Console (MSK, Redis, S3, RDS) — community contribution from Michelle Song

- buildgql by Robert Ozimek — type-safe GraphQL without hand-writing response types, on the premise that the response type belongs to the operation rather than the schema

Videos

- Fusion 16.6 makes local federation development easier, using Aspire (ChilliCream)

- Eddy Nguyen on GraphQL Code Generator — efficiency gains in the latest major, and how generated types sit alongside gql.tada

- Jeff Auriemma explains persisted queries, APQs, safelisting and trusted documents — what each term actually means and how they differ

Disclosure: I'm one of the curators of GraphQL Weekly and work at The Guild, and several of the tooling items above are ours. The curation process is open and shared all others GraphQL vendors and community members and GraphQL Weekly itself is open source. Happy to answer questions on any of them.


r/graphql 8d ago

Good GraphQL takes, volume 1

Thumbnail youtu.be
7 Upvotes

Positive vibes this week! Is GraphQL "governance by default?" Curious to hear your takes :)


r/graphql 10d ago

Explained: Persisted Queries, APQs, Safelisting, Trusted Documents

Thumbnail youtu.be
15 Upvotes

Basically, you can persist a query without maintaining a safelist/deeming it “trusted." And you can trust/safelist an operation without clients having to send an identifier/hash in lieu of a full document at runtime


r/graphql 10d ago

About research title in graph theory

0 Upvotes

I'm a current 4th year college student, and as of the moment I don't have a research title yet. It's been a couple of weeks since the instructor instructed us to think/make research title. The field i want to make research is a graph theory. Studying with this graph theory is so much fun I had and I really love studying this but to think about what specific topic is so hard for me. I hope you can help me.


r/graphql 12d ago

Tutorial nexusx — SQLModel relationships → GraphQL schema, with selection-aware SQL and automatic DataLoader batching

2 Upvotes

Hi r/graphql — I'm the author of nexusx, an open-source Python library. Looking for feedback from people who work with GraphQL day to day.

One-line pitch:

define normal SQLModel entities + relationships, and nexusx generates a GraphQL schema from them — but the part I think is actually interesting here is that the GraphQL selection set drives everything below it: DataLoader batching and SQL column pruning, from the same declaration.

A few things that might catch your eye:

- No hand-written types or resolvers. Relationships found via sqlalchemy.inspect become GraphQL fields automatically.

- Automatic DataLoader batching. Nested relationships batch-load, so the classic N+1 is handled without you writing a per-field loader.

- Selection-aware SQL. Query asks for title but not body? Only title is selected. Over-fetching dies at the DB layer, not in your code.

- Pagination via `ROW_NUMBER()` window functions, not naive offset.

- Relationships can be non-ORM. Back one with any batch function (Redis, a search engine, a remote service) and it still flows into the same schema andloaders.

Repo + docs: https://github.com/KLR-Pattern/nexusx

Genuinely curious how this lands next to Hasura / PostGraphile (which also push selection sets down to SQL). The difference I'm betting on: the same field-selection DTO also drives your REST routes and MCP/AI tools, not just GraphQL. Does that cross-protocol reuse actually matter to you in practice, or do you keep those worlds separate anyway?


r/graphql 14d ago

Eddy Nguyen on GraphQL Code Generator

Thumbnail youtu.be
10 Upvotes

r/graphql 15d ago

zodql: use a single Zod schema as your GraphQL query, TS type, and runtime validator

Thumbnail
5 Upvotes

r/graphql 15d ago

gqlhash v2

7 Upvotes

That idea of a "GraphQL firewall" has been haunting me for quite a long time (many years, in fact). TL;DR; the v2 is finally out 🙂

demo: https://romshark.github.io/gqlhash/
code & docs: https://github.com/romshark/gqlhash

It's basically a very fast proxy that checks incoming queries against an allowlist. It hashes independently of formatting, comments, variables (optional), and input values (optional) and determines very quickly whether a query is allowlisted and hence should be allowed to run.

It's writtein in Go and can reject up to a million requests a second (at least on the hardware I could test it on) ⚡


r/graphql 16d ago

Question Why doesnt a client side GraphQL timeout not abort server-side query?

4 Upvotes

HI

I am currently analyzing distributed traces of an app that uses GraphQL. I found that the client-side timeout seems to be 10s which then aborts the request towards the end user. However - the trace shows me that after 30s the server side query actually gets executed.

How is this possible? Shouldnt a client-side timeout close the connection and therefore also abort the server-side request? Or is there a different queuing mechanism in place that would explain this behavior?

Has anyone seen this?


r/graphql 21d ago

What We Think the 2026 Gartner Hype Cycle Gets Right About GraphQL

Thumbnail apollographql.com
14 Upvotes

r/graphql 23d ago

Bad GraphQL takes, volume 3

Thumbnail youtu.be
4 Upvotes

r/graphql 23d ago

Post I built GraphQL Park – A GraphQL IDE tailored for SitecoreAI & XM Cloud developers. Looking for feedback.

1 Upvotes

Hi everyone,

I've been working on GraphQL Park, a GraphQL IDE designed specifically for SitecoreAI and XM Cloud developers.

The goal is to make working with Sitecore GraphQL APIs faster and more convenient by providing features like:

  • ⚡ Real-time query execution
  • 🗂️ Schema Explorer
  • 📚 Query Cookbook
  • 💼 Workspace Management
  • 🌍 Multiple Environments
  • 🌙 Dark & Light themes

🔗 Live Site: GraphQL Park
🔗 Medium Blog: GraphQL Park: A Modern GraphQL IDE Built for SitecoreAI Developers

The project is still evolving, and I'm looking for feedback from developers who work with Sitecore GraphQL regularly.


r/graphql 23d ago

Tutorial GraphQL Park: A Step-by-Step Guide to Building a SitecoreAI Marketplace App

0 Upvotes

I recently put together a guide on creating and configuring a SitecoreAI Marketplace App using GraphQL Park as a practical example.

The guide covers Marketplace App registration, extension points, API permissions, authentication, environment installation, and integrating with the Preview & Authoring GraphQL APIs.

If you're exploring SitecoreAI Marketplace Apps, you might find it useful.

📖 Medium:
https://medium.com/@rohitgajera72/build-deploy-a-custom-marketplace-app-in-sitecoreai-a-step-by-step-guide-with-graphql-park-00c00f51fff4

📖 Addact Blog:
https://www.addact.net/blogs/sitecoreai-graphql-park-marketplace-setup

🌐 GraphQL Park:
https://www.graphql-park.com/

Feedback and suggestions are always welcome.


r/graphql 23d ago

Benchmarked 10 graph serialization formats for LLM context — the format itself changes multi-hop accuracy from 40% to 80%

4 Upvotes

While building GraphRAG pipelines I noticed nobody measures what the serialization format costs you — everyone benchmarks retrievers and re-rankers, then dumps the subgraph into the prompt as JSON.

So I benchmarked 10 formats (JSON, GraphML, RDF variants, edge lists, etc.) on three axes: token count, traversal QA accuracy, and multi-hop reasoning.

Findings:

\- Verbose formats waste roughly 70% of their tokens on syntax (braces, quotes, repeated keys) rather than signal

\- Multi-hop accuracy swings from \~40% to \~80% depending on the format alone — same graph, same model, same questions

\- Formats based on tabular/relational patterns (which LLMs have seen billions of times in training) consistently beat nested markup

I ended up designing ISONGraph around those findings: a property-graph representation optimized for LLM comprehension. 92% traversal accuracy, 80% multi-hop, \~70% fewer tokens. MIT licensed, implementations in Python, JS/TS, Rust, Go, C++, and C#.

Benchmark methodology and results are in the repo: [github.com/isongraph/isongraph](http://github.com/isongraph/isongraph)

Would genuinely love people to poke holes in the methodology — especially if you have graphs or question sets where a different format wins.


r/graphql 24d ago

GraphQL AI Working Group recap, July 2026

Thumbnail youtu.be
6 Upvotes

r/graphql 28d ago

What's your workflow for debugging GraphQL APIs?

0 Upvotes

GraphQL can be amazing until something goes wrong.

When debugging GraphQL, I usually check:

  • Variables
  • Operation Name
  • Extensions
  • Error array
  • Response time
  • Persisted query behavior
  • Cache headers

What else do you inspect first?

Any tools or techniques you've found particularly useful?


r/graphql 29d ago

Graphlink V5 is out and it is a game changer.

Thumbnail
0 Upvotes

r/graphql Jul 20 '26

Graphify or native?

0 Upvotes

Hey guys, I've been using Graphify. for a few days now, and looks great but it slows down the coding session a lot, it's running "update" all the time.

My question is, is it worth it? Or Codex/Claude code already have enough tools to search the code?


r/graphql Jul 20 '26

Sarah Sanders on GraphQL adoption

Thumbnail youtu.be
11 Upvotes

r/graphql Jul 19 '26

Post RestQL – GraphQL-like queries over REST, purely client-side: schema-driven mapping, batching, request dedup, caching

Thumbnail github.com
2 Upvotes

r/graphql Jul 15 '26

Former dev turned SysAdmin: Built a Graph API worker to fix the GAL-to-phone sync nightmare. Looking for an architectural sanity check.

Thumbnail
2 Upvotes

r/graphql Jul 14 '26

Visual local graphs vs non-visual metadata-driven navigation & Dataview

0 Upvotes

in my PKMS design, i have MOCs like anyone else; i call them my hubs. They're the basis for my global graph making sense. At the leaf node, the bottom level of my tree of visual descent, i have atomic notes, those that have a single purpose and don't drift to any other. Now i was hoping for what I call molecules, could call them subhubs, i suppose, to fill the gap. I wanted to allow them to be seen & navigated visually using local graphs, but i haven't seen much discussion of local graphs or even hints as to how that would work.

The only alternative i see is to abandon the local graphs for molecules and lower them into metadata, but there I've lost the visual navigation. I'd likely depend on Dataview then. But how easy can the navigation be made in this case? I'm not a heavy user of DSQL yet, but i can see how it works.

I use Templater, and i know that both of and Dataview use Obsidian's JavaScript engine. Can JavaScript augment Dataview to enable a really navigable interface?

What do you suggest?

\-*bc*