Sitelet https://github.com/MessagePack-CSharp/MessagePack-CSharp/issues/1739
Skip to content

Source generated resolver should include hand-written formatters #1739

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions