Skip to content

Latest commit

 

History

History
20 lines (15 loc) · 718 Bytes

File metadata and controls

20 lines (15 loc) · 718 Bytes
title Unions
redirect_from
/v4/union
versions
free-pro-team enterprise-server
*
*

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 %}