Be friendly

This commit is contained in:
Stephan
2019-02-06 15:05:56 +01:00
parent 48e11ab439
commit 0be5ff64bc
6 changed files with 7 additions and 7 deletions

View File

@@ -25,7 +25,7 @@ namespace Umbraco.Web.Models.Mapping
where TPropertyTypeBasic : PropertyTypeBasic
{
return mapping
.ConstructUsing(x => new PropertyGroup(false)) // TODO: we have NO idea of isPublishing here = wtf?
.ConstructUsing(x => new PropertyGroup(false)) // TODO: we have NO idea of isPublishing here = so what?
.IgnoreEntityCommonProperties()
.ForMember(dest => dest.Id, map => map.Condition(src => src.Id > 0))
.ForMember(dest => dest.Key, map => map.Ignore())