Skip to main content

Объединение — это тип объекта, представляющий множество объектов.

Например, поле, помеченное как ProjectCardItem, может быть объектом Issue или PullRequest, так как каждый из этих объектов может находиться в карточке проекта. Использование объединения вместо объекта повышает гибкость.

Дополнительные сведения см. в разделе Общие сведения о GraphQL.

Types that can be assigned to issues.

Возможные типы для Assignee

Types that can initiate an audit log event.

Возможные типы для AuditEntryActor

Types which can be actors for BranchActorAllowance objects.

Возможные типы для BranchActorAllowanceActor

Types that can represent a repository ruleset bypass actor.

Возможные типы для BypassActor

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

Возможные типы для Claimable

The object which triggered a ClosedEvent.

Возможные типы для Closer

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

Возможные типы для CreatedIssueOrRestrictedContribution

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

Возможные типы для CreatedPullRequestOrRestrictedContribution

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

Возможные типы для CreatedRepositoryOrRestrictedContribution

Users and teams.

Возможные типы для DeploymentReviewer

An object that is a member of an enterprise.

Возможные типы для EnterpriseMember

Types that can own an IP allow list.

Возможные типы для IpAllowListOwner

Used for return value of Repository.issueOrPullRequest.

Возможные типы для IssueOrPullRequest

Types that can be inside a Milestone.

Возможные типы для MilestoneItem

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

An audit entry in an organization audit log.

Возможные типы для OrganizationAuditEntry

Used for argument of CreateProjectV2 mutation.

Возможные типы для OrganizationOrUser

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

Возможные типы для PermissionGranter

Types that can be pinned to a profile page.

Возможные типы для PinnableItem

Types that can be inside Project Cards.

Возможные типы для ProjectCardItem

Possible collaborators for a project.

Возможные типы для ProjectV2Actor

Configurations for project fields.

Возможные типы для ProjectV2FieldConfiguration

Types that can be inside Project Items.

Возможные типы для ProjectV2ItemContent

An item in a pull request timeline.

Возможные типы для PullRequestTimelineItems

Types that can be an actor.

Возможные типы для PushAllowanceActor

Types that can be assigned to reactions.

Возможные типы для Reactor

Any referencable object.

Возможные типы для ReferencedSubject

An object which has a renamable title.

Возможные типы для RenamedTitleSubject

Types that can be requested reviewers.

Возможные типы для RequestedReviewer

Types that can be an actor.

Возможные типы для ReviewDismissalAllowanceActor

Types which can have RepositoryRule objects.

Возможные типы для RuleSource

The results of a search.

Возможные типы для SearchResultItem

Entities that can sponsor others via Sponsors.

Возможные типы для Sponsor

Entities that can be sponsored via Sponsors.

Возможные типы для SponsorableItem

A record that can be featured on a Sponsors profile.

Возможные типы для SponsorsListingFeatureableItem

Types that can be inside a StatusCheckRollup context.

Возможные типы для StatusCheckRollupContext

Types that can be added to a user list.

Возможные типы для UserListItems

Types that can own a verifiable domain.

Возможные типы для VerifiableDomainOwner