RecordGenerator
RecordGenerator copied to clipboard
C# immutable records generator
Hi, first of all thank you for this library. It's awesome. Found out that if I try to set default value to property when there is only getter, then it's...
Hello, when I run `dotnet aspnet-codegenerator identity` I get errors, that it can't find the auto generated constructors. Specifically: `Failed to compile the project in memory` ``` Building project ......
It seems that Builder instances are expected to be very short-lived and we are going to pass Builder instances around. Perhaps we can make Builders struct to reduce memory allocation.
As seen in #88, running Analyzers tests on ubuntu fails. Probable cause is newlines. They're checked out as LF, but somewhere there are probably CRLF inserted. Needs verification.
When I have implemented records types by-hand, the `With*` member have been coded to return the same instance if the new value is the same as current and it's a...
HaloFour wrote up an interesting solution for struct Builder that also supports inheritance and allows nice selective With update. See https://gist.github.com/amis92/dfc52fb774d44194f8846b2f560c2f96 This would solve our following issues: - A different...
Right not, here is available only basic builder that publicly allows assign any property in object. I would like to propose new type of Fluent Builder that would have private...
Looks like the dotnet team decided auto-generated code needs to explicitly opt-in into nullable reference types: ```c# public partial class TestClass { public string? SomeTestProperty { get; } } ```...
> I thought we agreed to use direct operator equality/valuetuple equality. That might come later. _Originally posted by @amis92 in https://github.com/amis92/RecordGenerator/pull/56_ --- There are a couple of areas where we...