Skip to content
Prev Previous commit
Next Next commit
Add workaround for bug at microsoft/kiota-dotnet#535 (#1713)
  • Loading branch information
bkoelman authored Apr 20, 2025
commit 67386f3fa1fccd90bce4da5c0018c61015940d09
Original file line number Diff line number Diff line change
Expand Up @@ -226,11 +226,11 @@ public override ResourceObject Read(ref Utf8JsonReader reader, Type typeToConver
}
}

attributes.Add(attributeName, attributeValue);
attributes[attributeName] = attributeValue;
}
else
{
attributes.Add(attributeName, null);
attributes[attributeName] = null;
reader.Skip();
}

Expand Down
Loading