sdy

create login typeDef, resolver

1 +type Mutation {
2 + login(email: String!, password: String!): AuthPayload
3 +}
1 +import { prisma } from "../../../utils";
2 +
3 +export default {
4 + Mutation: {
5 + login: async (_, args) => {
6 + const { email, password } = args;
7 + },
8 + },
9 +};