Doing a little more digging, at least some (all?) seem to be ‘not our ref’ issues.
As in, Git doesn’t have the originalCommit (which makes sense).
Presumably the original commit SHA is there, but the graphQL API actually checks to see if git has it, whereas the REST API doesn’t?
Doing a little more digging, at least some (all?) seem to be ‘not our ref’ issues.
As in, Git doesn’t have the originalCommit (which makes sense).
Presumably the original commit SHA is there, but the graphQL API actually checks to see if git has it, whereas the REST API doesn’t?
Add a bulleted list, <Ctrl+Shift+8>Add a numbered list, <Ctrl+Shift+7>Add a task list, <Ctrl+Shift+l>
Directly mention a user or teamReference an issue or pull request
Add heading textAdd bold text, <Ctrl+b>Add italic text, <Ctrl+i>Add a bulleted list, <Ctrl+Shift+8>Add a numbered list, <Ctrl+Shift+7>Add a task list, <Ctrl+Shift+l>
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.
-
Trying to use the GraphQL API to fetch the originalCommit for a pull request review thread comment.
For some comments, the originalCommit is null.
Seems like a bug. If this is intentional, why is it sometimes null, and how else can I get the originalCommit?
Here’s the query I’m running:
You can see in the REST API that the original_commit_id isn’t null:
https://api.github.com/repos/nodejs/node/pulls/comments/21053717
Beta Was this translation helpful? Give feedback.
Doing a little more digging, at least some (all?) seem to be ‘not our ref’ issues.
As in, Git doesn’t have the originalCommit (which makes sense).
Presumably the original commit SHA is there, but the graphQL API actually checks to see if git has it, whereas the REST API doesn’t?