Skip to content

Release 10.0.0-beta.0

Pre-release
Pre-release
Compare
Choose a tag to compare
@BrunnerLivio BrunnerLivio released this 25 Apr 11:38
· 305 commits to master since this release

Features

Get started with Prisma x Terminus:

  1. Install Prisma
  2. Install this release (unstable)
npm install @nestjs/[email protected]
  1. Update your health.controller.ts:
@Controller()
export class HealthController {
  constructor(
    private readonly health: HealthCheckService,
    private readonly prisma: PrismaHealthIndicator,
    private readonly prismaService: PrismaService,
  ) {}

  @Get('/health')
  healthCheck() {
    return this.health.check([
      () => this.prisma.pingCheck('prisma', this.prismaService),
    ]);
  }
}

Checkout the Prisma sample app here

BREAKING CHANGES

  • drop support for Node v12