We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c2ad4d1 commit 4ef96c2Copy full SHA for 4ef96c2
src/mixin.js
@@ -1,4 +1,4 @@
1
-import { Globals } from '../lib/utils'
+import { Globals, reapply } from '../lib/utils'
2
3
function hasProperty (holder, key) {
4
return typeof holder !== 'undefined' && Object.prototype.hasOwnProperty.call(holder, key)
@@ -91,6 +91,7 @@ function launch () {
91
if (key.charAt(0) !== '$') {
92
let options = apollo[key]
93
const smart = this.$apollo.addSmartQuery(key, options)
94
+ options = reapply(options, this)
95
if (options.prefetch !== false && apollo.$prefetch !== false && !smart.skip) {
96
this.$_apolloPromises.push(smart.firstRun)
97
}
0 commit comments