Skip to content

fix(node): Change import of @prisma/instrumentation to use default import#12185

Merged
lforst merged 2 commits intodevelopfrom
lforst-fix-prisma-esm-import
May 24, 2024
Merged

fix(node): Change import of @prisma/instrumentation to use default import#12185
lforst merged 2 commits intodevelopfrom
lforst-fix-prisma-esm-import

Conversation

@lforst
Copy link
Copy Markdown
Contributor

@lforst lforst commented May 23, 2024

Potentially fixes #11216

In esm due to interop, the PrismaInstrumentation can be found under default.

@lforst lforst marked this pull request as ready for review May 24, 2024 12:44
@lforst lforst requested review from Lms24 and mydea May 24, 2024 12:45
Copy link
Copy Markdown
Member

@mydea mydea left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

😭 well if it works, I guess...!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

prismaInstrumentation.PrismaInstrumentation is not a constructor

3 participants