Our solution
A first-class path for single-service GraphQL
Cosmo’s monograph support provides a first-class experience for single-service GraphQL APIs. Create a monograph, publish your schema, and access schema registry, checks, analytics, contracts, Studio, and Router without configuring federation. When you are ready to split into multiple services, one CLI command migrates the monograph to a federated graph, along with its connected schema contracts.
How it works end to end
Create a monograph with `wgc monograph create production --routing-url ... --graph-url ...`. The routing URL is where clients connect; the graph URL is your GraphQL server.
Publish your schema with `wgc monograph publish production --schema ./schema.graphql`. Cosmo registers it and makes it available in Studio for schema management and analytics.
Access Cosmo platform features like schema registry, Studio, analytics, checks, and contracts.
Run `wgc monograph check production --schema ./schema.graphql` in CI before every deploy to catch breaking changes and composition errors, plus lint issues if the namespace has a lint policy enabled.
When your architecture grows, run `wgc monograph migrate production` to convert to a federated graph. Connected schema contracts are migrated with it. Update the label matchers and labels afterwards so new subgraphs compose with it.
Start simple. Scale to federation when you are ready.

