In the above example we are trying to use the Asset type from SubGraph-1 in SubGraph-2, We tried to hit query from Apollo Studio. But we are getting the Asset response as null.
Could you please help here, how we can configure resolvers in Java - Spring GraphQL.
Hello
I’m assuming you are running your queries through gateway/router. Without source code cannot say for certain, but it looks like you did not implement EmployeeInformation.assets resolver, i.e. subgraph 2 should return you a list of asset IDs. Router will then federate the call to subgraph 1 to get remaining data based on those IDs.