federation icon indicating copy to clipboard operation
federation copied to clipboard

duplicate / identical types across subgraphs returns null results

Open ticmaisdev opened this issue 10 months ago • 0 comments

Issue Description

I've got 2 microservices using federation and they both share a common git submodule of .graphql files.

The thing is: queries are not resolving due to them being duplicated in both subgraphs.

  1. is it really intended behavior?
  2. is there anything I can do, besides isolating queries?

Mutations are solving fine, even though they're duplicated as well...

I'm using NestJS on top of Apollo Federation.

Link to Reproduction

https://stackoverflow.com/questions/72320648/apollo-gateway-duplicate-identical-types-across-subgraphs-returns-null-result

Reproduction Steps

No response

ticmaisdev avatar Apr 23 '24 18:04 ticmaisdev