graphql icon indicating copy to clipboard operation
graphql copied to clipboard

Make the selection set available in the resolve function as a simple accessible struct

Open susamn opened this issue 5 years ago • 0 comments

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.

susamn avatar Apr 04 '20 15:04 susamn