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!
}
Mutation:
mutate {
addFoo(input: [{
id: "1"
bar: {id: "2" name: "hi"}
}]
}
Bar is added in this case but the lambda webhook is not called.