Closed carlqt closed 2 years ago
You may be missing one struct layer that corresponds to nodes
:
type Search struct {
Nodes []struct {
PullRequestFragment `graphql:"... on PullRequest"`
}
}
Thanks. Tried it and it works.
Closing this issue since it's been resolved.
I need help/example on how to structure this query
My structure looks like:
And the errors that I got is
Fragment on PullRequest can't be spread inside SearchResultItemConnection