(Apollo) GraphQL support? #30
holtergram
started this conversation in
Ideas
Replies: 1 comment
-
Thanks! I haven't used vue apollo in a long while but I thought it had all the features built in. I think it might be difficult to integrate Apollo with Pinia Colada but it's a different story for GraphQL. I haven't investigated it yet but GraphQL + Pinia Colada should totally be possible. After all, it's all async state! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I really love Pinia and I do like GraphQL a lot. I'm currently using vue-apollo to do my queries and mutations. But since Apollo has its own cache system and normalization and data structure I personally find it hard to mess with it for things like optimistic results and such. I understand that there's libraries like urql which seem to be more modular but what I'd really love to have is straight forward Pinia stores that can fetch and manipulate all my data, handle cache etc while having complete reactivity and being fully typed via inherited types from graphql-codegen.
It's a lot to ask for but is this something you might be interested in one day or is the aim something completely different?
Thanks a lot for your work!
Beta Was this translation helpful? Give feedback.
All reactions