You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Given the code below, the property being referenced in the apollo query will error with this error: Property 'myProperty' does not exist on type 'Vue'.ts(2339)
@Component({
apollo: {
myQuery: {
variables() {
return {
// this.myProperty does not exist on type 'Vue'
someVariable: this.myProperty,
}
}
}
}
})
export default class MyComponent extends Vue {
public myProperty: string = 'hello';
}
This error does not occur in version of vue-apollo prior to 3.0.0-rc.3.