In this lesson, we update our lesson endpoint to use Prisma.
We’ll do this by creating a nested where selector, returning the first lesson we find. We also have to update the type that our useLesson composable uses from our custom type to the Prisma generated type.
18 lessons
7 lessons
7 lessons
11 lessons
18 lessons
8 lessons
17 lessons