<@U0RQY0KK5> Do you plan to add the feature to set...
# prisma-whats-new
g
@nilan Do you plan to add the feature to set a relation as required in types schema?
n
@guillaume_ti yes, that's a work in progress feature 🙂 are you talking about a to-many or a to-one side?
g
actually both but mainly “to-many” type
n
so
to-many
relations are always required, because if a node is not connected, the field will be
[]
which is not
null
c
@nilan Interesting, is there a way to specify that to-many has to have at least one node in it?
n
no 🙂