From 2c0cf105278389f2c9cd3ce875b64ae36731a1ab Mon Sep 17 00:00:00 2001 From: Alexander Scharinger Date: Sat, 16 Jan 2021 21:22:05 +0100 Subject: Add GraphQL github-bridge query for comment edits --- bridge/github/import_query.go | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'bridge/github/import_query.go') diff --git a/bridge/github/import_query.go b/bridge/github/import_query.go index 38cdc444..ef26b3e8 100644 --- a/bridge/github/import_query.go +++ b/bridge/github/import_query.go @@ -245,3 +245,15 @@ type timelineQuery struct { } `graphql:"... on Issue"` } `graphql:"node(id: $gqlNodeId)"` } + +type commentEditQuery_A struct { + Node struct { + Typename githubv4.String `graphql:"__typename"` + IssueComment struct { + UserContentEdits struct { + Nodes []userContentEdit + PageInfo pageInfo + } `graphql:"userContentEdits(last: $commentEditLast, before: $commentEditBefore)"` + } `graphql:"... on IssueComment"` + } `graphql:"node(id: $gqlNodeId)"` +} -- cgit