I spend the last day trying AWS AppSync
I'm a bit disappointed with what subscriptions can do.
It seems to me that the current state of AppSync subscription
is for the use case where you have a list of items and you want it to be sync over all clients.
It's pretty limited compared to what apollo-subscription can do.
So if I understood the doc correctly:
- we can't filter out target to whom you want to send the data to
I have use cases where mutations like a vote on a Post can lead to push data of a different Type to the owner of the Post only.
- it has to be linked to a specific mutation and it has to be of the same type
I have use cases where a mutation or even a query can lead to send a push to a specific target that is listening to the event.
- It is not linked to a resolver
Can you please correct me If I'm wrong?