Description
When a federation _entities
request comes from a supergraph down to a server fulling a subgraph, is it expected/possible that the same entity could be requested many times? We had expected the supergraph to be smart enough to deduplicate entity requests based upon __typename
and @key
and not request the same representation multiple times in a single batch. However, we do not see this detail listed anywhere, even though it could be incredibly inefficient to request the same thing over and over again. I also see in several documented spots that "order matters" when fulfilling _entities
requests, so now we're wondering if the system is wired for inefficiency and the same entity could be requested for fulfillment from the supergraph multiple times.