sindresorhus/refined-github

Do you want to work on this issue?

You can request for a bounty in order to promote it!

api v4 won't return data if there're errors #1956

janat08 posted onGitHub

<!-- Thanks for reporting a bug! â›° 1. Make sure the bug is caused by Refined GitHub. Try disabling the extension first. 2. Include a full URL where the bug appears. 3. Include a screenshot/gif Issues without a URL/screenshot will be closed -->

I'm querying about organizations, and those may restrict third-party api access regarding them, and then I'm querying about users as I don't know if repository owner is actually an organization or a user, at which point one of those will definitely error.

Given that with graphql you might be asking for plenty of data/fields in a single query it is wrong to throw errors and not return data. I suspect that even rate limiting/depth might be field dependent.


Fund this Issue

$0.00
Funded
Only logged in users can fund an issue

Pull requests