Prisma deploy generates non-null list return when datamodel states it can be null?


#1

In my datamodel file I specify that a list can be empty, but when I run prisma deploy it requires that the list is not null.

datamodel.prisma
type User {
subs: [Sub]!
}

prisma deploy
Changes:

User (Type)
+ Created field `subs` of type `[Sub!]!`

#2

This topic was automatically closed 45 days after the last reply. New replies are no longer allowed.