Skip to main content

COMMENT_ISSUE

Constant COMMENT_ISSUE 

Source
pub const COMMENT_ISSUE: &str = r#"query($id:ID!){node(id:$id){__typename ... on IssueComment{id issue{id}}}}"#;
Expand description

Which issue one comment is on, read before that comment is edited or removed.

GitHub’s comment mutations take the comment’s id and nothing else, so without this a comment id given against the wrong task would change a comment on another issue.