Ivan Maximov
Ivan Maximov
@Shane32 Compare this with ```cs /// /// Adds a middleware delegate defined in-line to the application's request pipeline. /// If you aren't calling the next function, use instead. /// ///...
See https://github.com/github/codeql/issues/7937 . Waiting for release and docs.
From @Shane32 : > Correct, the default complexity analyzer is registered as a default service. So the standard AddComplexityAnalyzer does not overwrite the registration in case you have already registered...
See https://github.com/graphql-dotnet/graphql-dotnet/issues/298#issuecomment-289984396
``` System.InvalidOperationException HResult=0x80131509 Message=Abstract type Character must resolve to an Object type at runtime for field Query.hero with value 'System.Threading.Tasks.Task`1[GraphQL.StarWars.Types.Droid]', received 'null'. Source=GraphQL StackTrace: at GraphQL.Execution.ExecutionStrategy.ValidateNodeResult(ExecutionContext context, ExecutionNode node) in...
Just found this code in `Documentexecuter` ```csharp context = BuildExecutionContext(options, document, operation, variables, metrics); foreach (var listener in options.Listeners) { await listener.AfterValidationAsync(context, validationResult) // TODO: remove ExecutionContext or make different...