[backend/configuration] Suppress unused property message to prevent accidental removal of backwards compatibility
This commit is contained in:
parent
adbee189af
commit
b876492ca1
1 changed files with 2 additions and 0 deletions
|
@ -1,4 +1,5 @@
|
|||
using System.ComponentModel.DataAnnotations;
|
||||
using System.Diagnostics.CodeAnalysis;
|
||||
using System.Reflection;
|
||||
using Iceshrimp.Backend.Core.Middleware;
|
||||
|
||||
|
@ -83,6 +84,7 @@ public sealed class Config
|
|||
public Enums.FileStorage Provider { get; init; } = Enums.FileStorage.Local;
|
||||
|
||||
[Obsolete("This property is for backwards compatibility only, use StorageSection.Provider instead", true)]
|
||||
[SuppressMessage("ReSharper", "UnusedMember.Global")]
|
||||
public Enums.FileStorage Mode
|
||||
{
|
||||
get => Provider;
|
||||
|
|
Loading…
Add table
Reference in a new issue