addResolversToSchema
example no longer functional after Apollo update
#1274
Labels
Community 👨👧
Something initiated by a community
Documentation 📖
Issues about docs
Solved ✔️
The issue has been solved
Describe the issue
The Apollo Federation example no longer works as written in this file: https://github.com/MichalLytek/type-graphql/blob/master/examples/apollo-federation/helpers/buildFederatedSchema.ts
Apollo has changed how
__resolveReference
works and has improved support for Directives in a federated graph. Issues discussed in #369 can likely be dealt with now.See here for the discussion in the federation repo about this issue: apollographql/federation#1747
Are you able to make a PR that fix this?
I currently don't have enough understanding of type-graphql internals to propose a specific code change for this. At a minimum we can update the sample code to use the workaround discussed in the Federation repo (all this involves is changing where
addResolversToSchema
is imported from).The text was updated successfully, but these errors were encountered: