Hi,
I am moving my unmanaged federation from v1 to v2. I followed the docs and move to the latest gateway 2.x version. After this change, I started getting this.cache.clear is not a function error on startup. Any suggestions on why this is happening? I don’t use any cache related functionality that comes with the federation like APQ, response caching, etc. Adding the config I have as well and this is a nodejs 14.x lambda.
const gateway = new ApolloGateway({
async supergraphSdl() {
/* implementation */
},
buildService({ url }) {
/* implementation */
}
});
const server = new ApolloServer({
gateway
});
Thanks!