akkadotnet / akkadotnet/Akka.Serialization.MessagePack

Support for private/internal constructors

Open
#6 0 comments 0 reactions 0 assignees View on GitHub
external
Dominant language
C#
Stars
15
Forks
8
PR merge metrics
No merged PRs in 30d

Description

At least support for singletons
```C#
public sealed class RecoveryCompleted
{
public static RecoveryCompleted Instance { get; } = new RecoveryCompleted();
private RecoveryCompleted() {}
}
```
https://github.com/neuecc/MessagePack-CSharp/issues/40

Contributor guide

Open the contributing guide

Research direction

Review the serializer's handling of constructors and the linked MessagePack-CSharp issue for the expected behavior. Confirm that the singleton example with a private constructor can be serialized and deserialized without requiring a public constructor.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
backend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.