Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: ChilliCream/graphql-platform
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 12.4.1
Choose a base ref
...
head repository: ChilliCream/graphql-platform
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 12.5.0
Choose a head ref

Commits on Dec 15, 2021

  1. Copy the full SHA
    2274110 View commit details

Commits on Dec 16, 2021

  1. Copy the full SHA
    2a43387 View commit details
  2. Copy the full SHA
    0696d7e View commit details
  3. Copy the full SHA
    73c20fa View commit details

Commits on Dec 17, 2021

  1. Copy the full SHA
    0217585 View commit details
  2. Copy the full SHA
    ee74299 View commit details

Commits on Dec 19, 2021

  1. Copy the full SHA
    f12d502 View commit details
  2. Copy the full SHA
    4d792b1 View commit details

Commits on Dec 21, 2021

  1. Copy the full SHA
    1413abe View commit details
  2. Copy the full SHA
    3217ebd View commit details

Commits on Dec 22, 2021

  1. Added Schema Coordinates (#4582)

    Co-authored-by: Michael Staib <michael@chillicream.com>
    PascalSenn and michaelstaib authored Dec 22, 2021
    Copy the full SHA
    aed915f View commit details
  2. Copy the full SHA
    7c744da View commit details
  3. Copy the full SHA
    2ba023b View commit details

Commits on Dec 23, 2021

  1. Copy the full SHA
    61b9e6a View commit details

Commits on Dec 25, 2021

  1. Copy the full SHA
    6ff9f97 View commit details

Commits on Dec 30, 2021

  1. Copy the full SHA
    329a57a View commit details

Commits on Jan 1, 2022

  1. Copy the full SHA
    bd1b7bf View commit details
  2. Copy the full SHA
    aa6d1bb View commit details
  3. Copy the full SHA
    dd90681 View commit details

Commits on Jan 5, 2022

  1. Copy the full SHA
    9d7abcf View commit details
  2. Copy the full SHA
    f083b06 View commit details
  3. Copy the full SHA
    1449894 View commit details
  4. Copy the full SHA
    9ba3adc View commit details
  5. Copy the full SHA
    3cc5cc3 View commit details
  6. Copy the full SHA
    cdec7f7 View commit details
  7. Copy the full SHA
    8e2acb4 View commit details
  8. Copy the full SHA
    33a4613 View commit details
  9. Copy the full SHA
    959a8be View commit details

Commits on Jan 6, 2022

  1. Added Disclaimer

    michaelstaib committed Jan 6, 2022
    Copy the full SHA
    e0c35f7 View commit details
  2. Copy the full SHA
    719c9c6 View commit details
  3. Copy the full SHA
    f9267dc View commit details
  4. Copy the full SHA
    b5c8cd0 View commit details
  5. Removed Obsolete APIs

    michaelstaib committed Jan 6, 2022
    Copy the full SHA
    3c7deca View commit details
  6. Copy the full SHA
    50ad195 View commit details
  7. Added more tests

    michaelstaib committed Jan 6, 2022
    Copy the full SHA
    1f686d1 View commit details
  8. Copy the full SHA
    2b39ed9 View commit details
  9. Copy the full SHA
    11a3c2f View commit details
  10. Copy the full SHA
    7d5657c View commit details
  11. Copy the full SHA
    ad16765 View commit details
  12. Copy the full SHA
    6aee856 View commit details

Commits on Jan 10, 2022

  1. Copy the full SHA
    b66809c View commit details

Commits on Jan 12, 2022

  1. Copy the full SHA
    f117e55 View commit details

Commits on Jan 13, 2022

  1. Updated BCP preview links

    rstaib committed Jan 13, 2022
    Copy the full SHA
    88468a9 View commit details
  2. Copy the full SHA
    a438e83 View commit details
  3. Copy the full SHA
    99e4b0e View commit details
  4. Copy the full SHA
    649ee26 View commit details
  5. Handle if errors prop exsits even if we have an response exception (#…

    …3928)
    
    Co-authored-by: Pascal Senn <senn.pasc@gmail.com>
    allmightyse and PascalSenn authored Jan 13, 2022
    Copy the full SHA
    b5aebd6 View commit details
Showing 1,688 changed files with 76,263 additions and 30,013 deletions.
26 changes: 26 additions & 0 deletions .build/.vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"version": "0.2.0",
"configurations": [
{
// Use IntelliSense to find out which attributes exist for C# debugging
// Use hover for the description of the existing attributes
// For further information visit https://github.com/OmniSharp/omnisharp-vscode/blob/master/debugger-launchjson.md
"name": ".NET Core Launch (console)",
"type": "coreclr",
"request": "launch",
"preLaunchTask": "build",
// If you have changed target frameworks, make sure to update the program path.
"program": "${workspaceFolder}/bin/Debug/net6.0/Build.dll",
"args": [],
"cwd": "${workspaceFolder}",
// For more information about the 'console' field, see https://aka.ms/VSCode-CS-LaunchJson-Console
"console": "internalConsole",
"stopAtEntry": false
},
{
"name": ".NET Core Attach",
"type": "coreclr",
"request": "attach"
}
]
}
2 changes: 2 additions & 0 deletions .build/Build.GitHub.cs
Original file line number Diff line number Diff line change
@@ -5,6 +5,8 @@ partial class Build
{
[Parameter] readonly string GitHubToken;

[Parameter] readonly string CodeCovToken;

/// <summary>
/// ChilliCream/hotchocolate
/// </summary>
4 changes: 2 additions & 2 deletions .build/Build.Publish.cs
Original file line number Diff line number Diff line change
@@ -63,10 +63,10 @@ partial class Build

DotNetPack(c => c
.SetProject(PackSolutionFile)
.SetNoRestore(true)
.SetNoBuild(true)
.SetConfiguration(Configuration)
.SetOutputDirectory(PackageDirectory)
.SetNoRestore(true)
.SetNoBuild(true)
.SetVersion(GitVersion.SemVer));

NuGetPack(c => c
27 changes: 18 additions & 9 deletions .build/Build.Sonar.cs
Original file line number Diff line number Diff line change
@@ -34,10 +34,14 @@ partial class Build

SonarScannerBegin(SonarBeginPrSettings);
DotNetBuild(SonarBuildAll);
DotNetTest(
c => CoverNoBuildSettingsOnlyNet60(c, CoverProjects),
degreeOfParallelism: DegreeOfParallelism,
completeOnFailure: true);
try
{
DotNetTest(
c => CoverNoBuildSettingsOnlyNet60(c, CoverProjects),
degreeOfParallelism: DegreeOfParallelism,
completeOnFailure: true);
}
catch { }
SonarScannerEnd(SonarEndSettings);
});

@@ -56,10 +60,14 @@ partial class Build

SonarScannerBegin(SonarBeginFullSettings);
DotNetBuild(SonarBuildAll);
DotNetTest(
c => CoverNoBuildSettingsOnlyNet60(c, CoverProjects),
degreeOfParallelism: DegreeOfParallelism,
completeOnFailure: true);
try
{
DotNetTest(
c => CoverNoBuildSettingsOnlyNet60(c, CoverProjects),
degreeOfParallelism: DegreeOfParallelism,
completeOnFailure: true);
}
catch { }
SonarScannerEnd(SonarEndSettings);
});

@@ -109,7 +117,8 @@ DotNetBuildSettings SonarBuildAll(DotNetBuildSettings settings) =>
.SetProjectFile(SonarSolutionFile)
.SetNoRestore(true)
.SetConfiguration(Debug)
.SetProcessWorkingDirectory(RootDirectory);
.SetProcessWorkingDirectory(RootDirectory)
.SetFramework(Net60);

bool IsRelevantForSonar(string fileName)
=> !ExcludedCover.Contains(GetFileNameWithoutExtension(fileName));
50 changes: 39 additions & 11 deletions .build/Build.Tests.cs
Original file line number Diff line number Diff line change
@@ -1,19 +1,24 @@
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reflection;
using Nuke.Common;
using Nuke.Common.CI;
using Nuke.Common.CI.AzurePipelines;
using Nuke.Common.IO;
using Nuke.Common.ProjectModel;
using Nuke.Common.Tooling;
using Nuke.Common.Tools.Codecov;
using Nuke.Common.Tools.Coverlet;
using Nuke.Common.Tools.DotNet;
using Nuke.Common.Tools.ReportGenerator;
using Nuke.Common.Utilities.Collections;
using static Nuke.Common.Tools.DotNet.DotNetTasks;
using static Nuke.Common.Tools.ReportGenerator.ReportGeneratorTasks;
using static Nuke.Common.Tools.Codecov.CodecovTasks;
using static Helpers;
using System;
using System.Diagnostics;

