Repository navigation
feat(adapter-pg,adapter-neon): Enforce usage of connection pool (#22687) - #22700
Merged
Merged
Conversation
* feat(adapter-pg,adapter-neon): Enforce usage of connection pool Adapters don't work with non-pooled `Client` instances. For `pg` and `neon` we enforce it only on type level, so check won't work for JS projects. In this PR, we are checking the passed instance and ensuring it is a `Pool`, similarly to what we already do for `planetscale`. Fix prisma/team-orm#616 * Add test script * Attempt to unify jest configs #2 * Fix couple of problems
Contributor
size-limit report 📦
|
Contributor
Author
|
confirmed that engines are fine here prisma/prisma-engines#4655 |
millsp
reviewed
Jan 18, 2024
Jolg42
approved these changes
Jan 18, 2024
Jolg42
reviewed
Jan 18, 2024
millsp
approved these changes
Jan 18, 2024
Jolg42
reviewed
Jan 18, 2024
Jolg42
added a commit
that referenced
this pull request
Jan 22, 2024
* main: chore(deps): update engines to 5.9.0-17.53daea5e19292fbbfc60d3a98b0b811dc848b829 (#22743) chore: update @planetscale/database to 1.14.0 (#22709) chore(deps): update dependency @codspeed/benchmark.js-plugin to v3 (#22708) chore(deps): pin dependencies (#22706) chore(deps): update dependency @planetscale/database to v1.14.0 (#22707) chore: Fix new-test script (#22716) fix(migrate): update tests after fix to #11407 (#22689) feat(adapter-pg,adapter-neon): Enforce usage of connection pool (#22687) (#22700) revert(client): Revert "feat(adapter-pg,adapter-neon): Enforce usage of connection pool (#22687)" (#22699) feat(adapter-pg,adapter-neon): Enforce usage of connection pool (#22687) chore(deps): update actions/cache action to v4 (#22697) chore: add ability to emit metafiles (#22674)
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
PR was already reviewed in #22687, this iteration just
fixes PG import without breaking engine executor.