Skip to content

Contracts should be serializable/deserializable using System.Text.Json #352

Closed

Description

Describe the bug

Contracts should be serializable/deserializable using System.Text.Json
public ProxyMatch Match { get; private set; } = new ProxyMatch();

Private setters are not supported by System.Text.Json

To Reproduce

Try to read the ReverseProxy configuration with System.Text.Json - Match object is created but has null values for all properties.

Further technical details

  • Include the version of the packages you are using - 1.0.0-preview.4.20373.1
  • The platform (Linux/macOS/Windows) - Windows
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions