menu
Channels
Team
Posts
Members
Info

How to declare this.$apollo when using class components in TypeScript?

Trying to figure out how to get TypeScript to recognize things like this.$apollo.mutate inside my class methods. My component extends the standard Vue class from vue-property-decorator for the Component decorator to work. Standard Vue class does of course not have any…

thumbsup
0
message-simple
2

AWS AppSync (DynamoDB) AG-Grid (Server Side Datasource) needs query on demand?

I have an vuejs apollo app that displays data on a AG Grid. Using reactive queries works wonders, but I have the requirement to do everything server side - which means, I will get requests from the grid for data depending on the user interactions. I couldn't find a "smart" and…

thumbsup
0
message-simple
1

Hi guys! Would someone know if the following is even possible?

https://github.com/Akryum/vue-apollo/issues/692

thumbsup
0
message-simple
0

Fragments on unions and interfaces

Does anyone have any idea how do I use fragments on unions? I've seen the documentation for React (https://www.apollographql.com/docs/react/advanced/fragments/#fragments-on-unions-and-interfaces) but not much on Vue. I have a query that returns two fragments, both with…

thumbsup
1
message-simple
1

Mutations on Vuex Store

What is the best way to make mutations in a Vuex Store. A typical example would be logging in a user

thumbsup
0
message-simple
0

Query component on Vue

After I used one of the documentation Queries, I'm experiencing something that I've never encountered on Apollo. After loading changes state from true to false, data property takes a bit till it is resolved, so my query component renderes the div with the text no data. Anyone…

thumbsup
0
message-simple
0

Search Form with Apollo + Graphql

Hey guys, I have a question.... I'm doing an app, just imagine a list of cards, these cards are here thanks to a graphql query. I would like to filter these cards, filter by category for example. How can I apply? Because I have already a query to display cards on screen, can I…

thumbsup
0
message-simple
3

Anyone know how I can use data from one query in another query (server side)?

Since this.data isnt available. How can i use data from one query in query #2?

thumbsup
0
message-simple
3

<Query> component for Vue.js?

I've just read React's <Query> component example in the documentation, and I am wondering if someone already created one for Vue.js

thumbsup
0
message-simple
2

Subscriptions with AWS

Hello, I've been reading lots of github issues related to subscriptions and AWS but I cannot make them work. At first I tried SubscribeToMore but then I realised that the $subscribe should work perfectly. Does anyone knows any link or source ( repo ) I could look to see what I'm…

thumbsup
1
message-simple
5