MongoDB logging QueryEvent
type params
is undefined
#12319
Labels
bug/2-confirmed
Bug has been reproduced and confirmed.
kind/bug
A reported bug.
team/client
Issue for team Client.
tech/typescript
Issue for tech TypeScript.
topic: client types
Types in Prisma Client
topic: logging
topic: mongodb
Milestone
Bug description
When using logging with MongoDB,
params
from the query event callback (QueryEvent
) describe it as being astring
but it'sundefined
.How to reproduce
Expected behavior
Either
params
is typed asundefined
or is just an empty string (eg."[ ]"
or""
).Prisma information
Use
mongodb
provider and preview feature.Environment & setup
Type-level only
Prisma Version
Notes
The text was updated successfully, but these errors were encountered: