You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Yes you're right.
We use @graphql-tools/schemamakeExecutableSchema (or to be more precise, @nestjs/graphql uses it) to create the schema but it doesn't support graphql properties like __resolveReference, that's why apollo (and @nestjs/graphql GraphQLFederationModule) uses a custom function buildFederatedSchema to add this props.
We should manually add them in our GraphQLFactory somewhere before the transformFederatedSchema.
or as a nasty fix maybe we could simply call @nestjs/graphql GraphQLFederationFactory.mergeOptions instead of the simple GraphQLFactory one and then use the Apollo buildFederatedSchema function.
@ResolveReferenceLoader should not be affected by all of this and should keep working as always
Hi,
it seems like that the
@ResolveReference()
decorator is currently not supported. It is not picked up and added to the server.I am trying to work on that, but if you have any idea where the problem is let me know! :)
The text was updated successfully, but these errors were encountered: