Uploaded image for project: 'Atlas'
  1. Atlas
  2. ATLAS-1459

Atlas V2 types to manage bidirectional relationships

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • None
    • 0.8-incubating
    • None
    • None

    Description

      Currently Atlas can use mappedFromRef constraint and the refAttribute param in an attribute to point to a child type that points back to the parent .
      See 0030-hive-model.json for an example.

      In an operational environment where we want to update these attributes - we want the corresponding attribute (related using the constraints) to be updated.

      I suggest that we add an inSyncRefAttribute in addition to the existing refAttribute. If inSyncRefAttribute constraint is specified then the attribute pointed to is kept in sync with our attribute. On creates, updates and deletes. This will be supported for List and non List attributes.

      Attachments

        Issue Links

          Activity

            People

              davidrad David Radley
              davidrad David Radley
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: