Skip to content

System.Text.Json encodes synergy internal fields by default  #174

Open
@hippiehunter

Description

@hippiehunter

Starting in 3.1 the default serializer in aspnet core is System.Text.Json. There are some behavior differences around what fields are included in serialization by default. This impacts Harmony Core projects that are not using the OData Serializer, but are just returning objects directly, SignalR hubs and plain aspnet core controllers for xfServer+ migration are the two project types that are effected.

The solution to this looks like we should add an additional template that makes a partial class, tagging it with a custom per type converter that we also generate. These generators will be significantly faster than the ones provided by default or by OData.

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingcustomerissue is impacting a customer

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions