Skip to content

IStateRehydrator<T> 인터페이스 설계 결함 #11

@gyuwon

Description

@gyuwon

IStateRehydrator<T> 인터페이스의 TryRehydrateState(Guid streamId) 메서드는 복원된 상태의 버전을 제공하지 않는다. 그래서 이 메서드를 사용해 상태를 복원한 후 새 이벤트를 생성해 수집하려 할 때 IEventCollector.CollectEvents 메서드의 두 번째 매개변수 startVersion의 값을 설정할 수 없다. 명백한 설계 오류다.

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