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
@Aeliot-Tm I think we're experiencing the same issue, in which case the issue is that if a type is not directly or indirectly referenced by the Query type, the type is not discovered as an entity.
Note that in Subgraph B, the Query type does not reference the Restaurant Type. If this schema is implemented using this library, it is unable to discover that the Restaurant type is an Entity, because Apollo\Federation\FederatedSchema::extractEntityTypes gets its list of candidate types from $config['query'] (cf. https://github.com/Skillshare/apollo-federation-php/blob/4f958dd/src/FederatedSchema.php#L218 ).
Hi,
I'm having the following issue with the library in this part of the code:
apollo-federation-php/src/FederatedSchema.php
Lines 215 to 227 in 4f958dd
The issue is that the library is unable to subscribe entities that aren't returned by a query.
Thank you!
The text was updated successfully, but these errors were encountered: