graphql with vuex / quasar
-
@s-molinari I think I noticed you trying to pull this of in several repos etc. (using e.g. Appollo). As I am interested in this as well: any solution that works now?
-
Nope. Not yet. The closest is this: https://github.com/Akryum/vue-apollo
That is what I was intending to implement, once I get that far. From my small understanding, Vue 2.0 should play a lot better with redux, so vue-apollo is worth looking at.
Scott
-
I’m also interested int this config and have researched a lot about this. For the time being, apollo can’t ad hoc integrate with vuex (although has integration wit redux).
My solution so far is to implement
import ApolloClient from 'apollo-client' const apolloClient = new ApolloClient({ ... })
Then in vuex
const store = new Vuex.Store({ ... mutations: { apolloClient.query({ ... }) } })
Working well, but several things is manually integrated.
-
@joaopaulofilho @MusicForMellons @rstoenescu
I believe that if we could get apollo working with Quasar, in what ever way necessary (and naturally as professionally as possible) we could also “spread the word” within GraphQL circles (which is growing in leaps and bounds) about Quasar and possibly get some traction with that community.
Scott
-
I’ve been doing the same research and s.molinari you come up everywhere I look too! Totally agree it would be a winning combination. I’m also interested in providing an offline-first experience and I’d really like a realtime reactive graph database - preferably queried with graphQL. There doesn’t seem to be anything out of the box that fits my ridiculous expectations though, haha. Of course, it can all be done if you implement it yourself, but it’s above my current skill level
-
Looks like we are in the same boat. @jolyon
I am, however, working slowly but surely towards that goal. But, if I can influence others to get it done faster, that is also what I’ll do (and why you see me in such discussions often).
Scott