Hello, I’ve been getting started with the GraphQL API, and overall, I’m very excited for what it offers.
Some things that have come up often in my application are the need to filter lists. For example, I need to query all branches that start with the prefix
trying-. It would be nice if there was a
filter argument that would accept a regex to match against. Currently, I work around this by listing everything and filtering on the client side, but most of that’s a waste, since I’m only looking for a few branches.
I also find myself wanting to query all pull requests with the given numbers. It would be nice to have a
ids argument that accepted a list of PR numbers and returned a PR for each number instead of having to run a separate graphql query for each ID.
How complex are these features? Hopefully they should be relatively straightforward additions to the API. Thanks!