Skip to content

Commit

Permalink
Fixed stupid build warnings that is handled like errors
Browse files Browse the repository at this point in the history
  • Loading branch information
bergmania committed Nov 5, 2024
1 parent d91cddf commit 21a3c31
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -104,9 +104,11 @@ public static IUmbracoBuilder AddConfiguration(this IUmbracoBuilder builder)
builder.Services.Configure<InstallDefaultDataSettings>(
Constants.Configuration.NamedOptions.InstallDefaultData.MemberTypes,
builder.Config.GetSection($"{Constants.Configuration.ConfigInstallDefaultData}:{Constants.Configuration.NamedOptions.InstallDefaultData.MemberTypes}"));
builder.Services.Configure<CacheEntrySettings>(Constants.Configuration.NamedOptions.CacheEntry.Media,
builder.Services.Configure<CacheEntrySettings>(
Constants.Configuration.NamedOptions.CacheEntry.Media,
builder.Config.GetSection($"{Constants.Configuration.ConfigCacheEntry}:{Constants.Configuration.NamedOptions.CacheEntry.Media}"));
builder.Services.Configure<CacheEntrySettings>(Constants.Configuration.NamedOptions.CacheEntry.Document,
builder.Services.Configure<CacheEntrySettings>(
Constants.Configuration.NamedOptions.CacheEntry.Document,
builder.Config.GetSection($"{Constants.Configuration.ConfigCacheEntry}:{Constants.Configuration.NamedOptions.CacheEntry.Document}"));

// TODO: Remove this in V12
Expand Down
1 change: 1 addition & 0 deletions src/Umbraco.Core/Services/PropertyValidationService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -256,6 +256,7 @@ public bool IsPropertyValid(IProperty property, PropertyValidationContext valida
/// </summary>
/// <param name="property"></param>
/// <param name="value"></param>
/// <param name="validationContext"></param>
/// <returns>True is property value is valid, otherwise false</returns>
private bool IsValidPropertyValue(IProperty property, object? value, PropertyValidationContext validationContext) =>
IsPropertyValueValid(property.PropertyType, value, validationContext);
Expand Down

0 comments on commit 21a3c31

Please sign in to comment.