Skip to content
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

gh_gql() doesn't pass various arguments through #124

Closed
jennybc opened this issue Aug 3, 2020 · 0 comments
Closed

gh_gql() doesn't pass various arguments through #124

jennybc opened this issue Aug 3, 2020 · 0 comments
Labels
bug an unexpected problem or unintended behavior

Comments

@jennybc
Copy link
Member

jennybc commented Aug 3, 2020

It seems like several more arguments, such as .api_url, should be passed through to gh().

gh/R/gh_gql.R

Lines 17 to 25 in b8ac9e2

gh_gql <- function(query, ..., .token = NULL, .destfile = NULL,
.overwrite = FALSE, .api_url = NULL, .send_headers = NULL) {
if (".limit" %in% names(list(...))) {
stop("`.limit` does not work with the GraphQL API")
}
gh(endpoint = "POST /graphql", query = query, ..., .token = .token)
}

@gaborcsardi gaborcsardi added the bug an unexpected problem or unintended behavior label Nov 9, 2020
gaborcsardi added a commit that referenced this issue Nov 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug an unexpected problem or unintended behavior
Projects
None yet
Development

No branches or pull requests

2 participants