Skip to content

Added @ActivityInterface #56

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

Merged
merged 5 commits into from
Apr 4, 2020
Merged

Added @ActivityInterface #56

merged 5 commits into from
Apr 4, 2020

Conversation

mfateev
Copy link
Member

@mfateev mfateev commented Apr 2, 2020

@ActivityInterface solves two current problems.

The first is ability for an activity implementation class to inherit interfaces which are not part of activity contract. The lack of this ability conflicted with Spring based mixins like @transactional.

The second is ability to create polymorphic activities that implement the same interface.

This implementation corresponds to the first option from #43

@mfateev mfateev merged commit 9b1ada3 into temporalio:master Apr 4, 2020
@mfateev mfateev deleted the interfaces branch April 4, 2020 23:02
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