language-tools icon indicating copy to clipboard operation
language-tools copied to clipboard

Diagnostics: surface information regarding namespaces with `.` in them

Open Druue opened this issue 2 years ago • 0 comments

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

Druue avatar Dec 19 '22 15:12 Druue