Co-authored-by: Laura Coursen <lecoursen@github.com> Co-authored-by: mchammer01 <42146119+mchammer01@users.noreply.github.com>
822 B
822 B
title, redirect_from, versions, topics
| title | redirect_from | versions | topics | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Unions |
|
|
|
About unions
A union is a type of object representing many objects.
For example, a field marked as an ProjectCardItem could be an Issue or a PullRequest because each of those objects can be inside a project card. Using a union instead of an object gives you flexibility.
For more information, see "Introduction to GraphQL."
{% data reusables.projects.graphql-ghes %}