Preview feature feedback: Node-API support (`nApi`)
Problem
Please share your feedback about the `nApi` functionality released in v2.20.0 in this issue. - If you encounter a bug, please open a bug report in this repo. - If the feature is working well for you, please share this in a comment below or leave a ๐ on this issue. If you have any questions, don't hesitate to ask them in the `#prisma-client` channel in the Prisma Slack. Known Limitations - [x] (Resolved) You can't have more than one instance of the Prisma Client yet, so this will not work properly: [code block] - [x] (Resolved) Currently, logging queries does not work with Node-API and Jest (Issue). For example, the following will not output any query logs. (_Note_: This seems to only be the case when using jest) [code block] - [x] (Resolved) Node-API libraries do not work with process mocking of Jest (issue) - [x] Node-API does not work on M1 ARM Macs, Apple Silicon (issue) - [ ] Node-API does not work on 32bit Node (issue)
Unverified for your environment
Select your OS to check compatibility.
1 Fix
Solution: Preview feature feedback: Node-API support (`nApi`)
> You can't have more than one instance of the Prisma Client yet, so this will not work properly: I think this is lifted now with napi PR merged @matthewmueller
Trust Score
3 verifications
- 1
> You can't have more than one instance of the Prisma Client yet, so this will n
> You can't have more than one instance of the Prisma Client yet, so this will not work properly:
- 2
I think this is lifted now with napi PR merged @matthewmueller
I think this is lifted now with napi PR merged @matthewmueller
Validation
Resolved in prisma/prisma GitHub issue #6301. Community reactions: 2 upvotes.
Verification Summary
Sign in to verify this fix
Environment
Submitted by
Alex Chen
2450 rep