can I make a relation required (in one way)? I hav...
# prisma-whats-new
q
can I make a relation required (in one way)? I have different types of users, so right now, I make e.g. an
Agent
and that has a relation with a
User
(some kind of mixin/interface would make more sense, but that's not supported yet, and I suppose build-in types such as
User
and
File
will not be interfaces 🙂 ). However, I would like to make the user-field in
Agent
required (each Agent is a user), but this doesn't seem to be possible right now, or is it?
s
@qsys Required relation fields is a highly requested feature. Should land in a week or two 🙂
👍 1