1
0
mirror of synced 2025-12-20 10:28:40 -05:00
Files
docs/content/graphql/reference/unions.md

821 B

title, intro, redirect_from, versions, topics, autogenerated
title intro redirect_from versions topics autogenerated
Unions A union is a type of object representing many objects.
/v4/union
/v4/reference/union
fpt ghec ghes
* * *
API
graphql

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