generated from prisma/prisma-client-extension-starter
-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: throw error if Prisma client is already extended with Kysely
Added a check to throw an error if the Prisma client is already extended with Kysely. This change prevents undefined behavior and ensures that the client is not extended multiple times. Introduced a new test case to validate this behavior. BREAKING CHANGE: This change introduces an error where previously there was none, which may affect existing code that accidentally extended the Prisma client multiple times.
- Loading branch information
1 parent
357f3ec
commit a7f47c8
Showing
2 changed files
with
31 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters