Skip to content

Commit ff7fdc4

Browse files
committed
The CacheFolder properties should actually be nullabe
1 parent e41bc2a commit ff7fdc4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Diff for: src/ImageSharp.Web.Providers.AWS/Caching/AWSS3StorageCacheOptions.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ public class AWSS3StorageCacheOptions : IAWSS3BucketClientOptions
1717
/// <summary>
1818
/// Gets or sets the cache folder's name that'll store cache files under the configured bucket.
1919
/// </summary>
20-
public string CacheFolder { get; set; } = null!;
20+
public string? CacheFolder { get; set; }
2121

2222
/// <inheritdoc/>
2323
public string? AccessKey { get; set; }

Diff for: src/ImageSharp.Web.Providers.Azure/Caching/AzureBlobStorageCacheOptions.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,5 +26,5 @@ public class AzureBlobStorageCacheOptions
2626
/// Must conform to Azure Blob Storage directory naming guidelines.
2727
/// <see href="https://learn.microsoft.com/en-us/rest/api/storageservices/naming-and-referencing-containers--blobs--and-metadata#directory-names"/>
2828
/// </summary>
29-
public string CacheFolder { get; set; } = null!;
29+
public string? CacheFolder { get; set; }
3030
}

0 commit comments

Comments
 (0)