Compare commits
1 Commits
f12199da65
...
effa4a6616
| Author | SHA1 | Date | |
|---|---|---|---|
| effa4a6616 |
@@ -7,7 +7,24 @@ import "react-contexify/dist/ReactContexify.css"
|
||||
|
||||
const client = new ApolloClient({
|
||||
uri: "/api/graphql",
|
||||
cache: new InMemoryCache()
|
||||
cache: new InMemoryCache({
|
||||
typePolicies:{
|
||||
Query: {
|
||||
fields: {
|
||||
files: {
|
||||
merge(existing, incoming){
|
||||
return incoming
|
||||
}
|
||||
},
|
||||
directorys:{
|
||||
merge(existing, incoming){
|
||||
return incoming
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
})
|
||||
})
|
||||
|
||||
// Disable drag and drop behaviour on document
|
||||
|
||||
Reference in New Issue
Block a user