Quick question about the prisma example here - <ht...
# help
t
Quick question about the prisma example here - https://github.com/serverless-stack/serverless-stack/tree/master/examples/prisma Would this stack code change if the prisma client was being used from within a nextjs app? and used in combination with a NextjsSite struct?
t
Hm that would change things
Let me think
t
Have tried a few things and have not got is working when deployed. - it must be why my api routes or SSR pages are returning 503 now.
Happy to try any suggestions you have
t
I'm not too sure how to get this working. Prisma is already a bit of an awkward fit with lambda and trying to run it from nextjs is going to be even trickier
Right now our nextjs construct I don't think you can add layers to
t
Ah ok đŸ™‚ That’s too bad but it sounds like it’s not going to be a near term solution
I am quite early into the project I am working on - so I think I can use something else for DB access
Not sure if this helps but prisma is actively working to solve serverless deployments