1
0
mirror of https://github.com/bitwarden/server synced 2025-12-28 22:23:30 +00:00

Add #nullable disable to platform code (#6057)

This commit is contained in:
Justin Baur
2025-07-08 10:25:59 -04:00
committed by GitHub
parent 7fb7d6fa56
commit fa0c9cb387
291 changed files with 1158 additions and 296 deletions

View File

@@ -1,4 +1,7 @@
using Bit.Core;
// FIXME: Update this file to be null safe and then delete the line below
#nullable disable
using Bit.Core;
using Microsoft.AspNetCore.DataProtection;
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;

View File

@@ -1,4 +1,7 @@
using AutoMapper;
// FIXME: Update this file to be null safe and then delete the line below
#nullable disable
using AutoMapper;
using Bit.Infrastructure.EntityFramework.AdminConsole.Models;
namespace Bit.Infrastructure.EntityFramework.Dirt.Models;

View File

@@ -1,4 +1,7 @@
using AutoMapper;
// FIXME: Update this file to be null safe and then delete the line below
#nullable disable
using AutoMapper;
using Bit.Infrastructure.EntityFramework.AdminConsole.Models;
namespace Bit.Infrastructure.EntityFramework.Dirt.Models;

View File

@@ -1,4 +1,7 @@
using AutoMapper;
// FIXME: Update this file to be null safe and then delete the line below
#nullable disable
using AutoMapper;
using Bit.Infrastructure.EntityFramework.AdminConsole.Models;
namespace Bit.Infrastructure.EntityFramework.Dirt.Models;

View File

@@ -1,4 +1,7 @@
using AutoMapper;
// FIXME: Update this file to be null safe and then delete the line below
#nullable disable
using AutoMapper;
using Bit.Core.Dirt.Entities;
using Bit.Core.Dirt.Repositories;
using Bit.Infrastructure.EntityFramework.Repositories;

View File

@@ -1,4 +1,7 @@
using AutoMapper;
// FIXME: Update this file to be null safe and then delete the line below
#nullable disable
using AutoMapper;
using Bit.Infrastructure.EntityFramework.AdminConsole.Models;
namespace Bit.Infrastructure.EntityFramework.Models;

View File

@@ -1,4 +1,7 @@
using AutoMapper;
// FIXME: Update this file to be null safe and then delete the line below
#nullable disable
using AutoMapper;
using Bit.Infrastructure.EntityFramework.Vault.Models;
namespace Bit.Infrastructure.EntityFramework.Models;

View File

@@ -1,4 +1,7 @@
using AutoMapper;
// FIXME: Update this file to be null safe and then delete the line below
#nullable disable
using AutoMapper;
namespace Bit.Infrastructure.EntityFramework.Models;

View File

@@ -1,4 +1,7 @@
using AutoMapper;
// FIXME: Update this file to be null safe and then delete the line below
#nullable disable
using AutoMapper;
namespace Bit.Infrastructure.EntityFramework.Models;

View File

@@ -1,4 +1,7 @@
using AutoMapper;
// FIXME: Update this file to be null safe and then delete the line below
#nullable disable
using AutoMapper;
namespace Bit.Infrastructure.EntityFramework.Models;

View File

@@ -1,4 +1,7 @@
using AutoMapper;
// FIXME: Update this file to be null safe and then delete the line below
#nullable disable
using AutoMapper;
using Bit.Infrastructure.EntityFramework.AdminConsole.Models;
namespace Bit.Infrastructure.EntityFramework.Models;

View File

@@ -1,4 +1,7 @@
using AutoMapper;
// FIXME: Update this file to be null safe and then delete the line below
#nullable disable
using AutoMapper;
namespace Bit.Infrastructure.EntityFramework.Models;

View File

@@ -1,4 +1,7 @@
using AutoMapper;
// FIXME: Update this file to be null safe and then delete the line below
#nullable disable
using AutoMapper;
using Bit.Infrastructure.EntityFramework.AdminConsole.Models;
namespace Bit.Infrastructure.EntityFramework.Models;

View File

@@ -1,4 +1,7 @@
using AutoMapper;
// FIXME: Update this file to be null safe and then delete the line below
#nullable disable
using AutoMapper;
using Bit.Infrastructure.EntityFramework.AdminConsole.Models;
namespace Bit.Infrastructure.EntityFramework.Models;

View File

@@ -1,4 +1,7 @@
using AutoMapper;
// FIXME: Update this file to be null safe and then delete the line below
#nullable disable
using AutoMapper;
using Bit.Infrastructure.EntityFramework.AdminConsole.Models;
namespace Bit.Infrastructure.EntityFramework.Models;

View File

@@ -1,4 +1,7 @@
using AutoMapper;
// FIXME: Update this file to be null safe and then delete the line below
#nullable disable
using AutoMapper;
using Bit.Infrastructure.EntityFramework.AdminConsole.Models;
namespace Bit.Infrastructure.EntityFramework.Models;

View File

@@ -1,4 +1,7 @@
using AutoMapper;
// FIXME: Update this file to be null safe and then delete the line below
#nullable disable
using AutoMapper;
using Bit.Infrastructure.EntityFramework.AdminConsole.Models;
namespace Bit.Infrastructure.EntityFramework.Models;

View File

@@ -1,4 +1,7 @@
using AutoMapper;
// FIXME: Update this file to be null safe and then delete the line below
#nullable disable
using AutoMapper;
using Bit.Infrastructure.EntityFramework.AdminConsole.Models;
using Bit.Infrastructure.EntityFramework.AdminConsole.Models.Provider;

View File

@@ -1,4 +1,7 @@
using AutoMapper;
// FIXME: Update this file to be null safe and then delete the line below
#nullable disable
using AutoMapper;
using Bit.Infrastructure.EntityFramework.Auth.Models;
using Bit.Infrastructure.EntityFramework.Vault.Models;

View File

@@ -1,4 +1,7 @@
using AutoMapper;
// FIXME: Update this file to be null safe and then delete the line below
#nullable disable
using AutoMapper;
using Bit.Infrastructure.EntityFramework.AdminConsole.Models;
using Bit.Infrastructure.EntityFramework.Models;
using Bit.Infrastructure.EntityFramework.Vault.Models;

View File

@@ -1,4 +1,7 @@
using AutoMapper;
// FIXME: Update this file to be null safe and then delete the line below
#nullable disable
using AutoMapper;
using Bit.Infrastructure.EntityFramework.Models;
namespace Bit.Infrastructure.EntityFramework.NotificationCenter.Models;

View File

@@ -1,4 +1,7 @@
using System.Text.Json;
// FIXME: Update this file to be null safe and then delete the line below
#nullable disable
using System.Text.Json;
using Bit.Core.Enums;
using Bit.Core.Vault.Models.Data;
using Bit.Infrastructure.EntityFramework.Vault.Models;

View File

@@ -1,4 +1,7 @@
using AutoMapper;
// FIXME: Update this file to be null safe and then delete the line below
#nullable disable
using AutoMapper;
using Bit.Infrastructure.EntityFramework.Models;
namespace Bit.Infrastructure.EntityFramework.SecretsManager.Models;

View File

@@ -1,4 +1,7 @@
using AutoMapper;
// FIXME: Update this file to be null safe and then delete the line below
#nullable disable
using AutoMapper;
namespace Bit.Infrastructure.EntityFramework.SecretsManager.Models;

View File

@@ -1,4 +1,7 @@
using AutoMapper;
// FIXME: Update this file to be null safe and then delete the line below
#nullable disable
using AutoMapper;
using Bit.Infrastructure.EntityFramework.AdminConsole.Models;
namespace Bit.Infrastructure.EntityFramework.SecretsManager.Models;

View File

@@ -1,4 +1,7 @@
using AutoMapper;
// FIXME: Update this file to be null safe and then delete the line below
#nullable disable
using AutoMapper;
using Bit.Infrastructure.EntityFramework.AdminConsole.Models;
namespace Bit.Infrastructure.EntityFramework.SecretsManager.Models;

View File

@@ -1,4 +1,7 @@
using AutoMapper;
// FIXME: Update this file to be null safe and then delete the line below
#nullable disable
using AutoMapper;
using Bit.Infrastructure.EntityFramework.AdminConsole.Models;
namespace Bit.Infrastructure.EntityFramework.SecretsManager.Models;