13. Exercise: Add a subgraph
1m

🎯 Goal: Add the kitchenware .

You can find the Kitchenware API at this endpoint: https://poetic-plates-kitchenware-api.herokuapp.com/.

API endpoint
https://poetic-plates-kitchenware-api.herokuapp.com/
Subgraph name
kitchenware

Stuck? Check out the solution below ⬇️

Which of the following situations triggers a launch in GraphOS?
Which of the following types were added to the supergraph after adding the kitchenware subgraph?
You can also add a new subgraph to the supergraph using Rover. Which of the following commands would you need to use?

After sucessfully adding the kitchenware , try adding another subgraph. Use the values below:

Routing URL
https://poetic-plates-kitchenware-api.herokuapp.com/
Subgraph name
new-subgraph
Which of the following statements below are correct?

After successfully adding the kitchenware , let's run a few queries with Explorer!

query GetRandomRecipeAndAllCookware {
randomRecipe {
name
readyTime
}
allCookware {
name
description
cleaningInstructions
}
}

To view the , click the dropdown arrow beside "Response" and select "Query Plan Preview".

Which of the following statements are true about the query plan for the query above?
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.