We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4d020f6 commit 85d89b2Copy full SHA for 85d89b2
src/JsonApiDotNetCore/Serialization/JsonApiDeSerializer.cs
@@ -93,7 +93,7 @@ private object _setEntityAttributes(
93
throw new ArgumentException($"{contextEntity.EntityType.Name} does not contain an attribute named {attr.InternalAttributeName}", nameof(entity));
94
95
object newValue;
96
- if (attributeValues.TryGetValue(attr.PublicAttributeName.Dasherize(), out newValue))
+ if (attributeValues.TryGetValue(attr.PublicAttributeName, out newValue))
97
{
98
var convertedValue = TypeHelper.ConvertType(newValue, entityProperty.PropertyType);
99
entityProperty.SetValue(entity, convertedValue);
0 commit comments