Skip to content

Commit

Permalink
fix(YamlDotNet): Fixed the YamlSerializer to not use a specific namin…
Browse files Browse the repository at this point in the history
…g convention when serializing equatable dictionaries
  • Loading branch information
cdavernas committed Aug 26, 2024
1 parent 5998eb7 commit 1083022
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ public class YamlSerializer(YamlDotNet.Serialization.ISerializer serializer, IDe
.WithTypeConverter(new UriTypeSerializer())
.WithTypeConverter(new DateTimeOffsetSerializer())
.WithTypeConverter(new EquatableListSerializer(() => serializer.Build()))
.WithTypeConverter(new EquatableDictionarySerializer(() => serializer.Build()));
.WithTypeConverter(new EquatableDictionarySerializer(() => serializer.WithNamingConvention(NullNamingConvention.Instance).Build()));
};

/// <summary>
Expand Down

0 comments on commit 1083022

Please sign in to comment.