intellij-prisma icon indicating copy to clipboard operation
intellij-prisma copied to clipboard

@map is shown as an error

Open zaunermax opened this issue 4 years ago • 1 comments

when using enums, the map keyword is shown as an error

enum test_enum {
  enum_prop_with_underline @map("enum-prop-with-underline")
}

the @map is shown as an error in that case.

Thank you by the way for adding this plugin :raised_hands:

zaunermax avatar Aug 04 '20 07:08 zaunermax

Same. Error is:

PrismaTokenType.BRACE_R or PrismaTokenType.IDENTIFIER expected, got '@map'

dac514 avatar Nov 24 '21 20:11 dac514