const prisma = singletonSync('prisma', () => {
return new PrismaClient()
})
const apolloServer = await singleton("apolloServer", async () => {
const schema = await buildSchema({
resolvers: [...],
});
return new ApolloServer({
schema,
});
});