Acerca de las uniones
Una unión es un tipo de objeto que representa muchos otros objetos.
Por ejemplo, un campo marcado como un ProjectCardItem
podría ser un Issue
o una PullRequest
ya que cada uno de estos objetos puede estar dentro de una tarjeta de proyecto. Utilizar una unión en vez de un objeto te otorga flexibilidad.
Para obtener más información, consulta la sección "Introducción a GraphQL".
Tipos posibles
Tipos posibles
Tipos posibles
CreatedIssueOrRestrictedContribution
Represents either a issue the viewer can access or a restricted contribution.
Tipos posibles
CreatedPullRequestOrRestrictedContribution
Represents either a pull request the viewer can access or a restricted contribution.
Tipos posibles
CreatedRepositoryOrRestrictedContribution
Represents either a repository the viewer can access or a restricted contribution.
Tipos posibles
Tipos posibles
Tipos posibles
Tipos posibles
Tipos posibles
Tipos posibles
- AddedToProjectEvent
- AssignedEvent
- ClosedEvent
- CommentDeletedEvent
- ConnectedEvent
- ConvertedNoteToIssueEvent
- CrossReferencedEvent
- DemilestonedEvent
- DisconnectedEvent
- IssueComment
- LabeledEvent
- LockedEvent
- MarkedAsDuplicateEvent
- MentionedEvent
- MilestonedEvent
- MovedColumnsInProjectEvent
- PinnedEvent
- ReferencedEvent
- RemovedFromProjectEvent
- RenamedTitleEvent
- ReopenedEvent
- SubscribedEvent
- TransferredEvent
- UnassignedEvent
- UnlabeledEvent
- UnlockedEvent
- UnmarkedAsDuplicateEvent
- UnpinnedEvent
- UnsubscribedEvent
- UserBlockedEvent
Tipos posibles
Tipos posibles
- MembersCanDeleteReposClearAuditEntry
- MembersCanDeleteReposDisableAuditEntry
- MembersCanDeleteReposEnableAuditEntry
- OauthApplicationCreateAuditEntry
- OrgAddBillingManagerAuditEntry
- OrgAddMemberAuditEntry
- OrgBlockUserAuditEntry
- OrgConfigDisableCollaboratorsOnlyAuditEntry
- OrgConfigEnableCollaboratorsOnlyAuditEntry
- OrgCreateAuditEntry
- OrgDisableOauthAppRestrictionsAuditEntry
- OrgDisableSamlAuditEntry
- OrgDisableTwoFactorRequirementAuditEntry
- OrgEnableOauthAppRestrictionsAuditEntry
- OrgEnableSamlAuditEntry
- OrgEnableTwoFactorRequirementAuditEntry
- OrgInviteMemberAuditEntry
- OrgInviteToBusinessAuditEntry
- OrgOauthAppAccessApprovedAuditEntry
- OrgOauthAppAccessDeniedAuditEntry
- OrgOauthAppAccessRequestedAuditEntry
- OrgRemoveBillingManagerAuditEntry
- OrgRemoveMemberAuditEntry
- OrgRemoveOutsideCollaboratorAuditEntry
- OrgRestoreMemberAuditEntry
- OrgUnblockUserAuditEntry
- OrgUpdateDefaultRepositoryPermissionAuditEntry
- OrgUpdateMemberAuditEntry
- OrgUpdateMemberRepositoryCreationPermissionAuditEntry
- OrgUpdateMemberRepositoryInvitationPermissionAuditEntry
- PrivateRepositoryForkingDisableAuditEntry
- PrivateRepositoryForkingEnableAuditEntry
- RepoAccessAuditEntry
- RepoAddMemberAuditEntry
- RepoAddTopicAuditEntry
- RepoArchivedAuditEntry
- RepoChangeMergeSettingAuditEntry
- RepoConfigDisableAnonymousGitAccessAuditEntry
- RepoConfigDisableCollaboratorsOnlyAuditEntry
- RepoConfigDisableContributorsOnlyAuditEntry
- RepoConfigDisableSockpuppetDisallowedAuditEntry
- RepoConfigEnableAnonymousGitAccessAuditEntry
- RepoConfigEnableCollaboratorsOnlyAuditEntry
- RepoConfigEnableContributorsOnlyAuditEntry
- RepoConfigEnableSockpuppetDisallowedAuditEntry
- RepoConfigLockAnonymousGitAccessAuditEntry
- RepoConfigUnlockAnonymousGitAccessAuditEntry
- RepoCreateAuditEntry
- RepoDestroyAuditEntry
- RepoRemoveMemberAuditEntry
- RepoRemoveTopicAuditEntry
- RepositoryVisibilityChangeDisableAuditEntry
- RepositoryVisibilityChangeEnableAuditEntry
- TeamAddMemberAuditEntry
- TeamAddRepositoryAuditEntry
- TeamChangeParentTeamAuditEntry
- TeamRemoveMemberAuditEntry
- TeamRemoveRepositoryAuditEntry
Tipos posibles
Tipos posibles
Tipos posibles
Tipos posibles
- AssignedEvent
- BaseRefDeletedEvent
- BaseRefForcePushedEvent
- ClosedEvent
- Commit
- CommitCommentThread
- CrossReferencedEvent
- DemilestonedEvent
- DeployedEvent
- DeploymentEnvironmentChangedEvent
- HeadRefDeletedEvent
- HeadRefForcePushedEvent
- HeadRefRestoredEvent
- IssueComment
- LabeledEvent
- LockedEvent
- MergedEvent
- MilestonedEvent
- PullRequestReview
- PullRequestReviewComment
- PullRequestReviewThread
- ReferencedEvent
- RenamedTitleEvent
- ReopenedEvent
- ReviewDismissedEvent
- ReviewRequestRemovedEvent
- ReviewRequestedEvent
- SubscribedEvent
- UnassignedEvent
- UnlabeledEvent
- UnlockedEvent
- UnsubscribedEvent
- UserBlockedEvent
Tipos posibles
- AddedToProjectEvent
- AssignedEvent
- AutomaticBaseChangeFailedEvent
- AutomaticBaseChangeSucceededEvent
- BaseRefChangedEvent
- BaseRefDeletedEvent
- BaseRefForcePushedEvent
- ClosedEvent
- CommentDeletedEvent
- ConnectedEvent
- ConvertToDraftEvent
- ConvertedNoteToIssueEvent
- CrossReferencedEvent
- DemilestonedEvent
- DeployedEvent
- DeploymentEnvironmentChangedEvent
- DisconnectedEvent
- HeadRefDeletedEvent
- HeadRefForcePushedEvent
- HeadRefRestoredEvent
- IssueComment
- LabeledEvent
- LockedEvent
- MarkedAsDuplicateEvent
- MentionedEvent
- MergedEvent
- MilestonedEvent
- MovedColumnsInProjectEvent
- PinnedEvent
- PullRequestCommit
- PullRequestCommitCommentThread
- PullRequestReview
- PullRequestReviewThread
- PullRequestRevisionMarker
- ReadyForReviewEvent
- ReferencedEvent
- RemovedFromProjectEvent
- RenamedTitleEvent
- ReopenedEvent
- ReviewDismissedEvent
- ReviewRequestRemovedEvent
- ReviewRequestedEvent
- SubscribedEvent
- TransferredEvent
- UnassignedEvent
- UnlabeledEvent
- UnlockedEvent
- UnmarkedAsDuplicateEvent
- UnpinnedEvent
- UnsubscribedEvent
- UserBlockedEvent