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
But it should not expect a separate resolver method for the weight field since it is marked @external, meaning this subgraph cannot resolve it. Instead, it should just expect a plain old weight field as part of the Product class, and assume that some other subgraph will resolve it:
The field is needed so that the entity resolver can fill in the result of the external weight resolver into the Product model, and also so that this subgraph can read it during subsequent query processing.
The text was updated successfully, but these errors were encountered:
Issue Description
Take a look at the following example in the Apollo documentation.
Currently, the server would expect a set of classes as follows:
But it should not expect a separate resolver method for the
weight
field since it is marked@external
, meaning this subgraph cannot resolve it. Instead, it should just expect a plain oldweight
field as part of theProduct
class, and assume that some other subgraph will resolve it:The field is needed so that the entity resolver can fill in the result of the external
weight
resolver into theProduct
model, and also so that this subgraph can read it during subsequent query processing.The text was updated successfully, but these errors were encountered: