1
0
mirror of https://github.com/bitwarden/server synced 2025-12-29 06:33:43 +00:00

Migrate AC code to have #nullable disable (#6027)

This commit is contained in:
Justin Baur
2025-07-03 09:40:34 -04:00
committed by GitHub
parent 669a5cb372
commit fafdfd6fbd
59 changed files with 236 additions and 59 deletions

View File

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

View File

@@ -1,4 +1,7 @@
namespace Bit.Core.Models.Business;
// FIXME: Update this file to be null safe and then delete the line below
#nullable disable
namespace Bit.Core.Models.Business;
public class ImportedOrganizationUser
{

View File

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

View File

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

View File

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

View File

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

View File

@@ -1,4 +1,7 @@
using Azure;
// FIXME: Update this file to be null safe and then delete the line below
#nullable disable
using Azure;
using Azure.Data.Tables;
using Bit.Core.Enums;
using Bit.Core.Utilities;

View File

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

View File

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

View File

@@ -1,4 +1,7 @@
using System.Text.Json.Serialization;
// FIXME: Update this file to be null safe and then delete the line below
#nullable disable
using System.Text.Json.Serialization;
using Bit.Core.AdminConsole.Enums.Provider;
using Bit.Core.Billing.Enums;
using Bit.Core.Utilities;

View File

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

View File

@@ -1,4 +1,7 @@
namespace Bit.Core.Models.Data.Organizations.OrganizationUsers;
// FIXME: Update this file to be null safe and then delete the line below
#nullable disable
namespace Bit.Core.Models.Data.Organizations.OrganizationUsers;
public class OrganizationUserPublicKey
{

View File

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

View File

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

View File

@@ -1,4 +1,7 @@
using System.Data;
// FIXME: Update this file to be null safe and then delete the line below
#nullable disable
using System.Data;
using Bit.Core.Entities;
namespace Bit.Core.Models.Data.Organizations.OrganizationUsers;

View File

@@ -1,4 +1,7 @@
using Bit.Core.AdminConsole.Entities;
// FIXME: Update this file to be null safe and then delete the line below
#nullable disable
using Bit.Core.AdminConsole.Entities;
using Bit.Core.AdminConsole.Enums;
using Bit.Core.AdminConsole.Models.OrganizationConnectionConfigs;
using Bit.Core.Auth.Entities;

View File

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

View File

@@ -1,4 +1,7 @@
using System.Text.Json.Serialization;
// FIXME: Update this file to be null safe and then delete the line below
#nullable disable
using System.Text.Json.Serialization;
using Bit.Core.AdminConsole.Enums.Provider;
using Bit.Core.Utilities;

View File

@@ -1,4 +1,7 @@
using System.Text.Json.Serialization;
// FIXME: Update this file to be null safe and then delete the line below
#nullable disable
using System.Text.Json.Serialization;
using Bit.Core.AdminConsole.Enums.Provider;
using Bit.Core.Billing.Enums;
using Bit.Core.Utilities;

View File

@@ -1,4 +1,7 @@
using System.Text.Json.Serialization;
// FIXME: Update this file to be null safe and then delete the line below
#nullable disable
using System.Text.Json.Serialization;
using Bit.Core.AdminConsole.Enums.Provider;
using Bit.Core.Utilities;

View File

@@ -1,4 +1,7 @@
namespace Bit.Core.AdminConsole.Models.Data.Provider;
// FIXME: Update this file to be null safe and then delete the line below
#nullable disable
namespace Bit.Core.AdminConsole.Models.Data.Provider;
public class ProviderUserPublicKey
{

View File

@@ -1,4 +1,7 @@
using System.Text.Json.Serialization;
// FIXME: Update this file to be null safe and then delete the line below
#nullable disable
using System.Text.Json.Serialization;
using Bit.Core.AdminConsole.Enums.Provider;
using Bit.Core.Utilities;

View File

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