diff --git a/README.md b/README.md index 183e11e..7da0b60 100644 --- a/README.md +++ b/README.md @@ -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: diff --git a/src/components/ApolloQuery.js b/src/components/ApolloQuery.js index 32b5788..d6457ce 100644 --- a/src/components/ApolloQuery.js +++ b/src/components/ApolloQuery.js @@ -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