A A
05/19/2019, 7:11 AMscopes
field to my user object, so that I can have permission scopes on fields and mutators like "read:users" or "write:media" or things like that using custom directives (@hasScope(scope: ["read:users"])
.
I've tried to add a scopes: [String]!
field to my datamodel.prisma
field, and when I try to prisma deploy
it gets stuck with an error that
✖️ Valid values for the strategy argument of @scalarList
are: RELATION.
which I assume means that I can't have lists of scalars like `String`s in my Prisma schema for some reason. Does anybody know of a good way to work around this limitation?A A
05/19/2019, 10:01 AMbkstorm
05/20/2019, 7:40 AMBruce He
07/22/2019, 3:25 AM