MaggyD
MaggyD
Explore posts from servers
CC#
Created by MaggyD on 12/4/2024 in #help
Idiomatic C# Data Objects with Immutable Collections?
I'm saying, use Padding.Default
24 replies
CC#
Created by MaggyD on 12/4/2024 in #help
Idiomatic C# Data Objects with Immutable Collections?
But it has a default value...
24 replies
CC#
Created by MaggyD on 12/4/2024 in #help
Idiomatic C# Data Objects with Immutable Collections?
????
24 replies
CC#
Created by MaggyD on 12/4/2024 in #help
Idiomatic C# Data Objects with Immutable Collections?
which is bullshit
24 replies
CC#
Created by MaggyD on 12/4/2024 in #help
Idiomatic C# Data Objects with Immutable Collections?
Apparently, it does not....
24 replies
CC#
Created by MaggyD on 12/4/2024 in #help
Idiomatic C# Data Objects with Immutable Collections?
public Padding Padding { get; set; } = Padding.Default;
public Padding Padding { get; set; } = Padding.Default;
24 replies
CC#
Created by MaggyD on 12/4/2024 in #help
Idiomatic C# Data Objects with Immutable Collections?
~~
24 replies
CC#
Created by MaggyD on 12/4/2024 in #help
Idiomatic C# Data Objects with Immutable Collections?
I thought this would work...
24 replies
CC#
Created by MaggyD on 12/4/2024 in #help
Idiomatic C# Data Objects with Immutable Collections?
Ok, so I have a JSON object that I want to deserialize into a class. Previously, we serialized this class with a property say: Padding is a nullable immutable struct propety. Now, I want to change that! I want Padding to never be nullable, however, if can deserialize a null by providing a default value. HOW do I do this?
24 replies
CC#
Created by MaggyD on 12/4/2024 in #help
Idiomatic C# Data Objects with Immutable Collections?
I've been writing C# for 3 years... I still can't get this right
24 replies
CC#
Created by MaggyD on 12/4/2024 in #help
Idiomatic C# Data Objects with Immutable Collections?
I just honestly don't understand why I keep running into issues with creating classes and records that don't deserialize or serialize in a predictable way
24 replies
CC#
Created by MaggyD on 12/4/2024 in #help
Idiomatic C# Data Objects with Immutable Collections?
I guess I'm just struggling with a different thing, not really related to this question
24 replies
CC#
Created by MaggyD on 12/4/2024 in #help
Idiomatic C# Data Objects with Immutable Collections?
Yup...
24 replies