Skip to content

Commit

Permalink
Merge branch 'main' into ma/elasticsearch-8
Browse files Browse the repository at this point in the history
  • Loading branch information
MikeAlhayek authored Nov 22, 2024
2 parents 620f75c + 1051dbe commit e78a6d5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,6 @@ protected virtual T GetProperty<T>(Type type, Func<T> defaultValue = null, [Call
protected virtual void SetProperty(object value, [CallerMemberName] string name = null)
{
// Properties[name] = JToken.FromObject(value);
Properties[name] = JNode.FromObject(value);
Properties[name] = value is JsonNode node ? node.DeepClone() : JNode.FromObject(value);
}
}

0 comments on commit e78a6d5

Please sign in to comment.