Skip to content

Allow users to provide custom @prisma/client location #3

@joshunrau

Description

@joshunrau

In ODC, both the gateway and the core api use a generated prisma client. Because of the way pnpm links dependencies, generating the client in one of the two will override the other. We therefore have a special @prisma/generated-client location which is not a symlink. This is used for imports in each. However, attempting to import @prisma/client will fail at runtime, as it is not generated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions