Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP: Produce Fusion errors during compose step #7439

Draft
wants to merge 22 commits into
base: main
Choose a base branch
from
Draft
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
6 changes: 4 additions & 2 deletions src/HotChocolate/Core/src/Execution/Processing/PathHelper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,11 @@ public static Path CreatePathFromContext(ISelection selection, ResultData parent
_ => throw new NotSupportedException($"{parent.GetType().FullName} is not a supported parent type."),
};

public static Path CombinePath(Path path, JsonElement errorSubPath, int skipSubElements)
public static Path CreatePathFromJson(JsonElement errorSubPath)
{
for (var i = skipSubElements; i < errorSubPath.GetArrayLength(); i++)
var path = Path.Root;

for (var i = 0; i < errorSubPath.GetArrayLength(); i++)
{
path = errorSubPath[i] switch
{
Expand Down
158 changes: 158 additions & 0 deletions src/HotChocolate/Fusion/src/Core/Execution/ErrorTrie.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,158 @@
using System.Diagnostics;
using System.Text;
using HotChocolate.Fusion.Planning;

namespace HotChocolate.Fusion.Execution;

internal class ErrorTrie : Dictionary<object, ErrorTrie>
{
public List<IError>? Errors { get; private set; }

/// <summary>
/// Traverses this <see cref="ErrorTrie"/> and returns the first error it finds.
/// </summary>
public IError? GetFirstError()
{
var stack = new Stack<ErrorTrie>();
stack.Push(this);

while (stack.TryPop(out var currentErrorTrie))
{
if (currentErrorTrie.Errors?.FirstOrDefault() is { } error)
{
return error;
}

foreach (var value in currentErrorTrie.Values)
{
stack.Push(value);
}
}

return null;
}

/// <summary>
/// Creates an <see cref="ErrorTrie"/> from the given <paramref name="errors"/>,
/// using the <see cref="Path"/> of each error to build the trie.
/// </summary>
/// <remarks>
/// Errors without a path are added to the root of the trie.
/// </remarks>
public static ErrorTrie FromErrors(List<IError> errors)
{
var root = new ErrorTrie();

foreach (var error in errors)
{
if (error.Path is null)
{
root.AddError(error);
continue;
}

var pathSegments = error.Path.ToList();

var currentTrie = root;
var lastPathIndex = pathSegments.Count - 1;

for (var i = 0; i < pathSegments.Count; i++)
{
var pathSegment = pathSegments[i];

if (currentTrie.TryGetValue(pathSegment, out var trieAtPath))
{
currentTrie = trieAtPath;
}
else
{
var newTrie = new ErrorTrie();
currentTrie[pathSegment] = newTrie;
currentTrie = newTrie;
}

if (i == lastPathIndex)
{
currentTrie.AddError(error);
}
}
}

return root;
}

/// <summary>
/// Creates a new <see cref="ErrorTrie"/> with an entry for each item in
/// <paramref name="rootSelections"/>, containing the specified <paramref name="error"/>.
/// </summary>
public static ErrorTrie FromSelections(IError error, List<RootSelection> rootSelections)
{
var errorTrie = new ErrorTrie();

foreach (var rootSelection in rootSelections)
{
var errorTrieForSubfield = new ErrorTrie();
errorTrieForSubfield.AddError(error);

errorTrie.Add(rootSelection.Selection.ResponseName, errorTrieForSubfield);
}

return errorTrie;
}

// TODO: Better name and summary
/// <summary>

Check failure on line 104 in src/HotChocolate/Fusion/src/Core/Execution/ErrorTrie.cs

View workflow job for this annotation

GitHub Actions / Run CookieCrumble.Tests

Add summary to documentation comment (https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1138)

Check failure on line 104 in src/HotChocolate/Fusion/src/Core/Execution/ErrorTrie.cs

View workflow job for this annotation

GitHub Actions / Run CookieCrumble.Tests

Add summary to documentation comment (https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1138)

Check failure on line 104 in src/HotChocolate/Fusion/src/Core/Execution/ErrorTrie.cs

View workflow job for this annotation

GitHub Actions / Run HotChocolate.AspNetCore.CommandLine.Tests

Add summary to documentation comment (https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1138)

Check failure on line 104 in src/HotChocolate/Fusion/src/Core/Execution/ErrorTrie.cs

View workflow job for this annotation

GitHub Actions / Run HotChocolate.AspNetCore.CommandLine.Tests

Add summary to documentation comment (https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1138)

Check failure on line 104 in src/HotChocolate/Fusion/src/Core/Execution/ErrorTrie.cs

View workflow job for this annotation

GitHub Actions / Run HotChocolate.Caching.Tests

Add summary to documentation comment (https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1138)

Check failure on line 104 in src/HotChocolate/Fusion/src/Core/Execution/ErrorTrie.cs

View workflow job for this annotation

GitHub Actions / Run HotChocolate.Caching.Tests

Add summary to documentation comment (https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1138)

Check failure on line 104 in src/HotChocolate/Fusion/src/Core/Execution/ErrorTrie.cs

View workflow job for this annotation

GitHub Actions / Run HotChocolate.Language.SyntaxTree.Tests

Add summary to documentation comment (https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1138)

Check failure on line 104 in src/HotChocolate/Fusion/src/Core/Execution/ErrorTrie.cs

View workflow job for this annotation

GitHub Actions / Run HotChocolate.Language.SyntaxTree.Tests

Add summary to documentation comment (https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1138)

Check failure on line 104 in src/HotChocolate/Fusion/src/Core/Execution/ErrorTrie.cs

View workflow job for this annotation

GitHub Actions / Run HotChocolate.Language.Tests

Add summary to documentation comment (https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1138)

Check failure on line 104 in src/HotChocolate/Fusion/src/Core/Execution/ErrorTrie.cs

View workflow job for this annotation

GitHub Actions / Run HotChocolate.Language.Tests

Add summary to documentation comment (https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1138)

Check failure on line 104 in src/HotChocolate/Fusion/src/Core/Execution/ErrorTrie.cs

View workflow job for this annotation

GitHub Actions / Run HotChocolate.Abstractions.Tests

Add summary to documentation comment (https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1138)

Check failure on line 104 in src/HotChocolate/Fusion/src/Core/Execution/ErrorTrie.cs

View workflow job for this annotation

GitHub Actions / Run HotChocolate.Abstractions.Tests

Add summary to documentation comment (https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1138)

Check failure on line 104 in src/HotChocolate/Fusion/src/Core/Execution/ErrorTrie.cs

View workflow job for this annotation

GitHub Actions / Run HotChocolate.PersistedOperations.FileSystem.Tests

Add summary to documentation comment (https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1138)

Check failure on line 104 in src/HotChocolate/Fusion/src/Core/Execution/ErrorTrie.cs

View workflow job for this annotation

GitHub Actions / Run HotChocolate.PersistedOperations.FileSystem.Tests

Add summary to documentation comment (https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1138)

Check failure on line 104 in src/HotChocolate/Fusion/src/Core/Execution/ErrorTrie.cs

View workflow job for this annotation

GitHub Actions / Run HotChocolate.ApolloFederation.Tests

Add summary to documentation comment (https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1138)

Check failure on line 104 in src/HotChocolate/Fusion/src/Core/Execution/ErrorTrie.cs

View workflow job for this annotation

GitHub Actions / Run HotChocolate.ApolloFederation.Tests

Add summary to documentation comment (https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1138)

Check failure on line 104 in src/HotChocolate/Fusion/src/Core/Execution/ErrorTrie.cs

View workflow job for this annotation

GitHub Actions / Run HotChocolate.Data.Projections.Tests

Add summary to documentation comment (https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1138)

Check failure on line 104 in src/HotChocolate/Fusion/src/Core/Execution/ErrorTrie.cs

View workflow job for this annotation

GitHub Actions / Run HotChocolate.Data.Projections.Tests

Add summary to documentation comment (https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1138)

Check failure on line 104 in src/HotChocolate/Fusion/src/Core/Execution/ErrorTrie.cs

View workflow job for this annotation

GitHub Actions / Run HotChocolate.PersistedOperations.InMemory.Tests

Add summary to documentation comment (https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1138)

Check failure on line 104 in src/HotChocolate/Fusion/src/Core/Execution/ErrorTrie.cs

View workflow job for this annotation

GitHub Actions / Run HotChocolate.PersistedOperations.InMemory.Tests

Add summary to documentation comment (https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1138)

Check failure on line 104 in src/HotChocolate/Fusion/src/Core/Execution/ErrorTrie.cs

View workflow job for this annotation

GitHub Actions / Run HotChocolate.StarWars.Tests

Add summary to documentation comment (https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1138)

Check failure on line 104 in src/HotChocolate/Fusion/src/Core/Execution/ErrorTrie.cs

View workflow job for this annotation

GitHub Actions / Run HotChocolate.StarWars.Tests

Add summary to documentation comment (https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1138)

Check failure on line 104 in src/HotChocolate/Fusion/src/Core/Execution/ErrorTrie.cs

View workflow job for this annotation

GitHub Actions / Run HotChocolate.Authorization.Tests

Add summary to documentation comment (https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1138)

Check failure on line 104 in src/HotChocolate/Fusion/src/Core/Execution/ErrorTrie.cs

View workflow job for this annotation

GitHub Actions / Run HotChocolate.Authorization.Tests

Add summary to documentation comment (https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1138)

Check failure on line 104 in src/HotChocolate/Fusion/src/Core/Execution/ErrorTrie.cs

View workflow job for this annotation

GitHub Actions / Run HotChocolate.CostAnalysis.Tests

Add summary to documentation comment (https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1138)

Check failure on line 104 in src/HotChocolate/Fusion/src/Core/Execution/ErrorTrie.cs

View workflow job for this annotation

GitHub Actions / Run HotChocolate.CostAnalysis.Tests

Add summary to documentation comment (https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1138)

Check failure on line 104 in src/HotChocolate/Fusion/src/Core/Execution/ErrorTrie.cs

View workflow job for this annotation

GitHub Actions / Run HotChocolate.Diagnostics.Tests

Add summary to documentation comment (https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1138)

Check failure on line 104 in src/HotChocolate/Fusion/src/Core/Execution/ErrorTrie.cs

View workflow job for this annotation

GitHub Actions / Run HotChocolate.Diagnostics.Tests

Add summary to documentation comment (https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1138)

Check failure on line 104 in src/HotChocolate/Fusion/src/Core/Execution/ErrorTrie.cs

View workflow job for this annotation

GitHub Actions / Run HotChocolate.Types.Mutations.Tests

Add summary to documentation comment (https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1138)

Check failure on line 104 in src/HotChocolate/Fusion/src/Core/Execution/ErrorTrie.cs

View workflow job for this annotation

GitHub Actions / Run HotChocolate.Types.Mutations.Tests

Add summary to documentation comment (https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1138)

Check failure on line 104 in src/HotChocolate/Fusion/src/Core/Execution/ErrorTrie.cs

View workflow job for this annotation

GitHub Actions / Run HotChocolate.AspNetCore.Tests

Add summary to documentation comment (https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1138)

Check failure on line 104 in src/HotChocolate/Fusion/src/Core/Execution/ErrorTrie.cs

View workflow job for this annotation

GitHub Actions / Run HotChocolate.AspNetCore.Tests

Add summary to documentation comment (https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1138)

Check failure on line 104 in src/HotChocolate/Fusion/src/Core/Execution/ErrorTrie.cs

View workflow job for this annotation

GitHub Actions / Run HotChocolate.Data.Spatial.Tests

Add summary to documentation comment (https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1138)

Check failure on line 104 in src/HotChocolate/Fusion/src/Core/Execution/ErrorTrie.cs

View workflow job for this annotation

GitHub Actions / Run HotChocolate.Data.Spatial.Tests

Add summary to documentation comment (https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1138)

Check failure on line 104 in src/HotChocolate/Fusion/src/Core/Execution/ErrorTrie.cs

View workflow job for this annotation

GitHub Actions / Run HotChocolate.Fusion.Tests

Add summary to documentation comment (https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1138)

Check failure on line 104 in src/HotChocolate/Fusion/src/Core/Execution/ErrorTrie.cs

View workflow job for this annotation

GitHub Actions / Run HotChocolate.Fusion.Tests

Add summary to documentation comment (https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1138)

Check failure on line 104 in src/HotChocolate/Fusion/src/Core/Execution/ErrorTrie.cs

View workflow job for this annotation

GitHub Actions / Run HotChocolate.PersistedOperations.Redis.Tests

Add summary to documentation comment (https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1138)

Check failure on line 104 in src/HotChocolate/Fusion/src/Core/Execution/ErrorTrie.cs

View workflow job for this annotation

GitHub Actions / Run HotChocolate.PersistedOperations.Redis.Tests

Add summary to documentation comment (https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1138)

Check failure on line 104 in src/HotChocolate/Fusion/src/Core/Execution/ErrorTrie.cs

View workflow job for this annotation

GitHub Actions / Run HotChocolate.Utilities.Tests

Add summary to documentation comment (https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1138)

Check failure on line 104 in src/HotChocolate/Fusion/src/Core/Execution/ErrorTrie.cs

View workflow job for this annotation

GitHub Actions / Run HotChocolate.Utilities.Tests

Add summary to documentation comment (https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1138)

Check failure on line 104 in src/HotChocolate/Fusion/src/Core/Execution/ErrorTrie.cs

View workflow job for this annotation

GitHub Actions / Run HotChocolate.Language.Web.Tests

Add summary to documentation comment (https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1138)

Check failure on line 104 in src/HotChocolate/Fusion/src/Core/Execution/ErrorTrie.cs

View workflow job for this annotation

GitHub Actions / Run HotChocolate.Language.Web.Tests

Add summary to documentation comment (https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1138)

Check failure on line 104 in src/HotChocolate/Fusion/src/Core/Execution/ErrorTrie.cs

View workflow job for this annotation

GitHub Actions / Run HotChocolate.Subscriptions.InMemory.Tests

Add summary to documentation comment (https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1138)

Check failure on line 104 in src/HotChocolate/Fusion/src/Core/Execution/ErrorTrie.cs

View workflow job for this annotation

GitHub Actions / Run HotChocolate.Subscriptions.InMemory.Tests

Add summary to documentation comment (https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1138)

Check failure on line 104 in src/HotChocolate/Fusion/src/Core/Execution/ErrorTrie.cs

View workflow job for this annotation

GitHub Actions / Run Data.Marten.Sorting.Tests

Add summary to documentation comment (https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1138)

Check failure on line 104 in src/HotChocolate/Fusion/src/Core/Execution/ErrorTrie.cs

View workflow job for this annotation

GitHub Actions / Run Data.Marten.Sorting.Tests

Add summary to documentation comment (https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1138)

Check failure on line 104 in src/HotChocolate/Fusion/src/Core/Execution/ErrorTrie.cs

View workflow job for this annotation

GitHub Actions / Run HotChocolate.Subscriptions.Tests

Add summary to documentation comment (https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1138)

Check failure on line 104 in src/HotChocolate/Fusion/src/Core/Execution/ErrorTrie.cs

View workflow job for this annotation

GitHub Actions / Run HotChocolate.Subscriptions.Tests

Add summary to documentation comment (https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1138)

Check failure on line 104 in src/HotChocolate/Fusion/src/Core/Execution/ErrorTrie.cs

View workflow job for this annotation

GitHub Actions / Run HotChocolate.Fusion.Abstractions.Tests

Add summary to documentation comment (https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1138)

Check failure on line 104 in src/HotChocolate/Fusion/src/Core/Execution/ErrorTrie.cs

View workflow job for this annotation

GitHub Actions / Run HotChocolate.Fusion.Abstractions.Tests

Add summary to documentation comment (https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1138)

Check failure on line 104 in src/HotChocolate/Fusion/src/Core/Execution/ErrorTrie.cs

View workflow job for this annotation

GitHub Actions / Run HotChocolate.Pagination.EntityFramework.Tests

Add summary to documentation comment (https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1138)

Check failure on line 104 in src/HotChocolate/Fusion/src/Core/Execution/ErrorTrie.cs

View workflow job for this annotation

GitHub Actions / Run HotChocolate.Pagination.EntityFramework.Tests

Add summary to documentation comment (https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1138)

Check failure on line 104 in src/HotChocolate/Fusion/src/Core/Execution/ErrorTrie.cs

View workflow job for this annotation

GitHub Actions / Run HotChocolate.Subscriptions.Nats.Tests

Add summary to documentation comment (https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1138)

Check failure on line 104 in src/HotChocolate/Fusion/src/Core/Execution/ErrorTrie.cs

View workflow job for this annotation

GitHub Actions / Run HotChocolate.Subscriptions.Nats.Tests

Add summary to documentation comment (https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1138)

Check failure on line 104 in src/HotChocolate/Fusion/src/Core/Execution/ErrorTrie.cs

View workflow job for this annotation

GitHub Actions / Run HotChocolate.Transport.Http.Tests

Add summary to documentation comment (https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1138)

Check failure on line 104 in src/HotChocolate/Fusion/src/Core/Execution/ErrorTrie.cs

View workflow job for this annotation

GitHub Actions / Run HotChocolate.Transport.Http.Tests

Add summary to documentation comment (https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1138)

Check failure on line 104 in src/HotChocolate/Fusion/src/Core/Execution/ErrorTrie.cs

View workflow job for this annotation

GitHub Actions / Run HotChocolate.Types.Records.Tests

Add summary to documentation comment (https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1138)

Check failure on line 104 in src/HotChocolate/Fusion/src/Core/Execution/ErrorTrie.cs

View workflow job for this annotation

GitHub Actions / Run HotChocolate.Types.Records.Tests

Add summary to documentation comment (https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1138)

Check failure on line 104 in src/HotChocolate/Fusion/src/Core/Execution/ErrorTrie.cs

View workflow job for this annotation

GitHub Actions / Run HotChocolate.Subscriptions.Postgres.Tests

Add summary to documentation comment (https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1138)

Check failure on line 104 in src/HotChocolate/Fusion/src/Core/Execution/ErrorTrie.cs

View workflow job for this annotation

GitHub Actions / Run HotChocolate.Subscriptions.Postgres.Tests

Add summary to documentation comment (https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1138)

Check failure on line 104 in src/HotChocolate/Fusion/src/Core/Execution/ErrorTrie.cs

View workflow job for this annotation

GitHub Actions / Run StrawberryShake.Core.Tests

Add summary to documentation comment (https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1138)

Check failure on line 104 in src/HotChocolate/Fusion/src/Core/Execution/ErrorTrie.cs

View workflow job for this annotation

GitHub Actions / Run StrawberryShake.Core.Tests

Add summary to documentation comment (https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1138)

Check failure on line 104 in src/HotChocolate/Fusion/src/Core/Execution/ErrorTrie.cs

View workflow job for this annotation

GitHub Actions / Run HotChocolate.Data.Filters.SqlServer.Tests

Add summary to documentation comment (https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1138)

Check failure on line 104 in src/HotChocolate/Fusion/src/Core/Execution/ErrorTrie.cs

View workflow job for this annotation

GitHub Actions / Run HotChocolate.Data.Filters.SqlServer.Tests

Add summary to documentation comment (https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1138)

Check failure on line 104 in src/HotChocolate/Fusion/src/Core/Execution/ErrorTrie.cs

View workflow job for this annotation

GitHub Actions / Run HotChocolate.AspNetCore.Authorization.Tests

Add summary to documentation comment (https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1138)

Check failure on line 104 in src/HotChocolate/Fusion/src/Core/Execution/ErrorTrie.cs

View workflow job for this annotation

GitHub Actions / Run HotChocolate.AspNetCore.Authorization.Tests

Add summary to documentation comment (https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1138)

Check failure on line 104 in src/HotChocolate/Fusion/src/Core/Execution/ErrorTrie.cs

View workflow job for this annotation

GitHub Actions / Run HotChocolate.Data.EntityFramework.Tests

Add summary to documentation comment (https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1138)

Check failure on line 104 in src/HotChocolate/Fusion/src/Core/Execution/ErrorTrie.cs

View workflow job for this annotation

GitHub Actions / Run HotChocolate.Data.EntityFramework.Tests

Add summary to documentation comment (https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1138)

Check failure on line 104 in src/HotChocolate/Fusion/src/Core/Execution/ErrorTrie.cs

View workflow job for this annotation

GitHub Actions / Run HotChocolate.Types.Tests

Add summary to documentation comment (https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1138)

Check failure on line 104 in src/HotChocolate/Fusion/src/Core/Execution/ErrorTrie.cs

View workflow job for this annotation

GitHub Actions / Run HotChocolate.Types.Tests

Add summary to documentation comment (https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1138)

Check failure on line 104 in src/HotChocolate/Fusion/src/Core/Execution/ErrorTrie.cs

View workflow job for this annotation

GitHub Actions / Run HotChocolate.Data.MongoDb.Sorting.Tests

Add summary to documentation comment (https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1138)

Check failure on line 104 in src/HotChocolate/Fusion/src/Core/Execution/ErrorTrie.cs

View workflow job for this annotation

GitHub Actions / Run HotChocolate.Data.MongoDb.Sorting.Tests

Add summary to documentation comment (https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1138)

Check failure on line 104 in src/HotChocolate/Fusion/src/Core/Execution/ErrorTrie.cs

View workflow job for this annotation

GitHub Actions / Run HotChocolate.Subscriptions.RabbitMQ.Tests

Add summary to documentation comment (https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1138)

Check failure on line 104 in src/HotChocolate/Fusion/src/Core/Execution/ErrorTrie.cs

View workflow job for this annotation

GitHub Actions / Run HotChocolate.Fusion.CommandLine.Tests

Add summary to documentation comment (https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1138)

Check failure on line 104 in src/HotChocolate/Fusion/src/Core/Execution/ErrorTrie.cs

View workflow job for this annotation

GitHub Actions / Run HotChocolate.Transport.Sockets.Client.Tests

Add summary to documentation comment (https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1138)

Check failure on line 104 in src/HotChocolate/Fusion/src/Core/Execution/ErrorTrie.cs

View workflow job for this annotation

GitHub Actions / Run HotChocolate.Subscriptions.RabbitMQ.Tests

Add summary to documentation comment (https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1138)

Check failure on line 104 in src/HotChocolate/Fusion/src/Core/Execution/ErrorTrie.cs

View workflow job for this annotation

GitHub Actions / Run HotChocolate.Transport.Sockets.Client.Tests

Add summary to documentation comment (https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1138)

Check failure on line 104 in src/HotChocolate/Fusion/src/Core/Execution/ErrorTrie.cs

View workflow job for this annotation

GitHub Actions / Run HotChocolate.Fusion.CommandLine.Tests

Add summary to documentation comment (https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1138)

Check failure on line 104 in src/HotChocolate/Fusion/src/Core/Execution/ErrorTrie.cs

View workflow job for this annotation

GitHub Actions / Run HotChocolate.Subscriptions.Redis.Tests

Add summary to documentation comment (https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1138)

Check failure on line 104 in src/HotChocolate/Fusion/src/Core/Execution/ErrorTrie.cs

View workflow job for this annotation

GitHub Actions / Run HotChocolate.Subscriptions.Redis.Tests

Add summary to documentation comment (https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1138)

Check failure on line 104 in src/HotChocolate/Fusion/src/Core/Execution/ErrorTrie.cs

View workflow job for this annotation

GitHub Actions / Run HotChocolate.Execution.Tests

Add summary to documentation comment (https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1138)

Check failure on line 104 in src/HotChocolate/Fusion/src/Core/Execution/ErrorTrie.cs

View workflow job for this annotation

GitHub Actions / Run HotChocolate.Execution.Tests

Add summary to documentation comment (https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1138)

Check failure on line 104 in src/HotChocolate/Fusion/src/Core/Execution/ErrorTrie.cs

View workflow job for this annotation

GitHub Actions / Run HotChocolate.Data.AutoMapper.Tests

Add summary to documentation comment (https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1138)

Check failure on line 104 in src/HotChocolate/Fusion/src/Core/Execution/ErrorTrie.cs

View workflow job for this annotation

GitHub Actions / Run HotChocolate.Data.AutoMapper.Tests

Add summary to documentation comment (https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1138)

Check failure on line 104 in src/HotChocolate/Fusion/src/Core/Execution/ErrorTrie.cs

View workflow job for this annotation

GitHub Actions / Run Data.Raven.Sorting.Tests

Add summary to documentation comment (https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1138)

Check failure on line 104 in src/HotChocolate/Fusion/src/Core/Execution/ErrorTrie.cs

View workflow job for this annotation

GitHub Actions / Run Data.Raven.Sorting.Tests

Add summary to documentation comment (https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1138)

Check failure on line 104 in src/HotChocolate/Fusion/src/Core/Execution/ErrorTrie.cs

View workflow job for this annotation

GitHub Actions / Run HotChocolate.Data.Sorting.Tests

Add summary to documentation comment (https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1138)

Check failure on line 104 in src/HotChocolate/Fusion/src/Core/Execution/ErrorTrie.cs

View workflow job for this annotation

GitHub Actions / Run HotChocolate.Data.Sorting.Tests

Add summary to documentation comment (https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1138)

Check failure on line 104 in src/HotChocolate/Fusion/src/Core/Execution/ErrorTrie.cs

View workflow job for this annotation

GitHub Actions / Run HotChocolate.Types.Queries.Tests

Add summary to documentation comment (https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1138)

Check failure on line 104 in src/HotChocolate/Fusion/src/Core/Execution/ErrorTrie.cs

View workflow job for this annotation

GitHub Actions / Run Data.Raven.Filters.Tests

Add summary to documentation comment (https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1138)

Check failure on line 104 in src/HotChocolate/Fusion/src/Core/Execution/ErrorTrie.cs

View workflow job for this annotation

GitHub Actions / Run HotChocolate.Types.Queries.Tests

Add summary to documentation comment (https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1138)

Check failure on line 104 in src/HotChocolate/Fusion/src/Core/Execution/ErrorTrie.cs

View workflow job for this annotation

GitHub Actions / Run Data.Raven.Filters.Tests

Add summary to documentation comment (https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1138)

Check failure on line 104 in src/HotChocolate/Fusion/src/Core/Execution/ErrorTrie.cs

View workflow job for this annotation

GitHub Actions / Run HotChocolate.Data.Sorting.InMemory.Tests

Add summary to documentation comment (https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1138)

Check failure on line 104 in src/HotChocolate/Fusion/src/Core/Execution/ErrorTrie.cs

View workflow job for this annotation

GitHub Actions / Run HotChocolate.Data.Sorting.InMemory.Tests

Add summary to documentation comment (https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1138)

Check failure on line 104 in src/HotChocolate/Fusion/src/Core/Execution/ErrorTrie.cs

View workflow job for this annotation

GitHub Actions / Run HotChocolate.Features.Tests

Add summary to documentation comment (https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1138)

Check failure on line 104 in src/HotChocolate/Fusion/src/Core/Execution/ErrorTrie.cs

View workflow job for this annotation

GitHub Actions / Run HotChocolate.Features.Tests

Add summary to documentation comment (https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1138)

Check failure on line 104 in src/HotChocolate/Fusion/src/Core/Execution/ErrorTrie.cs

View workflow job for this annotation

GitHub Actions / Run HotChocolate.Data.Sorting.SqlLite.Tests

Add summary to documentation comment (https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1138)

Check failure on line 104 in src/HotChocolate/Fusion/src/Core/Execution/ErrorTrie.cs

View workflow job for this annotation

GitHub Actions / Run HotChocolate.Data.Sorting.SqlLite.Tests

Add summary to documentation comment (https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1138)

Check failure on line 104 in src/HotChocolate/Fusion/src/Core/Execution/ErrorTrie.cs

View workflow job for this annotation

GitHub Actions / Run HotChocolate.OpenApi.Tests

Add summary to documentation comment (https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1138)

Check failure on line 104 in src/HotChocolate/Fusion/src/Core/Execution/ErrorTrie.cs

View workflow job for this annotation

GitHub Actions / Run HotChocolate.OpenApi.Tests

Add summary to documentation comment (https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1138)

Check failure on line 104 in src/HotChocolate/Fusion/src/Core/Execution/ErrorTrie.cs

View workflow job for this annotation

GitHub Actions / Run HotChocolate.Fusion.Composition.Tests

Add summary to documentation comment (https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1138)

Check failure on line 104 in src/HotChocolate/Fusion/src/Core/Execution/ErrorTrie.cs

View workflow job for this annotation

GitHub Actions / Run HotChocolate.Fusion.Composition.Tests

Add summary to documentation comment (https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1138)

Check failure on line 104 in src/HotChocolate/Fusion/src/Core/Execution/ErrorTrie.cs

View workflow job for this annotation

GitHub Actions / Run HotChocolate.Fetching.Tests

Add summary to documentation comment (https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1138)

Check failure on line 104 in src/HotChocolate/Fusion/src/Core/Execution/ErrorTrie.cs

View workflow job for this annotation

GitHub Actions / Run HotChocolate.Fetching.Tests

Add summary to documentation comment (https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1138)

Check failure on line 104 in src/HotChocolate/Fusion/src/Core/Execution/ErrorTrie.cs

View workflow job for this annotation

GitHub Actions / Run HotChocolate.Types.Analyzers.Tests

Add summary to documentation comment (https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1138)

Check failure on line 104 in src/HotChocolate/Fusion/src/Core/Execution/ErrorTrie.cs

View workflow job for this annotation

GitHub Actions / Run HotChocolate.Types.Analyzers.Tests

Add summary to documentation comment (https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1138)

Check failure on line 104 in src/HotChocolate/Fusion/src/Core/Execution/ErrorTrie.cs

View workflow job for this annotation

GitHub Actions / Run Skimmed.Tests

Add summary to documentation comment (https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1138)

Check failure on line 104 in src/HotChocolate/Fusion/src/Core/Execution/ErrorTrie.cs

View workflow job for this annotation

GitHub Actions / Run Skimmed.Tests

Add summary to documentation comment (https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1138)

Check failure on line 104 in src/HotChocolate/Fusion/src/Core/Execution/ErrorTrie.cs

View workflow job for this annotation

GitHub Actions / Run HotChocolate.Types.Json.Tests

Add summary to documentation comment (https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1138)

Check failure on line 104 in src/HotChocolate/Fusion/src/Core/Execution/ErrorTrie.cs

View workflow job for this annotation

GitHub Actions / Run HotChocolate.Data.Projections.SqlServer.Tests

Add summary to documentation comment (https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1138)

Check failure on line 104 in src/HotChocolate/Fusion/src/Core/Execution/ErrorTrie.cs

View workflow job for this annotation

GitHub Actions / Run HotChocolate.Types.Json.Tests

Add summary to documentation comment (https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1138)

Check failure on line 104 in src/HotChocolate/Fusion/src/Core/Execution/ErrorTrie.cs

View workflow job for this annotation

GitHub Actions / Run HotChocolate.Data.Projections.SqlServer.Tests

Add summary to documentation comment (https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1138)

Check failure on line 104 in src/HotChocolate/Fusion/src/Core/Execution/ErrorTrie.cs

View workflow job for this annotation

GitHub Actions / Run HotChocolate.Types.NodaTime.Tests

Add summary to documentation comment (https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1138)

Check failure on line 104 in src/HotChocolate/Fusion/src/Core/Execution/ErrorTrie.cs

View workflow job for this annotation

GitHub Actions / Run HotChocolate.Types.NodaTime.Tests

Add summary to documentation comment (https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1138)

Check failure on line 104 in src/HotChocolate/Fusion/src/Core/Execution/ErrorTrie.cs

View workflow job for this annotation

GitHub Actions / Run HotChocolate.Data.Tests

Add summary to documentation comment (https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1138)

Check failure on line 104 in src/HotChocolate/Fusion/src/Core/Execution/ErrorTrie.cs

View workflow job for this annotation

GitHub Actions / Run HotChocolate.Data.Tests

Add summary to documentation comment (https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1138)

Check failure on line 104 in src/HotChocolate/Fusion/src/Core/Execution/ErrorTrie.cs

View workflow job for this annotation

GitHub Actions / Run HotChocolate.Data.MongoDb.Paging.Tests

Add summary to documentation comment (https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1138)

Check failure on line 104 in src/HotChocolate/Fusion/src/Core/Execution/ErrorTrie.cs

View workflow job for this annotation

GitHub Actions / Run HotChocolate.Data.MongoDb.Paging.Tests

Add summary to documentation comment (https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1138)

Check failure on line 104 in src/HotChocolate/Fusion/src/Core/Execution/ErrorTrie.cs

View workflow job for this annotation

GitHub Actions / Run HotChocolate.Types.Spatial.Tests

Add summary to documentation comment (https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1138)

Check failure on line 104 in src/HotChocolate/Fusion/src/Core/Execution/ErrorTrie.cs

View workflow job for this annotation

GitHub Actions / Run HotChocolate.Types.Spatial.Tests

Add summary to documentation comment (https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1138)

Check failure on line 104 in src/HotChocolate/Fusion/src/Core/Execution/ErrorTrie.cs

View workflow job for this annotation

GitHub Actions / Run StrawberryShake.Transport.InMemory.Tests

Add summary to documentation comment (https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1138)

Check failure on line 104 in src/HotChocolate/Fusion/src/Core/Execution/ErrorTrie.cs

View workflow job for this annotation

GitHub Actions / Run StrawberryShake.Transport.InMemory.Tests

Add summary to documentation comment (https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1138)

Check failure on line 104 in src/HotChocolate/Fusion/src/Core/Execution/ErrorTrie.cs

View workflow job for this annotation

GitHub Actions / Run Data.Marten.Filters.Tests

Add summary to documentation comment (https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1138)

Check failure on line 104 in src/HotChocolate/Fusion/src/Core/Execution/ErrorTrie.cs

View workflow job for this annotation

GitHub Actions / Run Data.Marten.Filters.Tests

Add summary to documentation comment (https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1138)

Check failure on line 104 in src/HotChocolate/Fusion/src/Core/Execution/ErrorTrie.cs

View workflow job for this annotation

GitHub Actions / Run HotChocolate.Data.Filters.InMemory.Tests

Add summary to documentation comment (https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1138)

Check failure on line 104 in src/HotChocolate/Fusion/src/Core/Execution/ErrorTrie.cs

View workflow job for this annotation

GitHub Actions / Run HotChocolate.Data.Filters.InMemory.Tests

Add summary to documentation comment (https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1138)

Check failure on line 104 in src/HotChocolate/Fusion/src/Core/Execution/ErrorTrie.cs

View workflow job for this annotation

GitHub Actions / Run HotChocolate.Data.EntityFramework.Pagination.Tests

Add summary to documentation comment (https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1138)

Check failure on line 104 in src/HotChocolate/Fusion/src/Core/Execution/ErrorTrie.cs

View workflow job for this annotation

GitHub Actions / Run HotChocolate.Data.EntityFramework.Pagination.Tests

Add summary to documentation comment (https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1138)

Check failure on line 104 in src/HotChocolate/Fusion/src/Core/Execution/ErrorTrie.cs

View workflow job for this annotation

GitHub Actions / Run StrawberryShake.Transport.WebSocket.Tests

Add summary to documentation comment (https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1138)

Check failure on line 104 in src/HotChocolate/Fusion/src/Core/Execution/ErrorTrie.cs

View workflow job for this annotation

GitHub Actions / Run StrawberryShake.Transport.WebSocket.Tests

Add summary to documentation comment (https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1138)

Check failure on line 104 in src/HotChocolate/Fusion/src/Core/Execution/ErrorTrie.cs

View workflow job for this annotation

GitHub Actions / Run HotChocolate.Data.MongoDb.Filters.Tests

Add summary to documentation comment (https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1138)

Check failure on line 104 in src/HotChocolate/Fusion/src/Core/Execution/ErrorTrie.cs

View workflow job for this annotation

GitHub Actions / Run HotChocolate.Data.MongoDb.Filters.Tests

Add summary to documentation comment (https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1138)

Check failure on line 104 in src/HotChocolate/Fusion/src/Core/Execution/ErrorTrie.cs

View workflow job for this annotation

GitHub Actions / Run HotChocolate.Types.CursorPagination.Tests

Add summary to documentation comment (https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1138)

Check failure on line 104 in src/HotChocolate/Fusion/src/Core/Execution/ErrorTrie.cs

View workflow job for this annotation

GitHub Actions / Run HotChocolate.Types.CursorPagination.Tests

Add summary to documentation comment (https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1138)

Check failure on line 104 in src/HotChocolate/Fusion/src/Core/Execution/ErrorTrie.cs

View workflow job for this annotation

GitHub Actions / Run HotChocolate.Data.Raven.Projections.Tests

Add summary to documentation comment (https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1138)

Check failure on line 104 in src/HotChocolate/Fusion/src/Core/Execution/ErrorTrie.cs

View workflow job for this annotation

GitHub Actions / Run HotChocolate.Data.Raven.Projections.Tests

Add summary to documentation comment (https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1138)

Check failure on line 104 in src/HotChocolate/Fusion/src/Core/Execution/ErrorTrie.cs

View workflow job for this annotation

GitHub Actions / Run HotChocolate.Types.MongoDb.Tests

Add summary to documentation comment (https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1138)

Check failure on line 104 in src/HotChocolate/Fusion/src/Core/Execution/ErrorTrie.cs

View workflow job for this annotation

GitHub Actions / Run HotChocolate.Types.MongoDb.Tests

Add summary to documentation comment (https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1138)

Check failure on line 104 in src/HotChocolate/Fusion/src/Core/Execution/ErrorTrie.cs

View workflow job for this annotation

GitHub Actions / Run HotChocolate.Validation.Tests

Add summary to documentation comment (https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1138)

Check failure on line 104 in src/HotChocolate/Fusion/src/Core/Execution/ErrorTrie.cs

View workflow job for this annotation

GitHub Actions / Run HotChocolate.Validation.Tests

Add summary to documentation comment (https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1138)

Check failure on line 104 in src/HotChocolate/Fusion/src/Core/Execution/ErrorTrie.cs

View workflow job for this annotation

GitHub Actions / Run HotChocolate.Data.Projections.Spatial.SqlServer.Tests

Add summary to documentation comment (https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1138)

Check failure on line 104 in src/HotChocolate/Fusion/src/Core/Execution/ErrorTrie.cs

View workflow job for this annotation

GitHub Actions / Run HotChocolate.Data.Projections.Spatial.SqlServer.Tests

Add summary to documentation comment (https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1138)

Check failure on line 104 in src/HotChocolate/Fusion/src/Core/Execution/ErrorTrie.cs

View workflow job for this annotation

GitHub Actions / Run Data.Raven.Tests

Add summary to documentation comment (https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1138)

Check failure on line 104 in src/HotChocolate/Fusion/src/Core/Execution/ErrorTrie.cs

View workflow job for this annotation

GitHub Actions / Run Data.Raven.Tests

Add summary to documentation comment (https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1138)

Check failure on line 104 in src/HotChocolate/Fusion/src/Core/Execution/ErrorTrie.cs

View workflow job for this annotation

GitHub Actions / Run StrawberryShake.Tools.Configuration.Tests

Add summary to documentation comment (https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1138)

Check failure on line 104 in src/HotChocolate/Fusion/src/Core/Execution/ErrorTrie.cs

View workflow job for this annotation

GitHub Actions / Run StrawberryShake.Tools.Configuration.Tests

Add summary to documentation comment (https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1138)

Check failure on line 104 in src/HotChocolate/Fusion/src/Core/Execution/ErrorTrie.cs

View workflow job for this annotation

GitHub Actions / Run HotChocolate.Spatial.Data.Filters.SqlServer.Tests

Add summary to documentation comment (https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1138)

Check failure on line 104 in src/HotChocolate/Fusion/src/Core/Execution/ErrorTrie.cs

View workflow job for this annotation

GitHub Actions / Run HotChocolate.Spatial.Data.Filters.SqlServer.Tests

Add summary to documentation comment (https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1138)

Check failure on line 104 in src/HotChocolate/Fusion/src/Core/Execution/ErrorTrie.cs

View workflow job for this annotation

GitHub Actions / Run StrawberryShake.CodeGeneration.Tests

Add summary to documentation comment (https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1138)

Check failure on line 104 in src/HotChocolate/Fusion/src/Core/Execution/ErrorTrie.cs

View workflow job for this annotation

GitHub Actions / Run StrawberryShake.CodeGeneration.Tests

Add summary to documentation comment (https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1138)

Check failure on line 104 in src/HotChocolate/Fusion/src/Core/Execution/ErrorTrie.cs

View workflow job for this annotation

GitHub Actions / Run StrawberryShake.Transport.Http.Tests

Add summary to documentation comment (https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1138)

Check failure on line 104 in src/HotChocolate/Fusion/src/Core/Execution/ErrorTrie.cs

View workflow job for this annotation

GitHub Actions / Run StrawberryShake.Transport.Http.Tests

Add summary to documentation comment (https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1138)

Check failure on line 104 in src/HotChocolate/Fusion/src/Core/Execution/ErrorTrie.cs

View workflow job for this annotation

GitHub Actions / Run GreenDonut.Tests

Add summary to documentation comment (https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1138)

Check failure on line 104 in src/HotChocolate/Fusion/src/Core/Execution/ErrorTrie.cs

View workflow job for this annotation

GitHub Actions / Run GreenDonut.Tests

Add summary to documentation comment (https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1138)

Check failure on line 104 in src/HotChocolate/Fusion/src/Core/Execution/ErrorTrie.cs

View workflow job for this annotation

GitHub Actions / Run StrawberryShake.CodeGeneration.CSharp.Tests

Add summary to documentation comment (https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1138)

Check failure on line 104 in src/HotChocolate/Fusion/src/Core/Execution/ErrorTrie.cs

View workflow job for this annotation

GitHub Actions / Run StrawberryShake.CodeGeneration.CSharp.Tests

Add summary to documentation comment (https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1138)

Check failure on line 104 in src/HotChocolate/Fusion/src/Core/Execution/ErrorTrie.cs

View workflow job for this annotation

GitHub Actions / Run HotChocolate.Utilities.Introspection.Tests

Add summary to documentation comment (https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1138)

Check failure on line 104 in src/HotChocolate/Fusion/src/Core/Execution/ErrorTrie.cs

View workflow job for this annotation

GitHub Actions / Run HotChocolate.Utilities.Introspection.Tests

Add summary to documentation comment (https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1138)

Check failure on line 104 in src/HotChocolate/Fusion/src/Core/Execution/ErrorTrie.cs

View workflow job for this annotation

GitHub Actions / Run StrawberryShake.CodeGeneration.Razor.Tests

Add summary to documentation comment (https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1138)

Check failure on line 104 in src/HotChocolate/Fusion/src/Core/Execution/ErrorTrie.cs

View workflow job for this annotation

GitHub Actions / Run StrawberryShake.CodeGeneration.Razor.Tests

Add summary to documentation comment (https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1138)

Check failure on line 104 in src/HotChocolate/Fusion/src/Core/Execution/ErrorTrie.cs

View workflow job for this annotation

GitHub Actions / Run HotChocolate.Data.Filters.Tests

Add summary to documentation comment (https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1138)

Check failure on line 104 in src/HotChocolate/Fusion/src/Core/Execution/ErrorTrie.cs

View workflow job for this annotation

GitHub Actions / Run HotChocolate.Data.Filters.Tests

Add summary to documentation comment (https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1138)

Check failure on line 104 in src/HotChocolate/Fusion/src/Core/Execution/ErrorTrie.cs

View workflow job for this annotation

GitHub Actions / Run HotChocolate.Types.OffsetPagination.Tests

Add summary to documentation comment (https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1138)

Check failure on line 104 in src/HotChocolate/Fusion/src/Core/Execution/ErrorTrie.cs

View workflow job for this annotation

GitHub Actions / Run HotChocolate.Types.OffsetPagination.Tests

Add summary to documentation comment (https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1138)

Check failure on line 104 in src/HotChocolate/Fusion/src/Core/Execution/ErrorTrie.cs

View workflow job for this annotation

GitHub Actions / Run HotChocolate.Data.Raven.Paging.Tests

Add summary to documentation comment (https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1138)

Check failure on line 104 in src/HotChocolate/Fusion/src/Core/Execution/ErrorTrie.cs

View workflow job for this annotation

GitHub Actions / Run HotChocolate.Data.Raven.Paging.Tests

Add summary to documentation comment (https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1138)

Check failure on line 104 in src/HotChocolate/Fusion/src/Core/Execution/ErrorTrie.cs

View workflow job for this annotation

GitHub Actions / Run StrawberryShake.Persistence.SQLite.Tests

Add summary to documentation comment (https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1138)

Check failure on line 104 in src/HotChocolate/Fusion/src/Core/Execution/ErrorTrie.cs

View workflow job for this annotation

GitHub Actions / Run StrawberryShake.Persistence.SQLite.Tests

Add summary to documentation comment (https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1138)

Check failure on line 104 in src/HotChocolate/Fusion/src/Core/Execution/ErrorTrie.cs

View workflow job for this annotation

GitHub Actions / Run HotChocolate.AspNetCore.Authorization.Opa.Tests

Add summary to documentation comment (https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1138)

Check failure on line 104 in src/HotChocolate/Fusion/src/Core/Execution/ErrorTrie.cs

View workflow job for this annotation

GitHub Actions / Run HotChocolate.AspNetCore.Authorization.Opa.Tests

Add summary to documentation comment (https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1138)

Check failure on line 104 in src/HotChocolate/Fusion/src/Core/Execution/ErrorTrie.cs

View workflow job for this annotation

GitHub Actions / Run HotChocolate.Fusion.Aspire.Analyzers.Tests

Add summary to documentation comment (https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1138)

Check failure on line 104 in src/HotChocolate/Fusion/src/Core/Execution/ErrorTrie.cs

View workflow job for this annotation

GitHub Actions / Run HotChocolate.Fusion.Aspire.Analyzers.Tests

Add summary to documentation comment (https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1138)

Check failure on line 104 in src/HotChocolate/Fusion/src/Core/Execution/ErrorTrie.cs

View workflow job for this annotation

GitHub Actions / Run HotChocolate.Types.Scalars.Tests

Add summary to documentation comment (https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1138)

Check failure on line 104 in src/HotChocolate/Fusion/src/Core/Execution/ErrorTrie.cs

View workflow job for this annotation

GitHub Actions / Run HotChocolate.Types.Scalars.Tests

Add summary to documentation comment (https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1138)

Check failure on line 104 in src/HotChocolate/Fusion/src/Core/Execution/ErrorTrie.cs

View workflow job for this annotation

GitHub Actions / Run HotChocolate.Data.MongoDb.Projections.Tests

Add summary to documentation comment (https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1138)

Check failure on line 104 in src/HotChocolate/Fusion/src/Core/Execution/ErrorTrie.cs

View workflow job for this annotation

GitHub Actions / Run HotChocolate.Data.MongoDb.Projections.Tests

Add summary to documentation comment (https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1138)
///
/// </summary>
public static ErrorTrie? FromSelections(
ErrorTrie subgraphErrorTrie,
List<RootSelection> rootSelections,
string[] path)
{
var firstErrorOnPath = subgraphErrorTrie.GetFirstErrorOnPath(path);

return firstErrorOnPath is null ? null : FromSelections(firstErrorOnPath, rootSelections);
}

/// <summary>
/// Traverses this <see cref="ErrorTrie"/> along the specified
/// <paramref name="path"/>. If one of the items along the path has an error,
/// the error is returned.
/// If the path can't be followed or there are no errors on the path,
/// the errors on this <see cref="ErrorTrie"/> are returned (if present).
/// </summary>
private IError? GetFirstErrorOnPath(string[] path)
{
var currentErrorTrie = this;
foreach (var segment in path)
{
if (currentErrorTrie.TryGetValue(segment, out var childErrorTrie))
{
if (childErrorTrie.Errors?.FirstOrDefault() is { } error)
{
return error;
}

currentErrorTrie = childErrorTrie;
}
else
{
break;
}
}

return Errors?.FirstOrDefault();
}

private void AddError(IError error)
{
if (Errors is null)
{
Errors = [error];
}
else
{
Errors.Add(error);
}
}
}
5 changes: 5 additions & 0 deletions src/HotChocolate/Fusion/src/Core/Execution/ExecutionState.cs
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,11 @@ public ExecutionState(
/// </summary>
public bool IsInitialized { get; set; }

/// <summary>
/// Gets the errors that were collected from the subgraphs during execution.
/// </summary>
public ErrorTrie? ErrorTrie { get; set; }

private string GetDebuggerDisplay()
{
var displayName = $"State {SelectionSet.Id}";
Expand Down
Loading
Loading