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

Errors hide other errors

Open Druue opened this issue 2 years ago • 1 comments

Bug description

-- Error: image

-- Now hidden by the error for previewFeatures image

Expected behavior

Both errors should show

Prisma information

generator client {
    provider = "prisma-client-js"
    previewFeatures = [""]
}

datasource db {
    provider = "postgresql"
    url      = env("DATABASE_URL")
}

model Post {
    id Int @id

    @@index([id(ops: InetOps )], type: Gin)
}

Environment & setup

  • OS: MacOS
  • Editor: VS Code
  • Editor version: v1.74.0
  • Extension version: v4.7.1

Druue avatar Dec 12 '22 11:12 Druue

Is this language tools specific or is this something that is already tracked in prisma/prisma as a problem in validation in general?

janpio avatar Dec 12 '22 13:12 janpio