Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Source generated resolver should include hand-written formatters #1739

@AArnott

Description

@AArnott

The source generated resolver currently only includes formatters that are themselves source generated.
But it's entirely possible for the source generator to discover all hand-written formatters as well and include them automatically.
This would simplify creating a custom formatter to just declaring a class, and no custom resolver would have to be written to add it to the set of formatters that can be used during serialization.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions