graphql-go / graphql-go/graphql
Make the selection set available in the resolve function as a simple accessible struct
Open
- Dominant language
- Go
- Stars
- 10.1k
- Forks
- 845
- PR merge metrics
- No merged PRs in 30d
Description
Currently, the selection set is available in the following place, nested deeply and I don't know where will I stumble upon a nil reference.
params.Info.Operation.GetSelectionSet().Selections
We need a way to access the selection set as a simple and accessible struct, which can be used to make decisions on which backends to hit or not.
Contributor guide
Assessment
This issue has not been assessed yet.