sdy

create login typeDef, resolver

type Mutation {
login(email: String!, password: String!): AuthPayload
}
import { prisma } from "../../../utils";
export default {
Mutation: {
login: async (_, args) => {
const { email, password } = args;
},
},
};