[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:
2 Replies
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!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.