Is it possible to define two operationBefore to th...
# prisma-whats-new
i
Is it possible to define two operationBefore to the same operation. my use case is something like that:
Copy code
validateParent:
type: operationBefore
operation: Child.create
handler:
code:
src: src/validateParent.js

addChildPaymentData:
type: operationBefore
operation: Child.create
handler:
code:
src: src/addChildPaymentData.js
And I got the following error:
A Request Pipeline Function for type Child, the trigger ‘CREATE’ and the step ‘TRANSFORM_ARGUMENT’ already exists in your project