You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 13, 2021. It is now read-only.
- DittoChainContext - renamed parameter vars
- DittoCacheableAttribute - references the local `cacheKeyBuilderType` as this could be different than the instance property value.
- UmbracoPropertiesAttribute - corrected a mistake with the `Inherited` bool value.
- UmbracoPropertyAttribute - removed the dependency on Umbraco.Core `IsNullOrWhiteSpace()` extension method. This incurred extra allocations.
- MockPublishedContent - switched from `SingleOrDefault` to `FirstOrDefault` - to reduce the number of iterations of the lookup.
/// <exception cref="System.ApplicationException">Expected a cache key builder of type + typeof(DittoProcessorCacheKeyBuilder) + but got + CacheKeyBuilderType</exception>
52
+
/// <exception cref="ApplicationException">Expected a cache key builder of type DittoProcessorCacheKeyBuilderbut got CacheKeyBuilderType.</exception>
// Property is an IPublishedContent property and an umbraco property exists so warn the user
198
+
// Property is an IPublishedContent property and an Umbraco property exists so warn the user
201
199
LogHelper.Warn<UmbracoPropertyAttribute>($"The property {umbracoPropertyName} being mapped from content type {contentType.Name}'s instance properties hides a property in the Umbraco properties collection of the same name. It is recommended that you avoid using Umbraco property aliases that conflict with IPublishedContent instance property names, but if you can't avoid this and you require access to the hidden property you can use the PropertySource parameter of the processors attribute to override the order in which properties are checked.");
// Property is an IPublishedContent property and an umbraco property exists so warn the user
226
-
LogHelper.Warn<UmbracoPropertyAttribute>($"The property {umbracoPropertyName} being mapped from the Umbraco properties collection hides an instance property of the same name on content type {content.GetType().Name}. It is recommended that you avoid using Umbraco property aliases that conflict with IPublishedContent instance property names, but if you can't avoid this and you require access to the hidden property you can use the PropertySource parameter of the processors attribute to override the order in which properties are checked.");
223
+
// Property is an IPublishedContent property and an Umbraco property exists so warn the user
224
+
LogHelper.Warn<UmbracoPropertyAttribute>($"The property {umbracoPropertyName} being mapped from the Umbraco properties collection hides an instance property of the same name on content type {content}. It is recommended that you avoid using Umbraco property aliases that conflict with IPublishedContent instance property names, but if you can't avoid this and you require access to the hidden property you can use the PropertySource parameter of the processors attribute to override the order in which properties are checked.");
0 commit comments