const user = { id: 2 }; export const createResolvers = async (): Promise => { return { Query: { // TODO: fetch user data from db user: () => user } }; };