Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -639,7 +639,7 @@ public class GraphQlControllerTests
}
}
```
<sup><a href='/src/SampleWeb.Tests/GraphQlControllerTests.cs#L5-L250' title='Snippet source file'>snippet source</a> | <a href='#snippet-GraphQlControllerTests' title='Start of snippet'>anchor</a></sup>
<sup><a href='/src/SampleWeb.Tests/GraphQlControllerTests.cs#L7-L252' title='Snippet source file'>snippet source</a> | <a href='#snippet-GraphQlControllerTests' title='Start of snippet'>anchor</a></sup>
<!-- endSnippet -->


Expand Down
2 changes: 1 addition & 1 deletion src/Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<Project>
<PropertyGroup>
<NoWarn>CS1591;NU5104;CS1573;CS9107;NU1608;NU1109</NoWarn>
<Version>32.4.0-beta.1</Version>
<Version>33.0.0</Version>
<LangVersion>preview</LangVersion>
<AssemblyVersion>1.0.0</AssemblyVersion>
<PackageTags>EntityFrameworkCore, EntityFramework, GraphQL</PackageTags>
Expand Down
6 changes: 3 additions & 3 deletions src/Directory.Packages.props
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
</PropertyGroup>
<ItemGroup>
<PackageVersion Include="ConfigureAwait.Fody" Version="3.3.2" />
<PackageVersion Include="EfLocalDb" Version="20.3.1" />
<PackageVersion Include="EfLocalDb" Version="21.0.0" />
<PackageVersion Include="Fody" Version="6.9.3" />
<PackageVersion Include="graphiql" Version="2.0.0" />
<PackageVersion Include="GraphQL" Version="8.7.0" />
Expand All @@ -19,11 +19,11 @@
<PackageVersion Include="Microsoft.EntityFrameworkCore.SqlServer" Version="10.0.0" />
<PackageVersion Include="Microsoft.NET.Test.Sdk" Version="18.0.1" />
<PackageVersion Include="Microsoft.Sbom.Targets" Version="4.1.3" />
<PackageVersion Include="Polyfill" Version="8.9.1" />
<PackageVersion Include="Polyfill" Version="9.0.1" />
<PackageVersion Include="ProjectDefaults" Version="1.0.162" />
<PackageVersion Include="System.Text.Encodings.Web" Version="9.0.0" />
<PackageVersion Include="Verify.SqlServer" Version="11.2.0" />
<PackageVersion Include="Verify.XunitV3" Version="31.5.3" />
<PackageVersion Include="Verify.XunitV3" Version="31.6.0" />
<PackageVersion Include="xunit.v3" Version="3.2.0" />
<PackageVersion Include="xunit.runner.visualstudio" Version="3.1.5" />
</ItemGroup>
Expand Down
2 changes: 1 addition & 1 deletion src/GraphQL.EntityFramework/GraphQL.EntityFramework.csproj
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net9.0</TargetFramework>
<TargetFramework>net10.0</TargetFramework>
<Description>Add EntityFramework Core IQueryable support to GraphQL</Description>
<PolyNullability>true</PolyNullability>
</PropertyGroup>
Expand Down
2 changes: 2 additions & 0 deletions src/SampleWeb.Tests/GraphQlControllerTests.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
using System.Net;
using Newtonsoft.Json;
// ReSharper disable PrivateFieldCanBeConvertedToLocalVariable
#pragma warning disable ASPDEPR008
#pragma warning disable ASPDEPR004

#region GraphQlControllerTests

Expand Down
2 changes: 1 addition & 1 deletion src/SampleWeb.Tests/SampleWeb.Tests.csproj
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net9.0</TargetFramework>
<TargetFramework>net10.0</TargetFramework>
<SignAssembly>false</SignAssembly>
<OutputType>Exe</OutputType>
<NoWarn>$(NoWarn);xUnit1051</NoWarn>
Expand Down
3 changes: 2 additions & 1 deletion src/SampleWeb/Program.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
public class Program
#pragma warning disable ASPDEPR008
public class Program
{
public static Task Main()
{
Expand Down
2 changes: 1 addition & 1 deletion src/SampleWeb/SampleWeb.csproj
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk.Web">
<PropertyGroup>
<TargetFramework>net9.0</TargetFramework>
<TargetFramework>net10.0</TargetFramework>
<SignAssembly>false</SignAssembly>
</PropertyGroup>
<ItemGroup>
Expand Down
2 changes: 1 addition & 1 deletion src/Snippets/Snippets.csproj
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net9.0</TargetFramework>
<TargetFramework>net10.0</TargetFramework>
<OutputType>Exe</OutputType>
<NoWarn>$(NoWarn);xUnit1051</NoWarn>
</PropertyGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,10 @@ select p.Id,
p.Property
from ParentEntities as p
order by p.Id
offset @__p_0 rows fetch next @__p_1 rows only,
offset @p rows fetch next @p0 rows only,
Parameters: {
@__p_0: 1,
@__p_1: 2
@p: 1,
@p0: 2
}
}
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,10 @@ select p.Id,
p.Property
from ParentEntities as p
order by p.Id
offset @__p_0 rows fetch next @__p_1 rows only,
offset @p rows fetch next @p0 rows only,
Parameters: {
@__p_0: 0,
@__p_1: 2
@p: 0,
@p0: 2
}
}
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,14 +47,14 @@ from (select f.Id,
f.Property
from FilterParentEntities as f
order by f.Id
offset @__p_0 rows fetch next @__p_1 rows only) as f1
offset @p rows fetch next @p0 rows only) as f1
left outer join
FilterChildEntities as f0
on f1.Id = f0.ParentId
order by f1.Id,
Parameters: {
@__p_0: 0,
@__p_1: 10
@p: 0,
@p0: 10
}
}
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,10 @@ select f.Id,
f.Property
from FilterParentEntities as f
order by f.Id
offset @__p_0 rows fetch next @__p_1 rows only,
offset @p rows fetch next @p0 rows only,
Parameters: {
@__p_0: 0,
@__p_1: 10
@p: 0,
@p0: 10
}
}
]
Expand Down
4 changes: 2 additions & 2 deletions src/Tests/IntegrationTests/IntegrationTests.Skip.verified.txt
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ select p.Id,
p.Property
from ParentEntities as p
order by p.Property
offset @__p_0 rows,
offset @p rows,
Parameters: {
@__p_0: 1
@p: 1
}
}
}
6 changes: 3 additions & 3 deletions src/Tests/IntegrationTests/IntegrationTests.Take.verified.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@
},
sql: {
Text:
select top (@__p_0) p.Id,
p.Property
select top (@p) p.Id,
p.Property
from ParentEntities as p
order by p.Property,
Parameters: {
@__p_0: 1
@p: 1
}
}
}
2 changes: 1 addition & 1 deletion src/Tests/Tests.csproj
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net9.0</TargetFramework>
<TargetFramework>net10.0</TargetFramework>
<NoWarn>$(NoWarn);EF1000;xUnit1051</NoWarn>
<OutputType>Exe</OutputType>
<RootNamespace>testing</RootNamespace>
Expand Down