Using Aliases to Rename Fields3:37 with Isaac Lee Morris
Fields can overlap when you are querying the same field with different arguments. In this video we will discuss the syntax for aliasing a field and show a query with the same field aliased twice.
(Apollo's Launchpad has been deprecated, so your screen will look different)
- Fragment - Reusable sets of fields that can be included in multiple queries; saves time from needing to manually include the same fields over and over in many places
GraphQL Fragments are the Best Match for UI Components by Samer Buna
You need to sign up for Treehouse in order to download course files.Sign up