Support source generators · Issue #1495 · MessagePack-CSharp/MessagePack-CSharp · GitHub
Skip to content

Support source generators #1495

Description

@kislovs

Describe the solution you'd like

Support generating formatters in compile time, instead of runtime for all platforms through source generators.

Additional context

As I know from README this library uses dynamic code generation a lot, and AOT for platform which doesn't support former. I think it's a good use case for source generators. Additionally, it may be possible to find new optimizations and make library even faster in some cases.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions