3. Exercise: Schema planning
1m

Exercise: Schema planning with federation

🎯 Goal: Discuss and plan what a federated schema for Airlock should look like.

Explore the app: https://odyssey-airlock.netlify.app/

Discuss with your partner

  • What should we create? What domain is each subgraph responsible for?
  • What types and should belong in which ?

Here are some questions to help guide you:

  • What do you see in the mockups above? What belong to each type?
  • What factors might you want to consider to help with your schema planning?

Need a few starting points? You can prioritize the pages below:

Task!

Solution

There are many different possible solutions, but here's what we came up with!

Previous

Share your questions and comments about this lesson

Your feedback helps us improve! If you're stuck or confused, let us know and we'll help you out. All comments are public and must follow the Apollo Code of Conduct. Note that comments that have been resolved or addressed may be removed.

You'll need a GitHub account to post below. Don't have one? Post in our Odyssey forum instead.