hey how do we ensure that there is a
# spicedb
m
hey how do we ensure that there is a valid many to one, one to many, one to one mappings of relationships in spice db?
v
there is no way to enforce this at the SpiceDB schema level. You can do is use
WriteRelationships
preconditions to achieve the same but it won't help in all scenarios you listed.
3 Views