Expected Behavior
Inside data contracts we should have a specific field type that references existing identities.
Current Behavior
Currently there is no way to make sure an identifier is an existing identity ID. Dashpay currently relies on data triggers for this functionality but it is simple enough that it should be baked into the system itself.
Possible Solution
Have a special type of field for identities' identity id. Documents coming in will need to validate that this field references an existing identity.
Alternatives Considered
We can also consider allowing references to non delete-able documents as well.
Additional Context