Skip to content

Missing JsonConverter #7

@EdCharbeneau

Description

@EdCharbeneau

The Score class does NOT have the [JsonConverter(typeof(ScoreJsonConverter))] attribute.

The converter is defined but not applied to the class. The fact that it's being registered globally in AddModelConverters(JsonSerializerOptions) doesn't mean it will be used automatically - the class needs to have the attribute.

    [JsonConverter(typeof(ScoreJsonConverter))]
    public partial class Score

    [JsonConverter(typeof(MinimumScoreJsonConverter))]
    public partial class MinimumScore

    [JsonConverter(typeof(MinimumResultScoreJsonConverter))]
    public partial class MinimumResultScore

    [JsonConverter(typeof(MinScoreJsonConverter))]
    public partial class MinScore

Metadata

Metadata

Assignees

Labels

BugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions