type Mutation {
updateNote(input: MutateNoteInput!, where: UpdateNoteFilter): Note!
}
update or delete might return null in cases where it doesn't match the condition, also it can change a couple of rows instead of one. Suggested definition:
type Mutation {
updateNote(input: MutateNoteInput!, filter: UpdateNoteFilter): [Note]
}
The same goes for delete.
cc: @rareddy @wtrocki @machi1990