language-tools
language-tools copied to clipboard
Diagnostics: surface information regarding namespaces with `.` in them
Pre-requisite:
Test if dots are indeed allowed in the namespace name across providers
- [ ] coackroachdb
- [ ] mongodb
- [ ] mysql
- [ ] postgresql
- [ ] sqlite
- [ ] sqlserver
Todo:
If dots are allowed:
- improve the rust error message
- currently a table not found error when a user is trying to refer to their DB https://github.com/prisma/prisma/issues/15696
- surface a diagnostic tooltip providing context regarding dots in Prisma schema namespaces
Else:
Surface a diagnostic error saying . is invalid in namespace names or something