dotnet / dotnet/orleans

Orleans.Streams.PubSubPublisherState is incompatible with System.Text.Json

Open
#8,588 0 comments 1 reaction 1 assignee View on GitHub

@ReubenBond is already working on this.

Since Nov 11, 2023.

area-serialization bug
Dominant language
C#
Stars
10.9k
Forks
2.1k
Avg merge
13h 56m
Merged PRs (30d)
351

Description

This class is internal with no default constructor, and decorated with Newtonsoft / Orleans-based serializers only, causing this exception

```
{System.InvalidOperationException: Each parameter in the deserialization constructor on type 'Orleans.Streams.PubSubPublisherState' must bind to an object property or field on deserialization. Each parameter name must match with a property or field on the object. Fields are only considered when 'JsonSerializerOptions.IncludeFields' is enabled. The match can be case-insensitive.
```

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.