Prisma, Authorization, Typescript, Web Development.
'resource1', owner: { connect: { id: emily.id } } }, }); console.log('Resource created by Emily:', inspect(res)); // Adam can't create a resource because he has insufficient reputation await expect( adamDb.resource.create({ data: { name: 'resource2', owner: { connect: { id: adam.id } } }, })