Closed
Description
From 3.0.0-beta.14 on, the following code results in a TypeError ("Cannot read property 'data' of undefined"):
@Component({
apollo: {
allFilms: QUERY_ALL_FILMS,
},
})
export default class App extends Vue {
allFilms = []
}
Full minimal reproduction code: https://codesandbox.io/s/ymllyyyx7z
The code works if the dependency in package.json is changed to "vue-apollo": "3.0.0-beta.13"
.
It seems like #295 (mentioning a043654 as possible root cause) describes a similar problem, but upgrading vue-apollo to the latest version doesn't seem to solve the issue.
Metadata
Metadata
Assignees
Labels
No labels