We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hello, I use vue-apollo with your library.
I get this error
Error in data(): "TypeError: Cannot set property hello of #< VueComponent> which has only a getter"
when I have this code
@Component({ apollo: { hello: { query: gql`{hello}` } } }) export default class Home extends Vue { hello = 'test' }
Am I doing something wrong or is it a bug?
vue-class-component 6.3.2 vue 2.5.18 (recently released, maybe that's the problem)
I do not even know how to replace vue 2.5.18 with 2.5.17. I don't have vue in "dependencies" (using nuxt) I have yarn, i tried
"resolutions": { "vue": "2.5.17" }
and than yarn install, but yarn info vue version shows 2.5.18
yarn install
yarn info vue version
Also the following code will work:
@Component({ data () { return { hello: 'test' } }, apollo: { hello: { query: gql`{hello}` } } }) export default class Home extends Vue {}
The text was updated successfully, but these errors were encountered:
Please provide a minimal / self-contained reproduction when you report a bug. Thanks.
Sorry, something went wrong.
It is not a reproduction and not seems to be related to this issue. See #294
Well, I will try to show on the project when will i have time. But I have exactly this error.
Perhaps she is also associated with apollo-module package for nuxt.
The error is rather strange, if property is in the class, then how it can only have a getter?
Sorry we cannot help you without reproduction. Closing until reproduction is provided.
No branches or pull requests
Hello, I use vue-apollo with your library.
I get this error
when I have this code
Am I doing something wrong or is it a bug?
Versions:
vue-class-component 6.3.2
vue 2.5.18 (recently released, maybe that's the problem)
I do not even know how to replace vue 2.5.18 with 2.5.17.
I don't have vue in "dependencies" (using nuxt)
I have yarn, i tried
and than
yarn install
, butyarn info vue version
shows 2.5.18Also the following code will work:
The text was updated successfully, but these errors were encountered: