sdy

create getUser resolver

import { prismaClient } from "../../../middlewares";
export default {
Query: {
getUser: async (_, args) => {
const { id } = args;
return prismaClient.user.findOne({
where: {
id,
},
});
},
},
};