Orleans.Streams.PubSubPublisherState is incompatible with System.Text.Json
Open
@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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.