I have created a mutation and a subscription to that mutation. Unless I did not select a resolver for that subscription - everything is working fine. This is what called
local resolver, right?
But, say, I need some logic to be done for data formatting before give it to subscriber. I have added an lambda for that and set it as data source an resolver for this subscription. But this lambda only triggered once - when I creating subscription in graphql playground. Then it newer triggers again as mutation runs again and again.
What might be the reason of such behavior? If this is expected?