When I get rid of the “CreatePostInput” input type...
# orm-help
a
When I get rid of the “CreatePostInput” input type and design the Mutation like this:
Copy code
type Mutation {
    createPost(name: String, content: String): Post!
  }
and my resolver like this:
Copy code
Mutation: {
    createPost: (parent, args) => {
      return prisma.content.create({ 
        data: {
            name: args.name,
            content: args.content
          
        }
        
      })
    }
  }
it is working fine The problem is I want to keep the PostCreateInput input to add a lot of fields there