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

Tweaks test to better test if IEvent is handled #631

Merged
merged 1 commit into from
Nov 14, 2023

Conversation

carcer
Copy link
Contributor

@carcer carcer commented Nov 13, 2023

I couldn't seem to get the changes made in c70402e work as expected. I extended the test case to check if the IEvent handler method was being executed (filthy check, i know), and it appears that it may not actually be called.

@jeremydmiller
Copy link
Member

I think I left that out on purpose for the sake of time to be honest, but I've got more time today to wrestle with that now

@jeremydmiller jeremydmiller merged commit 966a2a5 into JasperFx:main Nov 14, 2023
1 check passed
@jeremydmiller
Copy link
Member

@carcer I'll catch up on docs this week, but it's working as intended. It will not be possible to directly handle IEvent<SomeEvent> because Wolverine doesn't support message handlers for abstract types.

@carcer
Copy link
Contributor Author

carcer commented Nov 14, 2023

Ah my mistake, with the commit including an IEvent handler method, thought support had been added. Understood

@carcer carcer deleted the better-marten-int-issue branch November 14, 2023 17:30
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