I have objects that are immutible but I want to be able to deserialize instances.
If I submit a pull-request that allows the user to optionally specify that private parameterless constructors may be used, and the setting of properties with private setters, would this be considered for inclusion or is this something you wouldn't be prepared to allow?
PS: It's the pattern EntityFramework-Core uses (private parameterless constructors / private setters on public properties)
I have objects that are immutible but I want to be able to deserialize instances.
If I submit a pull-request that allows the user to optionally specify that private parameterless constructors may be used, and the setting of properties with private setters, would this be considered for inclusion or is this something you wouldn't be prepared to allow?
PS: It's the pattern EntityFramework-Core uses (private parameterless constructors / private setters on public properties)