Prisma 1 Forum

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

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.

type User {
subs: [Sub]!

prisma deploy

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

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