diff options
| author | Bond-009 <bond.009@outlook.com> | 2020-06-03 13:22:40 +0200 |
|---|---|---|
| committer | Bond-009 <bond.009@outlook.com> | 2020-06-03 13:22:40 +0200 |
| commit | af93ec750ceed549b30fe26b93f9b754b414be75 (patch) | |
| tree | 957a32379005e9a92812f4a9c0bc00968eac8ac5 /Jellyfin.Api | |
| parent | 40502a33e0f0e3c84487be6d3eff2be35c1448ad (diff) | |
Enable TreatWarningsAsErrors for more projects
Diffstat (limited to 'Jellyfin.Api')
| -rw-r--r-- | Jellyfin.Api/Jellyfin.Api.csproj | 1 | ||||
| -rw-r--r-- | Jellyfin.Api/Models/StartupDtos/StartupConfigurationDto.cs | 2 | ||||
| -rw-r--r-- | Jellyfin.Api/Models/StartupDtos/StartupUserDto.cs | 2 |
3 files changed, 5 insertions, 0 deletions
diff --git a/Jellyfin.Api/Jellyfin.Api.csproj b/Jellyfin.Api/Jellyfin.Api.csproj index 25d5d0c89..a8de171cc 100644 --- a/Jellyfin.Api/Jellyfin.Api.csproj +++ b/Jellyfin.Api/Jellyfin.Api.csproj @@ -9,6 +9,7 @@ <TargetFramework>netstandard2.1</TargetFramework> <GenerateDocumentationFile>true</GenerateDocumentationFile> <TreatWarningsAsErrors>true</TreatWarningsAsErrors> + <Nullable>enable</Nullable> </PropertyGroup> <ItemGroup> diff --git a/Jellyfin.Api/Models/StartupDtos/StartupConfigurationDto.cs b/Jellyfin.Api/Models/StartupDtos/StartupConfigurationDto.cs index d048dad0a..5a83a030d 100644 --- a/Jellyfin.Api/Models/StartupDtos/StartupConfigurationDto.cs +++ b/Jellyfin.Api/Models/StartupDtos/StartupConfigurationDto.cs @@ -1,3 +1,5 @@ +#nullable disable + namespace Jellyfin.Api.Models.StartupDtos { /// <summary> diff --git a/Jellyfin.Api/Models/StartupDtos/StartupUserDto.cs b/Jellyfin.Api/Models/StartupDtos/StartupUserDto.cs index 3a9348037..0dbb245ec 100644 --- a/Jellyfin.Api/Models/StartupDtos/StartupUserDto.cs +++ b/Jellyfin.Api/Models/StartupDtos/StartupUserDto.cs @@ -1,3 +1,5 @@ +#nullable disable + namespace Jellyfin.Api.Models.StartupDtos { /// <summary> |
