Skip to content

Conversation

@danstarns
Copy link
Contributor

Covers card I decided to not include the option to DETACH and this mutation always calls DETACH. This Branch is merged, conflicting with, this PR it will become 'Non Draft' once this PR is merged.

mutation {
  deleteMovies(where: {id: "123"}) {
    nodesDeleted
  }
}

@danstarns danstarns changed the title Delete mutation Delete Mutation Nov 2, 2020
@danstarns danstarns marked this pull request as ready for review November 16, 2020 12:01
@danstarns danstarns requested a review from oskarhane November 16, 2020 12:01
Copy link
Member

@oskarhane oskarhane left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!

Just a few comments, I especially want tests around the negative path, where nothing is found.

Comment on lines +24 to +27
type DeleteInfo {
nodesDeleted: Int!
relationshipsDeleted: Int!
}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

Copy link
Member

@oskarhane oskarhane left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good! 🐧

@danstarns danstarns merged commit e2ba573 into neo4j:master Nov 17, 2020
@danstarns danstarns deleted the delete-mutation branch November 17, 2020 08:33
@renovate renovate bot mentioned this pull request Nov 25, 2025
1 task
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants