-
Notifications
You must be signed in to change notification settings - Fork 245
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
qe: Default
make-qe
task to JSON protocol and improve error message (…
…#4644) * qe: Default `make-qe` task to JSON protocol and improve error message I beleive prisma/team-orm#710 was caused by engine defaulting to GraphQL via `.envrc` file. Error handling in BinaryEngine being broken in this case (prisma/prisma#22636) made finding this out really hard. So, while main fix is done on the client side, I beleive we can adjust few things on the engine side too: - `make-qe` task will now always use JSON protocol. - `make-qe-graphql` task added for cases where it is necessary. For example, using the playground. - Default `PRISMA_ENGINE_PROTOCOL` is removed from `.envrc`. If needed, it can be restored via `.envrc.local`. - Error message adjusted to mention incorrect protocol possiblity. Contributes to prisma/team-orm#710 * Update blackbox test * And again
- Loading branch information
Serhii Tatarintsev
authored
Jan 16, 2024
1 parent
476ee04
commit b35b06e
Showing
4 changed files
with
7 additions
and
5 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
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