dotnet / dotnet/orleans

Migrating from Grain<SomeState> to Grain<OtherState>

Open
#2,153 19 comments 1 reaction 0 assignees View on GitHub
area-grains area-serialization
Dominant language
C#
Stars
10.9k
Forks
2.1k
Avg merge
15h 1m
Merged PRs (30d)
345

Description

@sergeybykov I was just wondering if there is any procedures for migrating grains State data?

It so far feels like using State for anything other than highly simple/throw away-able data is dangerous as if it goes to production your kinda stuck to that state model otherwise the serialized can't de-serialize.

Is there a better way other than just avoid State all together and doing the work manually inside of the ActivateAsync?

Cheers,
Michael.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.