Anton

Results 10 comments of Anton

Hi @delatrie I get a similar error when passing Mock objects (based on the Moq library - https://github.com/devlooped/moq) for my services or repositories as parameters in my test. Serialization of...

@delatrie It's quite difficult for me to prepare an example so that it does not contain personal data, but later I will try to prepare an example with which it...

@delatrie Here is the minimal code with which I can reproduce the problem. Running this test produces a report of 138 MB in size. The parameter string is very (VERY!)...

A much easier way to reproduce the problem: ```csharp public static IEnumerable GetMembers => [[() => { }]]; [Theory, MemberData(nameof(GetMembers))] public void Test(Action checkResultAction) { checkResultAction(); } ``` This code...

For types associated with network addresses, Newtonsoft.JSON does not work well: ```csharp JsonSerializerSettings SerializerSettings = new() { ReferenceLoopHandling = ReferenceLoopHandling.Ignore, Error = (_, args) => { args.ErrorContext.Handled = true; },...

I was also thinking of creating a similar issue, but in the context of `Protobuf` with its `Has` properties. It seems that to implement this, as @latonz mentioned, a more...

Hi @arthrp It seems that what you are asking for can be achieved to some extent with the following setup: `[Mapper(EnabledConversions = MappingConversionType.All & ~MappingConversionType.ExplicitCast)]`. [Docs](https://mapperly.riok.app/docs/api/riok.mapperly.abstractions.mappingconversiontype/#fields) Maybe this solution will...

Indeed, the above code with `byte` to `int` mapping still produces code with cast, but the following code does not generate cast, instead it produces error RMG007: ```csharp public class...

> I think for most of these mappings it can be solved quite simple by replacing the source method with a property getter This is true, but the source type...

I think that when doing this task, you should also take into account similar conversions from #1117: | Source | Is nullable | Target | Is nullable | Expected result...