#Unable to merge Prisma client with pulse extension into a service class
4 messages · Page 1 of 1 (latest)
currently opted for this:
// ...
private readonly pulseClient = this.$extends(
withPulse({ apiKey: env.PULSE_API_KEY })
)
// ...
get pulse() {
return this.pulseClient
}
// ...
which allows me to use .stream() like this:
const stream = await this.prisma.pulse.model.stream()
ideally, it would be nice to be able to extend the Prisma client while also getting the types.
bumping
@lunar quarry - is this something you're familiar with?