We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f0862a1 commit a05c225Copy full SHA for a05c225
packages/tracing-internal/src/node/integrations/prisma.ts
@@ -65,6 +65,7 @@ export class Prisma implements Integration {
65
// https://github.com/getsentry/sentry-javascript/issues/7216#issuecomment-1602375012
66
// In the future we might explore providing a dedicated PrismaClient middleware instead of this hack.
67
if (isValidPrismaClient(options.client) && !options.client._sentryInstrumented) {
68
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
69
addNonEnumerableProperty(options.client as any, '_sentryInstrumented', true);
70
71
options.client.$use((params, next: (params: PrismaMiddlewareParams) => Promise<unknown>) => {
0 commit comments