Join Slack
Powered by
Does anybody know why a relationship in Prisma has...
# orm-help
e
eelke
06/20/2018, 1:31 PM
Does anybody know why a relationship in Prisma has to be modelled like this:
Copy code
foos: [Foo!]! bars: [Bar]
and not like this:
Copy code
foos: [Foo]! bars: [Bar]!
(I like the latter because then I know it'll always be an array which I can then
map
over)
Open in Slack
Previous
Next