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
Is there a recommended way only to resolve the fields that the consumer has requested? In our model we have a few run-time calculated fields, ideally these aren't resolved on every request if the consumer does not actually ask for them.
Poking around the code I can't see a way to find the actual fields requested in the field resolver. I can see the entire query but as a field can be exposed from multiple nodes in the graph it's hard to infer the context it is being resolved for.
Thanks
The text was updated successfully, but these errors were encountered:
Is there a recommended way only to resolve the fields that the consumer has requested? In our model we have a few run-time calculated fields, ideally these aren't resolved on every request if the consumer does not actually ask for them.
Poking around the code I can't see a way to find the actual fields requested in the field resolver. I can see the entire query but as a field can be exposed from multiple nodes in the graph it's hard to infer the context it is being resolved for.
Thanks
The text was updated successfully, but these errors were encountered: