r-lib / gh

Minimalistic GitHub API client in R
https://gh.r-lib.org
Other
223 stars 52 forks source link

Are higher-level GraphQL functions in scope of this package? #173

Closed salim-b closed 2 years ago

salim-b commented 2 years ago

Some time ago I've written three (two of them non-trivial) functions based on gh::gh_gql():

Currently they live in my pal package. It's not on CRAN, the development version can be installed via remotes::install_gitlab("salim_b/r/pkgs/pal"). Sources are found here.

In this comment I sense reservations against the introduction of higher-level functions in gh. Still, I think those functions could be useful for a broader audience, so I'd like to ask whether you're open for a pull request to directly include them in gh.

gaborcsardi commented 2 years ago

Thanks! Those functions are indeed out of scope here. No doubt that they are useful, but we want to keep gh minimal and un-opinionated.

We could potentially include them in the documentation as examples, but even that has a non-trivial amount of maintenance burden.

salim-b commented 2 years ago

Ok, understood. It was worth a try. 😄