Skip to content

Simplify nestjs-prisma usage with Prisma v7+ database adapter and output path #124

@marcjulian

Description

@marcjulian
  • remove PrismaService with imports to @prisma/client
  • rename CustomPrismaService to PrismaService - requires an PrismaClient instance with adapter and output path
  • add function for error handle to be reused
  • add copy code to docs
  • add example for extensions (library/copy)
  • add example for error handling

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions