From 70fe67799015e9fc1186e1c6445ca334e3019f05 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dandelion=20Man=C3=A9?= Date: Wed, 12 Sep 2018 17:18:37 -0700 Subject: [PATCH] Update example GitHub data (#813) Generated via `src/plugins/github/fetchGithubRepoTest.sh -u` `yarn test --full` passes. Closes #389. Thanks, @wchargin! --- .../__snapshots__/createGraph.test.js.snap | 484 ++++++++++++------ .../__snapshots__/graphView.test.js.snap | 2 +- .../__snapshots__/relationalView.test.js.snap | 12 +- .../github/example/example-github.json | 57 ++- 4 files changed, 400 insertions(+), 155 deletions(-) diff --git a/src/plugins/github/__snapshots__/createGraph.test.js.snap b/src/plugins/github/__snapshots__/createGraph.test.js.snap index ee336aa..e3ed635 100644 --- a/src/plugins/github/__snapshots__/createGraph.test.js.snap +++ b/src/plugins/github/__snapshots__/createGraph.test.js.snap @@ -25,8 +25,8 @@ Array [ "6", "417104047", ], - "dstIndex": 13, - "srcIndex": 30, + "dstIndex": 17, + "srcIndex": 35, }, Object { "address": Array [ @@ -43,8 +43,8 @@ Array [ "example-github", "1", ], - "dstIndex": 17, - "srcIndex": 31, + "dstIndex": 21, + "srcIndex": 36, }, Object { "address": Array [ @@ -61,8 +61,8 @@ Array [ "example-github", "10", ], - "dstIndex": 18, - "srcIndex": 31, + "dstIndex": 22, + "srcIndex": 36, }, Object { "address": Array [ @@ -79,8 +79,8 @@ Array [ "example-github", "2", ], - "dstIndex": 19, - "srcIndex": 31, + "dstIndex": 24, + "srcIndex": 36, }, Object { "address": Array [ @@ -97,8 +97,8 @@ Array [ "example-github", "4", ], - "dstIndex": 20, - "srcIndex": 31, + "dstIndex": 25, + "srcIndex": 36, }, Object { "address": Array [ @@ -115,8 +115,8 @@ Array [ "example-github", "6", ], - "dstIndex": 21, - "srcIndex": 31, + "dstIndex": 26, + "srcIndex": 36, }, Object { "address": Array [ @@ -133,8 +133,8 @@ Array [ "example-github", "7", ], - "dstIndex": 22, - "srcIndex": 31, + "dstIndex": 27, + "srcIndex": 36, }, Object { "address": Array [ @@ -151,8 +151,8 @@ Array [ "example-github", "8", ], - "dstIndex": 23, - "srcIndex": 31, + "dstIndex": 28, + "srcIndex": 36, }, Object { "address": Array [ @@ -169,8 +169,8 @@ Array [ "example-github", "3", ], - "dstIndex": 24, - "srcIndex": 31, + "dstIndex": 29, + "srcIndex": 36, }, Object { "address": Array [ @@ -187,8 +187,8 @@ Array [ "example-github", "5", ], - "dstIndex": 25, - "srcIndex": 31, + "dstIndex": 30, + "srcIndex": 36, }, Object { "address": Array [ @@ -205,8 +205,28 @@ Array [ "example-github", "9", ], - "dstIndex": 26, - "srcIndex": 31, + "dstIndex": 31, + "srcIndex": 36, + }, + Object { + "address": Array [ + "sourcecred", + "github", + "AUTHORS", + "3", + "USERLIKE", + "USER", + "decentralion", + "6", + "COMMENT", + "ISSUE", + "sourcecred", + "example-github", + "11", + "420813621", + ], + "dstIndex": 5, + "srcIndex": 36, }, Object { "address": Array [ @@ -225,8 +245,8 @@ Array [ "2", "373768703", ], - "dstIndex": 2, - "srcIndex": 31, + "dstIndex": 6, + "srcIndex": 36, }, Object { "address": Array [ @@ -245,8 +265,8 @@ Array [ "2", "373768850", ], - "dstIndex": 3, - "srcIndex": 31, + "dstIndex": 7, + "srcIndex": 36, }, Object { "address": Array [ @@ -265,8 +285,8 @@ Array [ "2", "385576185", ], - "dstIndex": 4, - "srcIndex": 31, + "dstIndex": 8, + "srcIndex": 36, }, Object { "address": Array [ @@ -285,8 +305,8 @@ Array [ "2", "385576220", ], - "dstIndex": 5, - "srcIndex": 31, + "dstIndex": 9, + "srcIndex": 36, }, Object { "address": Array [ @@ -305,8 +325,8 @@ Array [ "2", "385576248", ], - "dstIndex": 6, - "srcIndex": 31, + "dstIndex": 10, + "srcIndex": 36, }, Object { "address": Array [ @@ -325,8 +345,8 @@ Array [ "2", "385576273", ], - "dstIndex": 7, - "srcIndex": 31, + "dstIndex": 11, + "srcIndex": 36, }, Object { "address": Array [ @@ -345,8 +365,8 @@ Array [ "2", "385576920", ], - "dstIndex": 8, - "srcIndex": 31, + "dstIndex": 12, + "srcIndex": 36, }, Object { "address": Array [ @@ -365,8 +385,8 @@ Array [ "2", "385576936", ], - "dstIndex": 9, - "srcIndex": 31, + "dstIndex": 13, + "srcIndex": 36, }, Object { "address": Array [ @@ -385,8 +405,8 @@ Array [ "6", "373768442", ], - "dstIndex": 10, - "srcIndex": 31, + "dstIndex": 14, + "srcIndex": 36, }, Object { "address": Array [ @@ -405,8 +425,8 @@ Array [ "6", "373768538", ], - "dstIndex": 11, - "srcIndex": 31, + "dstIndex": 15, + "srcIndex": 36, }, Object { "address": Array [ @@ -425,8 +445,8 @@ Array [ "6", "385223316", ], - "dstIndex": 12, - "srcIndex": 31, + "dstIndex": 16, + "srcIndex": 36, }, Object { "address": Array [ @@ -445,8 +465,8 @@ Array [ "3", "369162222", ], - "dstIndex": 14, - "srcIndex": 31, + "dstIndex": 18, + "srcIndex": 36, }, Object { "address": Array [ @@ -463,8 +483,26 @@ Array [ "example-github", "10", ], - "dstIndex": 18, - "srcIndex": 32, + "dstIndex": 22, + "srcIndex": 37, + }, + Object { + "address": Array [ + "sourcecred", + "github", + "AUTHORS", + "3", + "USERLIKE", + "USER", + "wchargin", + "4", + "ISSUE", + "sourcecred", + "example-github", + "11", + ], + "dstIndex": 23, + "srcIndex": 37, }, Object { "address": Array [ @@ -481,8 +519,8 @@ Array [ "example-github", "9", ], - "dstIndex": 26, - "srcIndex": 32, + "dstIndex": 31, + "srcIndex": 37, }, Object { "address": Array [ @@ -500,8 +538,8 @@ Array [ "5", "100313899", ], - "dstIndex": 28, - "srcIndex": 32, + "dstIndex": 33, + "srcIndex": 37, }, Object { "address": Array [ @@ -519,8 +557,28 @@ Array [ "5", "100314038", ], - "dstIndex": 29, - "srcIndex": 32, + "dstIndex": 34, + "srcIndex": 37, + }, + Object { + "address": Array [ + "sourcecred", + "github", + "AUTHORS", + "3", + "USERLIKE", + "USER", + "wchargin", + "6", + "COMMENT", + "ISSUE", + "sourcecred", + "example-github", + "11", + "420813013", + ], + "dstIndex": 3, + "srcIndex": 37, }, Object { "address": Array [ @@ -539,8 +597,8 @@ Array [ "5", "396430464", ], - "dstIndex": 15, - "srcIndex": 32, + "dstIndex": 19, + "srcIndex": 37, }, Object { "address": Array [ @@ -560,8 +618,8 @@ Array [ "100313899", "171460198", ], - "dstIndex": 16, - "srcIndex": 32, + "dstIndex": 20, + "srcIndex": 37, }, Object { "address": Array [ @@ -574,8 +632,8 @@ Array [ "example-github", "1", ], - "dstIndex": 27, - "srcIndex": 17, + "dstIndex": 32, + "srcIndex": 21, }, Object { "address": Array [ @@ -588,8 +646,22 @@ Array [ "example-github", "10", ], - "dstIndex": 27, - "srcIndex": 18, + "dstIndex": 32, + "srcIndex": 22, + }, + Object { + "address": Array [ + "sourcecred", + "github", + "HAS_PARENT", + "4", + "ISSUE", + "sourcecred", + "example-github", + "11", + ], + "dstIndex": 32, + "srcIndex": 23, }, Object { "address": Array [ @@ -602,8 +674,8 @@ Array [ "example-github", "2", ], - "dstIndex": 27, - "srcIndex": 19, + "dstIndex": 32, + "srcIndex": 24, }, Object { "address": Array [ @@ -616,8 +688,8 @@ Array [ "example-github", "4", ], - "dstIndex": 27, - "srcIndex": 20, + "dstIndex": 32, + "srcIndex": 25, }, Object { "address": Array [ @@ -630,8 +702,8 @@ Array [ "example-github", "6", ], - "dstIndex": 27, - "srcIndex": 21, + "dstIndex": 32, + "srcIndex": 26, }, Object { "address": Array [ @@ -644,8 +716,8 @@ Array [ "example-github", "7", ], - "dstIndex": 27, - "srcIndex": 22, + "dstIndex": 32, + "srcIndex": 27, }, Object { "address": Array [ @@ -658,8 +730,8 @@ Array [ "example-github", "8", ], - "dstIndex": 27, - "srcIndex": 23, + "dstIndex": 32, + "srcIndex": 28, }, Object { "address": Array [ @@ -672,8 +744,8 @@ Array [ "example-github", "3", ], - "dstIndex": 27, - "srcIndex": 24, + "dstIndex": 32, + "srcIndex": 29, }, Object { "address": Array [ @@ -686,8 +758,8 @@ Array [ "example-github", "5", ], - "dstIndex": 27, - "srcIndex": 25, + "dstIndex": 32, + "srcIndex": 30, }, Object { "address": Array [ @@ -700,8 +772,8 @@ Array [ "example-github", "9", ], - "dstIndex": 27, - "srcIndex": 26, + "dstIndex": 32, + "srcIndex": 31, }, Object { "address": Array [ @@ -715,8 +787,8 @@ Array [ "5", "100313899", ], - "dstIndex": 25, - "srcIndex": 28, + "dstIndex": 30, + "srcIndex": 33, }, Object { "address": Array [ @@ -730,8 +802,72 @@ Array [ "5", "100314038", ], - "dstIndex": 25, - "srcIndex": 29, + "dstIndex": 30, + "srcIndex": 34, + }, + Object { + "address": Array [ + "sourcecred", + "github", + "HAS_PARENT", + "6", + "COMMENT", + "ISSUE", + "sourcecred", + "example-github", + "11", + "420811872", + ], + "dstIndex": 23, + "srcIndex": 2, + }, + Object { + "address": Array [ + "sourcecred", + "github", + "HAS_PARENT", + "6", + "COMMENT", + "ISSUE", + "sourcecred", + "example-github", + "11", + "420813013", + ], + "dstIndex": 23, + "srcIndex": 3, + }, + Object { + "address": Array [ + "sourcecred", + "github", + "HAS_PARENT", + "6", + "COMMENT", + "ISSUE", + "sourcecred", + "example-github", + "11", + "420813206", + ], + "dstIndex": 23, + "srcIndex": 4, + }, + Object { + "address": Array [ + "sourcecred", + "github", + "HAS_PARENT", + "6", + "COMMENT", + "ISSUE", + "sourcecred", + "example-github", + "11", + "420813621", + ], + "dstIndex": 23, + "srcIndex": 5, }, Object { "address": Array [ @@ -746,8 +882,8 @@ Array [ "2", "373768703", ], - "dstIndex": 19, - "srcIndex": 2, + "dstIndex": 24, + "srcIndex": 6, }, Object { "address": Array [ @@ -762,8 +898,8 @@ Array [ "2", "373768850", ], - "dstIndex": 19, - "srcIndex": 3, + "dstIndex": 24, + "srcIndex": 7, }, Object { "address": Array [ @@ -778,8 +914,8 @@ Array [ "2", "385576185", ], - "dstIndex": 19, - "srcIndex": 4, + "dstIndex": 24, + "srcIndex": 8, }, Object { "address": Array [ @@ -794,8 +930,8 @@ Array [ "2", "385576220", ], - "dstIndex": 19, - "srcIndex": 5, + "dstIndex": 24, + "srcIndex": 9, }, Object { "address": Array [ @@ -810,8 +946,8 @@ Array [ "2", "385576248", ], - "dstIndex": 19, - "srcIndex": 6, + "dstIndex": 24, + "srcIndex": 10, }, Object { "address": Array [ @@ -826,8 +962,8 @@ Array [ "2", "385576273", ], - "dstIndex": 19, - "srcIndex": 7, + "dstIndex": 24, + "srcIndex": 11, }, Object { "address": Array [ @@ -842,8 +978,8 @@ Array [ "2", "385576920", ], - "dstIndex": 19, - "srcIndex": 8, + "dstIndex": 24, + "srcIndex": 12, }, Object { "address": Array [ @@ -858,8 +994,8 @@ Array [ "2", "385576936", ], - "dstIndex": 19, - "srcIndex": 9, + "dstIndex": 24, + "srcIndex": 13, }, Object { "address": Array [ @@ -874,8 +1010,8 @@ Array [ "6", "373768442", ], - "dstIndex": 21, - "srcIndex": 10, + "dstIndex": 26, + "srcIndex": 14, }, Object { "address": Array [ @@ -890,8 +1026,8 @@ Array [ "6", "373768538", ], - "dstIndex": 21, - "srcIndex": 11, + "dstIndex": 26, + "srcIndex": 15, }, Object { "address": Array [ @@ -906,8 +1042,8 @@ Array [ "6", "385223316", ], - "dstIndex": 21, - "srcIndex": 12, + "dstIndex": 26, + "srcIndex": 16, }, Object { "address": Array [ @@ -922,8 +1058,8 @@ Array [ "6", "417104047", ], - "dstIndex": 21, - "srcIndex": 13, + "dstIndex": 26, + "srcIndex": 17, }, Object { "address": Array [ @@ -938,8 +1074,8 @@ Array [ "3", "369162222", ], - "dstIndex": 24, - "srcIndex": 14, + "dstIndex": 29, + "srcIndex": 18, }, Object { "address": Array [ @@ -954,8 +1090,8 @@ Array [ "5", "396430464", ], - "dstIndex": 25, - "srcIndex": 15, + "dstIndex": 30, + "srcIndex": 19, }, Object { "address": Array [ @@ -971,8 +1107,8 @@ Array [ "100313899", "171460198", ], - "dstIndex": 28, - "srcIndex": 16, + "dstIndex": 33, + "srcIndex": 20, }, Object { "address": Array [ @@ -996,8 +1132,8 @@ Array [ "USER", "wchargin", ], - "dstIndex": 15, - "srcIndex": 25, + "dstIndex": 19, + "srcIndex": 30, }, Object { "address": Array [ @@ -1011,7 +1147,7 @@ Array [ "3", ], "dstIndex": 0, - "srcIndex": 24, + "srcIndex": 29, }, Object { "address": Array [ @@ -1025,7 +1161,7 @@ Array [ "5", ], "dstIndex": 1, - "srcIndex": 25, + "srcIndex": 30, }, Object { "address": Array [ @@ -1043,8 +1179,8 @@ Array [ "example-github", "10", ], - "dstIndex": 18, - "srcIndex": 18, + "dstIndex": 22, + "srcIndex": 22, }, Object { "address": Array [ @@ -1062,8 +1198,8 @@ Array [ "example-github", "2", ], - "dstIndex": 19, - "srcIndex": 18, + "dstIndex": 24, + "srcIndex": 22, }, Object { "address": Array [ @@ -1081,8 +1217,8 @@ Array [ "example-github", "1", ], - "dstIndex": 17, - "srcIndex": 19, + "dstIndex": 21, + "srcIndex": 24, }, Object { "address": Array [ @@ -1099,8 +1235,8 @@ Array [ "USER", "wchargin", ], - "dstIndex": 32, - "srcIndex": 25, + "dstIndex": 37, + "srcIndex": 30, }, Object { "address": Array [ @@ -1120,8 +1256,8 @@ Array [ "example-github", "6", ], - "dstIndex": 21, - "srcIndex": 2, + "dstIndex": 26, + "srcIndex": 6, }, Object { "address": Array [ @@ -1143,8 +1279,8 @@ Array [ "6", "373768538", ], - "dstIndex": 11, - "srcIndex": 3, + "dstIndex": 15, + "srcIndex": 7, }, Object { "address": Array [ @@ -1164,8 +1300,8 @@ Array [ "example-github", "5", ], - "dstIndex": 25, - "srcIndex": 4, + "dstIndex": 30, + "srcIndex": 8, }, Object { "address": Array [ @@ -1186,8 +1322,8 @@ Array [ "5", "100313899", ], - "dstIndex": 28, - "srcIndex": 5, + "dstIndex": 33, + "srcIndex": 9, }, Object { "address": Array [ @@ -1210,8 +1346,8 @@ Array [ "100313899", "171460198", ], - "dstIndex": 16, - "srcIndex": 6, + "dstIndex": 20, + "srcIndex": 10, }, Object { "address": Array [ @@ -1230,8 +1366,8 @@ Array [ "USER", "wchargin", ], - "dstIndex": 32, - "srcIndex": 7, + "dstIndex": 37, + "srcIndex": 11, }, Object { "address": Array [ @@ -1251,8 +1387,8 @@ Array [ "example-github", "1", ], - "dstIndex": 17, - "srcIndex": 8, + "dstIndex": 21, + "srcIndex": 12, }, Object { "address": Array [ @@ -1272,8 +1408,8 @@ Array [ "example-github", "2", ], - "dstIndex": 19, - "srcIndex": 8, + "dstIndex": 24, + "srcIndex": 12, }, Object { "address": Array [ @@ -1293,8 +1429,8 @@ Array [ "example-github", "3", ], - "dstIndex": 24, - "srcIndex": 8, + "dstIndex": 29, + "srcIndex": 12, }, Object { "address": Array [ @@ -1315,8 +1451,8 @@ Array [ "5", "100313899", ], - "dstIndex": 28, - "srcIndex": 8, + "dstIndex": 33, + "srcIndex": 12, }, Object { "address": Array [ @@ -1339,8 +1475,8 @@ Array [ "100313899", "171460198", ], - "dstIndex": 16, - "srcIndex": 8, + "dstIndex": 20, + "srcIndex": 12, }, Object { "address": Array [ @@ -1360,8 +1496,8 @@ Array [ "example-github", "2", ], - "dstIndex": 19, - "srcIndex": 12, + "dstIndex": 24, + "srcIndex": 16, }, Object { "address": Array [ @@ -1381,8 +1517,8 @@ Array [ "example-github", "2", ], - "dstIndex": 19, - "srcIndex": 14, + "dstIndex": 24, + "srcIndex": 18, }, ], "nodes": Array [ @@ -1398,6 +1534,46 @@ Array [ "COMMIT", "6d5b3aa31ebb68a06ceb46bbd6cf49b6ccd6f5e6", ], + Array [ + "sourcecred", + "github", + "COMMENT", + "ISSUE", + "sourcecred", + "example-github", + "11", + "420811872", + ], + Array [ + "sourcecred", + "github", + "COMMENT", + "ISSUE", + "sourcecred", + "example-github", + "11", + "420813013", + ], + Array [ + "sourcecred", + "github", + "COMMENT", + "ISSUE", + "sourcecred", + "example-github", + "11", + "420813206", + ], + Array [ + "sourcecred", + "github", + "COMMENT", + "ISSUE", + "sourcecred", + "example-github", + "11", + "420813621", + ], Array [ "sourcecred", "github", @@ -1565,6 +1741,14 @@ Array [ "example-github", "10", ], + Array [ + "sourcecred", + "github", + "ISSUE", + "sourcecred", + "example-github", + "11", + ], Array [ "sourcecred", "github", diff --git a/src/plugins/github/__snapshots__/graphView.test.js.snap b/src/plugins/github/__snapshots__/graphView.test.js.snap index 835c97e..7113c7b 100644 --- a/src/plugins/github/__snapshots__/graphView.test.js.snap +++ b/src/plugins/github/__snapshots__/graphView.test.js.snap @@ -30,7 +30,7 @@ Object { exports[`plugins/github/graphView issues /#2 number of comments matches snapshot 1`] = `8`; -exports[`plugins/github/graphView issues number of issues matches snapshot 1`] = `7`; +exports[`plugins/github/graphView issues number of issues matches snapshot 1`] = `8`; exports[`plugins/github/graphView pulls /#5 /comment #1 matches snapshot 1`] = ` Object { diff --git a/src/plugins/github/__snapshots__/relationalView.test.js.snap b/src/plugins/github/__snapshots__/relationalView.test.js.snap index 154b3b8..275f857 100644 --- a/src/plugins/github/__snapshots__/relationalView.test.js.snap +++ b/src/plugins/github/__snapshots__/relationalView.test.js.snap @@ -111,7 +111,7 @@ Array [ ] `; -exports[`plugins/github/relationalView RelationalView entity: comments has expected number of them 1`] = `15`; +exports[`plugins/github/relationalView RelationalView entity: comments has expected number of them 1`] = `19`; exports[`plugins/github/relationalView RelationalView entity: comments they have expected urls 1`] = ` Array [ @@ -127,13 +127,17 @@ Array [ "https://github.com/sourcecred/example-github/issues/6#issuecomment-373768538", "https://github.com/sourcecred/example-github/issues/6#issuecomment-385223316", "https://github.com/sourcecred/example-github/issues/6#issuecomment-417104047", + "https://github.com/sourcecred/example-github/issues/11#issuecomment-420811872", + "https://github.com/sourcecred/example-github/issues/11#issuecomment-420813013", + "https://github.com/sourcecred/example-github/issues/11#issuecomment-420813206", + "https://github.com/sourcecred/example-github/issues/11#issuecomment-420813621", "https://github.com/sourcecred/example-github/pull/3#issuecomment-369162222", "https://github.com/sourcecred/example-github/pull/5#issuecomment-396430464", "https://github.com/sourcecred/example-github/pull/5#discussion_r171460198", ] `; -exports[`plugins/github/relationalView RelationalView entity: issues has expected number of them 1`] = `7`; +exports[`plugins/github/relationalView RelationalView entity: issues has expected number of them 1`] = `8`; exports[`plugins/github/relationalView RelationalView entity: issues they have expected urls 1`] = ` Array [ @@ -144,6 +148,7 @@ Array [ "https://github.com/sourcecred/example-github/issues/7", "https://github.com/sourcecred/example-github/issues/8", "https://github.com/sourcecred/example-github/issues/10", + "https://github.com/sourcecred/example-github/issues/11", ] `; @@ -190,7 +195,7 @@ exports[`plugins/github/relationalView Repo has owner 1`] = `"sourcecred"`; exports[`plugins/github/relationalView Repo has url 1`] = `"https://github.com/sourcecred/example-github"`; -exports[`plugins/github/relationalView Repo issues has expected number of issues 1`] = `7`; +exports[`plugins/github/relationalView Repo issues has expected number of issues 1`] = `8`; exports[`plugins/github/relationalView Repo issues have expected urls 1`] = ` Array [ @@ -201,6 +206,7 @@ Array [ "https://github.com/sourcecred/example-github/issues/7", "https://github.com/sourcecred/example-github/issues/8", "https://github.com/sourcecred/example-github/issues/10", + "https://github.com/sourcecred/example-github/issues/11", ] `; diff --git a/src/plugins/github/example/example-github.json b/src/plugins/github/example/example-github.json index bd3136d..644a7e9 100644 --- a/src/plugins/github/example/example-github.json +++ b/src/plugins/github/example/example-github.json @@ -281,10 +281,65 @@ "number": 10, "title": "Paired with multireference", "url": "https://github.com/sourcecred/example-github/issues/10" + }, + { + "author": { + "__typename": "User", + "id": "MDQ6VXNlcjQzMTc4MDY=", + "login": "wchargin", + "url": "https://github.com/wchargin" + }, + "body": "@wchargin-ghost002, show yourself.", + "comments": { + "nodes": [ + { + "author": null, + "body": "Hello. :ghost: ", + "id": "MDEyOklzc3VlQ29tbWVudDQyMDgxMTg3Mg==", + "url": "https://github.com/sourcecred/example-github/issues/11#issuecomment-420811872" + }, + { + "author": { + "__typename": "User", + "id": "MDQ6VXNlcjQzMTc4MDY=", + "login": "wchargin", + "url": "https://github.com/wchargin" + }, + "body": "[Here is a screenshot of the thread at this point, prior to account deletion.](https://user-images.githubusercontent.com/4317806/45455614-8c4fe600-b69c-11e8-902e-aec65d7403e6.png)\r\n\r\nThe user has GraphQL ID `MDQ6VXNlcjQzMjIyMTkw` and database ID `43222190`.\r\n\r\nThe previous comment has GraphQL ID `MDEyOklzc3VlQ29tbWVudDQyMDgxMTg3Mg==` and database `420811872`.\r\n", + "id": "MDEyOklzc3VlQ29tbWVudDQyMDgxMzAxMw==", + "url": "https://github.com/sourcecred/example-github/issues/11#issuecomment-420813013" + }, + { + "author": null, + "body": "My time in this life draws to a close. :wave: ", + "id": "MDEyOklzc3VlQ29tbWVudDQyMDgxMzIwNg==", + "url": "https://github.com/sourcecred/example-github/issues/11#issuecomment-420813206" + }, + { + "author": { + "__typename": "User", + "id": "MDQ6VXNlcjE0MDAwMjM=", + "login": "decentralion", + "url": "https://github.com/decentralion" + }, + "body": ":skull: :ghost:\r\nRIP", + "id": "MDEyOklzc3VlQ29tbWVudDQyMDgxMzYyMQ==", + "url": "https://github.com/sourcecred/example-github/issues/11#issuecomment-420813621" + } + ], + "pageInfo": { + "endCursor": "Y3Vyc29yOnYyOpHOGRUbNQ==", + "hasNextPage": false + } + }, + "id": "MDU6SXNzdWUzNTk2Njc4Mjk=", + "number": 11, + "title": "An issue with a comment from a deleted user", + "url": "https://github.com/sourcecred/example-github/issues/11" } ], "pageInfo": { - "endCursor": "Y3Vyc29yOnYyOpHOFBerMQ==", + "endCursor": "Y3Vyc29yOnYyOpHOFXAYdQ==", "hasNextPage": false } },