# Enforce schema consistency across federated graphs with GraphOS

DevFeed: [Enforce schema consistency across federated graphs with GraphOS](<https://devfeed.tech/articles/enforce-schema-consistency-across-federated-graphs-with-graphos-23287.md>)

Original publisher: [Read original article](<https://www.apollographql.com/blog/enforce-schema-consistency-across-federated-graphs-with-graphos>)

Author: Vivek Ravishankar

Published: 2023-08-24T15:37:06Z

Content type: release

Language: en

Sources: [Apollo Blog](<https://devfeed.tech/sources/apollo-blog.md>)

Topics: [GraphOS](<https://devfeed.tech/topics/graphos.md>), [GraphQL](<https://devfeed.tech/topics/graphql.md>), [consistency](<https://devfeed.tech/topics/consistency.md>), [API Platform](<https://devfeed.tech/topics/api-platform.md>), [Back end](<https://devfeed.tech/topics/backend.md>), [CI/CD](<https://devfeed.tech/topics/cicd.md>)

Tags: [announcement](<https://devfeed.tech/tags/announcement.md>), [backend](<https://devfeed.tech/tags/backend.md>), [ci-cd](<https://devfeed.tech/tags/ci-cd.md>), [consistency](<https://devfeed.tech/tags/consistency.md>), [graphos](<https://devfeed.tech/tags/graphos.md>), [graphql](<https://devfeed.tech/tags/graphql.md>), [guide](<https://devfeed.tech/tags/guide.md>), [linter](<https://devfeed.tech/tags/linter.md>), [platform](<https://devfeed.tech/tags/platform.md>), [schema](<https://devfeed.tech/tags/schema.md>)

## AI overview

Apollo GraphOS adds composition rules to its schema linter, enabling API platform teams to enforce consistency across federated GraphQL subgraphs. Teams can configure rule severity and apply checks in CI/CD pipelines or the GraphOS registry.

## Source excerpt

When you're building a federated GraphQL API that spans multiple backend teams and services, it can be difficult to ensure that the schema for your graph stays consistent from subgraph to subgraph. For example, how do you ensure that a type defined as an entity in one subgraph is also defined as an entity in all other subgraphs? Today, we're making it easier for API platform teams to enforce schema consistency across multiple subgraphs by adding composition rules to the Apollo GraphOS linter.