# Compose supergraph with subgraph introspect

**URL:** <https://community.apollographql.com/t/compose-supergraph-with-subgraph-introspect/7819>\
**Category:** Schema Design\
**Tags:** federation, rover, router\
**Created:** [September 11, 2024, 4:56pm UTC](https://community.apollographql.com/t/compose-supergraph-with-subgraph-introspect/7819 "2024-09-11T16:56:11Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![nsalehvaziri\_paypal](https://sea1.discourse-cdn.com/flex019/user_avatar/community.apollographql.com/nsalehvaziri_paypal/32/5278_2.png) [@nsalehvaziri\_paypal](https://community.apollographql.com/u/nsalehvaziri_paypal)\
**Post date:** [September 11, 2024, 4:56pm UTC](https://community.apollographql.com/t/compose-supergraph-with-subgraph-introspect/7819/1 "2024-09-11T16:56:11Z")

</div>

I have dummy question. Is it possible in self-hosted router (if we don’t need supergraph schema check or versioning) compose supergraph schema from subgraph introspection like rover dev with providing subgraph routing\_url and `--polling-interval` option which compose supergraph without needing to connect Uplink or give supergraph schema file?

---

<div class="post-metadata">

**Author:** ![dylan](https://sea1.discourse-cdn.com/flex019/user_avatar/community.apollographql.com/dylan/32/6009_2.png) [@dylan](https://community.apollographql.com/u/dylan)\
**Post date:** [September 12, 2024, 5:37pm UTC](https://community.apollographql.com/t/compose-supergraph-with-subgraph-introspect/7819/2 "2024-09-12T17:37:30Z")

</div>

Router itself can’t compose supergraphs. You can set up your own CD process which uses `rover supergraph compose` to generate a new `supergraph.graphql` file for router, and use the `--hot-reload` option for Router to load the new file without restarting.

How you provide that file to the Router really depends on your infrastructure. If using Kubernetes, for example, you might use a `ConfigMap`.

Beware, though, you’ll need to make sure you don’t update Router’s `supergraph.graphql` file if composition fails—otherwise Router will error.
