File tree Expand file tree Collapse file tree 3 files changed +20
-6
lines changed Expand file tree Collapse file tree 3 files changed +20
-6
lines changed Original file line number Diff line number Diff line change @@ -50,6 +50,7 @@ public RequestExecutor(
50
50
CollectEnricher ( applicationServices , list ) ;
51
51
CollectEnricher ( executorServices , list ) ;
52
52
_enricher = list . ToArray ( ) ;
53
+ return ;
53
54
54
55
static void CollectEnricher ( IServiceProvider services , List < IRequestContextEnricher > list )
55
56
{
Original file line number Diff line number Diff line change @@ -188,13 +188,11 @@ public static Expression NotContains(
188
188
private static Expression CreateAndConvertParameter < T > ( object value )
189
189
{
190
190
Expression < Func < T > > lambda = ( ) => ( T ) value ;
191
-
192
191
return lambda . Body ;
193
192
}
194
193
195
194
private static Expression CreateParameter ( object ? value , Type type )
196
195
=> ( Expression ) _createAndConvert
197
196
. MakeGenericMethod ( type )
198
- . Invoke ( null ,
199
- [ value , ] ) ! ;
197
+ . Invoke ( null , [ value , ] ) ! ;
200
198
}
Original file line number Diff line number Diff line change 7
7
8
8
namespace HotChocolate . Data . Filters ;
9
9
10
- internal static class RelayIdFilterFieldExtensions
10
+ /// <summary>
11
+ /// Provides extension methods to the <see cref="IFilterOperationFieldDescriptor"/>
12
+ /// </summary>
13
+ public static class RelayIdFilterFieldExtensions
11
14
{
12
15
private static IdSerializer ? _idSerializer ;
13
-
14
- internal static IFilterOperationFieldDescriptor ID (
16
+
17
+ /// <summary>
18
+ /// Makes the operation field type an ID type.
19
+ /// </summary>
20
+ /// <param name="descriptor">
21
+ /// The filter operation field descriptor.
22
+ /// </param>
23
+ /// <returns>
24
+ /// Returns the filter operation field descriptor for configuration chaining.
25
+ /// </returns>
26
+ /// <exception cref="ArgumentNullException">
27
+ /// <paramref name="descriptor"/> is <c>null</c>.
28
+ /// </exception>
29
+ public static IFilterOperationFieldDescriptor ID (
15
30
this IFilterOperationFieldDescriptor descriptor )
16
31
{
17
32
if ( descriptor is null )
You can’t perform that action at this time.
0 commit comments