Fork me on GitHub
#pathom
<
2022-10-15
>
caleb.macdonaldblack20:10:01

Is there anything concerning about calling p.eql/process within a mutation or resolver by passing the env param?

wilkerlucio20:10:12

its a supported feature, it should be fine to call p.eql/process from inside

👍 1
caleb.macdonaldblack20:10:16

Basically I’m trying to abstract some mutations. A mutation for creating a child entity and a mutation for create a parent entity. The create-parent mutation can also create its children by processing a create-child mutation. I know I can call the mutation as a function, however I’m resolving params into my mutations.