Events / Tech Talk

January 12

9:00am - 10:00am PST

Using Contract Variants in Apollo Studio

Image hero

What you'll learn

Contracts are a powerful demand control feature of Apollo Studio that allow you to deliver different subsets of your supergraph schema to different consumers. For example, you can use contracts to offer one view of your schema to teams that build user-facing client apps, another view to a team that maintains an internal dashboard, and yet another view to third-party consumers of your API—all while maintaining a single version of your supergraph schema.

In this session, we’ll cover what contracts are and when to use them. We’ll also demonstrate how to create a contract variant in Apollo Studio and how to use the @tag directive in a subgraph schema to include or exclude types and fields selectively in a contract variant.

Required skills and understanding: GraphQL, Apollo Federation

  1. What contracts are, how they work, and what use cases they can support

  2. How to create a contract in Apollo Studio

  3. How to use the @tag directive in a subgraph schema

  4. Best practices for contract variant implementation

Meet the speakers

Lucas Leadbetter
Solutions Architect

Register

Registration for this event has closed, sorry we missed you!