No More Posting New Topics!

If you have a question or an issue, please start a thread in our Github Discussions Forum.
This forum is closed for new threads/ topics.

Navigation

    Quasar Framework

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    graphql with vuex / quasar

    Help
    4
    6
    3413
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • M
      MusicForMellons last edited by

      @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?

      1 Reply Last reply Reply Quote 0
      • s.molinari
        s.molinari last edited by

        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

        1 Reply Last reply Reply Quote 0
        • joaopaulofilho
          joaopaulofilho last edited by

          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.

          s.molinari 1 Reply Last reply Reply Quote 1
          • s.molinari
            s.molinari @joaopaulofilho last edited by

            @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

            1 Reply Last reply Reply Quote 4
            • J
              jolyon last edited by

              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 🙂

              1 Reply Last reply Reply Quote 0
              • s.molinari
                s.molinari last edited by

                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

                1 Reply Last reply Reply Quote 0
                • First post
                  Last post