File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ npm install --save vue-apollo-smart-ops
1515
1616## Smart Query Usage
1717
18- ### ` createSmartQueryOptionsFunction<TResult, TVariables> (query: DocumentNode , onError?: ApolloOperationErrorHandlerFunction): VueApolloSmartQueryOptionsFunction `
18+ ### ` createSmartQueryOptionsFunction(query, onError?) `
1919
2020Returns a generated function which returns a [ Vue Apollo Smart Query options object] ( https://apollo.vuejs.org/api/smart-query.html#options )
2121for the given query when called.
@@ -72,7 +72,7 @@ class TodoList extends Vue {
7272}
7373```
7474
75- ### ` @SmartQuery(options: VueApolloSmartQueryOptions ) `
75+ ### ` @SmartQuery(options) `
7676
7777The ` @SmartQuery() ` decorator works with your generated options functions to enable the declaration of Smart Queries
7878within the body of a Vue class component, instead of in the component options. This helps to keep the data property and
@@ -103,7 +103,7 @@ class TodoList extends Vue {
103103
104104## Mutations Usage
105105
106- ### ` createMutationFunction(mutation: DocumentNode , onError?: ): MutationOperationFunction `
106+ ### ` createMutationFunction(mutation, onError?) `
107107
108108Returns a generated function which executes a mutation and returns the result when called.
109109
You can’t perform that action at this time.
0 commit comments