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

Smarter scalar list suggestion in `@default([])` when type is `Boolean[]` or `myEnum[]`

Open Jolg42 opened this issue 2 years ago • 0 comments

Basic suggestion was implemented in https://github.com/prisma/language-tools/issues/1159

Currently, suggests [] or dbgenerated(), but nothing inside []

It could suggest true or false for Boolean[] like done for Boolean

And could also have some logic to suggest the enum values when type is myEnum[]

Jolg42 avatar Jun 22 '22 10:06 Jolg42