timhall / svelte-apollo

Svelte integration for Apollo GraphQL
MIT License
944 stars 68 forks source link

Order of import between apollo dependencies and svelte-apollo somehow matters #89

Open zzgvh opened 3 years ago

zzgvh commented 3 years ago

Hello, I've been learning Svelte and one of the small apps I have built is a POC for using Svelte with a graphql backend. For this I have of course used the fine svelte-apollo library along with bits and bobs from apollo itself. I'm posting this issue as a "note" as much as a question/bug report, since I cannot say this necessarily is an issue with svelte-apollo, but may be my somewhat inept way of setting things up or the general messiness of the javascript universe, but I thought someone might either have some insight into what's going on or maybe have a similar problem and then this might be a fix. I'm using rollup to get Svelte to build and I am guessing there is a connection there.

So. I started out creating my test app with the setup of ApolloClient in the Githubissues.

  • Githubissues is a development platform for aggregating issues.