mirror of
https://github.com/vuejs/vue-cli.git
synced 2026-02-07 07:28:28 -06:00
fix: add default inMemoryCacheOptions
vue-cli-plugin-apollo now defaults it to null, which won't trigger default parameter fallback, so this triggers another bug in apollo-cache-inmemory 1.6.0787be61441/packages/apollo-cache-inmemory/src/inMemoryCache.ts (L136)causing "Cannot read property 'freezeResults' of null" error. (cherry picked from commitac8b2b3bd1)
This commit is contained in:
@@ -24,6 +24,7 @@ if (typeof endpoint === 'undefined') {
|
||||
|
||||
// Config
|
||||
const options = {
|
||||
inMemoryCacheOptions: {},
|
||||
wsEndpoint: endpoint,
|
||||
persisting: false,
|
||||
websocketsOnly: true,
|
||||
|
||||
Reference in New Issue
Block a user