orleans icon indicating copy to clipboard operation
orleans copied to clipboard

Serialization issues #2 - Orleans 8.0.0

Open claylaut opened this issue 1 year ago • 1 comments

As per doc https://learn.microsoft.com/en-us/dotnet/orleans/host/configuration-guide/serialization?pivots=orleans-7-0#serializing-record-types

When using GenerateCodeForDeclaringAssembly for an external lib and Sdk is not added to the library I just added a failing test (which is skipped) with a repro https://github.com/dotnet/orleans/pull/8860

Reference to the original issue: https://github.com/dotnet/orleans/issues/8859

claylaut avatar May 16 '24 16:05 claylaut

We are running into a similar issue but on Orleans 7. Record type was not serializing, instead was set to a default object. No warnings or errors during this process, which made it very hard to even notice. The fix in our case was to move the record type into a different assembly which was referencing the Orleans SDK

TimoSchmechel avatar Jun 04 '24 14:06 TimoSchmechel