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

Improve support for generic grains with generic state #2715

Merged
merged 1 commit into from
Feb 10, 2017

Conversation

ReubenBond
Copy link
Member

Current support for generic grains with generic state assumes that the type parameter to the grain is also the type parameter of the state class.

This PR relaxes that assumption by navigating the concrete grain type's hierarchy until it reaches the Grain<TState> level and extracting the concrete value of TState.

/cc @lwansbrough who reported this issue on Gitter - thank you, Loch!

@jdom jdom merged commit c1a2f3e into dotnet:master Feb 10, 2017
@ReubenBond ReubenBond deleted the fix-generic-grainrefs branch February 10, 2017 23:09
sergeybykov pushed a commit to sergeybykov/orleans that referenced this pull request Feb 14, 2017
@github-actions github-actions bot locked and limited conversation to collaborators Dec 9, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants