event.params
in log query event is not always a valid JSON
#12441
Labels
bug/1-unconfirmed
Bug should have enough information for reproduction, but confirmation has not happened yet.
kind/bug
A reported bug.
team/client
Issue for team Client.
topic: logging
Bug description
event.params
in log query event is not always a valid JSONHow to reproduce
script.ts
npx ts-node ./script.ts
params
Invalid escaping happens with:
Expected behavior
event.params
should be valid JSONPrisma information
Valid JSON and therefore param substitution will be helpful in custom loggers for prisma
unlight/prisma-query-log#4
Environment & setup
node v16.13.2
Prisma Version
The text was updated successfully, but these errors were encountered: