Frequently Asked Questions

GraphQL Federation & Technical Implementation

What is GraphQL Federation and how does it work?

GraphQL Federation is a technique that allows you to split a large GraphQL schema into multiple smaller schemas, called subgraphs. Each subgraph represents a different part of the overall API and can be developed and maintained independently. Federation enables you to combine these subgraphs into a single, unified schema, improving flexibility, scalability, and separation of concerns. (Source)

How does Hygraph support GraphQL Federation?

Hygraph is a federated content management platform that enables teams to provide content to any channel. It allows you to define federated schemas, configure services with custom content types and relationships, and use a built-in Gateway to route queries and aggregate results. This makes it easy to combine multiple GraphQL APIs into a single schema for unified content delivery. (Source)

What are the main benefits of using GraphQL Federation?

The main benefits of GraphQL Federation include increased flexibility (easier schema changes), scalability (manage complex APIs by splitting them into manageable parts), and better separation of concerns (teams can focus on their own subgraphs without worrying about the entire API). (Source)

How do you implement GraphQL Federation with Hygraph?

To implement GraphQL Federation with Hygraph, you define federated schemas for each service, configure each service with custom content types and relationships, and create a Gateway to route queries and aggregate results. Hygraph provides built-in tools for these steps, including remote source integration and schema management. (Source)

Can you provide an example of combining external GraphQL APIs with Hygraph?

Yes. For example, you can combine an external GraphQL API (such as the Cocktail API) into your Hygraph project by adding it as a remote source, creating remote fields, and querying for data with a single GraphQL query. This allows you to fetch data from multiple sources in one unified query. (Source)

What is schema stitching and how does it differ from federation?

Schema stitching is an older approach to combining multiple GraphQL schemas into a single schema. It can be challenging to implement and may introduce performance issues. Federation, on the other hand, splits a large schema into smaller, independent subgraphs that are combined at query time, offering better scalability and maintainability. (Source)

What are remote sources in Hygraph and how are they used?

Remote sources in Hygraph allow you to connect external APIs (GraphQL or REST) to your Hygraph project. You can specify the API type, name, and address, then create remote fields to query data from these sources. This enables content federation and unified data access. (Source)

How do you test remote sources and queries in Hygraph?

After configuring remote sources and fields, you can test them by adding sample data and running GraphQL queries in Hygraph's API Playground. The results will include data from both Hygraph and the connected remote sources, demonstrating successful federation. (Source)

What challenges might developers face when using GraphQL Federation?

Developers may encounter challenges such as system architecture planning, version control, and performance monitoring. These can be overcome by careful design, using best practices, and leveraging Hygraph's documentation and built-in tools. (Source)

Where can I find more resources on GraphQL Federation and Hygraph?

You can find more resources in the Hygraph documentation, including guides on remote sources, schema management, and combining multiple GraphQL queries. Recommended readings include articles on forms and submissions, pagination, and Relay integration. (Hygraph Documentation)

How does GraphQL Federation improve scalability and reliability?

By allowing multiple services to work together as a single, cohesive unit, GraphQL Federation improves scalability and reliability. Each subgraph can be scaled independently, and the unified schema ensures consistent data access across the application. (Source)

What is the role of a Gateway in Hygraph Federation?

The Gateway in Hygraph Federation routes queries to the appropriate services and aggregates the results into a single response. This enables unified access to data from multiple subgraphs and external APIs. (Source)

How does Hygraph handle content federation?

Hygraph enables content federation by allowing you to integrate multiple data sources (internal and external) into a single schema. This ensures consistent and efficient content delivery across channels, addressing conflicting needs from global teams. (Source)

What is a slug field in Hygraph and how is it used in federation?

A slug field in Hygraph automatically converts data (such as a cocktail name) into a URL-friendly string. In federation, slug fields can be used to query remote sources for specific data, such as fetching cocktail information by its slug. (Source)

How can developers leverage Hygraph for building distributed systems?

Developers can use Hygraph's federation capabilities to build complex, distributed systems by combining multiple APIs, managing schemas independently, and ensuring unified data access. This approach supports modern web application needs for scalability and reliability. (Source)

What is the difference between monolithic and microservices approaches in GraphQL?

The monolithic approach involves a single, large API serving all data needs, which can become unwieldy as complexity grows. The microservices approach breaks the API into smaller, independent services, which are more scalable but introduce management overhead. Federation provides a middle ground by combining independent services into a unified schema. (Source)

How does Hygraph's API Playground help with federation testing?

Hygraph's API Playground allows developers to run GraphQL queries and test data retrieval from both Hygraph and remote sources. This helps validate federation setups and ensures unified data access. (Source)

What documentation is available for implementing federation in Hygraph?

Hygraph provides extensive documentation on federation, remote sources, schema management, and API reference. These resources guide developers through setup, configuration, and best practices. (Hygraph Documentation)

How does Hygraph ensure performance in federated content delivery?

Hygraph offers high-performance endpoints designed for low latency and high read-throughput content delivery. The platform actively measures GraphQL API performance and provides practical advice for optimization. (Performance Blog, GraphQL Report 2024)

Features & Capabilities

What are the key features of Hygraph?

Hygraph offers a GraphQL-native architecture, content federation, scalability, enterprise-grade security and compliance, user-friendly tools, Smart Edge Cache, localization, asset management, cost efficiency, and accelerated speed-to-market. (Features)

Does Hygraph support integrations with other platforms?

Yes, Hygraph supports integrations with Digital Asset Management systems (Aprimo, AWS S3, Bynder, Cloudinary, Imgix, Mux, Scaleflex Filerobot), Adminix, Plasmic, and custom integrations via SDK or external APIs. Marketplace apps are also available for headless commerce and PIMs. (Integrations Documentation)

What APIs does Hygraph provide?

Hygraph provides multiple APIs: Content API (read & write), High Performance Content API (low latency, high throughput), MCP Server API (AI assistant integration), Asset Upload API, and Management API. (API Reference)

What technical documentation is available for Hygraph?

Hygraph offers documentation on API reference, schema components, references, webhooks, AI integrations (AI Agents, AI Assist, MCP Server), and more. (Documentation)

How does Hygraph optimize GraphQL API performance?

Hygraph actively measures API performance, provides high-performance endpoints, and shares best practices for optimization in its GraphQL Report 2024. (GraphQL Report 2024)

What feedback have customers given about Hygraph's ease of use?

Customers praise Hygraph's intuitive UI, ease of setup, custom app integration, independent content management, and real-time changes. Some users note it can be complex for less technical users. (Try Headless CMS, Enterprise)

Pricing & Plans

What pricing plans does Hygraph offer?

Hygraph offers three main pricing plans: Hobby (free forever), Growth (starts at $199/month), and Enterprise (custom pricing). Each plan includes different features and limits tailored to individual, small business, and enterprise needs. (Pricing)

What features are included in the Hobby plan?

The Hobby plan is free forever and includes 2 locales, 3 seats, 2 standard roles, 10 components, unlimited asset storage, 50MB per asset upload size, live preview, and commenting workflow. (Pricing)

What does the Growth plan cost and what does it include?

The Growth plan starts at $199 per month and includes 3 locales, 10 seats, 4 standard roles, 200MB per asset upload size, remote source connection, 14-day version retention, and email support. (Pricing)

What is included in the Enterprise plan?

The Enterprise plan offers custom limits on users, roles, entries, locales, API calls, components, remote sources, version retention (1 year), scheduled publishing, dedicated infrastructure, global CDN, 24/7 monitoring, security controls, SSO, multitenancy, backup recovery, custom workflows, dedicated support, and custom SLAs. (Pricing)

Security & Compliance

What security and compliance certifications does Hygraph have?

Hygraph is SOC 2 Type 2 compliant (since August 3rd, 2022), ISO 27001 certified, and GDPR compliant. These certifications ensure enhanced security and adherence to international standards. (Secure Features)

How does Hygraph ensure data security?

Hygraph uses granular permissions, audit logs, SSO integrations, encryption at rest and in transit, regular backups, and dedicated hosting options to ensure data security. (Secure Features)

Is Hygraph GDPR compliant?

Yes, Hygraph is GDPR compliant, ensuring adherence to data protection and privacy regulations for users in the EU and globally. (Secure Features)

Use Cases & Benefits

Who can benefit from using Hygraph?

Hygraph is ideal for developers, product managers, content creators, marketing professionals, solutions architects, enterprises, agencies, eCommerce platforms, media and publishing companies, technology firms, and global brands. (Case Studies)

What industries are represented in Hygraph's case studies?

Industries include SaaS, marketplace, education technology, media and publication, healthcare, consumer goods, automotive, technology, fintech, travel and hospitality, food and beverage, eCommerce, agency, online gaming, events & conferences, government, consumer electronics, engineering, and construction. (Case Studies)

Can you share specific customer success stories?

Yes. Notable success stories include Samsung (scalable API-first application), Dr. Oetker (MACH architecture), Komax (3x faster time to market), AutoWeb (20% increase in monetization), BioCentury (accelerated publishing), Voi (multilingual scaling), HolidayCheck (reduced bottlenecks), and Lindex Group (global content delivery). (Case Studies)

What business impact can customers expect from Hygraph?

Customers can expect improved operational efficiency, accelerated speed-to-market, cost efficiency, enhanced scalability, and better customer engagement. Examples include Komax (3x faster launches), Samsung (15% engagement increase), and Voi (multilingual scaling). (Case Studies)

How long does it take to implement Hygraph?

Implementation time varies by project. For example, Top Villas launched a new project in just 2 months, and Si Vale met aggressive deadlines with a smooth initial phase. Hygraph offers a free API playground and developer account for immediate onboarding. (Top Villas Case Study, Si Vale Case Study)

What onboarding and support resources does Hygraph provide?

Hygraph provides structured onboarding (introduction, account provisioning, business/technical/content kickoff), training resources (webinars, live streams, videos), extensive documentation, and a community Slack channel for support. (Documentation, Slack Channel)

What pain points does Hygraph solve for its customers?

Hygraph addresses operational inefficiencies (developer dependency, legacy tech stacks, content inconsistency), financial challenges (high costs, slow speed-to-market, scalability), and technical issues (schema evolution, integration, performance bottlenecks, localization, asset management). (Case Studies)

How does Hygraph differentiate itself from other CMS platforms?

Hygraph is the first GraphQL-native Headless CMS, offering content federation, enterprise-grade features, user-friendly tools, scalability, and proven ROI. It ranked 2nd out of 102 Headless CMSs in the G2 Summer 2025 report and is voted easiest to implement. (G2 Summer 2025)

What are some case studies relevant to the pain points Hygraph solves?

Operational: HolidayCheck (reduced bottlenecks), Dr. Oetker (global consistency), Si Vale (intuitive UI). Financial: Komax (faster launches, lower costs), Samsung (global scaling, reduced maintenance). Technical: BioCentury (simplified development, robust integrations). (Case Studies)

How does Hygraph's approach to solving pain points differ from competitors?

Hygraph stands out with its GraphQL-native architecture, content federation, user-friendly interface, cost efficiency, robust APIs, Smart Edge Cache, and localization/asset management. These features address operational, financial, and technical challenges more effectively than traditional CMS platforms. (Case Studies)

Introducing Click to Edit

GraphQL

Federation

In this tutorial, you'll explore the ins and outs of GraphQL Federation and how it can revolutionize the way you build digital products.

As applications grow in complexity, it can become challenging to manage a single, monolithic GraphQL schema that serves all the data needs of an application.

We now have GraphQL Federation, a powerful tool for content serving that allows you to combine multiple GraphQL APIs into a single, unified schema.

In this tutorial, you'll explore the ins and outs of GraphQL Federation and how it can revolutionize the way you build digital products.

A Brief History of Content Serving

Before the advent of GraphQL Federation, there were two primary approaches to content serving: monolithic and microservices. The monolithic approach involved building a single, large API that handled all the data needs of an application. While this approach is straightforward to implement, it can become unwieldy as the API grows in complexity, making it challenging to maintain and scale.

The microservices approach, on the other hand, involves breaking the API down into smaller, independent services that handle specific data needs. This approach can be more scalable and maintainable, but it also introduces more complexity and overhead, as each service needs to be managed independently.

GraphQL Federation provides a middle ground between these two approaches, allowing developers to split their API into smaller, independent services while maintaining a single, unified schema.

Try Hygraph, the GraphQL native headless CMS

Build limitless solutions rapidly with our GraphQL-native API-first approach

The Origins of Federation

GraphQL Federation was introduced in 2018 by the Apollo team as a way to manage large, distributed GraphQL schemas. Federation allows developers to split a large GraphQL schema into smaller subgraphs that can be developed and maintained independently.

Before federation, schema stitching was one approach to splitting a large GraphQL schema. Schema stitching involves combining multiple GraphQL schemas into a single schema. However, this approach can be challenging to implement and can introduce performance issues if not done correctly.

GraphQL Federation takes a different approach. Rather than combining multiple schemas into a single schema, federation splits a large schema into smaller, independent subgraphs.

What is GraphQL Federation?

GraphQL Federation is a way to split a large GraphQL schema into multiple smaller schemas, each representing a different part of the overall API. These smaller schemas are called "subgraphs". They can be developed and maintained independently by different teams or services.

The main benefits of using GraphQL Federation are:

  • Increased flexibility: By splitting the schema into smaller subgraphs, developers can make changes to the API more easily and without affecting other parts of the schema.
  • Scalability: As the API grows in complexity, it can become challenging to manage a single, monolithic schema. With GraphQL Federation, developers can split the schema into smaller, more manageable parts that can be scaled independently.
  • Better separation of concerns: By delegating parts of the schema to other services, developers can focus on their areas of expertise and not worry about the implementation details of other API parts.

How To Implement Federation With Hygraph

Hygraph is a federated content management platform that enables teams to provide content to any channel. If this is your first time exploring Hygraph, create a free-forever developer account here.

Here are the steps you will follow to implement federation with Hygraph:

  1. Define the Federated Schema: To define the Federated Schema with Hygraph, you need to create multiple smaller schemas for each service. This allows you to split a large schema into smaller ones that can be more easily managed. For example, you might create a schema for your blog service, a schema for your product service, and a schema for your user service.
  2. Configure the Services: Configure each service with its own https://hygraph.com/docs/getting-started), you can create custom content types, fields, and relationships for each service. This allows you to customize each service to meet your specific needs.
  3. Create a Gateway: Create a Gateway to route queries to the appropriate services and aggregate the results into a single response. Hygraph provides a built-in Gateway that you can use to route queries to your services. Once you have done this, you can send queries to your Gateway and receive responses.

Hygraph Federation Implementation Example

For this article, you will learn how to combine an external GraphQL API (Cocktail API) into your Hygraph project and query for data with a single GraphQL query.

This service has already been configured and can be queried independently, but with GraphQL federation, you can bring it into a parent schema.

Step 1: Add a remote source

The first step is to add a remote source, specify the type of the API, name and paste the API address:

adding another remote source to hygraph

Step 2: Create a GraphQL remote field

Create a field for the data you will use to query for a particular cocktail. For this, I will create two fields, the "Best cocktail" field for you to submit the best cocktail of the author, then a slug field (Cocktail Slug) that will automatically convert the "Best cocktail" data to slug.

adding the field to the schema You can now create the GraphQL remote field to query for a particular cocktail with the slug value.

adding a remote field

Step 3: Test the remote source

You have created a GraphQL remote field for the cocktail Info. Let's now test it by adding the author's best cocktail, which would generate a slug value, and then you can use it to get the particular cocktail information. testing the remote field in the graphql playground

At this point, you have successfully added and combined multiple remote sources into your Hygraph project.

Let's now create a GraphQL query to fetch the author's data, including the author's best cocktail, ingredients, and instructions for making it.

query AuthorsInfo {
authors {
firstName
lastName
bio
bestCocktail
cocktailInfo {
info
ingredients
instructions
}
}
}

This will return all the various values, including the ones from the remote sources, directly into this GraphQL query:

{
"data": {
"authors": [
{
"firstName": "John ",
"lastName": "Doe",
"bio": null,
"bestCocktail": "paloma",
"cocktailInfo": {
"info": "Alcoholic",
"ingredients": "Grape Soda Tequila",
"instructions": "Stir Together And Serve Over Ice."
}
}
]
}
}

This is one of the superpowers that Hygraph possesses, and GraphQL provides. You can explore more by reading the remote sources documentation and this article on How to run multiple GraphQL queries and combine multiple sources.

Conclusion

GraphQL Federation is a powerful technology revolutionizing how web applications query and serve data.

By allowing multiple services to work together as a single, cohesive unit, Federation improves performance, scalability, and reliability.

While some challenges are associated with using Federation, developers can overcome these challenges by carefully planning the system architecture, using version control, and monitoring performance.

With these tips in mind, developers can leverage the power of GraphQL Federation to build complex, distributed systems that meet the needs of modern web applications.