-
Notifications
You must be signed in to change notification settings - Fork 886
Collect Pull Request Files from Rest API when GraphQL Query Fails #2875
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Hi, I am interested in joining Google Summer of Code this year, I am a sophomore Bucknell computer science student. I am familiar with this framework, can you introduce me more about this issues. I also really want to try on this problem, can you assign it to me? |
Hi, I'd like to take on this issue as my contribution to CHAOSS Augur! I have experience working with REST and GraphQL APIs and would love to help implement a fallback mechanism from GraphQL to REST in this case. Please let me know if I can proceed with a PR. 😊 |
Example:
This PR's files do not return in graphql, but we can get them in the REST API:
https://api.github.com/repos/Picovoice/porcupine/pulls/121/files?per_page=100
However, there are other cases where the PR may not exist anymore (see commit hacks that break github):
https://api.github.com/repos/automatic1111/stable-diffusion-webui/pulls/27/files?per_page=100
The GraphQL Error for this one is:
The text was updated successfully, but these errors were encountered: