Files
automatisch/packages/web/src/graphql/cache.js

14 lines
242 B
JavaScript

import { InMemoryCache } from '@apollo/client';
const cache = new InMemoryCache({
typePolicies: {
App: {
keyFields: ['key'],
},
Mutation: {
mutationType: true,
fields: {},
},
},
});
export default cache;