Skip to content

Commit 1caf135

Browse files
authored
Update to Net 9 and related nugets (#1043)
1 parent b7e23ef commit 1caf135

20 files changed

+59
-59
lines changed

src/Directory.Build.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<Project>
33
<PropertyGroup>
44
<NoWarn>CS1591;NU5104;CS1573;CS9107</NoWarn>
5-
<Version>27.2.2</Version>
5+
<Version>28.0.0</Version>
66
<LangVersion>preview</LangVersion>
77
<AssemblyVersion>1.0.0</AssemblyVersion>
88
<PackageTags>EntityFrameworkCore, EntityFramework, GraphQL</PackageTags>

src/Directory.Packages.props

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,22 +5,22 @@
55
</PropertyGroup>
66
<ItemGroup>
77
<PackageVersion Include="ConfigureAwait.Fody" Version="3.3.2" />
8-
<PackageVersion Include="EfLocalDb" Version="19.2.1" />
8+
<PackageVersion Include="EfLocalDb" Version="20.0.0" />
99
<PackageVersion Include="Fody" Version="6.9.1" />
1010
<PackageVersion Include="graphiql" Version="2.0.0" />
1111
<PackageVersion Include="GraphQL" Version="8.2.1" />
1212
<PackageVersion Include="GraphQL.MicrosoftDI" Version="8.2.1" />
1313
<PackageVersion Include="GraphQL.SystemTextJson" Version="8.2.1" />
1414
<PackageVersion Include="MarkdownSnippets.MsBuild" Version="27.0.2" />
1515
<PackageVersion Include="Microsoft.AspNetCore.Http" Version="2.2.2" />
16-
<PackageVersion Include="Microsoft.AspNetCore.Mvc.Testing" Version="8.0.11" />
16+
<PackageVersion Include="Microsoft.AspNetCore.Mvc.Testing" Version="9.0.0" />
1717
<PackageVersion Include="Microsoft.Data.SqlClient" Version="5.2.2" />
18-
<PackageVersion Include="Microsoft.EntityFrameworkCore" Version="8.0.10" />
19-
<PackageVersion Include="Microsoft.EntityFrameworkCore.SqlServer" Version="8.0.10" />
18+
<PackageVersion Include="Microsoft.EntityFrameworkCore" Version="9.0.0" />
19+
<PackageVersion Include="Microsoft.EntityFrameworkCore.SqlServer" Version="9.0.0" />
2020
<PackageVersion Include="Microsoft.NET.Test.Sdk" Version="17.12.0" />
2121
<PackageVersion Include="Polyfill" Version="7.5.0" />
2222
<PackageVersion Include="ProjectDefaults" Version="1.0.144" />
23-
<PackageVersion Include="System.Text.Encodings.Web" Version="8.0.0" />
23+
<PackageVersion Include="System.Text.Encodings.Web" Version="9.0.0" />
2424
<PackageVersion Include="Verify.SqlServer" Version="10.1.0" />
2525
<PackageVersion Include="Verify.XunitV3" Version="28.3.2" />
2626
<PackageVersion Include="xunit.v3" Version="0.6.0-pre.7" />

src/GraphQL.EntityFramework/GraphQL.EntityFramework.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
3-
<TargetFramework>net8.0</TargetFramework>
3+
<TargetFramework>net9.0</TargetFramework>
44
<Description>Add EntityFramework Core IQueryable support to GraphQL</Description>
55
<PolyNullability>true</PolyNullability>
66
</PropertyGroup>

src/SampleWeb.Tests/SampleWeb.Tests.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
3-
<TargetFramework>net8.0</TargetFramework>
3+
<TargetFramework>net9.0</TargetFramework>
44
<SignAssembly>false</SignAssembly>
55
<OutputType>Exe</OutputType>
66
<NoWarn>xUnit1051</NoWarn>

src/SampleWeb/SampleWeb.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<Project Sdk="Microsoft.NET.Sdk.Web">
22
<PropertyGroup>
3-
<TargetFramework>net8.0</TargetFramework>
3+
<TargetFramework>net9.0</TargetFramework>
44
<SignAssembly>false</SignAssembly>
55
</PropertyGroup>
66
<ItemGroup>

src/Snippets/Snippets.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
3-
<TargetFramework>net8.0</TargetFramework>
3+
<TargetFramework>net9.0</TargetFramework>
44
<OutputType>Exe</OutputType>
55
<NoWarn>xUnit1051</NoWarn>
66
</PropertyGroup>

src/Tests/IntegrationTests/IntegrationTests.FirstParent_Child.verified.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,14 @@
1717
},
1818
sql: {
1919
Text:
20-
SELECT [t].[Id], [t].[Property], [c].[Id], [c].[Nullable], [c].[ParentId], [c].[Property]
20+
SELECT [p0].[Id], [p0].[Property], [c].[Id], [c].[Nullable], [c].[ParentId], [c].[Property]
2121
FROM (
2222
SELECT TOP(1) [p].[Id], [p].[Property]
2323
FROM [ParentEntities] AS [p]
2424
WHERE [p].[Id] = 'Guid_1'
25-
) AS [t]
26-
LEFT JOIN [ChildEntities] AS [c] ON [t].[Id] = [c].[ParentId]
27-
ORDER BY [t].[Id],
25+
) AS [p0]
26+
LEFT JOIN [ChildEntities] AS [c] ON [p0].[Id] = [c].[ParentId]
27+
ORDER BY [p0].[Id],
2828
HasTransaction: false
2929
}
3030
}

src/Tests/IntegrationTests/IntegrationTests.FirstParent_Child_WithFragment.verified.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,14 @@
1717
},
1818
sql: {
1919
Text:
20-
SELECT [t].[Id], [t].[Property], [c].[Id], [c].[Nullable], [c].[ParentId], [c].[Property]
20+
SELECT [p0].[Id], [p0].[Property], [c].[Id], [c].[Nullable], [c].[ParentId], [c].[Property]
2121
FROM (
2222
SELECT TOP(1) [p].[Id], [p].[Property]
2323
FROM [ParentEntities] AS [p]
2424
WHERE [p].[Id] = 'Guid_1'
25-
) AS [t]
26-
LEFT JOIN [ChildEntities] AS [c] ON [t].[Id] = [c].[ParentId]
27-
ORDER BY [t].[Id],
25+
) AS [p0]
26+
LEFT JOIN [ChildEntities] AS [c] ON [p0].[Id] = [c].[ParentId]
27+
ORDER BY [p0].[Id],
2828
HasTransaction: false
2929
}
3030
}

src/Tests/IntegrationTests/IntegrationTests.First_IdOnly.verified.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,14 @@
1414
},
1515
sql: {
1616
Text:
17-
SELECT [t].[Id], [t].[Property], [c].[Id], [c].[Nullable], [c].[ParentId], [c].[Property]
17+
SELECT [p0].[Id], [p0].[Property], [c].[Id], [c].[Nullable], [c].[ParentId], [c].[Property]
1818
FROM (
1919
SELECT TOP(1) [p].[Id], [p].[Property]
2020
FROM [ParentEntities] AS [p]
2121
WHERE [p].[Id] = 'Guid_1'
22-
) AS [t]
23-
LEFT JOIN [ChildEntities] AS [c] ON [t].[Id] = [c].[ParentId]
24-
ORDER BY [t].[Id],
22+
) AS [p0]
23+
LEFT JOIN [ChildEntities] AS [c] ON [p0].[Id] = [c].[ParentId]
24+
ORDER BY [p0].[Id],
2525
HasTransaction: false
2626
}
2727
}

src/Tests/IntegrationTests/IntegrationTests.First_NoArgs.verified.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,14 @@
1414
},
1515
sql: {
1616
Text:
17-
SELECT [t].[Id], [t].[Property], [c].[Id], [c].[Nullable], [c].[ParentId], [c].[Property]
17+
SELECT [p0].[Id], [p0].[Property], [c].[Id], [c].[Nullable], [c].[ParentId], [c].[Property]
1818
FROM (
1919
SELECT TOP(1) [p].[Id], [p].[Property]
2020
FROM [ParentEntities] AS [p]
2121
WHERE [p].[Id] = 'Guid_1'
22-
) AS [t]
23-
LEFT JOIN [ChildEntities] AS [c] ON [t].[Id] = [c].[ParentId]
24-
ORDER BY [t].[Id],
22+
) AS [p0]
23+
LEFT JOIN [ChildEntities] AS [c] ON [p0].[Id] = [c].[ParentId]
24+
ORDER BY [p0].[Id],
2525
HasTransaction: false
2626
}
2727
}

0 commit comments

Comments
 (0)