Hi, I am currently developing an App using Flutter and I use Prisma as my ORM. While Prisma delivers a generator with the ability to split relational fields from non-relational in separate classes, I am wondering how to handle nested relations the best. While I can easily select what to include in the prisma responses, it's hard to have this in sync with what the Swagger generates. Is there any best practice on how to do this without having tons of helper classes using IntersectionType or PickType extensions? What are your best practices on this?
Please notify me if this is the wrong forum!
Thanks in advance!