Get a random record?


Is it (or will it be) possible to get a random record?

An example would be fetching a random open issue for a repository.


There’s certainly nothing in the GraphQL spec that would forbid us from doing this, though I’d have to ask: why?


I’m building a dashboard widget where I’d like to display a “Random Issue of the Day”.

I could just randomly pick an issue in my own code, but the GitHub APIs (old and new) are not friendly for fetching a number of issues at once.


To me this seems more like an application feature than a platform one. I would say your application should implement this.