type Mutation {
updateNote(input: MutateNoteInput!, where: UpdateNoteFilter): Note!
}
We have been using filter in GraphQL CRUD Java and encountered this conflict, where and filter function the same.
where sounds more SQL specific, can be replaced with filter in GraphQL CRUD spec.
IMO, a delete should not require an input argument name, it should be filter.
type Mutation {
deleteNote(input: MutateNoteInput!): Note
}
Suggested type defination:
type Mutation {
deleteNote(filter: UpdateNoteFilter!): Note
}
cc: @wtrocki @machi1990 @rareddy
We have been using
filterin GraphQL CRUD Java and encountered this conflict,whereandfilterfunction the same.wheresounds more SQL specific, can be replaced withfilterin GraphQL CRUD spec.IMO, a
deleteshould not require aninputargument name, it should befilter.Suggested type defination:
cc: @wtrocki @machi1990 @rareddy