File tree Expand file tree Collapse file tree 2 files changed +2
-4
lines changed
AspNetCore/test/AspNetCore.Tests.Utilities
Core/src/Types/Resolvers/Expressions/Parameters Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change 1
1
using HotChocolate . Execution ;
2
2
using HotChocolate . Types ;
3
- using Microsoft . AspNetCore . Mvc ;
4
3
5
4
namespace HotChocolate . AspNetCore . Tests . Utilities ;
6
5
@@ -10,7 +9,7 @@ public class QueryExtension
10
9
public long Time ( Schema schema )
11
10
=> schema . CreatedAt . Ticks ;
12
11
13
- public bool Evict ( [ FromServices ] IRequestExecutorProvider executorResolver , ISchemaDefinition schema )
12
+ public bool Evict ( IRequestExecutorProvider executorResolver , ISchemaDefinition schema )
14
13
{
15
14
( ( RequestExecutorManager ) executorResolver ) . EvictRequestExecutor ( schema . Name ) ;
16
15
return true ;
Original file line number Diff line number Diff line change @@ -6,8 +6,7 @@ namespace HotChocolate.Resolvers.Expressions.Parameters;
6
6
7
7
/// <summary>
8
8
/// Builds parameter expressions for resolver level dependency injection.
9
- /// Parameters need to be annotated with the <see cref="ServiceAttribute"/> or the
10
- /// <c>FromServicesAttribute</c>.
9
+ /// Parameters need to be annotated with the <see cref="ServiceAttribute"/>.
11
10
/// </summary>
12
11
internal sealed class ServiceParameterExpressionBuilder
13
12
: IParameterExpressionBuilder
You can’t perform that action at this time.
0 commit comments