Skip to content

Commit

Permalink
Add support for Graph.NET v8 (#6423)
Browse files Browse the repository at this point in the history
## Summary of changes

Adds support for latest major of GraphQL.NET

## Reason for change

We want to support the latest versions (we're quite behind on this one)

## Implementation details

Bumped the version numbers as required

## Test coverage

Updated testing to test 8.x

## Other details

Fixes: https://datadoghq.atlassian.net/browse/AIDM-506
  • Loading branch information
andrewlock authored and veerbia committed Dec 16, 2024
1 parent e463121 commit 2a4cd1d
Show file tree
Hide file tree
Showing 22 changed files with 330 additions and 16 deletions.
5 changes: 3 additions & 2 deletions tracer/build/PackageVersionsGeneratorDefinitions.json
Original file line number Diff line number Diff line change
Expand Up @@ -180,9 +180,10 @@
"SampleProjectName": "Samples.GraphQL7",
"NugetPackageSearchName": "GraphQL",
"MinVersion": "7.0.0",
"MaxVersionExclusive": "8.0.0",
"MaxVersionExclusive": "9.0.0",
"SpecificVersions": [
"7.*.*"
"7.*.*",
"8.*.*"
],
"VersionConditions": [{
"MaxVersionExclusive": "8.0.0",
Expand Down
36 changes: 36 additions & 0 deletions tracer/build/PackageVersionsLatestMajors.g.props
Original file line number Diff line number Diff line change
Expand Up @@ -624,36 +624,72 @@ NOTE: This code was generated by the GeneratePackageVersions tool. To safely
<RequiresDockerDependency>None</RequiresDockerDependency>
<SampleName>Samples.GraphQL7</SampleName>
</PackageVersionSample>
<PackageVersionSample Include="test\test-applications\integrations\Samples.GraphQL7\Samples.GraphQL7.csproj">
<Properties>ApiVersion=8.2.1;RestoreRecursive=false;BuildProjectReferences=false</Properties>
<TargetFramework>netcoreapp3.1</TargetFramework>
<RequiresDockerDependency>None</RequiresDockerDependency>
<SampleName>Samples.GraphQL7</SampleName>
</PackageVersionSample>
<PackageVersionSample Include="test\test-applications\integrations\Samples.GraphQL7\Samples.GraphQL7.csproj">
<Properties>ApiVersion=7.9.0;RestoreRecursive=false;BuildProjectReferences=false</Properties>
<TargetFramework>net5.0</TargetFramework>
<RequiresDockerDependency>None</RequiresDockerDependency>
<SampleName>Samples.GraphQL7</SampleName>
</PackageVersionSample>
<PackageVersionSample Include="test\test-applications\integrations\Samples.GraphQL7\Samples.GraphQL7.csproj">
<Properties>ApiVersion=8.2.1;RestoreRecursive=false;BuildProjectReferences=false</Properties>
<TargetFramework>net5.0</TargetFramework>
<RequiresDockerDependency>None</RequiresDockerDependency>
<SampleName>Samples.GraphQL7</SampleName>
</PackageVersionSample>
<PackageVersionSample Include="test\test-applications\integrations\Samples.GraphQL7\Samples.GraphQL7.csproj">
<Properties>ApiVersion=7.9.0;RestoreRecursive=false;BuildProjectReferences=false</Properties>
<TargetFramework>net6.0</TargetFramework>
<RequiresDockerDependency>None</RequiresDockerDependency>
<SampleName>Samples.GraphQL7</SampleName>
</PackageVersionSample>
<PackageVersionSample Include="test\test-applications\integrations\Samples.GraphQL7\Samples.GraphQL7.csproj">
<Properties>ApiVersion=8.2.1;RestoreRecursive=false;BuildProjectReferences=false</Properties>
<TargetFramework>net6.0</TargetFramework>
<RequiresDockerDependency>None</RequiresDockerDependency>
<SampleName>Samples.GraphQL7</SampleName>
</PackageVersionSample>
<PackageVersionSample Include="test\test-applications\integrations\Samples.GraphQL7\Samples.GraphQL7.csproj">
<Properties>ApiVersion=7.9.0;RestoreRecursive=false;BuildProjectReferences=false</Properties>
<TargetFramework>net7.0</TargetFramework>
<RequiresDockerDependency>None</RequiresDockerDependency>
<SampleName>Samples.GraphQL7</SampleName>
</PackageVersionSample>
<PackageVersionSample Include="test\test-applications\integrations\Samples.GraphQL7\Samples.GraphQL7.csproj">
<Properties>ApiVersion=8.2.1;RestoreRecursive=false;BuildProjectReferences=false</Properties>
<TargetFramework>net7.0</TargetFramework>
<RequiresDockerDependency>None</RequiresDockerDependency>
<SampleName>Samples.GraphQL7</SampleName>
</PackageVersionSample>
<PackageVersionSample Include="test\test-applications\integrations\Samples.GraphQL7\Samples.GraphQL7.csproj">
<Properties>ApiVersion=7.9.0;RestoreRecursive=false;BuildProjectReferences=false</Properties>
<TargetFramework>net8.0</TargetFramework>
<RequiresDockerDependency>None</RequiresDockerDependency>
<SampleName>Samples.GraphQL7</SampleName>
</PackageVersionSample>
<PackageVersionSample Include="test\test-applications\integrations\Samples.GraphQL7\Samples.GraphQL7.csproj">
<Properties>ApiVersion=8.2.1;RestoreRecursive=false;BuildProjectReferences=false</Properties>
<TargetFramework>net8.0</TargetFramework>
<RequiresDockerDependency>None</RequiresDockerDependency>
<SampleName>Samples.GraphQL7</SampleName>
</PackageVersionSample>
<PackageVersionSample Include="test\test-applications\integrations\Samples.GraphQL7\Samples.GraphQL7.csproj">
<Properties>ApiVersion=7.9.0;RestoreRecursive=false;BuildProjectReferences=false</Properties>
<TargetFramework>net9.0</TargetFramework>
<RequiresDockerDependency>None</RequiresDockerDependency>
<SampleName>Samples.GraphQL7</SampleName>
</PackageVersionSample>
<PackageVersionSample Include="test\test-applications\integrations\Samples.GraphQL7\Samples.GraphQL7.csproj">
<Properties>ApiVersion=8.2.1;RestoreRecursive=false;BuildProjectReferences=false</Properties>
<TargetFramework>net9.0</TargetFramework>
<RequiresDockerDependency>None</RequiresDockerDependency>
<SampleName>Samples.GraphQL7</SampleName>
</PackageVersionSample>
<PackageVersionSample Include="test\test-applications\integrations\Samples.HotChocolate\Samples.HotChocolate.csproj">
<Properties>ApiVersion=11.3.8;RestoreRecursive=false;BuildProjectReferences=false</Properties>
<TargetFramework>netcoreapp3.1</TargetFramework>
Expand Down
108 changes: 108 additions & 0 deletions tracer/build/PackageVersionsLatestMinors.g.props
Original file line number Diff line number Diff line change
Expand Up @@ -4776,6 +4776,24 @@ NOTE: This code was generated by the GeneratePackageVersions tool. To safely
<RequiresDockerDependency>None</RequiresDockerDependency>
<SampleName>Samples.GraphQL7</SampleName>
</PackageVersionSample>
<PackageVersionSample Include="test\test-applications\integrations\Samples.GraphQL7\Samples.GraphQL7.csproj">
<Properties>ApiVersion=8.0.2;RestoreRecursive=false;BuildProjectReferences=false</Properties>
<TargetFramework>netcoreapp3.1</TargetFramework>
<RequiresDockerDependency>None</RequiresDockerDependency>
<SampleName>Samples.GraphQL7</SampleName>
</PackageVersionSample>
<PackageVersionSample Include="test\test-applications\integrations\Samples.GraphQL7\Samples.GraphQL7.csproj">
<Properties>ApiVersion=8.1.0;RestoreRecursive=false;BuildProjectReferences=false</Properties>
<TargetFramework>netcoreapp3.1</TargetFramework>
<RequiresDockerDependency>None</RequiresDockerDependency>
<SampleName>Samples.GraphQL7</SampleName>
</PackageVersionSample>
<PackageVersionSample Include="test\test-applications\integrations\Samples.GraphQL7\Samples.GraphQL7.csproj">
<Properties>ApiVersion=8.2.1;RestoreRecursive=false;BuildProjectReferences=false</Properties>
<TargetFramework>netcoreapp3.1</TargetFramework>
<RequiresDockerDependency>None</RequiresDockerDependency>
<SampleName>Samples.GraphQL7</SampleName>
</PackageVersionSample>
<PackageVersionSample Include="test\test-applications\integrations\Samples.GraphQL7\Samples.GraphQL7.csproj">
<Properties>ApiVersion=7.0.2;RestoreRecursive=false;BuildProjectReferences=false</Properties>
<TargetFramework>net5.0</TargetFramework>
Expand Down Expand Up @@ -4836,6 +4854,24 @@ NOTE: This code was generated by the GeneratePackageVersions tool. To safely
<RequiresDockerDependency>None</RequiresDockerDependency>
<SampleName>Samples.GraphQL7</SampleName>
</PackageVersionSample>
<PackageVersionSample Include="test\test-applications\integrations\Samples.GraphQL7\Samples.GraphQL7.csproj">
<Properties>ApiVersion=8.0.2;RestoreRecursive=false;BuildProjectReferences=false</Properties>
<TargetFramework>net5.0</TargetFramework>
<RequiresDockerDependency>None</RequiresDockerDependency>
<SampleName>Samples.GraphQL7</SampleName>
</PackageVersionSample>
<PackageVersionSample Include="test\test-applications\integrations\Samples.GraphQL7\Samples.GraphQL7.csproj">
<Properties>ApiVersion=8.1.0;RestoreRecursive=false;BuildProjectReferences=false</Properties>
<TargetFramework>net5.0</TargetFramework>
<RequiresDockerDependency>None</RequiresDockerDependency>
<SampleName>Samples.GraphQL7</SampleName>
</PackageVersionSample>
<PackageVersionSample Include="test\test-applications\integrations\Samples.GraphQL7\Samples.GraphQL7.csproj">
<Properties>ApiVersion=8.2.1;RestoreRecursive=false;BuildProjectReferences=false</Properties>
<TargetFramework>net5.0</TargetFramework>
<RequiresDockerDependency>None</RequiresDockerDependency>
<SampleName>Samples.GraphQL7</SampleName>
</PackageVersionSample>
<PackageVersionSample Include="test\test-applications\integrations\Samples.GraphQL7\Samples.GraphQL7.csproj">
<Properties>ApiVersion=7.0.2;RestoreRecursive=false;BuildProjectReferences=false</Properties>
<TargetFramework>net6.0</TargetFramework>
Expand Down Expand Up @@ -4896,6 +4932,24 @@ NOTE: This code was generated by the GeneratePackageVersions tool. To safely
<RequiresDockerDependency>None</RequiresDockerDependency>
<SampleName>Samples.GraphQL7</SampleName>
</PackageVersionSample>
<PackageVersionSample Include="test\test-applications\integrations\Samples.GraphQL7\Samples.GraphQL7.csproj">
<Properties>ApiVersion=8.0.2;RestoreRecursive=false;BuildProjectReferences=false</Properties>
<TargetFramework>net6.0</TargetFramework>
<RequiresDockerDependency>None</RequiresDockerDependency>
<SampleName>Samples.GraphQL7</SampleName>
</PackageVersionSample>
<PackageVersionSample Include="test\test-applications\integrations\Samples.GraphQL7\Samples.GraphQL7.csproj">
<Properties>ApiVersion=8.1.0;RestoreRecursive=false;BuildProjectReferences=false</Properties>
<TargetFramework>net6.0</TargetFramework>
<RequiresDockerDependency>None</RequiresDockerDependency>
<SampleName>Samples.GraphQL7</SampleName>
</PackageVersionSample>
<PackageVersionSample Include="test\test-applications\integrations\Samples.GraphQL7\Samples.GraphQL7.csproj">
<Properties>ApiVersion=8.2.1;RestoreRecursive=false;BuildProjectReferences=false</Properties>
<TargetFramework>net6.0</TargetFramework>
<RequiresDockerDependency>None</RequiresDockerDependency>
<SampleName>Samples.GraphQL7</SampleName>
</PackageVersionSample>
<PackageVersionSample Include="test\test-applications\integrations\Samples.GraphQL7\Samples.GraphQL7.csproj">
<Properties>ApiVersion=7.0.2;RestoreRecursive=false;BuildProjectReferences=false</Properties>
<TargetFramework>net7.0</TargetFramework>
Expand Down Expand Up @@ -4956,6 +5010,24 @@ NOTE: This code was generated by the GeneratePackageVersions tool. To safely
<RequiresDockerDependency>None</RequiresDockerDependency>
<SampleName>Samples.GraphQL7</SampleName>
</PackageVersionSample>
<PackageVersionSample Include="test\test-applications\integrations\Samples.GraphQL7\Samples.GraphQL7.csproj">
<Properties>ApiVersion=8.0.2;RestoreRecursive=false;BuildProjectReferences=false</Properties>
<TargetFramework>net7.0</TargetFramework>
<RequiresDockerDependency>None</RequiresDockerDependency>
<SampleName>Samples.GraphQL7</SampleName>
</PackageVersionSample>
<PackageVersionSample Include="test\test-applications\integrations\Samples.GraphQL7\Samples.GraphQL7.csproj">
<Properties>ApiVersion=8.1.0;RestoreRecursive=false;BuildProjectReferences=false</Properties>
<TargetFramework>net7.0</TargetFramework>
<RequiresDockerDependency>None</RequiresDockerDependency>
<SampleName>Samples.GraphQL7</SampleName>
</PackageVersionSample>
<PackageVersionSample Include="test\test-applications\integrations\Samples.GraphQL7\Samples.GraphQL7.csproj">
<Properties>ApiVersion=8.2.1;RestoreRecursive=false;BuildProjectReferences=false</Properties>
<TargetFramework>net7.0</TargetFramework>
<RequiresDockerDependency>None</RequiresDockerDependency>
<SampleName>Samples.GraphQL7</SampleName>
</PackageVersionSample>
<PackageVersionSample Include="test\test-applications\integrations\Samples.GraphQL7\Samples.GraphQL7.csproj">
<Properties>ApiVersion=7.0.2;RestoreRecursive=false;BuildProjectReferences=false</Properties>
<TargetFramework>net8.0</TargetFramework>
Expand Down Expand Up @@ -5016,6 +5088,24 @@ NOTE: This code was generated by the GeneratePackageVersions tool. To safely
<RequiresDockerDependency>None</RequiresDockerDependency>
<SampleName>Samples.GraphQL7</SampleName>
</PackageVersionSample>
<PackageVersionSample Include="test\test-applications\integrations\Samples.GraphQL7\Samples.GraphQL7.csproj">
<Properties>ApiVersion=8.0.2;RestoreRecursive=false;BuildProjectReferences=false</Properties>
<TargetFramework>net8.0</TargetFramework>
<RequiresDockerDependency>None</RequiresDockerDependency>
<SampleName>Samples.GraphQL7</SampleName>
</PackageVersionSample>
<PackageVersionSample Include="test\test-applications\integrations\Samples.GraphQL7\Samples.GraphQL7.csproj">
<Properties>ApiVersion=8.1.0;RestoreRecursive=false;BuildProjectReferences=false</Properties>
<TargetFramework>net8.0</TargetFramework>
<RequiresDockerDependency>None</RequiresDockerDependency>
<SampleName>Samples.GraphQL7</SampleName>
</PackageVersionSample>
<PackageVersionSample Include="test\test-applications\integrations\Samples.GraphQL7\Samples.GraphQL7.csproj">
<Properties>ApiVersion=8.2.1;RestoreRecursive=false;BuildProjectReferences=false</Properties>
<TargetFramework>net8.0</TargetFramework>
<RequiresDockerDependency>None</RequiresDockerDependency>
<SampleName>Samples.GraphQL7</SampleName>
</PackageVersionSample>
<PackageVersionSample Include="test\test-applications\integrations\Samples.GraphQL7\Samples.GraphQL7.csproj">
<Properties>ApiVersion=7.0.2;RestoreRecursive=false;BuildProjectReferences=false</Properties>
<TargetFramework>net9.0</TargetFramework>
Expand Down Expand Up @@ -5076,6 +5166,24 @@ NOTE: This code was generated by the GeneratePackageVersions tool. To safely
<RequiresDockerDependency>None</RequiresDockerDependency>
<SampleName>Samples.GraphQL7</SampleName>
</PackageVersionSample>
<PackageVersionSample Include="test\test-applications\integrations\Samples.GraphQL7\Samples.GraphQL7.csproj">
<Properties>ApiVersion=8.0.2;RestoreRecursive=false;BuildProjectReferences=false</Properties>
<TargetFramework>net9.0</TargetFramework>
<RequiresDockerDependency>None</RequiresDockerDependency>
<SampleName>Samples.GraphQL7</SampleName>
</PackageVersionSample>
<PackageVersionSample Include="test\test-applications\integrations\Samples.GraphQL7\Samples.GraphQL7.csproj">
<Properties>ApiVersion=8.1.0;RestoreRecursive=false;BuildProjectReferences=false</Properties>
<TargetFramework>net9.0</TargetFramework>
<RequiresDockerDependency>None</RequiresDockerDependency>
<SampleName>Samples.GraphQL7</SampleName>
</PackageVersionSample>
<PackageVersionSample Include="test\test-applications\integrations\Samples.GraphQL7\Samples.GraphQL7.csproj">
<Properties>ApiVersion=8.2.1;RestoreRecursive=false;BuildProjectReferences=false</Properties>
<TargetFramework>net9.0</TargetFramework>
<RequiresDockerDependency>None</RequiresDockerDependency>
<SampleName>Samples.GraphQL7</SampleName>
</PackageVersionSample>
<PackageVersionSample Include="test\test-applications\integrations\Samples.HotChocolate\Samples.HotChocolate.csproj">
<Properties>ApiVersion=11.0.9;RestoreRecursive=false;BuildProjectReferences=false</Properties>
<TargetFramework>netcoreapp3.1</TargetFramework>
Expand Down
Loading

0 comments on commit 2a4cd1d

Please sign in to comment.