Skip to content

[BUG] JSON source generators broken by 2.8.0 #536

@ghelyar

Description

@ghelyar

#529 added an internal JsonConverter<Value> that breaks source JSON source generators, as the JsonTypeInfo<Value> is not generated because it needs to create the converter in the generated code.

The possible fixes are to either make ValueJsonConverter public, so that people can add Value to their own source generators, or provide a public source generator for people to use e.g.

[JsonSerializable(typeof(Value))]
public partial class OpenFeatureJsonSerializerContext : JsonSerializerContext
{
}

Metadata

Metadata

Assignees

Labels

type: bugSomething isn't working

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions