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 subgraphs should we create? What domain is each subgraph responsible for?
- What types and fields should belong in which subgraph?
Here are some questions to help guide you:
- What object types do you see in the mockups above? What fields 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!
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.