removing __typename from apollo queries
This commit is contained in:
1 parent
6de0d034ca
commit
603d735dca
1 file changed
+1
-1
@@ -66,7 +66,7 @@ const authLink = setContext((_, { headers }) => {
|
||||
}
|
||||
})
|
||||
|
||||
const cache = new InMemoryCache().restore(window.__APOLLO_STATE__)
|
||||
const cache = new InMemoryCache({ addTypename: false }).restore(window.__APOLLO_STATE__)
|
||||
|
||||
const defaultOptions = {
|
||||
watchQuery: {
|
||||
|
||||
Reference in new issue
Block a user