-
Notifications
You must be signed in to change notification settings - Fork 124
Open
Description
Hey, im loving lambda-api so far.
Quick question, is there a way to add a context to handlers ?
Let's say
app.get("/posts", getPosts);
async function getPosts(req,res,context){
const prisma = context.prisma;
return prisma.posts.findMany({});
}And this is basically for code splitting
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels