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
This is a new question clarifying a usecase here. Within the resolve method of an Extension implementation, how can I access the values of arguments passed in as variables? To the best of my understanding, for the passed in ResolveInfo called info, I can use the path info.field.arguments to access name and value tuple pairs. For $ variables, however, the Value enum resolves to Value::Variable, with a reference to Name. My understanding is I need to access the Variables map, however I can't find a way within this method.
Could you provide any insight into the appropriate way I should go about accessing variable values for this scenario?
The text was updated successfully, but these errors were encountered:
This is a new question clarifying a usecase here. Within the
resolve
method of anExtension
implementation, how can I access the values of arguments passed in as variables? To the best of my understanding, for the passed inResolveInfo
calledinfo
, I can use the pathinfo.field.arguments
to access name and value tuple pairs. For$
variables, however, theValue
enum resolves toValue::Variable
, with a reference toName
. My understanding is I need to access theVariables
map, however I can't find a way within this method.Could you provide any insight into the appropriate way I should go about accessing variable values for this scenario?
The text was updated successfully, but these errors were encountered: