Just found this topic after having absolutely no idea how to add a custom mutation to the graphQL schema. I would have never learned about toEntityResponse
otherwise. It would be really helpful to add some documentation about mutations to the docs. My knowledge about the GraphQL plugin is way too limited to do it myself sadly.