Renaming Fields with GraphQL Aliases

InstructorEve Porcello

Share this video with your friends

Send Tweet

When writing GraphQL queries, you may want to query the same field with different arguments. In this lesson, we’ll show the problem with naming collisions in GraphQL queries and how they can be solved with aliases.

To follow along with these queries, go to the Pet Library GraphQL Playground.