-
Notifications
You must be signed in to change notification settings - Fork 2.7k
New issue
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
An error occurs when you do multiple queries and in subsequent queries use the value from the first query. #4040
Comments
Related: #4034 |
@GlennMatthys I followed #4034 but the error still exists. Can you please help resolve this? |
Same thing here. I've seen #4034, updated apollo utilities to 1.0.23, but still have this error. |
Same |
Same as well, tried forcing it to a lower version, but with no luck, anyone knows how to do this?, just as a temporary workaround for this |
For me, I was able to put in a resolution for |
Unfortunately, downgrading the package version doesn't help me. Still the same error. I've tried all the versions from 1.0.17 to 1.0.23 |
rolling back to apollo-cache-inmemory: 1.3.5 and apollo-client 2.4.2 don't fix the problem. @benjamn do you know how to fix temporary? Thank you |
@francoisromain Try |
For vue-cli, setting a yarn resolution |
With NPM I got a downgrade to work after installing: |
Thanks @cotillion. This works as a quick fix. |
@cotillion you save my life |
I believe this is fixed by |
Intended outcome:
Hi there,
I'm using apollo-client alongside with vue-apollo.
An error occurs when you do multiple queries and in subsequent queries (in variables) use the value from the first query.
Step to reproduce:
You will see an error like:
"TypeError: Invalid property descriptor. Cannot both specify accessors and a value or writable attribute, #<Object>"
This error only appers in "apollo-utilities": "1.0.16",
https://codesandbox.io/s/436n4pnow7
Actual outcome:
There shouldn't be any errors
How to reproduce the issue:
Please open following link:
https://codesandbox.io/s/436n4pnow7
enter "3" into text box,
then type "2" (the first value)
and you will see an error in the console
Versions
System:
OS: macOS High Sierra 10.13.4
Binaries:
Node: 8.11.3 - /usr/local/bin/node
Yarn: 1.7.0 - /usr/local/bin/yarn
npm: 5.6.0 - /usr/local/bin/npm
Browsers:
Chrome: 70.0.3538.67
Safari: 11.1
npmPackages:
apollo-cache-inmemory: 1.3.6 => 1.3.6
apollo-client: 2.4.3 - latest => 2.4.3
apollo-link: 1.2.3 => 1.2.3
apollo-link-http: 1.5.5 => 1.5.5
apollo-utilities: 1.0.16 => 1.0.16
vue-apollo: 3.0.0-beta.25 => 3.0.0-beta.25
The text was updated successfully, but these errors were encountered: