我正在使用 vue-apollo 并使用 apollo.config.js 文件对其进行配置,如下所述:https : //vue-apollo.netlify.com/guide/installation.html#ide-integration(我使用 VSCode)。
现在我需要配置InMemoryCache
为不添加typeName
(addTypename: false
),如下所述:https ://www.apollographql.com/docs/react/advanced/caching/#configuration
我如何在 apollo.config.js 中做到这一点?这甚至可能吗?我是否需要在没有此配置文件的情况下手动配置它?