I was editing my comment as you were responding. Check the issue on GitHub I linked in the edit, and maybe thumbs it up for visibility. One of the commenters mentions using a third-party tool but I’m not sure the one they linked to can grab posts. In theory another one might exist to dump your post data.
Then you should also override
Equals(object)
,GetHashCode
, and implementIEquatable<T>
.Thankfully a lot of the usual boilerplate code can be avoided using a
record
class or struct: