Andreas Ravnestad
Andreas Ravnestad
I think this is a great suggestion, however there may be a showstopper. Currently [only netstandard2.0 assemblies can be used as source generators.](https://github.com/dotnet/roslyn/issues/45162) Since Mapster and its constituent components are...
Thanks to @DocSvartz this issue has been partially fixed. See #634 for details.
Possible duplicate of #537
Hm, this should indeed work. I'll add a regression test for this and see if I can pinpoint where things go wrong.
@jankoci91 Which NuGet package version are you using?
@jankoci91 Can you try the latest prerelease package please?
Thank you @jankoci91 and @DocSvartz. I ran a git bisect session using the test posted by @jankoci91 above, and ended up with https://github.com/MapsterMapper/Mapster/commit/773f64adac3925878c966990ef26d49290c9ba2a as the supposed culprit. Still trying to...
@DocSvartz I think you're spot on. IsRecordType() is detecting types as record when it should not.
@Orace Which version of Mapster are you using?
Could you try the latest prerelease please?