apollographql / federation

🌐  Build and scale a single data graph across multiple services with Apollo's federation gateway.
https://apollographql.com/docs/federation/
Other
665 stars 251 forks source link

Apollo Federation gateway returning null response #584

Open rahul22048 opened 3 years ago

rahul22048 commented 3 years ago

Whenever we reference an entity defined in other federated service, and that service return null or throws exception in their resolveReference, entire response is nullified by federation gateway. This has direct customer impact and the entire page may not load. Ideal behaviour should be that only the fields that are not resolved should be null in response, so that at least some section of the page loads.

XiyanHu commented 1 year ago

Hi I had similar issues, wonder if there is any workaround on this?

DanielEscorciaOrtiz commented 1 year ago

Maybe a duplicate of #752 or #2374