0

I have two subgraphs, one on each microservice. I am trying to find a way to use referenceResolver from one microservice in the other one, using Apollo federation

The way it works is by using the @key directive with the wanted fields, then resolving the entity in the wanted microservice but what if I want to return all the fields on every entity? It doesn't feel not right to have to annotate all the fields.

Has anyone encountered anything similar?

Michel Floyd
  • 18,793
  • 4
  • 24
  • 39
Tal B
  • 1
  • 2

0 Answers0