DocSvartz

Results 207 comments of DocSvartz

This was most likely due to a false positive identification of your class as a record. These classes look exactly as you described in the example UserAccount, ShardableDocument? They have...

@andrerav EnumAdapter child of PrimitiveAdapter and also do not support Custom Mapping. This is not a bug but rather a feature request @satano you're right. You can definitely install it....

@andrerav If Problem is this. But it is Update function _From RunTime Update. Only the runtime update mechanism itself has been removed. Probably it simply cannot be used outside of...

Hello @andrerav , @DonnelCyril This is related to the function description upd _It should be like the Adaptation Function_ - not that's not the reason I can not get this...

Hello, You create New instance or update ? example: _Entity.Adapt() or _Entity.Adapt(_Dto)

Hello @andrerav I think I know what this is about. Primitives do not support custom mapping. I described it in this #561. I even developed a specific solution) I'll test...

It needs some work, but it definitely works as I planned when the mapping To primitive. ``` [TestMethod] public void MappingDatetimeToLong() { TypeAdapterConfig.GlobalSettings.ForType(typeof(Source407), typeof(Destination407)) .MapToTargetPrimitive(true); TypeAdapterConfig .NewConfig() .MapToTargetWith((source, target) =>...

Work all ``` [TestMethod] public void MappingDatetimeToLong() { TypeAdapterConfig.GlobalSettings.ForType(typeof(Source407), typeof(Destination407)) .MapToTargetPrimitive(true); TypeAdapterConfig .NewConfig() .MapToTargetWith((source, target) => true ? new DateTimeOffset(source).ToUnixTimeSeconds() : target); TypeAdapterConfig .NewConfig() .MapToTargetWith((source, target) => true ? new...

@andrerav Yes, this is simply due to the lack of support for custom mapping processing from primitive type

@andrerav in #650 i send this function.