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

Add support for POCO grains #7360

Merged
merged 1 commit into from
Feb 2, 2022

Conversation

ReubenBond
Copy link
Member

@ReubenBond ReubenBond commented Oct 27, 2021

Implements #7351, see that issue for details.
Fixes #7324, since this PR introduces IGrainBase which has OnActivateAsync/OnDeactivateAsync methods

  • Hide this feature behind a csproj directive which the code generator understands, eg <OrleansExperimentalFeatures>$(OrleansExperimentalFeatures);PocoGrainsV1</OrleansExperimentalFeatures>
Microsoft Reviewers: Open in CodeFlow

@ReubenBond ReubenBond added this to the 4.0.0 milestone Oct 27, 2021
@ReubenBond ReubenBond linked an issue Oct 27, 2021 that may be closed by this pull request
@ReubenBond ReubenBond changed the title Support grain implementations which do not inherit from Grain Add support for POCO grains Jan 7, 2022
@ReubenBond ReubenBond force-pushed the feature/poco-grains/1 branch 2 times, most recently from 0aa4bb1 to 208c981 Compare January 7, 2022 22:05
@benjaminpetit benjaminpetit merged commit b185e23 into dotnet:main Feb 2, 2022
@github-actions github-actions bot locked and limited conversation to collaborators Dec 2, 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.

Implement POCO Grains Question: Getting the reason of a deactivation
2 participants