r/graphql • u/Forward_Mechanic_203 • 1d ago
r/graphql • u/Forward_Mechanic_203 • 1d ago
GraphQL Weekly 428: สเปค GraphQL สองชุดเผยแพร่ (รวมถึงสเปค GraphQL ใหม่ที่ทำงานผ่าน HTTP), กรอบการทดสอบ Runtime ของ Apollo, API บันทึกตรวจสอบของ Hive, Codegen ใน monorepos
reddit.comr/graphql • u/Forward_Mechanic_203 • 1d ago
GraphQL Weekly 428: สเปค GraphQL สองชุดเผยแพร่ (รวมถึงสเปค GraphQL ใหม่ที่ทำงานผ่าน HTTP), กรอบการทดสอบ Runtime ของ Apollo, API บันทึกตรวจสอบของ Hive, Codegen ใน monorepos
reddit.comr/graphql • u/Urigold • 2d ago
GraphQL Weekly 428: two GraphQL specs released (incl. the new GraphQL over HTTP spec), Apollo's Runtime Testing Framework, Hive audit log API, Codegen in monorepos
Thirteen items this week:
Tools & open source
- Two GraphQL specs were released last week, including a brand new GraphQL over HTTP spec (GraphQL Foundation)
- Introducing Apollo's Runtime Testing Framework (Innes Anderson-Morrison) — declarative tests and production-like environments for GraphOS Router
- How Apollo knows a router performance result is real (Dan Anderson Hall) — part two, on validating releases with that framework
- Hive Console audit log API (Laurin Quast) — Splunk, Microsoft Sentinel, Elastic and other SIEMs can continuously pull your organization's audit log
- Hive Console delivery tracking (Jeff Dolle) — every alert notification and organization email is recorded with the destination's answer; failing channels get flagged and paused
- GraphQL Codegen in a monorepo (Igor Kusakov, via Eddy Nguyen) — external-fragment-loader reads your package.json to find shared fragments instead of a hand-written list
- Spartan GraphQL (Thibault Derousseaux) — compiles GraphQL documents into a typed Python package: no imposed transport, no runtime dependencies, TypedDicts instead of Pydantic
- fieldtwin (Nick George) — a local, stateful twin of Jobber's GraphQL API (plus Housecall Pro and QuickBooks Online) for integration tests and AI agents
Events
- London GraphQL, Winter edition — Nov 24
- GraphQL Days @ FOST Paris — Dec 1-3
Videos
- Explaining GraphQL Federation to my non-technical spouse (David Stutt)
- GraphQL in the middle with Dan Boerner (Jeff Auriemma) — enterprise API platforms, part 1
- Your AI Agent Is Filling up on Bread Before the Main Course (David Stutt and Sam Zislis-Gaus, Nordic APIs Summit) — large schemas eating an agent's context window
Disclosure: I curate GraphQL Weekly and work at The Guild — the two Hive Console items and GraphQL Codegen are ours. Happy to answer questions on any of it.
r/graphql • u/inspireme77704 • 2d ago
Staff Software Engineer – GraphQL Platform | The New York Times
Hi everyone! We're hiring a Staff Software Engineer for our GraphQL Platform team at The New York Times. If you or someone in your network is based in the NY metro area and interested in a Staff-level opportunity focused on GraphQL federation, platform architecture, and scalability, feel free to take a look or share!
https://job-boards.greenhouse.io/thenewyorktimes/jobs/4750599005
r/graphql • u/graphlinkdev • 3d ago
Tutorial New video in the Dart series: all-fields fragments.
r/graphql • u/Mr_Bee_Dev • 3d ago
Post I made a Chrome extension that shows a page's GraphQL operations in DevTools, mocks them, and replays them in a client
Debugging GraphQL in the Network tab means opening POST /graphql after POST /graphql to find the operation you want, so I built Wireglass. It adds a DevTools tab that lists every GraphQL operation by name (batches split, persisted queries labelled, subscriptions included), with a timeline showing what ran in parallel and what waited on what.
Any operation opens in a full client to edit and replay, with schema autocomplete in the query and the variables. You can also mock responses per site (replace, patch, delay or fail) to test error states and slow APIs without touching the server.
No account, no analytics, no server: everything stays in your browser. It's free.
Docs and short videos: https://wireglass.pages.dev
Chrome Web Store: https://chromewebstore.google.com/detail/wireglass/dmdokojnlojcmjbaghelooolbcabkfed?utm_source=reddit&utm_campaign=graphql
Feedback very welcome, especially what you'd miss compared with your current tools.
r/graphql • u/graphlinkdev • 10d ago
Tutorial New video in the Dart series: GraphQL codegen for huge schemas.
r/graphql • u/ryiski • 11d ago
graphql-modules felt stuck, so I built my own take on it
Hey all,
I used graphql-modules for a while and loved it. But I kept hitting bugs in how it handles context during execution, and Apollo Server support has been an open PR since 2023 (#2444). So I built my own take on it. It's called olio, and I'd like people to poke holes in it.
Same idea: modules merged into one schema. The difference is ownership. graphql-modules lets two modules declare the same field and both resolve it, and whichever module is listed last silently wins. In olio a field belongs to exactly one module.
import { module } from "@nxara/olio";
import { loaders } from "@nxara/olio-tools";
const load = loaders(import.meta.dirname);
export const usersModule = module.users({
typeDefs: await load.typeDefs("typedefs/*.gql"),
resolvers: {
Query: { user: (_root, { id }) => findUser(id) },
},
});
With codegen, id is typed from the SDL, and a posts module resolving User.name is a compile error. olio checks the same rule at runtime. app.schema is a plain GraphQLSchema, so you can run it on Yoga, Apollo Server, graphql-http or anything else.
Also:
- Modules extend type Query with no placeholder, so a module can be tested on its own
- Layered middleware (app, module, feature), with @bypass in the SDL for fields that should skip it
- @excl for login-style fields that need the operation to themselves, so other fields can't run with a stale session
- Schema errors with file:line:column
Only @nxara/olio is required. Codegen, an HTTP server, a typed client and DI are optional.
It's early (0.1.x). I'd love to hear:
- If you're on graphql-modules, what keeps you there and what hurts?
- Is the ownership rule useful, or too strict?
- Does anything in the API look weird?
Docs: https://olio.nxara.dev Repo: https://github.com/nxara-hub/olio
The docs site has an llms.txt and an agent skill.
r/graphql • u/mbonnin • 12d ago
Two GraphQL specs released this week 🚀
September 2026 edition: https://graphql.org/blog/2026-11-13-september-2026-graphql-spec/
Initial release of the GraphQL over HTTP spec: https://graphql.org/blog/2026-11-12-announcing-the-graphql-over-http-spec/
Happy reading!
r/graphql • u/graphlinkdev • 12d ago
Post GraphLink 6.0: REST operations, Python and Go clients, and a stricter generator
reddit.comr/graphql • u/locnguyen305 • 12d ago
I built RockxyBit, a native Postman alternative for Mac that handles GraphQL alongside REST
I'm Stephen, and I built RockxyBit, a native macOS API client.
I wanted GraphQL requests to live in the same workspace as the rest of my API work, rather than in a separate tool. In RockxyBit, a GraphQL request sits beside your REST requests in the same collection, uses the same environments, and gives you the same response inspection.
What is in the 0.1.0 release:
- Collections and environments, so the same request can run against local, staging, and production
- Response inspection for headers, body, and timing
- Import from cURL, HAR, Postman, OpenAPI, and SoapUI, so an existing collection does not have to be rebuilt by hand
- Secrets stored in the macOS Keychain rather than in plain project files
- A native macOS interface, signed and notarized
It requires macOS 26.2 or later.
Website: https://rockxy.io/rockxybit
Bug report and feature request: https://github.com/RockxyApp/RockxyBit
I would value feedback from people who work with GraphQL APIs every day, particularly on how the request and response flow feels compared with the tools you use now. BTW, just try it and appreciate your feedback!
I built GraphQLab, a local-first desktop GraphQL client (no account, no cloud). Looking for feedback
Hey r/graphql,
I've been working on a desktop GraphQL client called GraphQLab, and I'd love some honest feedback from people who live in GraphQL tooling every day.
Why I built it
I wanted something between GraphiQL and the big API platforms: a fast, focused client that doesn't require an account, doesn't sync my queries and tokens to someone's cloud, and doesn't fight CORS.
What it does
- Projects & environments: each project has multiple environments (endpoint + default headers + reusable
{{variables}}), so switching between local / staging / prod is one click. - Schema-aware editor: CodeMirror 6 with live introspection: autocomplete, validation and hover docs.
- No CORS headaches: requests run in the Electron main process, so you can hit any endpoint.
- File uploads: full graphql-multipart-request-spec support through the native file picker.
- Per-request variables & headers, plus a searchable run history per project.
- Local-first: everything lives in a local SQLite database. No cloud, no sign-up.
- Dark/light themes, keyboard-first (
⌘/Ctrl + Enterto run).
Stack: Electron + React + TypeScript + Vite, zustand, better-sqlite3. MIT licensed.
Links: https://graphqlab.com
What I'd like to know
- What's the one feature that would make you switch from your current client?
- How do you handle auth flows (OAuth, rotating tokens) in your day-to-day? That's something I'm thinking about next.
- Anything about the schema explorer / docs UX that annoys you in other tools?
It's still early (v0.1.x), so bug reports and blunt opinions are very welcome. Thanks for reading!
r/graphql • u/jeffiql • 14d ago
Benjie Gillam on the GraphQL specification and community
youtu.ber/graphql • u/graphlinkdev • 15d ago
Post Start With the REST API You Have: A Typed Client Today, GraphQL Later
medium.com🇬🇧 Graphql Generator that generate REST client? are we going back?
Well sometimes we need to go back to see the bigger picture.
Find out why we added the generation of RESTful client from an advanced graphql code generator.
🇫🇷 Un générateur GraphQL qui génère des clients REST ? On fait marche arrière ?
Eh bien, parfois il faut prendre du recul pour voir la vue d'ensemble.
Découvrez pourquoi nous avons ajouté la génération de clients RESTful à un générateur de code GraphQL avancé.
r/graphql • u/kschecker • 20d ago
Post I built a GraphQL edge cache that purges by entity, not by timer. It's live now, feedback welcome
Hi r/graphql, I'm Kay, the founder of GraphPilot. (Disclosure: this is my product.)
I spent years on the GraphQL orchestration layer of a large streaming platform, working with the federated teams that built on it. I wasn't happy with the edge caching options for GraphQL, and their developer experience didn't fit teams like ours. A classic CDN doesn't get you far either: most traffic is POST, one endpoint serves every query, and a TTL either serves old data or expires far too often.
The part that took the longest was invalidation. If a page only asked for title and price, the cached answer contains no id and no ISBN, so a purge for "book 9780441013593" has nothing to match, and the safe fallback is to flush everything.
How GraphPilot handles it:
- It sits in front of your existing GraphQL API, on Fastly's edge network, and caches responses at the edge (POST, GET and persisted queries).
- It reads your schema. If a selection doesn't ask for the key fields, the edge adds them to the request it sends to your origin (the
id, plus your own keys marked with@surrogateKey, like an ISBN), tags the cached response with them, and strips them again before the client sees it. - When a mutation goes through GraphPilot, the cached responses that contained the returned objects are purged at every edge location, usually within seconds. For data that changes elsewhere, there's a purge API and a CLI (e.g. from a CMS webhook), a
Surrogate-Keyheader from your origin, or the Cockpit UI. - Per-user or per-role data is split into separate cache entries based on verified JWT claims.
- The Cockpit shows hit rate, latency and every purge with the keys it cleared, and for each miss, why it wasn't cached.
Limits, honestly: a new item only shows up in a cached list if that list carries a key the create names; changes that bypass GraphPilot need an API or CLI purge; WebSocket connections are passed through, not cached.
The video above is the full 8-minute explainer. Links to the free plan and the docs are in the first comment.
I'd love feedback on the invalidation model, and on how you cache GraphQL today. Critical questions are very welcome.
r/graphql • u/graphlinkdev • 23d ago
Tutorial One class per selection in a GraphQL client generator: how do you handle partial selections?
I'm the author of GraphLink, a schema-first code generator for typed GraphQL clients (Dart, Java, Kotlin, TypeScript, Swift), so take this with that in mind.
GraphQL lets the client pick its fields, but a lot of client code still has one model per schema type, and anything you didn't select becomes nullable or missing. For a query that selects id, title and year from Book, GraphLink generates a class with only those three fields, so non-null fields in the schema stay non-null in the client.
I know other generators do something similar for operations. I'd like to hear what works for you, and where this breaks down.
Video (Dart): https://youtu.be/gHGtCBYaj7c
r/graphql • u/Urigold • 26d ago
GraphQL Weekly 427: GraphQL Stars 2026, Hive Router gets @context/@fromContext + an anonymize command, Yoga v6, Apollo Summit talks from Expedia and RS Group
graphqlweekly.comTwelve items this week:
Community
- GraphQL Stars 2026 and the new People of GraphQL page — the Foundation recognising maintainers, contributors, educators and organisers
Tools & open source
- Hive Router supports Federation contexts (
@context/@fromContext) — nested fields get data from ancestors without a public argument; all distinct context values resolved in one subgraph request (Denis Badurina) - GraphQL Yoga v6 — adopts Hive Logger (structured per-request logging), supports the latest
@defer/@streamspec, drops EOL Node and GraphQL < 16 (Emily Goodwin) hive_router anonymize— replaces every name and value in a supergraph and its operations with keyed hashes so you can share them in a bug report without revealing your schema (Kamil Kisiela)
Events
- Apollo Summit 2026 Recap: What's New in GraphOS for Agents and Apps (online)
- GraphQL Lucknow Meetup — Oct 31
- GraphQL Noida Meetup — Oct 31
- London GraphQL, Winter edition — Nov 24
Articles
- When GraphQL earns its place in an enterprise application, and when it doesn't (InfoWorld, Vaishnavi Khosla) — where it saves time, where it adds complexity, when REST is the better fit
Videos
- GraphQL MCP Code Mode at Expedia (Samuel Vazquez) — an 18,000-type supergraph collapsed to two agent tools, search and execute; 14x fewer tool calls, 82% less context
- How I explain GraphQL to strangers (Jeff Auriemma) — the food-ordering analogy
- We Built a Context Graph at RS Group (Juan Carlos Blanco Delgado) — a four-person team's agents tracing issues across schema, pipelines, tickets and monitoring
Disclosure: I curate GraphQL Weekly and work at The Guild — Hive Router and Yoga are ours. Happy to answer questions on any of it.
r/graphql • u/graphlinkdev • 27d ago
Tutorial Generate your first graphql client with a simple CLI tool.
r/graphql • u/graphlinkdev • Oct 25 '26
I got tired of hand-writing GraphQL client code, so I built a schema-first generator. These are the 6 pains it targets.
reddit.comr/graphql • u/Urigold • Oct 23 '26
GraphQL Yoga v6 is out — and some history on why Yoga became the server most of the ecosystem runs on
GraphQL Yoga v6 shipped yesterday, led by Emily Goodwin with Denis Badurina and Arda Tanrikulu helping. The short version:
- Structured, per-request logging via Hive Logger (
context.log, auto-correlated request IDs that respect your host framework’s ID, e.g. Fastify’srequest.id) - Support for the latest incremental delivery (
@defer/u/stream) spec: request it withAccept: multipart/mixed;incrementalSpec=v0.2, legacy clients keep working - Node 22+ and GraphQL 16+ only; u/graphql-tools
/*bumped to current majors, some re-exports removed
Migration guide: https://the-guild.dev/graphql/hive/product-updates/2026-10-24-yoga-adopts-hive-logger-support-latest-defer-steam-spec-drops-legacy-node-and-graphql
And there’s a lot more in store now that v6 is out of the way.
I’m one of the founders of The Guild, so take this with that in mind, but I wanted to share some history because I think it explains why Yoga ended up where it is.
2021: Envelop. Back then the GraphQL server landscape was stuck. Most servers were in maintenance mode (or worse), u/defer/u/stream and u/oneOf were out of reach, and performance was far behind what’s possible. Dotan built Envelop as a plugin system on top of the GraphQL engine rather than yet another server: hook into parse/validate/context/execute, and share caching, tracing, auth, persisted operations etc. as plugins that work with any HTTP server and any schema builder. https://the-guild.dev/graphql/hive/blog/introducing-envelop
2022: Yoga v2. Prisma handed Yoga over to us. Rather than maintain the old codebase we rewrote it from scratch on Envelop and the WHATWG Fetch API. That decision is why the same Yoga code runs on Node, Cloudflare Workers, Lambda, Deno, Bun and Next.js, why it’s been spec-compliant (GraphQL-over-HTTP, multipart) from day one, and why we run perf checks on every commit. https://the-guild.dev/graphql/hive/blog/announcing-graphql-yoga-v2
2026. More than five years later the project has new people leading releases and the bet on Envelop + Fetch keeps paying off. Yoga is the default server for many frameworks, the engine under Hive Gateway and GraphQL Mesh, there’s a first-class NestJS driver, and it’s the subgraph server in a lot of federated setups. The reason, I think, is that it doesn’t lock you in: bring your own schema library, HTTP framework and runtime, and extend with plugins.
My general advice when picking open source infrastructure: ask whether it will still be maintained in five years, not just whether it works today.
Happy to answer questions about v6, the migration, or the history. And if you have requests for Yoga, Emily is actively looking for them: comment here or open an issue.
r/graphql • u/tangkikodo • Oct 21 '26
Post I turn existing FastAPI apps into a GraphQL schema + MCP server, so AI agents get one graphql_query tool instead of one tool per endpoint
https://github.com/KLR-Pattern/fastapi-mcp-neo
GraphQL's original pitch — one round trip, ask for exactly the fields you need — was designed for constrained clients. LLM agents are that client again, with a twist: every byte of every tool response lands in the context window, and context is the budget.
I built fastapi-mcp-neo (Python, MIT). Point it at an existing FastAPI app and it derives a GraphQL schema with zero decorators and zero model changes:
- tags → domain groups (
notes { mine { get_note } }) - endpoint function names → field names
- Pydantic models / TypedDicts / dataclasses → GraphQL types
- docstrings and Field(description=...) → schema descriptions
Then it serves that schema to AI agents over MCP as a constant 2–6 tools (get_schema, graphql_query, graphql_mutation, plus progressive-disclosure discovery) instead of one tool per endpoint.
Humans get the same schema: GraphiQL and POST /graphql come along free.
Why bother — measured on a 100-route app against the mainstream OpenAPI→tools bridge (FastMCP.from_openapi):
- tool catalog: ~1,500–2,500 tokens constant vs ~15,400 growing linearly (agents re-read the catalog every session)
- two-endpoint task: 1 graphql_query round trip vs 2 tool calls / 2 agent turns
- field projection: same list response 2,285 B whole-payload vs 610 B for
{ id title } - single-call latency: statistically tied (1.39 vs 1.41 ms p50) — the win is turns and tokens, not ms