Fork me on GitHub
#pathom
<
2019-12-04
>
Spencer Apple16:12:01

Is there a way for a resolver to know if a mutation is joined with it?

Spencer Apple16:12:31

ie. a mutation changed state and returned an id, which then a resolver joined to and resolved the entity

Spencer Apple16:12:15

i'd like to trigger a websocket push on the resolver only if a mutation triggered the resolver

eoliphant16:12:58

I dont remember the specifics but I "believe" there's info in the env that might help you. I was doing something with plugins some time ago where that came up. But @wilkerlucio will have the definitive answe