WaspW
Wasp5mo ago
9 replies
Obinna

Call operations from api

Is it possible to call operations from an api? I have a function in operations.ts for creating trips (createTrip(..)), and it'd be nice to be able to call it directly from the API, rather than calling the Prisma function contexts.entities.Trip.create()...

Is this possible?
Was this page helpful?