Skip to content

Commit baf1b44

Browse files
authored
Merge pull request #35 from altasoft/bugfix/extraDependency
Removed Microsoft.Extensions.DependencyInjection from generated usings.
2 parents d9c3333 + 0a1ca96 commit baf1b44

28 files changed

Lines changed: 1 addition & 31 deletions

File tree

Directory.Build.props

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,9 @@
1111
<Product>Domain Primitives</Product>
1212
<Company>ALTA Software llc.</Company>
1313
<Copyright>Copyright © 2024 ALTA Software llc.</Copyright>
14-
<Version>7.0.0</Version>
14+
<Version>7.0.1</Version>
1515
</PropertyGroup>
1616

17-
1817
<PropertyGroup>
1918
<PackageReadmeFile>README.md</PackageReadmeFile>
2019
<ProjectUrl>https://github.com/altasoft/DomainPrimitives</ProjectUrl>
@@ -33,11 +32,9 @@
3332
</PropertyGroup>
3433

3534
<PropertyGroup Condition="'$(GITHUB_ACTIONS)' == 'true'">
36-
<DebugType>embedded</DebugType>
3735
<EmbedUntrackedSources>true</EmbedUntrackedSources>
3836
<EmbedAllSources>false</EmbedAllSources>
3937
<ContinuousIntegrationBuild>true</ContinuousIntegrationBuild>
40-
<Deterministic>true</Deterministic>
4138
</PropertyGroup>
4239

4340
<ItemGroup>

src/AltaSoft.DomainPrimitives.Generator/Helpers/MethodGeneratorHelper.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ internal static void AddOpenApiSchemas(string assemblyName, List<GeneratorData>
2929
usings.Add("System.Collections.Frozen");
3030
usings.Add("System.Collections.Generic");
3131
usings.Add("System.Text.Json.Nodes");
32-
usings.Add("Microsoft.Extensions.DependencyInjection");
3332
usings.Add("Microsoft.OpenApi");
3433
usings.Add("AltaSoft.DomainPrimitives");
3534
builder.AppendUsings(usings);

tests/AltaSoft.DomainPrimitives.Generator.Tests/Snapshots/DomainPrimitiveGeneratorTest.BoolValue_GeneratesAllInterfacesAndConverters#OpenApiHelper.g.verified.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
using System.Collections.Frozen;
1414
using System.Collections.Generic;
1515
using System.Text.Json.Nodes;
16-
using Microsoft.Extensions.DependencyInjection;
1716
using Microsoft.OpenApi;
1817

1918
[assembly: AltaSoft.DomainPrimitives.DomainPrimitiveAssemblyAttribute]

tests/AltaSoft.DomainPrimitives.Generator.Tests/Snapshots/DomainPrimitiveGeneratorTest.ByteValue_GeneratesAllInterfacesAndConverters#OpenApiHelper.g.verified.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
using System.Collections.Frozen;
1414
using System.Collections.Generic;
1515
using System.Text.Json.Nodes;
16-
using Microsoft.Extensions.DependencyInjection;
1716
using Microsoft.OpenApi;
1817

1918
[assembly: AltaSoft.DomainPrimitives.DomainPrimitiveAssemblyAttribute]

tests/AltaSoft.DomainPrimitives.Generator.Tests/Snapshots/DomainPrimitiveGeneratorTest.CharValue_GeneratesAllInterfacesAndConverters#OpenApiHelper.g.verified.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
using System.Collections.Frozen;
1414
using System.Collections.Generic;
1515
using System.Text.Json.Nodes;
16-
using Microsoft.Extensions.DependencyInjection;
1716
using Microsoft.OpenApi;
1817

1918
[assembly: AltaSoft.DomainPrimitives.DomainPrimitiveAssemblyAttribute]

tests/AltaSoft.DomainPrimitives.Generator.Tests/Snapshots/DomainPrimitiveGeneratorTest.DateOnlyValue_GeneratesAllInterfacesAndConverters#OpenApiHelper.g.verified.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
using System.Collections.Frozen;
1414
using System.Collections.Generic;
1515
using System.Text.Json.Nodes;
16-
using Microsoft.Extensions.DependencyInjection;
1716
using Microsoft.OpenApi;
1817

1918
[assembly: AltaSoft.DomainPrimitives.DomainPrimitiveAssemblyAttribute]

tests/AltaSoft.DomainPrimitives.Generator.Tests/Snapshots/DomainPrimitiveGeneratorTest.DateTimeOffsetValue_GeneratesAllInterfacesAndConverters#OpenApiHelper.g.verified.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
using System.Collections.Frozen;
1414
using System.Collections.Generic;
1515
using System.Text.Json.Nodes;
16-
using Microsoft.Extensions.DependencyInjection;
1716
using Microsoft.OpenApi;
1817

1918
[assembly: AltaSoft.DomainPrimitives.DomainPrimitiveAssemblyAttribute]

tests/AltaSoft.DomainPrimitives.Generator.Tests/Snapshots/DomainPrimitiveGeneratorTest.DateTimeValue_GeneratesAllInterfacesAndConverters#OpenApiHelper.g.verified.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
using System.Collections.Frozen;
1414
using System.Collections.Generic;
1515
using System.Text.Json.Nodes;
16-
using Microsoft.Extensions.DependencyInjection;
1716
using Microsoft.OpenApi;
1817

1918
[assembly: AltaSoft.DomainPrimitives.DomainPrimitiveAssemblyAttribute]

tests/AltaSoft.DomainPrimitives.Generator.Tests/Snapshots/DomainPrimitiveGeneratorTest.DecimalValue_GeneratesAllInterfacesAndConverters#OpenApiHelper.g.verified.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
using System.Collections.Frozen;
1414
using System.Collections.Generic;
1515
using System.Text.Json.Nodes;
16-
using Microsoft.Extensions.DependencyInjection;
1716
using Microsoft.OpenApi;
1817

1918
[assembly: AltaSoft.DomainPrimitives.DomainPrimitiveAssemblyAttribute]

tests/AltaSoft.DomainPrimitives.Generator.Tests/Snapshots/DomainPrimitiveGeneratorTest.DomainPrimitiveWithoutJsonConverters_ShouldNotAddJsonConverter#OpenApiHelper.g.verified.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
using System.Collections.Frozen;
1414
using System.Collections.Generic;
1515
using System.Text.Json.Nodes;
16-
using Microsoft.Extensions.DependencyInjection;
1716
using Microsoft.OpenApi;
1817

1918
[assembly: AltaSoft.DomainPrimitives.DomainPrimitiveAssemblyAttribute]

0 commit comments

Comments
 (0)