Skip to main content

Module graphql

Module graphql 

Source
Expand description

Exact GraphQL query documents issued by this plugin.

Keeping the production documents here lets the pinned-schema test validate the same bytes that are sent to GitHub, rather than a test-only copy which could drift independently. No document in this module writes the board itself, and none of them names updateProjectV2Field.

Constants§

ADD_BLOCKED_BY
Adds GitHub’s native issue blocked-by relationship.
ADD_SUB_ISSUE
Files one issue under another as a sub-issue, which is what project membership is.
ADD_TO_BOARD
Puts an existing issue on the configured board.
BOARD
Reads the board’s fields and one page of its items.
CREATE_ISSUE
Creates one issue in the configured repository.
ISSUE_DEPENDENCIES
Reads both dependency directions for one issue, with each far end’s own kind.
REMOVE_BLOCKED_BY
Removes one native issue blocked-by relationship.
REMOVE_SUB_ISSUE
Takes one issue back out of its parent.
REPOSITORY
Resolves the configured repository’s node id, which creating an issue requires.
UPDATE_DRAFT
Updates an existing draft’s user-visible fields.
UPDATE_FIELD
Updates a text or single-select value on one project item.
UPDATE_ISSUE
Updates an issue’s visible fields and its open or closed state in one call.