that example returns an error: `Valid values for t...
# orm-help
m
that example returns an error:
Valid values for the strategy argument of '@scalarList' are: RELATION.
y
add this @scalarList(strategy: RELATION)
m
it's not a relation though
it's just a string
or array of strings
y
u can try it
m
I did
y
in my case it works, and it seems to be differnt with relation decorator
m
the problem is that it then expects it to be linked with another type, and it's not
it's just an array of strings I'm trying to add to a type
even the documentation states that the code example I showed should work: https://www.prisma.io/docs/1.31/datamodel-and-migrations/datamodel-POSTGRES-knum/
p
Where I can find docs for the @scalarList ?
h
@mux This is a bug. We are currently not using the defaults. Please use
@scalarList(strategy: RELATION)
explicitly in the meanwhile