[Bug] GraphQL API originalCommit is null #24669
-
Trying to use the GraphQL API to fetch the originalCommit for a pull request review thread comment. 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: |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Doing a little more digging, at least some (all?) seem to be ‘not our ref’ issues. |
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?