language-tools
language-tools copied to clipboard
Auto completion suggests `@map` although already present
For reproduction:
generator client {
provider = "prisma-client-js"
previewFeatures = "mongoDb"
}
datasource pg {
provider = "mongodb"
url = env("TEST_DB_URL")
}
model with_id_and_compound_unique {
id Int @id @map("_id") @
}
Probably not mongodb specific, there is sometimes some logic to deduplicate but not always