is it possible with the appsync subscriptions to r...
# help
g
is it possible with the appsync subscriptions to return the full item rather than only what the client who did the mutation requested? Seems pretty useless to have appsync subs if you cannot get the full item.
t
I think the issue here is gql's architecture is more about notifying you in the subscription that something is changed so your client refetches it, vs sending you all the data you might need
IDK if this is unversal to GQL or just an appsync thing - I get why because GQL is structured around each client defining what it cares about
g
Well I mean specifically for updates what if the person updating does not even ask for the items id since they already know it? At that point I would have to refetch every single item in order to try and figure out which item actually changed. & this is definitely an appsync specific thing since they handle the subscriptions for you whereas other libraries you have to sorta manage the messaging yourself (at least anything I have ever used in the past).