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

    Interested in using GraphQL?

    Useful Tips (NEW)
    9
    15
    1296
    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.
    • s.molinari
      s.molinari last edited by

      I wrote an article series about using Apollo GraphQL with Quasar and using it for client-side state management. It shows you how to use our new Apollo app extension.

      https://dev.to/quasar/quasar-and-apollo-client-state-without-vuex-2iii

      Enjoy. πŸ™‚

      Scott

      qyloxe A 2 Replies Last reply Reply Quote 2
      • SB
        SB last edited by

        Great job!

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

          @s-molinari said in Interested in using GraphQL?:

          I wrote an article series

          It was more like an entire ebook! I REALLY like your writing style Scott!

          1 Reply Last reply Reply Quote 1
          • dobbel
            dobbel last edited by dobbel

            it would be a great addition to awesome quasar ? https://github.com/quasarframework/quasar-awesome

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

              @qyloxe - Thanks! 😊

              @dobbel - nah. That is more for proper apps and stuff. It’s in the Quasar channel of Dev.to, which is just fine. πŸ˜„

              Scott

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

                thanks, very useful!

                1 Reply Last reply Reply Quote 0
                • D
                  danleks92 last edited by

                  Thank you, Scott!

                  This is very interesting and useful, great job!

                  I try to use new official extension, but now i’m stuck. I want to create new apollo client and add it to existing apollo provider, but i can’t

                  What I try:

                  • modify apollo-client-config.js, adding to default section additionalConfig
                  • saw instruction for multiple clients https://apollo.vuejs.org/guide/multiple-clients.html

                  Without this new extension I can create ApolloProvider manually and add ApolloClients, but here I got an hardcode like

                  const apolloProvider = new VueApollo({ defaultClient: apolloClient })
                  

                  in apollo.js

                  Can you help me, please?

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

                    @danleks92 - I understand the problem. Would you mind writing up an issue in the Apollo AE repo please?

                    Scott

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

                      @s-molinari - did it right now, thank you again!

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

                        Great Job @s-molinari!
                        Just one question. What are your thoughts about using TypeScript + Quasar + Apollo?
                        Do you have a good typing support from Apollo?

                        Regards
                        Marcelo

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

                          Apollo is its own package and it comes with TypeScript support. https://www.apollographql.com/docs/react/development-testing/static-typing/

                          I haven’t used it myself to be honest.

                          Scott

                          1 Reply Last reply Reply Quote 0
                          • D
                            dana123 last edited by

                            thanks a lot for guiding us how to use graph QL with us. it was useful and efficient and i’m waiting for more information. good luck.

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

                              @s-molinari Thank you πŸ™‚ πŸ™‚ πŸ™‚

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

                                @all in this thread. There is going to be a newer version of the Quasar App Extension for Apollo coming out soon. Everything is changing/ improving too. 😁

                                Scott

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

                                  Good news! I’m curious about it.

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