neo4j-graphql-java icon indicating copy to clipboard operation
neo4j-graphql-java copied to clipboard

Adjust generated delete method

Open Andy2003 opened this issue 3 years ago • 0 comments

The delete method for Nodes will have the following schema:

type Mutation {
  deleteMovies(where: MovieWhere): DeleteInfo!
}

type DeleteInfo {
  nodesDeleted: Int!
  relationshipsDeleted: Int!
}

Changes to the current implementation:

  1. Return value is no longer the Deleted Entity
  2. Multiple nodes can be deleted via the where-filter

Andy2003 avatar Mar 05 '21 11:03 Andy2003