remove deprecated canonizeResults
This commit is contained in:
parent
ebe513b5ca
commit
651053fd71
|
@ -40,13 +40,11 @@ export default async function getSSRApolloClient ({ req, res, me = null }) {
|
||||||
watchQuery: {
|
watchQuery: {
|
||||||
fetchPolicy: 'no-cache',
|
fetchPolicy: 'no-cache',
|
||||||
nextFetchPolicy: 'no-cache',
|
nextFetchPolicy: 'no-cache',
|
||||||
canonizeResults: true,
|
|
||||||
ssr: true
|
ssr: true
|
||||||
},
|
},
|
||||||
query: {
|
query: {
|
||||||
fetchPolicy: 'no-cache',
|
fetchPolicy: 'no-cache',
|
||||||
nextFetchPolicy: 'no-cache',
|
nextFetchPolicy: 'no-cache',
|
||||||
canonizeResults: true,
|
|
||||||
ssr: true
|
ssr: true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -300,14 +300,12 @@ function getClient (uri) {
|
||||||
initialFetchPolicy: defaultFetchPolicy,
|
initialFetchPolicy: defaultFetchPolicy,
|
||||||
fetchPolicy: defaultFetchPolicy,
|
fetchPolicy: defaultFetchPolicy,
|
||||||
nextFetchPolicy: defaultNextFetchPolicy,
|
nextFetchPolicy: defaultNextFetchPolicy,
|
||||||
canonizeResults: true,
|
|
||||||
ssr: SSR
|
ssr: SSR
|
||||||
},
|
},
|
||||||
query: {
|
query: {
|
||||||
initialFetchPolicy: defaultFetchPolicy,
|
initialFetchPolicy: defaultFetchPolicy,
|
||||||
fetchPolicy: defaultFetchPolicy,
|
fetchPolicy: defaultFetchPolicy,
|
||||||
nextFetchPolicy: defaultNextFetchPolicy,
|
nextFetchPolicy: defaultNextFetchPolicy,
|
||||||
canonizeResults: true,
|
|
||||||
ssr: SSR
|
ssr: SSR
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue