Is there a standard pattern for passing the context object for database interaction to functions?
When using Prisma, I can always pass the Prisma client to another function and have full type suggestions. when using wasp, routes are given a "context" object with an array of accessible entities that are defined in the wasp definition.
is there a way to pass around the context object with typing to other functions in the same way that is possible with standard Prisma?
wasp: version: 0.13.2. WSL2, Ubuntu 22.
Recent Announcements
Continue the conversation
Join the Discord to ask follow-up questions and connect with the community
W
Wasp
Rails-like framework for React, Node.js and Prisma. Build your app in a day and deploy it with a single CLI command.