Remove validate call after format in CLI #24224
Labels
domain/schema
Issue in the "Schema" domain: Prisma Schema, Introspection, Migrations etc.
kind/improvement
An improvement to existing feature and code.
tech/typescript
Issue for tech TypeScript.
topic: breaking change
topic: cli
topic: prisma format
CLI: prisma format
topic: prisma6
We currently perform another validation check on the formatted schema in the CLI which can then reject the whole format if that then doesn't pass validation.
Source: cli/src/Format.ts#L58-L61
We do not do this second check in our VS Code extension, there we only run format and let the engines handle it. This second validate check can lead to confusing validation errors being emit:
The schema from which this validation error was raised is never shown to you and so we plan to remove this second
validate
callThe text was updated successfully, but these errors were encountered: