Can't use with Vogen #98
Closed
aradalvand
started this conversation in
General
Replies: 2 comments 2 replies
|
Question: how does Vogen compare to using record types? Seems related in terms of scope. |
2 replies
|
Since you're coming from a MessagePack-CSharp perspective, I suspect you were already using a Reflection-based approach to serialization (i.e. not using MessagePack v3's source generator or v2's mpc tool). |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Vogen is a library that source-generates value objects, since PolyType (which Nerdbank.MessagePack is based on) is also a source generator, and .NET doesn't support chaining source generators, PolyType won't be able to see (and therefore generate metadata) for the stuff that Vogen generates, meaning that Nerdbank.MessagePack cannot be used with Vogen or any source generator library that augments types, for that matter.
All reactions