-
Notifications
You must be signed in to change notification settings - Fork 50
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
Nested query issue: 'There can be only one argument named "first"' #209
Labels
hacktoberfest
Issues for participation in Hacktoberfest
Status: Up for grabs
Issues that are ready to be worked on by anyone
Type: Bug
Something isn't working as documented
Comments
I have resorted to raw graphql which has no problem with nested var client = new GraphQLHttpClient("https://api.github.com/graphql");
client.DefaultRequestHeaders.Add("Authorization", $"bearer {token}");
client.DefaultRequestHeaders.Add("User-Agent", @"Mozilla/5.0 (Windows NT 10; Win64; x64; rv:60.0) Gecko/20100101 Firefox/60.0");
var query = @"{
repository(owner: """ + owner + "\", name: \"" + repo + @""") {
projects(first: 4) {
nodes {
columns(first: 10) {
nodes {
name
cards(first: 100) {
nodes {
content {
__typename
... on Issue {
title
url
}
}
}
}
}
}
}
}
}
}";
var result = await client.SendQueryAsync(query); |
I've also run into this issue. If the raw graphql works then there appears to be an issue with the client :(
|
nickfloyd
added
Priority: Normal
Status: Up for grabs
Issues that are ready to be worked on by anyone
labels
Nov 7, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
hacktoberfest
Issues for participation in Hacktoberfest
Status: Up for grabs
Issues that are ready to be worked on by anyone
Type: Bug
Something isn't working as documented
I'm trying to obtain all issues organised by project and column.
If I execute a query with:
With the query as it stands above, I get the error:
Which is kind of annoying because it's an insane theoretical maximum. Anyway, if I try to limit the results with e.g.
.Columns(10, null, null, null)
then I get:Sorry if I am missing something.
The text was updated successfully, but these errors were encountered: