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
An operation selects the set of information it needs, and will receive exactly that information and nothing more, avoiding over‐fetching and under‐fetching data.
Additionally, there are two parts of the spec that describe how selection sets are to be handled, and they explicitly mention starting with an empty mapping and adding one entry per requested field:
§ 6.3.2 gives the instructions on how to create the set of "grouped fields"
§ 6.3 then explains how to construct the answer from the grouped fields
Description
When selecting fragments on a union, Morpheus inserts a
__typename
field in the answer. If I have the following schema:and I send the following query:
I am expecting to receive (in the case of
Foo
):but instead I receive:
Minimal program
The text was updated successfully, but these errors were encountered: