firenero/TypeId

Support use of TypeId as Dictionary Key (system.text.json)

Closed this issue · 2 comments

The system.text.json customer converters do not override the methods WriteAsPropertyName and ReadAsPropertyName. This means that any attempt to use a TypeId as a dictionary key results in a System.NotSupportedException being thrown when serializing/deserializing.

Thanks for reporting and submitting PR @danspam. Sorry for taking so long to get back to you. I'm going to review the PR in a few hours and hopefully, we can merge it soon.

#17 was merged. The fix is available in v1.0.0 on nuget. Thanks again for your contribution @danspam