Objects referencing each other
Is it okay to have to objects of different classes referencing each other ?
set woman.husband = man
set man.wife = woman
Discussion (2)0
Comments
Yes, but using a relationship to do this would automate a lot of cross referencing. For the example above, a 1-1 relationship would keep each side correct, when an update is made on either side
See http://docs.intersystems.com/latest/csp/docbook/DocBook.UI.Page.cls?KEY… for more details
Check your XML/JSON serializations, as you can get a loop easily (or output too much) with this architecture decisions.