[6.7.0] prisma.config.ts - Painstakingly slow formatting & lint (on-save) in vscode

Ever since we updated to 6.7.0 and to use prisma.config.ts, attempting to change a schema file and save it takes MINUTES and it's completely unusable. We do have 24 prisma schema files with lots of model in these, but it was not at all slow before in 6.5.0. The output console of Prisma language server doesn't log anything in particular so I'm unsure how I can do something to make it better again. The prisma.config.ts file is not doing anything special:
import { defineConfig } from "prisma/config";

export default defineConfig({
earlyAccess: true,
schema: "./prisma",
});
import { defineConfig } from "prisma/config";

export default defineConfig({
earlyAccess: true,
schema: "./prisma",
});
3 Replies
Prisma AI Help
Prisma AI Help4mo ago
You chose to debug with a human. They'll tinker with your query soon. If you get curious meanwhile, hop into #ask-ai for a quick spin!
thehornta
thehorntaOP4mo ago
If I delete the prisma.config.ts file and reload vscode/restart prisma language server, it now uses the "prisma-schema-wasm" and now the formatting and linting is blazingly fast again and saving a schema file saves it instantly. I'm able to jump into a video call and show what's going on if that helps.
Nurul
Nurul4mo ago
Hey, do you mind creating a GitHub Issue mentioning these details so that our ORM team can investigate? https://github.com/prisma/prisma/issues/
GitHub
Issues · prisma/prisma
Next-generation ORM for Node.js & TypeScript | PostgreSQL, MySQL, MariaDB, SQL Server, SQLite, MongoDB and CockroachDB - Issues · prisma/prisma

Did you find this page helpful?