Skip to content

Follows predicate receives correlation stream #25

@sbellware

Description

@sbellware

Consider whether "following" takes correlation stream and reply stream into consideration. Arguably, these attributes aren't indicative of causation. Also, follows? doesn't take metadata into consideration. So, there's inconsistency there. What's arguably needed is a copied? predicate on metadata (without a delegation from message).

following_message = SomeMessage.follow(some_event, correlation_stream_name: override_stream)
following_message.metadata.follows?(some_other_message.metadata, correlation_stream_name: override_stream)
assert_follows(correlation_stream_name: override_stream)

The messaging fixture will also need this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions