Skip to content

Commit

Permalink
feat: or-1282 cleanup usings
Browse files Browse the repository at this point in the history
  • Loading branch information
QuintenGreenstack committed Jan 31, 2024
1 parent 84b466c commit e2420eb
Show file tree
Hide file tree
Showing 23 changed files with 0 additions and 36 deletions.
4 changes: 0 additions & 4 deletions src/AssociationRegistry.Admin.Api/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ namespace AssociationRegistry.Admin.Api;
using Be.Vlaanderen.Basisregisters.AspNetCore.Mvc.Formatters.Json;
using Be.Vlaanderen.Basisregisters.AspNetCore.Mvc.Logging;
using Be.Vlaanderen.Basisregisters.AspNetCore.Mvc.Middleware;
using Be.Vlaanderen.Basisregisters.Aws.DistributedMutex;
using Be.Vlaanderen.Basisregisters.BasicApiProblem;
using Be.Vlaanderen.Basisregisters.Middleware.AddProblemJsonHeader;
using Constants;
Expand All @@ -32,8 +31,6 @@ namespace AssociationRegistry.Admin.Api;
using Lamar.Microsoft.DependencyInjection;
using Magda;
using Marten;
using Marten.Events;
using Marten.Linq;
using Microsoft.AspNetCore.Authentication.JwtBearer;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Builder;
Expand Down Expand Up @@ -75,7 +72,6 @@ namespace AssociationRegistry.Admin.Api;
using VCodeGeneration;
using Vereniging;
using Wolverine;
using IEvent = Framework.IEvent;
using IEventStore = EventStore.IEventStore;

public class Program
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ namespace AssociationRegistry.Admin.ProjectionHost.Projections.Detail;
using Contactgegeven = Schema.Detail.Contactgegeven;
using Doelgroep = Schema.Detail.Doelgroep;
using HoofdactiviteitVerenigingsloket = Schema.Detail.HoofdactiviteitVerenigingsloket;
using Locatie = Schema.Detail.Locatie;
using Vertegenwoordiger = Schema.Detail.Vertegenwoordiger;

public class BeheerVerenigingDetailMapper
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -427,7 +427,6 @@ public static void Apply(
Mobiel = string.Empty,
SocialMedia = string.Empty,
},

})
.OrderBy(v => v.VertegenwoordigerId)
.ToArray();
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,8 @@
namespace AssociationRegistry.Admin.ProjectionHost.Projections.Search;

using DuplicateDetection;
using Events;
using Marten.Events;
using Wolverine;
using Wolverine.Runtime.Routing;
using Zoeken;
using IEvent = Framework.IEvent;

public class BeheerZoekenEventsConsumer : IMartenEventsConsumer
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ namespace AssociationRegistry.Admin.ProjectionHost.Projections.Search.Zoeken;
public class BeheerZoekProjectionHandler
{
private readonly IElasticRepository _elasticRepository;

public BeheerZoekProjectionHandler(IElasticRepository elasticRepository)
{
_elasticRepository = elasticRepository;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ namespace AssociationRegistry.Admin.Schema.Detail;

using Marten.Metadata;
using Marten.Schema;

public record BeheerVerenigingDetailDocument : IVCode, ISoftDeleted, IMetadata
{
public JsonLdMetadata JsonLdMetadata { get; set; }
Expand Down
Original file line number Diff line number Diff line change
@@ -1,17 +1,13 @@
namespace AssociationRegistry.Public.Api.Infrastructure.Extensions;

using ConfigurationBindings;
using Hosts;
using Microsoft.AspNetCore.Builder;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging;
using Nest;
using Schema;
using Schema.Search;
using System;
using System.Text;
using System.Threading;
using System.Threading.Tasks;

public static class ElasticSearchExtensions
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
namespace AssociationRegistry.Public.Schema.Search;

using Detail;

public class VerenigingZoekDocument : ICanBeUitgeschrevenUitPubliekeDatastroom, IHasStatus, IDeletable
{
public JsonLdMetadata JsonLdMetadata { get; set; }

Check warning on line 6 in src/AssociationRegistry.Public.Schema/Search/VerenigingZoekDocument.cs

View workflow job for this annotation

GitHub Actions / analyze-code

Non-nullable property 'JsonLdMetadata' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.

Check warning on line 6 in src/AssociationRegistry.Public.Schema/Search/VerenigingZoekDocument.cs

View workflow job for this annotation

GitHub Actions / Run Tests (test/AssociationRegistry.Test)

Non-nullable property 'JsonLdMetadata' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.

Check warning on line 6 in src/AssociationRegistry.Public.Schema/Search/VerenigingZoekDocument.cs

View workflow job for this annotation

GitHub Actions / Run Tests (test/AssociationRegistry.Test.Admin.Api)

Non-nullable property 'JsonLdMetadata' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
using AssociationRegistry.Admin.Schema;
using AssociationRegistry.Admin.Schema.Detail;
using AutoFixture;
using Be.Vlaanderen.Basisregisters.Utilities;
using Events;
using FluentAssertions;
using Framework;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
using AssociationRegistry.Admin.Schema.Constants;
using AssociationRegistry.Admin.Schema.Detail;
using AutoFixture;
using Be.Vlaanderen.Basisregisters.Utilities;
using Events;
using FluentAssertions;
using Formatters;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
namespace AssociationRegistry.Test.Admin.Api.When_Retrieving_Detail.Projecting;

using AssociationRegistry.Admin.ProjectionHost.Projections.Detail;
using AssociationRegistry.Admin.Schema;
using AssociationRegistry.Admin.Schema.Detail;
using AutoFixture;
using Events;
using FluentAssertions;
using Framework;
using JsonLdContext;
using Xunit;
using Xunit.Categories;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
namespace AssociationRegistry.Test.Admin.Api.When_Retrieving_Detail.Projecting;

using AssociationRegistry.Admin.ProjectionHost.Projections.Detail;
using AssociationRegistry.Admin.Schema;
using AssociationRegistry.Admin.Schema.Detail;
using AutoFixture;
using Events;
using FluentAssertions;
using Framework;
using JsonLdContext;
using Xunit;
using Xunit.Categories;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
namespace AssociationRegistry.Test.Public.Api.Fixtures.GivenEvents;

using AssociationRegistry.Framework;
using AssociationRegistry.Public.Api.Infrastructure.Extensions;
using AssociationRegistry.Public.ProjectionHost.Infrastructure.Program.WebApplication;
using EventStore;
using Framework.Helpers;
using Marten;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
namespace AssociationRegistry.Test.Public.Api.Fixtures;

using AssociationRegistry.Framework;
using AssociationRegistry.Public.Api.Infrastructure.Extensions;
using AssociationRegistry.Public.ProjectionHost.Infrastructure.Extensions;
using EventStore;
using Framework.Helpers;
Expand All @@ -19,7 +18,6 @@
using Xunit;
using Xunit.Sdk;
using ProjectionHostProgram = AssociationRegistry.Public.ProjectionHost.Program;
using PublicApiProgram = AssociationRegistry.Public.Api.Program;

public class ProjectionHostFixture : IDisposable, IAsyncLifetime
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
namespace AssociationRegistry.Test.Public.Api.When_Retrieving_Detail.Projecting;

using AssociationRegistry.Public.ProjectionHost.Projections.Detail;
using AssociationRegistry.Public.Schema.Constants;
using AssociationRegistry.Public.Schema.Detail;
using AutoFixture;
using Events;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
namespace AssociationRegistry.Test.Public.Api.When_Retrieving_Detail.Projecting;

using AssociationRegistry.Public.ProjectionHost.Projections.Detail;
using AssociationRegistry.Public.Schema.Constants;
using AssociationRegistry.Public.Schema.Detail;
using AutoFixture;
using Events;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
namespace AssociationRegistry.Test.Public.Api.When_Retrieving_Detail.Projecting;

using AssociationRegistry.Public.ProjectionHost.Projections.Detail;
using AssociationRegistry.Public.Schema.Constants;
using AssociationRegistry.Public.Schema.Detail;
using AutoFixture;
using Events;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
namespace AssociationRegistry.Test.Public.Api.When_Retrieving_Detail.Projecting;

using AssociationRegistry.Public.ProjectionHost.Projections.Detail;
using AssociationRegistry.Public.Schema.Constants;
using AssociationRegistry.Public.Schema.Detail;
using AutoFixture;
using Events;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
using AssociationRegistry.Framework;
using AssociationRegistry.Public.ProjectionHost.Infrastructure.Extensions;
using AssociationRegistry.Public.ProjectionHost.Projections.Detail;
using AssociationRegistry.Public.Schema.Constants;
using AssociationRegistry.Public.Schema.Detail;
using AutoFixture;
using Events;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
namespace AssociationRegistry.Test.Public.Api.When_Retrieving_Detail.Projecting;

using AssociationRegistry.Public.ProjectionHost.Projections.Detail;
using AssociationRegistry.Public.Schema.Constants;
using AssociationRegistry.Public.Schema.Detail;
using AutoFixture;
using Events;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
namespace AssociationRegistry.Test.Public.Api.When_Retrieving_Detail.Projecting;

using AssociationRegistry.Public.ProjectionHost.Projections.Detail;
using AssociationRegistry.Public.Schema.Constants;
using AssociationRegistry.Public.Schema.Detail;
using AutoFixture;
using Events;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
namespace AssociationRegistry.Test.Public.Api.When_Retrieving_Detail.Projecting;

using AssociationRegistry.Public.ProjectionHost.Projections.Detail;
using AssociationRegistry.Public.Schema.Constants;
using AssociationRegistry.Public.Schema.Detail;
using AutoFixture;
using Events;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
namespace AssociationRegistry.Test.Public.Api.When_Retrieving_Detail.Projecting;

using AssociationRegistry.Public.ProjectionHost.Projections.Detail;
using AssociationRegistry.Public.Schema.Constants;
using AssociationRegistry.Public.Schema.Detail;
using AutoFixture;
using Events;
Expand Down

0 comments on commit e2420eb

Please sign in to comment.