Skip to main content

ISSUE

Constant ISSUE 

Source
pub const ISSUE: &str = "query($id:ID!,$nestedFirst:Int!,$boardItems:Int!,$duplicates:Boolean!){\n      node(id:$id){__typename ...BoardIssue}\n    } fragment BoardIssue on Issue{__typename id title body url createdAt updatedAt state stateReason(enableDuplicate:$duplicates) repository{nameWithOwner} parent{id} subIssuesSummary{total}\n      labels(first:$nestedFirst){nodes{id name color}pageInfo{hasNextPage}}\n      projectItems(first:$boardItems){nodes{id project{number}\n        fieldValues(first:$nestedFirst){nodes{\n          ... on ProjectV2ItemFieldSingleSelectValue{name field{\n            ... on ProjectV2SingleSelectField{id name options{id name}}\n          }}\n          ... on ProjectV2ItemFieldTextValue{text field{... on ProjectV2Field{id name}}}\n          ... on ProjectV2ItemFieldLabelValue{labels(first:$nestedFirst){nodes{id name color}pageInfo{hasNextPage}}}\n        }pageInfo{hasNextPage}}}pageInfo{hasNextPage}}}";
Expand description

One issue by its own node id, which is what a qualified id names here.

Strongly consistent, unlike the search above: GitHub’s issue search is an index and answers a write made moments ago with the value from before it, and resolving a node id does not.