Incorporate Stephane's feedback: if we already know we're getting list of int or udi, we don't need to cast, or even test for the PropertyEditorAlias

This commit is contained in:
Sebastiaan Janssen
2017-03-15 23:21:13 +01:00
parent 59ecc6e109
commit e1942d96d0
4 changed files with 45 additions and 64 deletions

View File

@@ -15,7 +15,6 @@ namespace Umbraco.Web.Models
public bool IsInternal { get; set; }
[JsonProperty("type")]
public RelatedLinkType Type { get; set; }
[JsonProperty("content")]
public IPublishedContent Content { get; set; }
}
}