Challenge: Tricky Pizzas Query
Explore writing a complex GraphQL query that retrieves Greek and Detroit pizzas by using field aliases, a reusable fragment, and variables. Understand how to manage queries with similar fields efficiently using fragments and arguments.
We'll cover the following...
We'll cover the following...
Problem statement
-
Write a GraphQL query to get two types of pizzas (Greek and Detroit) from the
pizzasfield. -
Query the
pizzasfields with the following aliases: ...