<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/hive-gateway-local-subgraph-development-just-got-easier-wyr7y8v1f" -->

---
title: Hive Gateway: Local Subgraph Development Just Got Easier
description: Hive Gateway introduces a new dev supergraph source that composes locally running subgraphs together with the rest of a federated graph, letting developers...
canonical: https://daily.dev/posts/hive-gateway-local-subgraph-development-just-got-easier-wyr7y8v1f
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Hive Gateway: Local Subgraph Development Just Got Easier | daily.dev
og:description: Hive Gateway introduces a new dev supergraph source that composes locally running subgraphs together with the rest of a federated graph, letting developers...
og:url: https://daily.dev/posts/hive-gateway-local-subgraph-development-just-got-easier-wyr7y8v1f
og:image: https://api.daily.dev/og/posts/WYR7y8v1f.png
og:image:alt: Hive Gateway: Local Subgraph Development Just Got Easier
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Hive Gateway: Local Subgraph Development Just Got Easier

**[The Guild](https://daily.dev/sources/guild)** · 6 min read · 0 upvotes · 0 comments

## Summary

Hive Gateway introduces a new dev supergraph source that composes locally running subgraphs together with the rest of a federated graph, letting developers test end to end with a single process instead of juggling separate CLI commands and files. The source supports federation SDL introspection, plain GraphQL introspection, or reading schema from a file, and can compose either fully locally (offline, instant) or through the Hive registry via a remote flag, which merges local subgraphs with the latest published versions of everything else using the same composition engine that validates CI and production. The Guild recommends using remote composition whenever a Hive registry target exists, reserving local-only composition for offline work and quick prototyping.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://the-guild.dev/graphql/hive/blog/hive-gateway-local-subgraph-development>

## Questions this post answers

### How does Hive Gateway's new dev supergraph source work for local subgraph development?

It lets you tell the gateway which subgraphs are running locally, and the gateway fetches their SDLs, composes them with the rest of the graph, and serves the resulting supergraph, recomposing automatically whenever a polling interval detects a schema change. This replaces running a separate hive dev CLI process and watching a supergraph.graphql file, folding that workflow into the gateway itself.

_Developers wiring federated GraphQL changes end to end can track tooling shifts like this on daily.dev._

### What is the difference between local and remote composition in Hive Gateway's dev supergraph source?

Local composition builds the supergraph entirely on your machine from only the listed subgraphs, working offline and instantly, but running your own version of the composition engine. Remote composition sends your local subgraph SDLs to the Hive registry, which merges them with the latest published version of every other subgraph using the same composition engine that validates pull requests and production deploys, so your local result matches what CI will see.

_Teams deciding between offline speed and registry-validated accuracy can follow GraphQL federation updates on daily.dev._

### Which schema formats can a subgraph provide to Hive Gateway's dev supergraph source?

Three source types are supported: federation, the default, which queries the subgraph's _service sdl field; graphql, which runs a standard introspection query for services that are not federation-aware; and file, which reads an SDL file from disk so a schema can be composed before any resolver is implemented.

_Engineers configuring federated subgraph tooling can keep up with GraphQL gateway changes on daily.dev._

## Similar posts on daily.dev

- [Compose Local Subgraphs Inside Hive Gateway](https://daily.dev/posts/compose-local-subgraphs-inside-hive-gateway-tcdayddek) · The Guild · 0 upvotes · 0 comments
- [The Missing Layer in GraphQL Federation](https://daily.dev/posts/the-missing-layer-in-graphql-federation-aweol3nuv) · WunderGraph · 0 upvotes · 0 comments
- [From Ruby Monolith to Federation: How Reverb Runs GraphQL with Hive](https://daily.dev/posts/from-ruby-monolith-to-federation-how-reverb-runs-graphql-with-hive-bfhaxcmmn) · The Guild · 0 upvotes · 0 comments
- [Unifying Internal APIs: A Different Use Case for GraphQL ...](https://daily.dev/posts/unifying-internal-apis-a-different-use-case-for-graphql--cemydm3rs) · Tech at trivago · 0 upvotes · 0 comments
- [From API Chaos to Collaborative Graph](https://daily.dev/posts/from-api-chaos-to-collaborative-graph-qnazszda5) · monday Engineering · 37 upvotes · 0 comments

---

Tags: [#architecture](https://daily.dev/tags/architecture), [#graphql](https://daily.dev/tags/graphql)

[View this post on daily.dev](https://daily.dev/posts/hive-gateway-local-subgraph-development-just-got-easier-wyr7y8v1f)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Hive Gateway: Local Subgraph Development Just Got Easier","url":"https://daily.dev/posts/hive-gateway-local-subgraph-development-just-got-easier-wyr7y8v1f","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/hive-gateway-local-subgraph-development-just-got-easier-wyr7y8v1f"},"datePublished":"2026-09-28T16:54:00.701Z","dateModified":"2026-09-28T16:54:33.145Z","description":"Hive Gateway introduces a new dev supergraph source that composes locally running subgraphs together with the rest of a federated graph, letting developers...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/28c2bd1982dd842db90363076daab3fe?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/28c2bd1982dd842db90363076daab3fe?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"The Guild","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"The Guild","logo":"https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/ee61cd9a12684e9889775727044e4a49","url":"https://daily.dev/sources/guild"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/hive-gateway-local-subgraph-development-just-got-easier-wyr7y8v1f","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"architecture,graphql","timeRequired":"PT6M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"The Guild","item":"https://daily.dev/sources/guild"},{"@type":"ListItem","position":3,"name":"Hive Gateway: Local Subgraph Development Just Got Easier"}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/hive-gateway-local-subgraph-development-just-got-easier-wyr7y8v1f#faq","mainEntity":[{"@type":"Question","name":"How does Hive Gateway's new dev supergraph source work for local subgraph development?","acceptedAnswer":{"@type":"Answer","text":"It lets you tell the gateway which subgraphs are running locally, and the gateway fetches their SDLs, composes them with the rest of the graph, and serves the resulting supergraph, recomposing automatically whenever a polling interval detects a schema change. This replaces running a separate hive dev CLI process and watching a supergraph.graphql file, folding that workflow into the gateway itself. Developers wiring federated GraphQL changes end to end can track tooling shifts like this on daily.dev."}},{"@type":"Question","name":"What is the difference between local and remote composition in Hive Gateway's dev supergraph source?","acceptedAnswer":{"@type":"Answer","text":"Local composition builds the supergraph entirely on your machine from only the listed subgraphs, working offline and instantly, but running your own version of the composition engine. Remote composition sends your local subgraph SDLs to the Hive registry, which merges them with the latest published version of every other subgraph using the same composition engine that validates pull requests and production deploys, so your local result matches what CI will see. Teams deciding between offline speed and registry-validated accuracy can follow GraphQL federation updates on daily.dev."}},{"@type":"Question","name":"Which schema formats can a subgraph provide to Hive Gateway's dev supergraph source?","acceptedAnswer":{"@type":"Answer","text":"Three source types are supported: federation, the default, which queries the subgraph's _service sdl field; graphql, which runs a standard introspection query for services that are not federation-aware; and file, which reads an SDL file from disk so a schema can be composed before any resolver is implemented. Engineers configuring federated subgraph tooling can keep up with GraphQL gateway changes on daily.dev."}}]}
```

