Skip to content

fix: Split FromLatestEventOptions into Read and Observe variants#29

Merged
goloroden merged 1 commit into
mainfrom
fix/split-from-latest-event-options
Mar 28, 2026
Merged

fix: Split FromLatestEventOptions into Read and Observe variants#29
goloroden merged 1 commit into
mainfrom
fix/split-from-latest-event-options

Conversation

@goloroden

Copy link
Copy Markdown
Member

Summary

  • Split FromLatestEventOptions into ReadFromLatestEventOptions (read_everything | read_nothing) and ObserveFromLatestEventOptions (read_everything | wait_for_event) to enforce valid option combinations at the type level
  • Updated all references in docs, tests, and mix.exs

Test plan

  • CI pipeline passes
  • ReadFromLatestEventOptions only accepts :read_everything and :read_nothing
  • ObserveFromLatestEventOptions only accepts :read_everything and :wait_for_event

🤖 Generated with Claude Code

Separate FromLatestEventOptions into ReadFromLatestEventOptions
(read_everything | read_nothing) and ObserveFromLatestEventOptions
(read_everything | wait_for_event) to enforce valid option
combinations at the type level.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@goloroden goloroden requested a review from a team as a code owner March 28, 2026 19:14
@goloroden goloroden self-assigned this Mar 28, 2026
@goloroden goloroden merged commit 928a52d into main Mar 28, 2026
2 checks passed
@goloroden goloroden deleted the fix/split-from-latest-event-options branch March 28, 2026 21:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants