1
0
mirror of https://github.com/bitwarden/server.git synced 2025-07-22 01:51:47 -05:00

Add #nullable disable to tools code (#6058)

This commit is contained in:
Justin Baur
2025-07-08 14:02:15 -04:00
committed by GitHub
parent b4c9133d12
commit 8fdd26bf1c
22 changed files with 88 additions and 22 deletions

View File

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

View File

@ -1,4 +1,7 @@
using Bit.Api.Tools.Models.Request.Accounts;
// FIXME: Update this file to be null safe and then delete the line below
#nullable disable
using Bit.Api.Tools.Models.Request.Accounts;
using Bit.Api.Tools.Models.Request.Organizations;
using Bit.Api.Vault.AuthorizationHandlers.Collections;
using Bit.Core.Context;

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 Azure.Messaging.EventGrid;
using Bit.Api.Models.Response;
using Bit.Api.Tools.Models.Request;

View File

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

View File

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

View File

@ -1,4 +1,7 @@
using System.ComponentModel.DataAnnotations;
// FIXME: Update this file to be null safe and then delete the line below
#nullable disable
using System.ComponentModel.DataAnnotations;
namespace Bit.Api.Tools.Models.Request;

View File

@ -1,4 +1,7 @@
using System.ComponentModel.DataAnnotations;
// FIXME: Update this file to be null safe and then delete the line below
#nullable disable
using System.ComponentModel.DataAnnotations;
using System.Text.Json;
using Bit.Core.Exceptions;
using Bit.Core.Tools.Entities;

View File

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

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.Models.Api;
using Bit.Core.Settings;
using Bit.Core.Tools.Entities;

View File

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

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;
using Bit.Core.Models.Api;
namespace Bit.Api.Tools.Models.Response;

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.Models.Api;
using Bit.Core.Settings;
using Bit.Core.Tools.Entities;

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.Tools.Models.Data;
using Bit.Core.Utilities;

View File

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

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.AdminConsole.OrganizationFeatures.Policies;
using Bit.Core.AdminConsole.OrganizationFeatures.Policies.PolicyRequirements;
using Bit.Core.AdminConsole.Services;

View File

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

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.Exceptions;
using Bit.Core.Platform.Push;
using Bit.Core.Tools.Entities;

View File

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

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;
using Bit.Core.Settings;
using Bit.Core.Tools.Entities;

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.AdminConsole.Models.Data.Organizations.Policies;
using Bit.Core.AdminConsole.OrganizationFeatures.Policies;
using Bit.Core.AdminConsole.OrganizationFeatures.Policies.PolicyRequirements;

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;
using Bit.Core.Tools.Entities;
namespace Bit.Core.Tools.Services;

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;