Skip to content

How to handle deeper relations #43

@jannis6023

Description

@jannis6023

Hi,
just a question concerning usage and best practice using this generator.

I am using NestJS and Swagger - that's the reason I am using this generator for.
As the project grows, I have deeper relations, controlled by the include property in Prisma's find methods. How can I replicate them without having to have multiple classes with TypeIntersects and so on?

Is there a best practice I haven't read about?

Thanks in advance for any help!

Best regards

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions