feat: ApolloQuery deep prop

This commit is contained in:
Guillaume Chau
2018-05-21 20:18:17 +02:00
parent 877755f755
commit 3d4e68fda8
2 changed files with 7 additions and 0 deletions
+1
View File
@@ -1247,6 +1247,7 @@ Props:
- `context`: See [apollo context](https://www.apollographql.com/docs/react/basics/queries.html#graphql-config-options-context)
- `skip`: Boolean disabling query fetching
- `clientId`: Used to resolve the Apollo Client used (defined in ApolloProvider)
- `deep`: Boolean to use deep Vue watchers
- `tag`: String HTML tag name (default: `div`)
Scoped slot props:
+6
View File
@@ -53,6 +53,11 @@ export default {
default: undefined,
},
deep: {
type: Boolean,
default: undefined,
},
tag: {
type: String,
default: 'div',
@@ -105,6 +110,7 @@ export default {
notifyOnNetworkStatusChange: this.notifyOnNetworkStatusChange,
context () { return this.context },
skip () { return this.skip },
deep: this.deep,
manual: true,
result (result) {
const { errors, loading, networkStatus } = result