i'm using vue-apollo and have configured it using apollo.config.js file like described here: https://vue-apollo.netlify.com/guide/installation.html#ide-integration (i use VSCode).
Now i need to configure the InMemoryCache
to not add the typeName
( addTypename: false
) as described here: https://www.apollographql.com/docs/react/advanced/caching/#configuration
How can i do this in apollo.config.js? Is this even possible there? Do i need to config it manually without this config file?
found the answer here: https://www.apollographql.com/docs/references/apollo-config/#clientaddtypename
client: {
addTypename: false,
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.