1
0
mirror of synced 2025-12-23 11:54:18 -05:00
Files
docs/content/graphql/reference/unions.md
Rachael Sewell 9a0222e353 add missing redirect frontmatter (#17042)
Co-authored-by: Sarah Schneider <sarahs@users.noreply.github.com>
2020-12-17 19:03:20 +00:00

816 B

title, redirect_from, versions
title redirect_from versions
Unions
/v4/union
/v4/reference/union
free-pro-team enterprise-server github-ae
* * *

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."

{% for item in graphql.schemaForCurrentVersion.unions %} {% include graphql-union %} {% endfor %}