You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Cannot get inline fragment fields from selectionSet #973
Hi. I am not seeing a way to retrieve the fields of an inline fragment from the DataFetchingEnvironment.
The following query yields id,type,status but not other. GetFragmentsByName returns nothing. So not sure how i am supposed to access this field?
Activity
bbakerman commentedon Mar 13, 2018
Care to leave a more complete code example, perhaps a unit test of sorts to explain the code more
domarmstrong commentedon Mar 14, 2018
Yes I'll put something together, havn't had time today
domarmstrong commentedon Mar 15, 2018
I'm resolving the paths now using DataFetchingEnvironment.getFields() to get the Fields/SelectionSets directly. So closing as no issue for me now.