Merge branch 'v3-activity-state-tracking-issue' into v3
This commit is contained in:
commit
402bfda6d7
|
|
@ -130,6 +130,10 @@ public static class ObjectConverter
|
|||
}
|
||||
}
|
||||
|
||||
if (typeof(IEnumerable<object>).IsAssignableFrom(underlyingSourceType))
|
||||
if (underlyingTargetType == typeof(string))
|
||||
return JsonSerializer.Serialize(value);
|
||||
|
||||
var targetTypeConverter = TypeDescriptor.GetConverter(underlyingTargetType);
|
||||
|
||||
if (targetTypeConverter.CanConvertFrom(underlyingSourceType))
|
||||
|
|
|
|||
Loading…
Reference in a new issue