When utilising an union or interface, __resolveType resolvers are not executed when passed into a federated schema.
Codesandbox: https://codesandbox.io/s/apollo-server-z8vml?fontsize=14
Currently you can write a 'hack' around it to pass the __typename in your return function yourself. Instead of relying on the interface to have this functionality.
I'll investigate the code what the difference is and why this is the case, so I can PR a solution
When utilising an union or interface, __resolveType resolvers are not executed when passed into a federated schema.
Codesandbox: https://codesandbox.io/s/apollo-server-z8vml?fontsize=14
Currently you can write a 'hack' around it to pass the __typename in your return function yourself. Instead of relying on the interface to have this functionality.
I'll investigate the code what the difference is and why this is the case, so I can PR a solution