Parses a specified GraphQL Query from the project directory.

graphql_query(file, ..., .api_url = api_url(), .header = NULL)

Arguments

file

Query file to execute

...

Additional variables to pass on to the query

.api_url

Optional API url to query. Defaults to "https://api.github.com/graphql"

.header

Optional vector of headers to send to query

Value

The list containing the query result