forked from 99designs/gqlgen
-
Notifications
You must be signed in to change notification settings - Fork 0
/
root_.generated.go
2081 lines (1585 loc) · 55 KB
/
root_.generated.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
// Code generated by github.com/99designs/gqlgen, DO NOT EDIT.
package followschema
import (
"bytes"
"context"
"embed"
"errors"
"fmt"
"github.com/99designs/gqlgen/graphql"
"github.com/99designs/gqlgen/graphql/introspection"
gqlparser "github.com/vektah/gqlparser/v2"
"github.com/vektah/gqlparser/v2/ast"
)
// NewExecutableSchema creates an ExecutableSchema from the ResolverRoot interface.
func NewExecutableSchema(cfg Config) graphql.ExecutableSchema {
return &executableSchema{
resolvers: cfg.Resolvers,
directives: cfg.Directives,
complexity: cfg.Complexity,
}
}
type Config struct {
Resolvers ResolverRoot
Directives DirectiveRoot
Complexity ComplexityRoot
}
type ResolverRoot interface {
BackedByInterface() BackedByInterfaceResolver
Errors() ErrorsResolver
ForcedResolver() ForcedResolverResolver
ModelMethods() ModelMethodsResolver
Mutation() MutationResolver
OverlappingFields() OverlappingFieldsResolver
Panics() PanicsResolver
Pet() PetResolver
Primitive() PrimitiveResolver
PrimitiveString() PrimitiveStringResolver
Query() QueryResolver
Subscription() SubscriptionResolver
User() UserResolver
WrappedMap() WrappedMapResolver
WrappedSlice() WrappedSliceResolver
FieldsOrderInput() FieldsOrderInputResolver
}
type DirectiveRoot struct {
Custom func(ctx context.Context, obj interface{}, next graphql.Resolver) (res interface{}, err error)
Directive1 func(ctx context.Context, obj interface{}, next graphql.Resolver) (res interface{}, err error)
Directive2 func(ctx context.Context, obj interface{}, next graphql.Resolver) (res interface{}, err error)
Directive3 func(ctx context.Context, obj interface{}, next graphql.Resolver) (res interface{}, err error)
Length func(ctx context.Context, obj interface{}, next graphql.Resolver, min int, max *int, message *string) (res interface{}, err error)
Logged func(ctx context.Context, obj interface{}, next graphql.Resolver, id string) (res interface{}, err error)
MakeNil func(ctx context.Context, obj interface{}, next graphql.Resolver) (res interface{}, err error)
MakeTypedNil func(ctx context.Context, obj interface{}, next graphql.Resolver) (res interface{}, err error)
Order1 func(ctx context.Context, obj interface{}, next graphql.Resolver, location string) (res interface{}, err error)
Order2 func(ctx context.Context, obj interface{}, next graphql.Resolver, location string) (res interface{}, err error)
Range func(ctx context.Context, obj interface{}, next graphql.Resolver, min *int, max *int) (res interface{}, err error)
ToNull func(ctx context.Context, obj interface{}, next graphql.Resolver) (res interface{}, err error)
Unimplemented func(ctx context.Context, obj interface{}, next graphql.Resolver) (res interface{}, err error)
}
type ComplexityRoot struct {
A struct {
ID func(childComplexity int) int
}
AIt struct {
ID func(childComplexity int) int
}
AbIt struct {
ID func(childComplexity int) int
}
Autobind struct {
IdInt func(childComplexity int) int
IdStr func(childComplexity int) int
Int func(childComplexity int) int
Int32 func(childComplexity int) int
Int64 func(childComplexity int) int
}
B struct {
ID func(childComplexity int) int
}
BackedByInterface struct {
ID func(childComplexity int) int
ThisShouldBind func(childComplexity int) int
ThisShouldBindWithError func(childComplexity int) int
}
Cat struct {
CatBreed func(childComplexity int) int
Species func(childComplexity int) int
}
CheckIssue896 struct {
ID func(childComplexity int) int
}
Circle struct {
Area func(childComplexity int) int
Coordinates func(childComplexity int) int
Radius func(childComplexity int) int
}
ConcreteNodeA struct {
Child func(childComplexity int) int
ID func(childComplexity int) int
Name func(childComplexity int) int
}
ConcreteNodeInterface struct {
Child func(childComplexity int) int
ID func(childComplexity int) int
}
Content_Post struct {
Foo func(childComplexity int) int
}
Content_User struct {
Foo func(childComplexity int) int
}
Coordinates struct {
X func(childComplexity int) int
Y func(childComplexity int) int
}
DefaultParametersMirror struct {
FalsyBoolean func(childComplexity int) int
TruthyBoolean func(childComplexity int) int
}
Dog struct {
DogBreed func(childComplexity int) int
Species func(childComplexity int) int
}
EmbeddedCase1 struct {
ExportedEmbeddedPointerExportedMethod func(childComplexity int) int
}
EmbeddedCase2 struct {
UnexportedEmbeddedPointerExportedMethod func(childComplexity int) int
}
EmbeddedCase3 struct {
UnexportedEmbeddedInterfaceExportedMethod func(childComplexity int) int
}
EmbeddedDefaultScalar struct {
Value func(childComplexity int) int
}
EmbeddedPointer struct {
ID func(childComplexity int) int
Title func(childComplexity int) int
}
Error struct {
ErrorOnNonRequiredField func(childComplexity int) int
ErrorOnRequiredField func(childComplexity int) int
ID func(childComplexity int) int
NilOnRequiredField func(childComplexity int) int
}
Errors struct {
A func(childComplexity int) int
B func(childComplexity int) int
C func(childComplexity int) int
D func(childComplexity int) int
E func(childComplexity int) int
}
FieldsOrderPayload struct {
FirstFieldValue func(childComplexity int) int
}
ForcedResolver struct {
Field func(childComplexity int) int
}
InnerObject struct {
ID func(childComplexity int) int
}
InvalidIdentifier struct {
ID func(childComplexity int) int
}
It struct {
ID func(childComplexity int) int
}
LoopA struct {
B func(childComplexity int) int
}
LoopB struct {
A func(childComplexity int) int
}
Map struct {
ID func(childComplexity int) int
}
MapStringInterfaceType struct {
A func(childComplexity int) int
B func(childComplexity int) int
}
ModelMethods struct {
NoContext func(childComplexity int) int
ResolverField func(childComplexity int) int
WithContext func(childComplexity int) int
}
Mutation struct {
DefaultInput func(childComplexity int, input DefaultInput) int
OverrideValueViaInput func(childComplexity int, input FieldsOrderInput) int
UpdatePtrToPtr func(childComplexity int, input UpdatePtrToPtrOuter) int
UpdateSomething func(childComplexity int, input SpecialInput) int
}
ObjectDirectives struct {
NullableText func(childComplexity int) int
Order func(childComplexity int) int
Text func(childComplexity int) int
}
ObjectDirectivesWithCustomGoModel struct {
NullableText func(childComplexity int) int
}
OuterObject struct {
Inner func(childComplexity int) int
}
OverlappingFields struct {
Foo func(childComplexity int) int
NewFoo func(childComplexity int) int
OldFoo func(childComplexity int) int
}
Panics struct {
ArgUnmarshal func(childComplexity int, u []MarshalPanic) int
FieldFuncMarshal func(childComplexity int, u []MarshalPanic) int
FieldScalarMarshal func(childComplexity int) int
}
Pet struct {
Friends func(childComplexity int, limit *int) int
ID func(childComplexity int) int
}
Primitive struct {
Squared func(childComplexity int) int
Value func(childComplexity int) int
}
PrimitiveString struct {
Doubled func(childComplexity int) int
Len func(childComplexity int) int
Value func(childComplexity int) int
}
PtrToPtrInner struct {
Key func(childComplexity int) int
Value func(childComplexity int) int
}
PtrToPtrOuter struct {
Inner func(childComplexity int) int
Name func(childComplexity int) int
StupidInner func(childComplexity int) int
}
PtrToSliceContainer struct {
PtrToSlice func(childComplexity int) int
}
Query struct {
Animal func(childComplexity int) int
Autobind func(childComplexity int) int
Collision func(childComplexity int) int
DefaultParameters func(childComplexity int, falsyBoolean *bool, truthyBoolean *bool) int
DefaultScalar func(childComplexity int, arg string) int
DeprecatedField func(childComplexity int) int
DirectiveArg func(childComplexity int, arg string) int
DirectiveDouble func(childComplexity int) int
DirectiveField func(childComplexity int) int
DirectiveFieldDef func(childComplexity int, ret string) int
DirectiveInput func(childComplexity int, arg InputDirectives) int
DirectiveInputNullable func(childComplexity int, arg *InputDirectives) int
DirectiveInputType func(childComplexity int, arg InnerInput) int
DirectiveNullableArg func(childComplexity int, arg *int, arg2 *int, arg3 *string) int
DirectiveObject func(childComplexity int) int
DirectiveObjectWithCustomGoModel func(childComplexity int) int
DirectiveUnimplemented func(childComplexity int) int
EmbeddedCase1 func(childComplexity int) int
EmbeddedCase2 func(childComplexity int) int
EmbeddedCase3 func(childComplexity int) int
EnumInInput func(childComplexity int, input *InputWithEnumValue) int
ErrorBubble func(childComplexity int) int
ErrorBubbleList func(childComplexity int) int
ErrorList func(childComplexity int) int
Errors func(childComplexity int) int
Fallback func(childComplexity int, arg FallbackToStringEncoding) int
Infinity func(childComplexity int) int
InputNullableSlice func(childComplexity int, arg []string) int
InputSlice func(childComplexity int, arg []string) int
InvalidIdentifier func(childComplexity int) int
Issue896a func(childComplexity int) int
MapInput func(childComplexity int, input map[string]interface{}) int
MapNestedStringInterface func(childComplexity int, in *NestedMapInput) int
MapStringInterface func(childComplexity int, in map[string]interface{}) int
ModelMethods func(childComplexity int) int
NestedInputs func(childComplexity int, input [][]*OuterInput) int
NestedOutputs func(childComplexity int) int
NoShape func(childComplexity int) int
NoShapeTypedNil func(childComplexity int) int
Node func(childComplexity int) int
NotAnInterface func(childComplexity int) int
NullableArg func(childComplexity int, arg *int) int
OptionalUnion func(childComplexity int) int
Overlapping func(childComplexity int) int
Panics func(childComplexity int) int
PrimitiveObject func(childComplexity int) int
PrimitiveStringObject func(childComplexity int) int
PtrToSliceContainer func(childComplexity int) int
Recursive func(childComplexity int, input *RecursiveInputSlice) int
ScalarSlice func(childComplexity int) int
ShapeUnion func(childComplexity int) int
Shapes func(childComplexity int) int
Slices func(childComplexity int) int
StringFromContextFunction func(childComplexity int) int
StringFromContextInterface func(childComplexity int) int
User func(childComplexity int, id int) int
VOkCaseNil func(childComplexity int) int
VOkCaseValue func(childComplexity int) int
Valid func(childComplexity int) int
ValidType func(childComplexity int) int
VariadicModel func(childComplexity int) int
WrappedMap func(childComplexity int) int
WrappedScalar func(childComplexity int) int
WrappedSlice func(childComplexity int) int
WrappedStruct func(childComplexity int) int
}
Rectangle struct {
Area func(childComplexity int) int
Coordinates func(childComplexity int) int
Length func(childComplexity int) int
Width func(childComplexity int) int
}
Slices struct {
Test1 func(childComplexity int) int
Test2 func(childComplexity int) int
Test3 func(childComplexity int) int
Test4 func(childComplexity int) int
}
Subscription struct {
DirectiveArg func(childComplexity int, arg string) int
DirectiveDouble func(childComplexity int) int
DirectiveNullableArg func(childComplexity int, arg *int, arg2 *int, arg3 *string) int
DirectiveUnimplemented func(childComplexity int) int
ErrorRequired func(childComplexity int) int
InitPayload func(childComplexity int) int
Issue896b func(childComplexity int) int
Updated func(childComplexity int) int
}
User struct {
Created func(childComplexity int) int
Friends func(childComplexity int) int
ID func(childComplexity int) int
Pets func(childComplexity int, limit *int) int
Updated func(childComplexity int) int
}
VOkCaseNil struct {
Value func(childComplexity int) int
}
VOkCaseValue struct {
Value func(childComplexity int) int
}
ValidType struct {
DifferentCase func(childComplexity int) int
DifferentCaseOld func(childComplexity int) int
ValidArgs func(childComplexity int, breakArg string, defaultArg string, funcArg string, interfaceArg string, selectArg string, caseArg string, deferArg string, goArg string, mapArg string, structArg string, chanArg string, elseArg string, gotoArg string, packageArg string, switchArg string, constArg string, fallthroughArg string, ifArg string, rangeArg string, typeArg string, continueArg string, forArg string, importArg string, returnArg string, varArg string, _ string) int
ValidInputKeywords func(childComplexity int, input *ValidInput) int
}
VariadicModel struct {
Value func(childComplexity int, rank int) int
}
WrappedMap struct {
Get func(childComplexity int, key string) int
}
WrappedSlice struct {
Get func(childComplexity int, idx int) int
}
WrappedStruct struct {
Desc func(childComplexity int) int
Name func(childComplexity int) int
}
XXIt struct {
ID func(childComplexity int) int
}
XxIt struct {
ID func(childComplexity int) int
}
AsdfIt struct {
ID func(childComplexity int) int
}
IIt struct {
ID func(childComplexity int) int
}
}
type executableSchema struct {
resolvers ResolverRoot
directives DirectiveRoot
complexity ComplexityRoot
}
func (e *executableSchema) Schema() *ast.Schema {
return parsedSchema
}
func (e *executableSchema) Complexity(typeName, field string, childComplexity int, rawArgs map[string]interface{}) (int, bool) {
ec := executionContext{nil, e}
_ = ec
switch typeName + "." + field {
case "A.id":
if e.complexity.A.ID == nil {
break
}
return e.complexity.A.ID(childComplexity), true
case "AIt.id":
if e.complexity.AIt.ID == nil {
break
}
return e.complexity.AIt.ID(childComplexity), true
case "AbIt.id":
if e.complexity.AbIt.ID == nil {
break
}
return e.complexity.AbIt.ID(childComplexity), true
case "Autobind.idInt":
if e.complexity.Autobind.IdInt == nil {
break
}
return e.complexity.Autobind.IdInt(childComplexity), true
case "Autobind.idStr":
if e.complexity.Autobind.IdStr == nil {
break
}
return e.complexity.Autobind.IdStr(childComplexity), true
case "Autobind.int":
if e.complexity.Autobind.Int == nil {
break
}
return e.complexity.Autobind.Int(childComplexity), true
case "Autobind.int32":
if e.complexity.Autobind.Int32 == nil {
break
}
return e.complexity.Autobind.Int32(childComplexity), true
case "Autobind.int64":
if e.complexity.Autobind.Int64 == nil {
break
}
return e.complexity.Autobind.Int64(childComplexity), true
case "B.id":
if e.complexity.B.ID == nil {
break
}
return e.complexity.B.ID(childComplexity), true
case "BackedByInterface.id":
if e.complexity.BackedByInterface.ID == nil {
break
}
return e.complexity.BackedByInterface.ID(childComplexity), true
case "BackedByInterface.thisShouldBind":
if e.complexity.BackedByInterface.ThisShouldBind == nil {
break
}
return e.complexity.BackedByInterface.ThisShouldBind(childComplexity), true
case "BackedByInterface.thisShouldBindWithError":
if e.complexity.BackedByInterface.ThisShouldBindWithError == nil {
break
}
return e.complexity.BackedByInterface.ThisShouldBindWithError(childComplexity), true
case "Cat.catBreed":
if e.complexity.Cat.CatBreed == nil {
break
}
return e.complexity.Cat.CatBreed(childComplexity), true
case "Cat.species":
if e.complexity.Cat.Species == nil {
break
}
return e.complexity.Cat.Species(childComplexity), true
case "CheckIssue896.id":
if e.complexity.CheckIssue896.ID == nil {
break
}
return e.complexity.CheckIssue896.ID(childComplexity), true
case "Circle.area":
if e.complexity.Circle.Area == nil {
break
}
return e.complexity.Circle.Area(childComplexity), true
case "Circle.coordinates":
if e.complexity.Circle.Coordinates == nil {
break
}
return e.complexity.Circle.Coordinates(childComplexity), true
case "Circle.radius":
if e.complexity.Circle.Radius == nil {
break
}
return e.complexity.Circle.Radius(childComplexity), true
case "ConcreteNodeA.child":
if e.complexity.ConcreteNodeA.Child == nil {
break
}
return e.complexity.ConcreteNodeA.Child(childComplexity), true
case "ConcreteNodeA.id":
if e.complexity.ConcreteNodeA.ID == nil {
break
}
return e.complexity.ConcreteNodeA.ID(childComplexity), true
case "ConcreteNodeA.name":
if e.complexity.ConcreteNodeA.Name == nil {
break
}
return e.complexity.ConcreteNodeA.Name(childComplexity), true
case "ConcreteNodeInterface.child":
if e.complexity.ConcreteNodeInterface.Child == nil {
break
}
return e.complexity.ConcreteNodeInterface.Child(childComplexity), true
case "ConcreteNodeInterface.id":
if e.complexity.ConcreteNodeInterface.ID == nil {
break
}
return e.complexity.ConcreteNodeInterface.ID(childComplexity), true
case "Content_Post.foo":
if e.complexity.Content_Post.Foo == nil {
break
}
return e.complexity.Content_Post.Foo(childComplexity), true
case "Content_User.foo":
if e.complexity.Content_User.Foo == nil {
break
}
return e.complexity.Content_User.Foo(childComplexity), true
case "Coordinates.x":
if e.complexity.Coordinates.X == nil {
break
}
return e.complexity.Coordinates.X(childComplexity), true
case "Coordinates.y":
if e.complexity.Coordinates.Y == nil {
break
}
return e.complexity.Coordinates.Y(childComplexity), true
case "DefaultParametersMirror.falsyBoolean":
if e.complexity.DefaultParametersMirror.FalsyBoolean == nil {
break
}
return e.complexity.DefaultParametersMirror.FalsyBoolean(childComplexity), true
case "DefaultParametersMirror.truthyBoolean":
if e.complexity.DefaultParametersMirror.TruthyBoolean == nil {
break
}
return e.complexity.DefaultParametersMirror.TruthyBoolean(childComplexity), true
case "Dog.dogBreed":
if e.complexity.Dog.DogBreed == nil {
break
}
return e.complexity.Dog.DogBreed(childComplexity), true
case "Dog.species":
if e.complexity.Dog.Species == nil {
break
}
return e.complexity.Dog.Species(childComplexity), true
case "EmbeddedCase1.exportedEmbeddedPointerExportedMethod":
if e.complexity.EmbeddedCase1.ExportedEmbeddedPointerExportedMethod == nil {
break
}
return e.complexity.EmbeddedCase1.ExportedEmbeddedPointerExportedMethod(childComplexity), true
case "EmbeddedCase2.unexportedEmbeddedPointerExportedMethod":
if e.complexity.EmbeddedCase2.UnexportedEmbeddedPointerExportedMethod == nil {
break
}
return e.complexity.EmbeddedCase2.UnexportedEmbeddedPointerExportedMethod(childComplexity), true
case "EmbeddedCase3.unexportedEmbeddedInterfaceExportedMethod":
if e.complexity.EmbeddedCase3.UnexportedEmbeddedInterfaceExportedMethod == nil {
break
}
return e.complexity.EmbeddedCase3.UnexportedEmbeddedInterfaceExportedMethod(childComplexity), true
case "EmbeddedDefaultScalar.value":
if e.complexity.EmbeddedDefaultScalar.Value == nil {
break
}
return e.complexity.EmbeddedDefaultScalar.Value(childComplexity), true
case "EmbeddedPointer.ID":
if e.complexity.EmbeddedPointer.ID == nil {
break
}
return e.complexity.EmbeddedPointer.ID(childComplexity), true
case "EmbeddedPointer.Title":
if e.complexity.EmbeddedPointer.Title == nil {
break
}
return e.complexity.EmbeddedPointer.Title(childComplexity), true
case "Error.errorOnNonRequiredField":
if e.complexity.Error.ErrorOnNonRequiredField == nil {
break
}
return e.complexity.Error.ErrorOnNonRequiredField(childComplexity), true
case "Error.errorOnRequiredField":
if e.complexity.Error.ErrorOnRequiredField == nil {
break
}
return e.complexity.Error.ErrorOnRequiredField(childComplexity), true
case "Error.id":
if e.complexity.Error.ID == nil {
break
}
return e.complexity.Error.ID(childComplexity), true
case "Error.nilOnRequiredField":
if e.complexity.Error.NilOnRequiredField == nil {
break
}
return e.complexity.Error.NilOnRequiredField(childComplexity), true
case "Errors.a":
if e.complexity.Errors.A == nil {
break
}
return e.complexity.Errors.A(childComplexity), true
case "Errors.b":
if e.complexity.Errors.B == nil {
break
}
return e.complexity.Errors.B(childComplexity), true
case "Errors.c":
if e.complexity.Errors.C == nil {
break
}
return e.complexity.Errors.C(childComplexity), true
case "Errors.d":
if e.complexity.Errors.D == nil {
break
}
return e.complexity.Errors.D(childComplexity), true
case "Errors.e":
if e.complexity.Errors.E == nil {
break
}
return e.complexity.Errors.E(childComplexity), true
case "FieldsOrderPayload.firstFieldValue":
if e.complexity.FieldsOrderPayload.FirstFieldValue == nil {
break
}
return e.complexity.FieldsOrderPayload.FirstFieldValue(childComplexity), true
case "ForcedResolver.field":
if e.complexity.ForcedResolver.Field == nil {
break
}
return e.complexity.ForcedResolver.Field(childComplexity), true
case "InnerObject.id":
if e.complexity.InnerObject.ID == nil {
break
}
return e.complexity.InnerObject.ID(childComplexity), true
case "InvalidIdentifier.id":
if e.complexity.InvalidIdentifier.ID == nil {
break
}
return e.complexity.InvalidIdentifier.ID(childComplexity), true
case "It.id":
if e.complexity.It.ID == nil {
break
}
return e.complexity.It.ID(childComplexity), true
case "LoopA.b":
if e.complexity.LoopA.B == nil {
break
}
return e.complexity.LoopA.B(childComplexity), true
case "LoopB.a":
if e.complexity.LoopB.A == nil {
break
}
return e.complexity.LoopB.A(childComplexity), true
case "Map.id":
if e.complexity.Map.ID == nil {
break
}
return e.complexity.Map.ID(childComplexity), true
case "MapStringInterfaceType.a":
if e.complexity.MapStringInterfaceType.A == nil {
break
}
return e.complexity.MapStringInterfaceType.A(childComplexity), true
case "MapStringInterfaceType.b":
if e.complexity.MapStringInterfaceType.B == nil {
break
}
return e.complexity.MapStringInterfaceType.B(childComplexity), true
case "ModelMethods.noContext":
if e.complexity.ModelMethods.NoContext == nil {
break
}
return e.complexity.ModelMethods.NoContext(childComplexity), true
case "ModelMethods.resolverField":
if e.complexity.ModelMethods.ResolverField == nil {
break
}
return e.complexity.ModelMethods.ResolverField(childComplexity), true
case "ModelMethods.withContext":
if e.complexity.ModelMethods.WithContext == nil {
break
}
return e.complexity.ModelMethods.WithContext(childComplexity), true
case "Mutation.defaultInput":
if e.complexity.Mutation.DefaultInput == nil {
break
}
args, err := ec.field_Mutation_defaultInput_args(context.TODO(), rawArgs)
if err != nil {
return 0, false
}
return e.complexity.Mutation.DefaultInput(childComplexity, args["input"].(DefaultInput)), true
case "Mutation.overrideValueViaInput":
if e.complexity.Mutation.OverrideValueViaInput == nil {
break
}
args, err := ec.field_Mutation_overrideValueViaInput_args(context.TODO(), rawArgs)
if err != nil {
return 0, false
}
return e.complexity.Mutation.OverrideValueViaInput(childComplexity, args["input"].(FieldsOrderInput)), true
case "Mutation.updatePtrToPtr":
if e.complexity.Mutation.UpdatePtrToPtr == nil {
break
}
args, err := ec.field_Mutation_updatePtrToPtr_args(context.TODO(), rawArgs)
if err != nil {
return 0, false
}
return e.complexity.Mutation.UpdatePtrToPtr(childComplexity, args["input"].(UpdatePtrToPtrOuter)), true
case "Mutation.updateSomething":
if e.complexity.Mutation.UpdateSomething == nil {
break
}
args, err := ec.field_Mutation_updateSomething_args(context.TODO(), rawArgs)
if err != nil {
return 0, false
}
return e.complexity.Mutation.UpdateSomething(childComplexity, args["input"].(SpecialInput)), true
case "ObjectDirectives.nullableText":
if e.complexity.ObjectDirectives.NullableText == nil {
break
}
return e.complexity.ObjectDirectives.NullableText(childComplexity), true
case "ObjectDirectives.order":
if e.complexity.ObjectDirectives.Order == nil {
break
}
return e.complexity.ObjectDirectives.Order(childComplexity), true
case "ObjectDirectives.text":
if e.complexity.ObjectDirectives.Text == nil {
break
}
return e.complexity.ObjectDirectives.Text(childComplexity), true
case "ObjectDirectivesWithCustomGoModel.nullableText":
if e.complexity.ObjectDirectivesWithCustomGoModel.NullableText == nil {
break
}
return e.complexity.ObjectDirectivesWithCustomGoModel.NullableText(childComplexity), true
case "OuterObject.inner":
if e.complexity.OuterObject.Inner == nil {
break
}
return e.complexity.OuterObject.Inner(childComplexity), true
case "OverlappingFields.oneFoo", "OverlappingFields.twoFoo":
if e.complexity.OverlappingFields.Foo == nil {
break
}
return e.complexity.OverlappingFields.Foo(childComplexity), true
case "OverlappingFields.newFoo", "OverlappingFields.new_foo":
if e.complexity.OverlappingFields.NewFoo == nil {
break
}
return e.complexity.OverlappingFields.NewFoo(childComplexity), true
case "OverlappingFields.oldFoo":
if e.complexity.OverlappingFields.OldFoo == nil {
break
}
return e.complexity.OverlappingFields.OldFoo(childComplexity), true
case "Panics.argUnmarshal":
if e.complexity.Panics.ArgUnmarshal == nil {
break
}
args, err := ec.field_Panics_argUnmarshal_args(context.TODO(), rawArgs)
if err != nil {
return 0, false
}
return e.complexity.Panics.ArgUnmarshal(childComplexity, args["u"].([]MarshalPanic)), true
case "Panics.fieldFuncMarshal":
if e.complexity.Panics.FieldFuncMarshal == nil {
break
}
args, err := ec.field_Panics_fieldFuncMarshal_args(context.TODO(), rawArgs)
if err != nil {
return 0, false
}
return e.complexity.Panics.FieldFuncMarshal(childComplexity, args["u"].([]MarshalPanic)), true
case "Panics.fieldScalarMarshal":
if e.complexity.Panics.FieldScalarMarshal == nil {
break
}