sdy

init addCategory

type Mutation {
addCategory(name: String): Category!
}
import { prisma } from "../../../middlewares";
export default {
Mutation: {
addCategory: async (_, args) => {
const { name } = args;
},
},
};