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
Does not work with meteor "apollo" package #18
Comments
I can't replicate this. I just tested with the latest meteor, latest apollo-client, and I could connect successfully to the meteor server apollo, and to an external graphql server. Edit: here is a working example. |
oh, I used a custom frontend (not meteorjs). But thanks for showing me an example, I'll try setting up the config similiarly to how the |
Try upgrading the npm packages. The problem comes up when I upgrade graphql-tools to |
I just tested with these versions and it works: |
I'll test it later today |
Still doesn't work. Did you already try connecting with |
Yes, I'm working on an official vuejs.org app with Webpack and vue-apollo + an Apollo server. |
Do you still encounter this issue? |
Yes... I'll upload the repository again later today and hopefully you can reproduce it. |
OK!
Le mar. 24 janv. 2017 17:06, Matteo De Micheli <notifications@github.com> a
écrit :
… Yes... I'll upload the repository again later today and hopefully you can
reproduce it.
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
<#18 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ACqyfN3eqeSJ7rY5ynQpd4gDvxB8ZGAcks5rViFzgaJpZM4LXKCe>
.
|
here it is: https://github.com/matteodem/vue-apollo-bug Simply go once into
Both apps need to be running. The api app is the graphql endpoint and the web-app just a webpack project with vuejs. I get following error when visiting the web app url: |
any success? |
Didn't have time to try yet. ;)
Le mer. 25 janv. 2017 à 17:36, Matteo De Micheli <notifications@github.com>
a écrit :
… any success?
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
<#18 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ACqyfDq9VlA4d3xIjBNTV_0dy31hLtfCks5rV3oPgaJpZM4LXKCe>
.
|
sure, sorry to stress you |
I've tried the app, with the same error. In one of my project with apollo-server, the client makes 2 requests with the OPTIONS method. But the meteor package rejects it, so I wonder if its internal apollo packages are up-to-date. |
@matteodem Did you try setting up apollo server manually? |
no, do you have an example of doing that with meteorjs? |
You can get inspiration from this or maybe try to clone the meteor/apollo package and update the dependencies. |
This has been solved in the meantime, thanks for helping out |
Just for reference I had the very same problem although I'm not using meteor. Indeed I'm using the classic vue webpack dev server and an express apollo server. I solved my problem thanks to this post. I hope it'll help others too facing the same issue: |
Get following error:
Using https://atmospherejs.com/meteor/apollo. Any idea for why the
OPTION
request needs to be made? Or is that the apollo client that is doing that?The text was updated successfully, but these errors were encountered: