You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"stackTrace": " at System.Collections.ThrowHelper.ThrowKeyNotFoundException[TKey](TKey key)\n at System.Collections.Frozen.FrozenDictionary`2.get_Item(TKey key)\n at HotChocolate.Types.FieldCollection`1.get_Item(String fieldName) in E:\\Projects\\graphql-platform\\src\\HotChocolate\\Core\\src\\Types\\Types\\FieldCollection.cs:line 27\n at HotChocolate.Data.Sorting.SortingContext.SortDefinitionFormatter.Leave(ObjectFieldNode node, Context context) in E:\\Projects\\graphql-platform\\src\\HotChocolate\\Data\\src\\Data\\Sorting\\Context\\SortingContext.cs:line 190\n at HotChocolate.Language.Visitors.SyntaxWalker`1.Leave(ISyntaxNode node, TContext context) in E:\\Projects\\graphql-platform\\src\\HotChocolate\\Language\\src\\Language.Visitors\\SyntaxWalker~1.Leave.cs:line 46\n at HotChocolate.Language.Visitors.SyntaxVisitor`1.Visit[TNode,TParent](TNode node, TParent parent, TContext context) in E:\\Projects\\graphql-platform\\src\\HotChocolate\\Language\\src\\Language.Visitors\\SyntaxVisitor~1.cs:line 83\n at HotChocolate.Language.Visitors.SyntaxVisitor`1.VisitChildren(ObjectValueNode node, TContext context) in E:\\Projects\\graphql-platform\\src\\HotChocolate\\Language\\src\\Language.Visitors\\SyntaxVisitor~1.VisitationMap.cs:line 446\n at HotChocolate.Language.Visitors.SyntaxVisitor`1.VisitChildren(ISyntaxNode node, TContext context) in E:\\Projects\\graphql-platform\\src\\HotChocolate\\Language\\src\\Language.Visitors\\SyntaxVisitor~1.VisitationMap.cs:line 26\n at HotChocolate.Language.Visitors.SyntaxVisitor`1.Visit[TNode,TParent](TNode node, TParent parent, TContext context) in E:\\Projects\\graphql-platform\\src\\HotChocolate\\Language\\src\\Language.Visitors\\SyntaxVisitor~1.cs:line 74\n at HotChocolate.Language.Visitors.SyntaxVisitor`1.VisitChildren(ListValueNode node, TContext context) in E:\\Projects\\graphql-platform\\src\\HotChocolate\\Language\\src\\Language.Visitors\\SyntaxVisitor~1.VisitationMap.cs:line 431\n at HotChocolate.Language.Visitors.SyntaxVisitor`1.VisitChildren(ISyntaxNode node, TContext context) in E:\\Projects\\graphql-platform\\src\\HotChocolate\\Language\\src\\Language.Visitors\\SyntaxVisitor~1.VisitationMap.cs:line 24\n at HotChocolate.Language.Visitors.SyntaxVisitor`1.Visit[TNode,TParent](TNode node, TParent parent, TContext context) in E:\\Projects\\graphql-platform\\src\\HotChocolate\\Language\\src\\Language.Visitors\\SyntaxVisitor~1.cs:line 74\n at HotChocolate.Language.Visitors.SyntaxVisitor`1.Visit(ISyntaxNode node, TContext context) in E:\\Projects\\graphql-platform\\src\\HotChocolate\\Language\\src\\Language.Visitors\\SyntaxVisitor~1.cs:line 59\n at HotChocolate.Data.Sorting.SortingContext.SortDefinitionFormatter.Rewrite[T](IValueNode node, IType type, Expression parameter) in E:\\Projects\\graphql-platform\\src\\HotChocolate\\Data\\src\\Data\\Sorting\\Context\\SortingContext.cs:line 159\n at HotChocolate.Data.Sorting.SortingContext.AsSortDefinition[T]() in E:\\Projects\\graphql-platform\\src\\HotChocolate\\Data\\src\\Data\\Sorting\\Context\\SortingContext.cs:line 132\n at HotChocolate.Data.Types.Products.ProductQueriesResolvers.ProductQueries_GetProductsAsync_Resolver(IResolverContext context) in E:\\Projects\\graphql-platform\\src\\HotChocolate\\Data\\test\\Data.PostgreSQL.Tests\\obj\\Debug\\net9.0\\HotChocolate.Types.Analyzers\\HotChocolate.Types.Analyzers.GraphQLServerGenerator\\HotChocolateResolvers.735550c.g.cs:line 288\n at HotChocolate.Types.Helpers.FieldMiddlewareCompiler.<>c__DisplayClass9_0.<<CreateResolverMiddleware>b__0>d.MoveNext() in E:\\Projects\\graphql-platform\\src\\HotChocolate\\Core\\src\\Types\\Types\\Helpers\\FieldMiddlewareCompiler.cs:line 129\n--- End of stack trace from previous location ---\n at HotChocolate.Types.UnwrapFieldMiddlewareHelper.<>c__DisplayClass0_1.<<CreateDataMiddleware>b__1>d.MoveNext() in E:\\Projects\\graphql-platform\\src\\HotChocolate\\Data\\src\\Data\\Extensions\\UnwrapFieldMiddlewareHelper.cs:line 16\n--- End of stack trace from previous location ---\n at HotChocolate.Types.UnwrapFieldMiddlewareHelper.<>c__DisplayClass0_1.<<CreateDataMiddleware>b__1>d.MoveNext() in E:\\Projects\\graphql-platform\\src\\HotChocolate\\Data\\src\\Data\\Extensions\\UnwrapFieldMiddlewareHelper.cs:line 16\n--- End of stack trace from previous location ---\n at HotChocolate.Types.Pagination.PagingMiddleware.InvokeAsync(IMiddlewareContext context) in E:\\Projects\\graphql-platform\\src\\HotChocolate\\Core\\src\\Types\\Types\\Pagination\\PagingMiddleware.cs:line 20\n at HotChocolate.Execution.Processing.Tasks.ResolverTask.ExecuteResolverPipelineAsync(CancellationToken cancellationToken) in E:\\Projects\\graphql-platform\\src\\HotChocolate\\Core\\src\\Execution\\Processing\\Tasks\\ResolverTask.Execute.cs:line 139\n at HotChocolate.Execution.Processing.Tasks.ResolverTask.TryExecuteAsync(CancellationToken cancellationToken) in E:\\Projects\\graphql-platform\\src\\HotChocolate\\Core\\src\\Execution\\Processing\\Tasks\\ResolverTask.Execute.cs:line 110"
Additional context
No response
The text was updated successfully, but these errors were encountered:
Product
Hot Chocolate
Version
15.0.3
Link to minimal reproduction
https://github.com/Veribelll/hot-chocolate-error/tree/nested-sorting
Steps to reproduce
Create two entities
Create query
Execute request
What is expected?
Successful execution of the request
What is actually happening?
Error in SortingContext
Relevant log output
Additional context
No response
The text was updated successfully, but these errors were encountered: