pub const DOCUMENT_IN_PROJECT: &str = "query($id:ID!,$first:Int!,$memberFirst:Int!,$nestedFirst:Int!,$boardItems:Int!,$duplicates:Boolean!,$relationshipEvents:[IssueTimelineItemsItemType!]=[BLOCKED_BY_ADDED_EVENT,BLOCKED_BY_REMOVED_EVENT,BLOCKING_ADDED_EVENT,BLOCKING_REMOVED_EVENT,PARENT_ISSUE_ADDED_EVENT,PARENT_ISSUE_REMOVED_EVENT]){\n node(id:$id){__typename ...BoardIssue ... on Issue{\n boards:projectItems(first:$boardItems){nodes{project{id number fields(first:$nestedFirst){nodes{\n ... on ProjectV2SingleSelectField{__typename id name options{id name}}\n ... on ProjectV2Field{__typename id name dataType}\n }pageInfo{hasNextPage}}}}}\n blockedBy(first:$first){nodes{...Related}pageInfo{hasNextPage endCursor}}\n project:parent{__typename ...BoardIssue\n subIssues(first:$memberFirst){pageInfo{hasNextPage endCursor} nodes{__typename ...BoardIssue}}\n }\n }}\n } fragment BoardIssue on Issue{__typename id number title body url createdAt updatedAt state stateReason(enableDuplicate:$duplicates) repository{nameWithOwner} parent{id} subIssuesSummary{total} commentCount:comments{totalCount} relationshipEvents:timelineItems(itemTypes:$relationshipEvents){totalCount}\n labels(first:$nestedFirst){nodes{id name color}pageInfo{hasNextPage}}\n projectItems(first:$boardItems){nodes{id updatedAt project{id 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 }pageInfo{hasNextPage}}}pageInfo{hasNextPage endCursor}}} fragment Related on Issue{id title body parent{id} subIssuesSummary{total}}";Expand description
One document by its own node id, as ISSUE reads one, with the project it is filed
under and that project’s members beside it: the project issue whole, and a page of its
sub-issues, each as SUB_ISSUES carries one but with no page of what blocks it.
What a guarded write of a document’s metadata reads, and what reading a document by its id is: a write to a board the boundary screens is held to who may read the document, which is the project’s and every member’s classification as much as its own, and here the one request that holds the version the write is compared against answers all of it. Its members carry no edges, which nothing classifying them reads.