Closed agitanggriawan closed 2 years ago
This looks like the same issue I closed at #6007.
It seems like perhaps the way we publish this particular package doesn't work well with some particular JS build system. However, without a complete and minimal reproduction that shows how you are building your app, we can't help debug.
little fix:
const responseCachePlugin = require('apollo-server-plugin-response-cache').default
i already tried with your suggestion, server can run, but when i'm try to request query the result not stored to redis, maybe there some bug, miss configuration or something. i have no idea
also seems to work
plugins: [(responseCachePlugin as any).default() as any],
Hi, im trying to setup caching system in apollo server express version 3. Im following step in documentation https://www.apollographql.com/docs/apollo-server/performance/caching/#caching-with-responsecacheplugin-advanced but i got error like this
my package.json
before it when i use apollo server version 2, caching with redis its working fine. after migrate to version 3 i go issue.
i appreciate any help, thank you.