Reuse Query Fields with GraphQL Fragments

InstructorEve Porcello

Share this video with your friends

Send Tweet

A GraphQL fragment encapsulates a collection of fields that can be included in queries. In this video, we'll look at how to create fragments on types to reduce the amount of typing that needs to occur as queries become more complex. We'll use the GitHub API to test.