Skip to main content

Eine Union ist ein Objekttyp, der viele Objekte repräsentiert.

Zum Beispiel könnte ein Feld, das als ProjectCardItem markiert ist, ein Issue oder ein PullRequest sein, weil jedes dieser Objekte in einer Projektkarte enthalten sein kann. Die Verwendung einer Union anstelle eines Objekts bietet dir Flexibilität.

Weitere Informationen finden Sie unter Einführung in GraphQL.

Types that can be assigned to issues.

Mögliche Typen für Assignee

Types that can initiate an audit log event.

Mögliche Typen für AuditEntryActor

Types which can be actors for BranchActorAllowance objects.

Mögliche Typen für BranchActorAllowanceActor

Types that can represent a repository ruleset bypass actor.

Mögliche Typen für BypassActor

An object which can have its data claimed or claim data from another.

Mögliche Typen für Claimable

The object which triggered a ClosedEvent.

Mögliche Typen für Closer

Represents either a issue the viewer can access or a restricted contribution.

Mögliche Typen für CreatedIssueOrRestrictedContribution

Represents either a pull request the viewer can access or a restricted contribution.

Mögliche Typen für CreatedPullRequestOrRestrictedContribution

Represents either a repository the viewer can access or a restricted contribution.

Mögliche Typen für CreatedRepositoryOrRestrictedContribution

Users and teams.

Mögliche Typen für DeploymentReviewer

An object that is a member of an enterprise.

Mögliche Typen für EnterpriseMember

Types that can own an IP allow list.

Mögliche Typen für IpAllowListOwner

Used for return value of Repository.issueOrPullRequest.

Mögliche Typen für IssueOrPullRequest

Types that can be inside a Milestone.

Mögliche Typen für MilestoneItem

Types of memberships that can be restored for an Organization member.

An audit entry in an organization audit log.

Mögliche Typen für OrganizationAuditEntry

Used for argument of CreateProjectV2 mutation.

Mögliche Typen für OrganizationOrUser

Types that can grant permissions on a repository to a user.

Mögliche Typen für PermissionGranter

Types that can be pinned to a profile page.

Mögliche Typen für PinnableItem

Types that can be inside Project Cards.

Mögliche Typen für ProjectCardItem

Possible collaborators for a project.

Mögliche Typen für ProjectV2Actor

Configurations for project fields.

Mögliche Typen für ProjectV2FieldConfiguration

Types that can be inside Project Items.

Mögliche Typen für ProjectV2ItemContent

An item in a pull request timeline.

Mögliche Typen für PullRequestTimelineItems

Types that can be an actor.

Mögliche Typen für PushAllowanceActor

Types that can be assigned to reactions.

Mögliche Typen für Reactor

Any referencable object.

Mögliche Typen für ReferencedSubject

An object which has a renamable title.

Mögliche Typen für RenamedTitleSubject

Types that can be requested reviewers.

Mögliche Typen für RequestedReviewer

Types that can be an actor.

Mögliche Typen für ReviewDismissalAllowanceActor

Types which can have RepositoryRule objects.

Mögliche Typen für RuleSource

The results of a search.

Mögliche Typen für SearchResultItem

Types that can be inside a StatusCheckRollup context.

Mögliche Typen für StatusCheckRollupContext

Types that can be added to a user list.

Mögliche Typen für UserListItems

Types that can own a verifiable domain.

Mögliche Typen für VerifiableDomainOwner