prisma-engines
b35b06e8 - qe: Default `make-qe` task to JSON protocol and improve error message (#4644)

Commit
2 years ago
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
Author
Parents
Loading