Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support opts in append_to_stream #528

Merged
merged 1 commit into from Jan 9, 2024

Conversation

dvic
Copy link
Contributor

@dvic dvic commented Feb 21, 2023

No description provided.

@@ -31,7 +31,8 @@ defmodule Commanded.EventStore.Adapter do
adapter_meta,
stream_uuid,
expected_version,
events :: list(EventData.t())
events :: list(EventData.t()),
options
Copy link
Contributor

@janpieper janpieper Oct 26, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wouldn't this mean that we would get a warning for every custom adapter that does not implement append_to_stream/5? And additionally warnings for append_to_stream/4 functions using @impl true or @impl Commanded.EventStore.Adapter 🤔

@slashdotdash slashdotdash merged commit bb2dd99 into commanded:master Jan 9, 2024
slashdotdash added a commit that referenced this pull request Jan 9, 2024
slashdotdash added a commit that referenced this pull request Jan 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants