Orkhan Rustamli
06/23/2021, 8:27 AMRyan
06/23/2021, 10:23 AMprisma.$fragment
then that is possible with include
or select
as that provides better type-safety than prisma.$fragment
as that used strings instead of actual object.
We also have an example where a similar thing that you used to do with Prisma 1 fragments that can be done with Prisma 2