I'm running an Absinthe GraphQL server which queries a backend, but there are also events coming in from outside (over AMQP), indicating an update has happened (some of which do not include the updated record info).
I can handle the events that include the new record with Absinthe.Subscription.publish
.
But how do I handle the cases where the updated record is not present?
In other words, I would like to trigger Absinthe to issue a query, and send the result to the GraphQL client as the result of an existing subscription.