partial class Build
{
@@ -67,11 +72,7 @@ partial class Build
}
finally
{
TestResultDirectory.GlobFiles("*.trx").ForEach(x =>
DevOpsPipeLine?.PublishTestResults(
type: AzurePipelinesTestResultsType.VSTest,
title: $"{Path.GetFileNameWithoutExtension(x)} ({DevOpsPipeLine.StageDisplayName})",
files: new string[] { x }));
UploadTestsAndMismatches();
}
});

@@ -97,11 +98,7 @@ partial class Build
}
finally
{
TestResultDirectory.GlobFiles("*.trx").ForEach(x =>
DevOpsPipeLine?.PublishTestResults(
type: AzurePipelinesTestResultsType.VSTest,
title: $"{Path.GetFileNameWithoutExtension(x)} ({DevOpsPipeLine.StageDisplayName})",
files: new string[] { x }));
UploadTestsAndMismatches();
}
});

@@ -116,7 +113,7 @@ partial class Build
.SetTargetDirectory(CoverageReportDirectory)
.SetAssemblyFilters("-*Tests"));

if (DevOpsPipeLine is { })
if (DevOpsPipeLine is not null)
{
CoverageReportDirectory.GlobFiles("*.xml").ForEach(x =>
DevOpsPipeLine.PublishCodeCoverage(
@@ -165,4 +162,35 @@ DotNetTestSettings TestBaseSettings(DotNetTestSettings settings) =>
.SetNoBuild(true)
.ResetVerbosity()
.SetResultsDirectory(TestResultDirectory);

void UploadTestsAndMismatches()
{
if (DevOpsPipeLine is not null)
{
TestResultDirectory.GlobFiles("*.trx")
.ForEach(x =>
DevOpsPipeLine.PublishTestResults(
type: AzurePipelinesTestResultsType.VSTest,
title: $"{Path.GetFileNameWithoutExtension(x)} ({DevOpsPipeLine.StageDisplayName})",
files: new string[] { x }));

string uploadDir = Path.Combine(RootDirectory, "mismatch");

if (!Directory.Exists(uploadDir))
{
Directory.CreateDirectory(uploadDir);
}

foreach (string mismatchDir in Directory.GetDirectories(
RootDirectory, "__mismatch__", SearchOption.AllDirectories))
{
foreach (string snapshot in Directory.GetFiles(mismatchDir, "*.*"))
{
File.Copy(snapshot, Path.Combine(uploadDir, Path.GetFileName(snapshot)));
}
}

DevOpsPipeLine.UploadArtifacts("foo", "__mismatch__", uploadDir);
}
}
}
4 changes: 2 additions & 2 deletions .build/Build.csproj
Original file line number Diff line number Diff line change
@@ -17,8 +17,8 @@

<ItemGroup>
<PackageDownload Include="GitVersion.Tool" Version="[5.8.1]" />
<PackageDownload Include="NuGet.CommandLine" Version="[5.11.0]" />
<PackageDownload Include="dotnet-sonarscanner" Version="[5.3.2]" />
<PackageDownload Include="NuGet.CommandLine" Version="[6.0.0]" />
<PackageDownload Include="dotnet-sonarscanner" Version="[5.4.0]" />
<PackageDownload Include="OpenCover" Version="[4.7.1221]" />
<PackageDownload Include="ReportGenerator" Version="[5.0.0]" />
<PackageDownload Include="xunit.runner.console" Version="[2.4.1]" />
1 change: 1 addition & 0 deletions .build/Helpers.cs
Original file line number Diff line number Diff line change
@@ -16,6 +16,7 @@ class Helpers
Path.Combine("HotChocolate", "AzureFunctions"),
Path.Combine("HotChocolate", "Core"),
Path.Combine("HotChocolate", "CodeGeneration"),
Path.Combine("HotChocolate", "Diagnostics"),
Path.Combine("HotChocolate", "Language"),
Path.Combine("HotChocolate", "PersistedQueries"),
Path.Combine("HotChocolate", "Utilities"),
19 changes: 0 additions & 19 deletions .github/workflows/check-public-api.yml

This file was deleted.

3 changes: 3 additions & 0 deletions .nuke/build.schema.json
Original file line number Diff line number Diff line change
@@ -9,6 +9,9 @@
"Breaking": {
"type": "boolean"
},
"CodeCovToken": {
"type": "string"
},
"Configuration": {
"type": "string",
"description": "Configuration to build - Default is 'Debug' (local) or 'Release' (server)"
Loading