Join Slack
Powered by
Is it possible to set a default for an array i.e. ...
# orm-help
c
Chris Tsongas
07/03/2021, 1:57 AM
Is it possible to set a default for an array i.e.
roles Role[] @default([Role.USER])
? I'm getting a syntax error.
r
Ryan
07/05/2021, 5:25 AM
@Chris Tsongas
👋 This isn’t supported currently. It would be great if you could create a feature request
here
so that we can look into this 🙂
3
Views
Open in Slack
Previous
Next