Skip to content

Commit 67386f3

Browse files
authoredApr 20, 2025
Add workaround for bug at microsoft/kiota-dotnet#535 (#1713)
1 parent b0c0838 commit 67386f3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎src/JsonApiDotNetCore/Serialization/JsonConverters/ResourceObjectConverter.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -226,11 +226,11 @@ public override ResourceObject Read(ref Utf8JsonReader reader, Type typeToConver
226226
}
227227
}
228228

229-
attributes.Add(attributeName, attributeValue);
229+
attributes[attributeName] = attributeValue;
230230
}
231231
else
232232
{
233-
attributes.Add(attributeName, null);
233+
attributes[attributeName] = null;
234234
reader.Skip();
235235
}
236236

0 commit comments

Comments
 (0)