[Bug] @lambdaOnMutate not called when type is added through parents add-mutation

When adding a type through the addMutation of its parent, the lambdaOnMutate-Add Hook is not called:

type Foo {
   id: String! @id
   bar: Bar!

type Bar @lambdaOnMutate(add: true) {
   id: String! @id
   name: String!


mutate {
   addFoo(input: [{
      id: "1"
      bar: {id: "2" name: "hi"}

Bar is added in this case but the lambda webhook is not called.

1 Like