Uploaded image for project: 'Causeway'
  1. Causeway
  2. CAUSEWAY-2555

[WON'T FIX] EntityChanges (as consumed by EntityChangesSubscriber) should associate with transaction, not interaction?

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Won't Fix
    • None
    • 2.0.0-M6
    • Core
    • None

    Description

      The docs say that EntityChanges releates to a transaction, but it only has a uniqueId which identifies the parent interaction (there can be many transactions per interaction).  So, we're missing a sequence.

      EntityChanges also has a reference to ChangesDto, which contains a sequence, so I think the information is there.

      There is also a TransactionId which is the tuple of uniqueId (for interaction) and sequence, so in fact EntityChanges should probably have a field of type TranscationId rather than UUID uniqueId.

       

      ~~~

      Similarly, EntityPropertyChange has both a uniqueId and a sequence, so they should be replaced by a field of type TransactionId instead.

      Attachments

        Activity

          People

            Unassigned Unassigned
            danhaywood Daniel Keir Haywood
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: