How to Create a Mutation Query of Create a user in Graphql || Nestjs + Typeorm + Mongodb
| | | |

How to Create a Mutation Query of Create a user in Graphql || Nestjs + Typeorm + Mongodb

In this blog, we will discuss how to make a Mutation on Graphql to Create and Modify a user. We only gonna modify 2 files, user.service and user.resolvers user.service user.resolver Mutation: Create User user.service We will create one function here to create a user, we’ll name it ‘createUser(userData)‘. We have one parameter here containing all…