Auto-correct relationType when relationId 's type is different

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • tothewine
    Active Community Member
    • Jan 2018
    • 376

    Auto-correct relationType when relationId 's type is different

    When modifying client code it may happen that parent type is not correctly set. I wouldn't want that mismatch to taint the database... A good idea would be to do type validation and (optionally) throw or self correct.
Working...