-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Description
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
}
machi1990
Metadata
Metadata
Assignees
Labels
No labels