ikill69
ikill69
[csharp-netcore] Generic Host: Generated Model ctor has more Parameters than the other Library types
@devhl-labs You are absolutely right. I did another diff and compared to the swagger and it is the readOnly. When I did my first check I thought I had some...
[csharp-netcore] Generic Host: Generated Model ctor has more Parameters than the other Library types
@devhl-labs good point. That brings it back to "format" being the issue again. It is the only other property that mirrors the output. This is the section of the swagger...
[csharp-netcore] Generic Host: Generated Model ctor has more Parameters than the other Library types
They are making some movement in the issue [System.Text.Json can't deserialize type with more than 64 ctor parameters.]( https://github.com/dotnet/runtime/issues/71984) see the PR here https://github.com/dotnet/runtime/pull/75982 So limiting the number of parameters...
[csharp-netcore] Generic Host: Generated Model ctor has more Parameters than the other Library types
@devhl-labs I came to the exact same conclusion. The other library is doing it differently and I think it is to do with Newtonsoft being able to set Private properties....
Thanks for the Info @devhl-labs