We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Im having problems using the gem to make queries with nodes inside. The next query doesnt work:
github_gql = GQLi::Github.create(github_access_token) query = GQLi::DSL.query{ organization(login: owner) { repository(name: name) { refs(last: 100, refPrefix: "refs/heads/") { totalCount ##-> This works nodes { ##-> Here doesnt work name } } } } } data = github_gql.execute(query)
But the next one works:
github_gql = GQLi::Github.create(github_access_token) query = GQLi::DSL.query{ organization(login: owner) { repository(name: name) { pullRequests(last: 100) { edges { node { ##-> It doesnt fall here headRefName commits(first: 100) { totalCount nodes{ ##-> it doesnt fall here commit{ message author{ user{ login } } } } } } } } } } } data = github_gql.execute(query)
With owner, name and github_access_token as parameters.
owner
name
github_access_token
The text was updated successfully, but these errors were encountered:
What is the error?
Sorry, something went wrong.
For example, i want to get all the branches of a repository, this is the Graphql Explorer query that works:
¨ And this is my query in my Ruby on Rails project:
and this is the error:
Console
Postman
Inside refs, nodes or node it can't be read, and i don't know why
nodes
node
No branches or pull requests
Im having problems using the gem to make queries with nodes inside. The next query doesnt work:
But the next one works:
With
owner
,name
andgithub_access_token
as parameters.The text was updated successfully, but these errors were encountered: