graphql-helix icon indicating copy to clipboard operation
graphql-helix copied to clipboard

Before and after crud operation listeners

Open ycadaner-merkos302 opened this issue 1 year ago • 0 comments

Hi, How do I add on before update, create and delete listeners?

Particularly on a level of operation, node, properties of the operation. Not as nested actions. For example, if I wanted to run custom validation for each node, send emails under certain objects.

Of course resolvers can accomplish something like this, but it sounds too manual for getting just the all requests to update a node will pass through this function before updating

ycadaner-merkos302 avatar Jun 05 '23 22:06 ycadaner-merkos302