From my understanding, prisma is basically just a smart database service that exposes CRUD functionality. When writing a graphql server, you can/should put some middlewhere between your client and the prisma service that implements business logic. In the example you referenced, that is implemented in node.