@@ -265,9 +265,9 @@ public async Task Compile_TaskObjMethod_NoParams_Resolver()
265
265
Type type = typeof ( Resolvers ) ;
266
266
MemberInfo resolverMember = type . GetMethod ( nameof ( Resolvers . ObjectTaskResolver ) ) ;
267
267
var resolverDescriptor = new ResolverDescriptor (
268
- type ,
269
268
typeof ( Entity ) ,
270
- new FieldMember ( "A" , "b" , resolverMember ! ) ) ;
269
+ new FieldMember ( "A" , "b" , resolverMember ! ) ,
270
+ resolverType : type ) ;
271
271
272
272
// act
273
273
var compiler = new ResolveCompiler ( ) ;
@@ -287,9 +287,9 @@ public async Task Compile_TaskStringMethod_NoParams_Resolver()
287
287
Type type = typeof ( Resolvers ) ;
288
288
MemberInfo resolverMember = type . GetMethod ( nameof ( Resolvers . StringTaskResolver ) ) ;
289
289
var resolverDescriptor = new ResolverDescriptor (
290
- type ,
291
290
typeof ( Entity ) ,
292
- new FieldMember ( "A" , "b" , resolverMember ! ) ) ;
291
+ new FieldMember ( "A" , "b" , resolverMember ! ) ,
292
+ resolverType : type ) ;
293
293
294
294
// act
295
295
var compiler = new ResolveCompiler ( ) ;
@@ -310,9 +310,9 @@ public async Task Compile_TaskStringMethod_WithParams_Resolver()
310
310
MemberInfo resolverMember =
311
311
type . GetMethod ( nameof ( Resolvers . StringTaskResolverWithArg ) ) ;
312
312
var resolverDescriptor = new ResolverDescriptor (
313
- type ,
314
313
typeof ( Entity ) ,
315
- new FieldMember ( "A" , "b" , resolverMember ! ) ) ;
314
+ new FieldMember ( "A" , "b" , resolverMember ! ) ,
315
+ resolverType : type ) ;
316
316
317
317
// act
318
318
var compiler = new ResolveCompiler ( ) ;
@@ -333,9 +333,9 @@ public async Task Compile_ObjMethod_NoParams_Resolver()
333
333
Type type = typeof ( Resolvers ) ;
334
334
MemberInfo resolverMember = type . GetMethod ( nameof ( Resolvers . ObjectResolver ) ) ;
335
335
var resolverDescriptor = new ResolverDescriptor (
336
- type ,
337
336
typeof ( Entity ) ,
338
- new FieldMember ( "A" , "b" , resolverMember ! ) ) ;
337
+ new FieldMember ( "A" , "b" , resolverMember ! ) ,
338
+ resolverType : type ) ;
339
339
340
340
// act
341
341
var compiler = new ResolveCompiler ( ) ;
@@ -355,9 +355,9 @@ public async Task Compile_StringMethod_NoParams_Resolver()
355
355
Type type = typeof ( Resolvers ) ;
356
356
MemberInfo resolverMember = type . GetMethod ( nameof ( Resolvers . StringResolver ) ) ;
357
357
var resolverDescriptor = new ResolverDescriptor (
358
- type ,
359
358
typeof ( Entity ) ,
360
- new FieldMember ( "A" , "b" , resolverMember ! ) ) ;
359
+ new FieldMember ( "A" , "b" , resolverMember ! ) ,
360
+ type ) ;
361
361
362
362
// act
363
363
var compiler = new ResolveCompiler ( ) ;
@@ -378,9 +378,9 @@ public async Task Compile_StringMethod_WithParams_Resolver()
378
378
MemberInfo resolverMember =
379
379
type . GetMethod ( nameof ( Resolvers . StringResolverWithArg ) ) ;
380
380
var resolverDescriptor = new ResolverDescriptor (
381
- type ,
382
381
typeof ( Entity ) ,
383
- new FieldMember ( "A" , "b" , resolverMember ! ) ) ;
382
+ new FieldMember ( "A" , "b" , resolverMember ! ) ,
383
+ type ) ;
384
384
385
385
// act
386
386
var compiler = new ResolveCompiler ( ) ;
@@ -402,9 +402,9 @@ public async Task Compile_ObjTaskProperty_Resolver()
402
402
MemberInfo resolverMember =
403
403
type . GetProperty ( "ObjectTaskStringProp" ) ;
404
404
var resolverDescriptor = new ResolverDescriptor (
405
- type ,
406
405
typeof ( Entity ) ,
407
- new FieldMember ( "A" , "b" , resolverMember ! ) ) ;
406
+ new FieldMember ( "A" , "b" , resolverMember ! ) ,
407
+ resolverType : type ) ;
408
408
409
409
// act
410
410
var compiler = new ResolveCompiler ( ) ;
@@ -425,9 +425,9 @@ public async Task Compile_StringTaskProperty_Resolver()
425
425
MemberInfo resolverMember =
426
426
type . GetProperty ( "StringTaskResolverProp" ) ;
427
427
var resolverDescriptor = new ResolverDescriptor (
428
- type ,
429
428
typeof ( Entity ) ,
430
- new FieldMember ( "A" , "b" , resolverMember ! ) ) ;
429
+ new FieldMember ( "A" , "b" , resolverMember ! ) ,
430
+ resolverType : type ) ;
431
431
432
432
// act
433
433
var compiler = new ResolveCompiler ( ) ;
@@ -448,9 +448,9 @@ public async Task Compile_StringProperty_Resolver()
448
448
MemberInfo resolverMember =
449
449
type . GetProperty ( "StringProp" ) ;
450
450
var resolverDescriptor = new ResolverDescriptor (
451
- type ,
452
451
typeof ( Entity ) ,
453
- new FieldMember ( "A" , "b" , resolverMember ! ) ) ;
452
+ new FieldMember ( "A" , "b" , resolverMember ! ) ,
453
+ resolverType : type ) ;
454
454
455
455
// act
456
456
var compiler = new ResolveCompiler ( ) ;
0 commit comments