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

chore: rename ES testkit utility method #120

Merged
merged 2 commits into from
Jan 7, 2025
Merged

Conversation

aludwiko
Copy link
Contributor

@aludwiko aludwiko commented Jan 1, 2025

No description provided.

Copy link
Contributor

@efgpinto efgpinto left a comment

Choose a reason for hiding this comment

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

LGTM

This didEmitEvents() was present in the last released version, right? If so, this is a breaking change I guess. Not a big deal since this is only on the testkit though. So probably good to go as is?

@aludwiko
Copy link
Contributor Author

aludwiko commented Jan 6, 2025

Yes, it will be a breaking change, but with low importance. Actually, I could start with the deprecation of the old method first, but I was surprised that we don't use that method ourselves.

@@ -44,7 +44,7 @@ public interface EventSourcedResult<R> {
*/
Object getUpdatedState();

boolean didEmitEvents();
boolean didPersistEvents();
Copy link
Member

Choose a reason for hiding this comment

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

I think we should introduce such changes with a deprecation phase, even though it's "only" testkit

Copy link
Contributor Author

Choose a reason for hiding this comment

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

done

@octonato octonato merged commit 1297c2b into java-spi Jan 7, 2025
22 checks passed
@octonato octonato deleted the testkit-rename branch January 7, 2025 17:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants