github.com/geneva/gqlgen@v0.17.7-0.20230801155730-7b9317164836/codegen/testserver/followschema/root_.generated.go (about)

     1  // Code generated by github.com/geneva/gqlgen, DO NOT EDIT.
     2  
     3  package followschema
     4  
     5  import (
     6  	"bytes"
     7  	"context"
     8  	"embed"
     9  	"errors"
    10  	"fmt"
    11  	"sync/atomic"
    12  
    13  	"github.com/geneva/gqlgen/graphql"
    14  	"github.com/geneva/gqlgen/graphql/introspection"
    15  	gqlparser "github.com/vektah/gqlparser/v2"
    16  	"github.com/vektah/gqlparser/v2/ast"
    17  )
    18  
    19  // NewExecutableSchema creates an ExecutableSchema from the ResolverRoot interface.
    20  func NewExecutableSchema(cfg Config) graphql.ExecutableSchema {
    21  	return &executableSchema{
    22  		resolvers:  cfg.Resolvers,
    23  		directives: cfg.Directives,
    24  		complexity: cfg.Complexity,
    25  	}
    26  }
    27  
    28  type Config struct {
    29  	Resolvers  ResolverRoot
    30  	Directives DirectiveRoot
    31  	Complexity ComplexityRoot
    32  }
    33  
    34  type ResolverRoot interface {
    35  	BackedByInterface() BackedByInterfaceResolver
    36  	DeferModel() DeferModelResolver
    37  	Errors() ErrorsResolver
    38  	ForcedResolver() ForcedResolverResolver
    39  	ModelMethods() ModelMethodsResolver
    40  	Mutation() MutationResolver
    41  	OverlappingFields() OverlappingFieldsResolver
    42  	Panics() PanicsResolver
    43  	Pet() PetResolver
    44  	Primitive() PrimitiveResolver
    45  	PrimitiveString() PrimitiveStringResolver
    46  	Query() QueryResolver
    47  	Subscription() SubscriptionResolver
    48  	User() UserResolver
    49  	WrappedMap() WrappedMapResolver
    50  	WrappedSlice() WrappedSliceResolver
    51  	FieldsOrderInput() FieldsOrderInputResolver
    52  }
    53  
    54  type DirectiveRoot struct {
    55  	Custom        func(ctx context.Context, obj interface{}, next graphql.Resolver) (res interface{}, err error)
    56  	Defer         func(ctx context.Context, obj interface{}, next graphql.Resolver, ifArg *bool, label *string) (res interface{}, err error)
    57  	Directive1    func(ctx context.Context, obj interface{}, next graphql.Resolver) (res interface{}, err error)
    58  	Directive2    func(ctx context.Context, obj interface{}, next graphql.Resolver) (res interface{}, err error)
    59  	Directive3    func(ctx context.Context, obj interface{}, next graphql.Resolver) (res interface{}, err error)
    60  	Length        func(ctx context.Context, obj interface{}, next graphql.Resolver, min int, max *int, message *string) (res interface{}, err error)
    61  	Logged        func(ctx context.Context, obj interface{}, next graphql.Resolver, id string) (res interface{}, err error)
    62  	MakeNil       func(ctx context.Context, obj interface{}, next graphql.Resolver) (res interface{}, err error)
    63  	MakeTypedNil  func(ctx context.Context, obj interface{}, next graphql.Resolver) (res interface{}, err error)
    64  	Order1        func(ctx context.Context, obj interface{}, next graphql.Resolver, location string) (res interface{}, err error)
    65  	Order2        func(ctx context.Context, obj interface{}, next graphql.Resolver, location string) (res interface{}, err error)
    66  	Range         func(ctx context.Context, obj interface{}, next graphql.Resolver, min *int, max *int) (res interface{}, err error)
    67  	ToNull        func(ctx context.Context, obj interface{}, next graphql.Resolver) (res interface{}, err error)
    68  	Unimplemented func(ctx context.Context, obj interface{}, next graphql.Resolver) (res interface{}, err error)
    69  }
    70  
    71  type ComplexityRoot struct {
    72  	A struct {
    73  		ID func(childComplexity int) int
    74  	}
    75  
    76  	AIt struct {
    77  		ID func(childComplexity int) int
    78  	}
    79  
    80  	AbIt struct {
    81  		ID func(childComplexity int) int
    82  	}
    83  
    84  	Autobind struct {
    85  		IdInt func(childComplexity int) int
    86  		IdStr func(childComplexity int) int
    87  		Int   func(childComplexity int) int
    88  		Int32 func(childComplexity int) int
    89  		Int64 func(childComplexity int) int
    90  	}
    91  
    92  	B struct {
    93  		ID func(childComplexity int) int
    94  	}
    95  
    96  	BackedByInterface struct {
    97  		ID                      func(childComplexity int) int
    98  		ThisShouldBind          func(childComplexity int) int
    99  		ThisShouldBindWithError func(childComplexity int) int
   100  	}
   101  
   102  	Cat struct {
   103  		CatBreed func(childComplexity int) int
   104  		Size     func(childComplexity int) int
   105  		Species  func(childComplexity int) int
   106  	}
   107  
   108  	CheckIssue896 struct {
   109  		ID func(childComplexity int) int
   110  	}
   111  
   112  	Circle struct {
   113  		Area        func(childComplexity int) int
   114  		Coordinates func(childComplexity int) int
   115  		Radius      func(childComplexity int) int
   116  	}
   117  
   118  	ConcreteNodeA struct {
   119  		Child func(childComplexity int) int
   120  		ID    func(childComplexity int) int
   121  		Name  func(childComplexity int) int
   122  	}
   123  
   124  	ConcreteNodeInterface struct {
   125  		Child func(childComplexity int) int
   126  		ID    func(childComplexity int) int
   127  	}
   128  
   129  	Content_Post struct {
   130  		Foo func(childComplexity int) int
   131  	}
   132  
   133  	Content_User struct {
   134  		Foo func(childComplexity int) int
   135  	}
   136  
   137  	Coordinates struct {
   138  		X func(childComplexity int) int
   139  		Y func(childComplexity int) int
   140  	}
   141  
   142  	DefaultParametersMirror struct {
   143  		FalsyBoolean  func(childComplexity int) int
   144  		TruthyBoolean func(childComplexity int) int
   145  	}
   146  
   147  	DeferModel struct {
   148  		ID     func(childComplexity int) int
   149  		Name   func(childComplexity int) int
   150  		Values func(childComplexity int) int
   151  	}
   152  
   153  	Dog struct {
   154  		DogBreed func(childComplexity int) int
   155  		Size     func(childComplexity int) int
   156  		Species  func(childComplexity int) int
   157  	}
   158  
   159  	EmbeddedCase1 struct {
   160  		ExportedEmbeddedPointerExportedMethod func(childComplexity int) int
   161  	}
   162  
   163  	EmbeddedCase2 struct {
   164  		UnexportedEmbeddedPointerExportedMethod func(childComplexity int) int
   165  	}
   166  
   167  	EmbeddedCase3 struct {
   168  		UnexportedEmbeddedInterfaceExportedMethod func(childComplexity int) int
   169  	}
   170  
   171  	EmbeddedDefaultScalar struct {
   172  		Value func(childComplexity int) int
   173  	}
   174  
   175  	EmbeddedPointer struct {
   176  		ID    func(childComplexity int) int
   177  		Title func(childComplexity int) int
   178  	}
   179  
   180  	Error struct {
   181  		ErrorOnNonRequiredField func(childComplexity int) int
   182  		ErrorOnRequiredField    func(childComplexity int) int
   183  		ID                      func(childComplexity int) int
   184  		NilOnRequiredField      func(childComplexity int) int
   185  	}
   186  
   187  	Errors struct {
   188  		A func(childComplexity int) int
   189  		B func(childComplexity int) int
   190  		C func(childComplexity int) int
   191  		D func(childComplexity int) int
   192  		E func(childComplexity int) int
   193  	}
   194  
   195  	FieldsOrderPayload struct {
   196  		FirstFieldValue func(childComplexity int) int
   197  	}
   198  
   199  	ForcedResolver struct {
   200  		Field func(childComplexity int) int
   201  	}
   202  
   203  	InnerObject struct {
   204  		ID func(childComplexity int) int
   205  	}
   206  
   207  	InvalidIdentifier struct {
   208  		ID func(childComplexity int) int
   209  	}
   210  
   211  	It struct {
   212  		ID func(childComplexity int) int
   213  	}
   214  
   215  	LoopA struct {
   216  		B func(childComplexity int) int
   217  	}
   218  
   219  	LoopB struct {
   220  		A func(childComplexity int) int
   221  	}
   222  
   223  	Map struct {
   224  		ID func(childComplexity int) int
   225  	}
   226  
   227  	MapStringInterfaceType struct {
   228  		A func(childComplexity int) int
   229  		B func(childComplexity int) int
   230  	}
   231  
   232  	ModelMethods struct {
   233  		NoContext     func(childComplexity int) int
   234  		ResolverField func(childComplexity int) int
   235  		WithContext   func(childComplexity int) int
   236  	}
   237  
   238  	Mutation struct {
   239  		DefaultInput          func(childComplexity int, input DefaultInput) int
   240  		OverrideValueViaInput func(childComplexity int, input FieldsOrderInput) int
   241  		UpdatePtrToPtr        func(childComplexity int, input UpdatePtrToPtrOuter) int
   242  		UpdateSomething       func(childComplexity int, input SpecialInput) int
   243  	}
   244  
   245  	ObjectDirectives struct {
   246  		NullableText func(childComplexity int) int
   247  		Order        func(childComplexity int) int
   248  		Text         func(childComplexity int) int
   249  	}
   250  
   251  	ObjectDirectivesWithCustomGoModel struct {
   252  		NullableText func(childComplexity int) int
   253  	}
   254  
   255  	OuterObject struct {
   256  		Inner func(childComplexity int) int
   257  	}
   258  
   259  	OverlappingFields struct {
   260  		Foo    func(childComplexity int) int
   261  		NewFoo func(childComplexity int) int
   262  		OldFoo func(childComplexity int) int
   263  	}
   264  
   265  	Panics struct {
   266  		ArgUnmarshal       func(childComplexity int, u []MarshalPanic) int
   267  		FieldFuncMarshal   func(childComplexity int, u []MarshalPanic) int
   268  		FieldScalarMarshal func(childComplexity int) int
   269  	}
   270  
   271  	Pet struct {
   272  		Friends func(childComplexity int, limit *int) int
   273  		ID      func(childComplexity int) int
   274  	}
   275  
   276  	Primitive struct {
   277  		Squared func(childComplexity int) int
   278  		Value   func(childComplexity int) int
   279  	}
   280  
   281  	PrimitiveString struct {
   282  		Doubled func(childComplexity int) int
   283  		Len     func(childComplexity int) int
   284  		Value   func(childComplexity int) int
   285  	}
   286  
   287  	PtrToAnyContainer struct {
   288  		Binding  func(childComplexity int) int
   289  		PtrToAny func(childComplexity int) int
   290  	}
   291  
   292  	PtrToPtrInner struct {
   293  		Key   func(childComplexity int) int
   294  		Value func(childComplexity int) int
   295  	}
   296  
   297  	PtrToPtrOuter struct {
   298  		Inner       func(childComplexity int) int
   299  		Name        func(childComplexity int) int
   300  		StupidInner func(childComplexity int) int
   301  	}
   302  
   303  	PtrToSliceContainer struct {
   304  		PtrToSlice func(childComplexity int) int
   305  	}
   306  
   307  	Query struct {
   308  		Animal                           func(childComplexity int) int
   309  		Autobind                         func(childComplexity int) int
   310  		Collision                        func(childComplexity int) int
   311  		DefaultParameters                func(childComplexity int, falsyBoolean *bool, truthyBoolean *bool) int
   312  		DefaultScalar                    func(childComplexity int, arg string) int
   313  		DeferCase1                       func(childComplexity int) int
   314  		DeferCase2                       func(childComplexity int) int
   315  		DeprecatedField                  func(childComplexity int) int
   316  		DirectiveArg                     func(childComplexity int, arg string) int
   317  		DirectiveDouble                  func(childComplexity int) int
   318  		DirectiveField                   func(childComplexity int) int
   319  		DirectiveFieldDef                func(childComplexity int, ret string) int
   320  		DirectiveInput                   func(childComplexity int, arg InputDirectives) int
   321  		DirectiveInputNullable           func(childComplexity int, arg *InputDirectives) int
   322  		DirectiveInputType               func(childComplexity int, arg InnerInput) int
   323  		DirectiveNullableArg             func(childComplexity int, arg *int, arg2 *int, arg3 *string) int
   324  		DirectiveObject                  func(childComplexity int) int
   325  		DirectiveObjectWithCustomGoModel func(childComplexity int) int
   326  		DirectiveUnimplemented           func(childComplexity int) int
   327  		Dog                              func(childComplexity int) int
   328  		EmbeddedCase1                    func(childComplexity int) int
   329  		EmbeddedCase2                    func(childComplexity int) int
   330  		EmbeddedCase3                    func(childComplexity int) int
   331  		EnumInInput                      func(childComplexity int, input *InputWithEnumValue) int
   332  		ErrorBubble                      func(childComplexity int) int
   333  		ErrorBubbleList                  func(childComplexity int) int
   334  		ErrorList                        func(childComplexity int) int
   335  		Errors                           func(childComplexity int) int
   336  		Fallback                         func(childComplexity int, arg FallbackToStringEncoding) int
   337  		Infinity                         func(childComplexity int) int
   338  		InputNullableSlice               func(childComplexity int, arg []string) int
   339  		InputOmittable                   func(childComplexity int, arg OmittableInput) int
   340  		InputSlice                       func(childComplexity int, arg []string) int
   341  		Invalid                          func(childComplexity int) int
   342  		InvalidIdentifier                func(childComplexity int) int
   343  		Issue896a                        func(childComplexity int) int
   344  		MapInput                         func(childComplexity int, input map[string]interface{}) int
   345  		MapNestedStringInterface         func(childComplexity int, in *NestedMapInput) int
   346  		MapStringInterface               func(childComplexity int, in map[string]interface{}) int
   347  		ModelMethods                     func(childComplexity int) int
   348  		NestedInputs                     func(childComplexity int, input [][]*OuterInput) int
   349  		NestedOutputs                    func(childComplexity int) int
   350  		NoShape                          func(childComplexity int) int
   351  		NoShapeTypedNil                  func(childComplexity int) int
   352  		Node                             func(childComplexity int) int
   353  		NotAnInterface                   func(childComplexity int) int
   354  		NullableArg                      func(childComplexity int, arg *int) int
   355  		OptionalUnion                    func(childComplexity int) int
   356  		Overlapping                      func(childComplexity int) int
   357  		Panics                           func(childComplexity int) int
   358  		PrimitiveObject                  func(childComplexity int) int
   359  		PrimitiveStringObject            func(childComplexity int) int
   360  		PtrToAnyContainer                func(childComplexity int) int
   361  		PtrToSliceContainer              func(childComplexity int) int
   362  		Recursive                        func(childComplexity int, input *RecursiveInputSlice) int
   363  		ScalarSlice                      func(childComplexity int) int
   364  		ShapeUnion                       func(childComplexity int) int
   365  		Shapes                           func(childComplexity int) int
   366  		Slices                           func(childComplexity int) int
   367  		StringFromContextFunction        func(childComplexity int) int
   368  		StringFromContextInterface       func(childComplexity int) int
   369  		User                             func(childComplexity int, id int) int
   370  		VOkCaseNil                       func(childComplexity int) int
   371  		VOkCaseValue                     func(childComplexity int) int
   372  		Valid                            func(childComplexity int) int
   373  		ValidType                        func(childComplexity int) int
   374  		VariadicModel                    func(childComplexity int) int
   375  		WrappedMap                       func(childComplexity int) int
   376  		WrappedScalar                    func(childComplexity int) int
   377  		WrappedSlice                     func(childComplexity int) int
   378  		WrappedStruct                    func(childComplexity int) int
   379  	}
   380  
   381  	Rectangle struct {
   382  		Area        func(childComplexity int) int
   383  		Coordinates func(childComplexity int) int
   384  		Length      func(childComplexity int) int
   385  		Width       func(childComplexity int) int
   386  	}
   387  
   388  	Size struct {
   389  		Height func(childComplexity int) int
   390  		Weight func(childComplexity int) int
   391  	}
   392  
   393  	Slices struct {
   394  		Test1 func(childComplexity int) int
   395  		Test2 func(childComplexity int) int
   396  		Test3 func(childComplexity int) int
   397  		Test4 func(childComplexity int) int
   398  	}
   399  
   400  	Subscription struct {
   401  		DirectiveArg           func(childComplexity int, arg string) int
   402  		DirectiveDouble        func(childComplexity int) int
   403  		DirectiveNullableArg   func(childComplexity int, arg *int, arg2 *int, arg3 *string) int
   404  		DirectiveUnimplemented func(childComplexity int) int
   405  		ErrorRequired          func(childComplexity int) int
   406  		InitPayload            func(childComplexity int) int
   407  		Issue896b              func(childComplexity int) int
   408  		Updated                func(childComplexity int) int
   409  	}
   410  
   411  	User struct {
   412  		Created func(childComplexity int) int
   413  		Friends func(childComplexity int) int
   414  		ID      func(childComplexity int) int
   415  		Pets    func(childComplexity int, limit *int) int
   416  		Updated func(childComplexity int) int
   417  	}
   418  
   419  	VOkCaseNil struct {
   420  		Value func(childComplexity int) int
   421  	}
   422  
   423  	VOkCaseValue struct {
   424  		Value func(childComplexity int) int
   425  	}
   426  
   427  	ValidType struct {
   428  		DifferentCase      func(childComplexity int) int
   429  		DifferentCaseOld   func(childComplexity int) int
   430  		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
   431  		ValidInputKeywords func(childComplexity int, input *ValidInput) int
   432  	}
   433  
   434  	VariadicModel struct {
   435  		Value func(childComplexity int, rank int) int
   436  	}
   437  
   438  	WrappedMap struct {
   439  		Get func(childComplexity int, key string) int
   440  	}
   441  
   442  	WrappedSlice struct {
   443  		Get func(childComplexity int, idx int) int
   444  	}
   445  
   446  	WrappedStruct struct {
   447  		Desc func(childComplexity int) int
   448  		Name func(childComplexity int) int
   449  	}
   450  
   451  	XXIt struct {
   452  		ID func(childComplexity int) int
   453  	}
   454  
   455  	XxIt struct {
   456  		ID func(childComplexity int) int
   457  	}
   458  
   459  	AsdfIt struct {
   460  		ID func(childComplexity int) int
   461  	}
   462  
   463  	IIt struct {
   464  		ID func(childComplexity int) int
   465  	}
   466  }
   467  
   468  type executableSchema struct {
   469  	resolvers  ResolverRoot
   470  	directives DirectiveRoot
   471  	complexity ComplexityRoot
   472  }
   473  
   474  func (e *executableSchema) Schema() *ast.Schema {
   475  	return parsedSchema
   476  }
   477  
   478  func (e *executableSchema) Complexity(typeName, field string, childComplexity int, rawArgs map[string]interface{}) (int, bool) {
   479  	ec := executionContext{nil, e, 0, 0, nil}
   480  	_ = ec
   481  	switch typeName + "." + field {
   482  
   483  	case "A.id":
   484  		if e.complexity.A.ID == nil {
   485  			break
   486  		}
   487  
   488  		return e.complexity.A.ID(childComplexity), true
   489  
   490  	case "AIt.id":
   491  		if e.complexity.AIt.ID == nil {
   492  			break
   493  		}
   494  
   495  		return e.complexity.AIt.ID(childComplexity), true
   496  
   497  	case "AbIt.id":
   498  		if e.complexity.AbIt.ID == nil {
   499  			break
   500  		}
   501  
   502  		return e.complexity.AbIt.ID(childComplexity), true
   503  
   504  	case "Autobind.idInt":
   505  		if e.complexity.Autobind.IdInt == nil {
   506  			break
   507  		}
   508  
   509  		return e.complexity.Autobind.IdInt(childComplexity), true
   510  
   511  	case "Autobind.idStr":
   512  		if e.complexity.Autobind.IdStr == nil {
   513  			break
   514  		}
   515  
   516  		return e.complexity.Autobind.IdStr(childComplexity), true
   517  
   518  	case "Autobind.int":
   519  		if e.complexity.Autobind.Int == nil {
   520  			break
   521  		}
   522  
   523  		return e.complexity.Autobind.Int(childComplexity), true
   524  
   525  	case "Autobind.int32":
   526  		if e.complexity.Autobind.Int32 == nil {
   527  			break
   528  		}
   529  
   530  		return e.complexity.Autobind.Int32(childComplexity), true
   531  
   532  	case "Autobind.int64":
   533  		if e.complexity.Autobind.Int64 == nil {
   534  			break
   535  		}
   536  
   537  		return e.complexity.Autobind.Int64(childComplexity), true
   538  
   539  	case "B.id":
   540  		if e.complexity.B.ID == nil {
   541  			break
   542  		}
   543  
   544  		return e.complexity.B.ID(childComplexity), true
   545  
   546  	case "BackedByInterface.id":
   547  		if e.complexity.BackedByInterface.ID == nil {
   548  			break
   549  		}
   550  
   551  		return e.complexity.BackedByInterface.ID(childComplexity), true
   552  
   553  	case "BackedByInterface.thisShouldBind":
   554  		if e.complexity.BackedByInterface.ThisShouldBind == nil {
   555  			break
   556  		}
   557  
   558  		return e.complexity.BackedByInterface.ThisShouldBind(childComplexity), true
   559  
   560  	case "BackedByInterface.thisShouldBindWithError":
   561  		if e.complexity.BackedByInterface.ThisShouldBindWithError == nil {
   562  			break
   563  		}
   564  
   565  		return e.complexity.BackedByInterface.ThisShouldBindWithError(childComplexity), true
   566  
   567  	case "Cat.catBreed":
   568  		if e.complexity.Cat.CatBreed == nil {
   569  			break
   570  		}
   571  
   572  		return e.complexity.Cat.CatBreed(childComplexity), true
   573  
   574  	case "Cat.size":
   575  		if e.complexity.Cat.Size == nil {
   576  			break
   577  		}
   578  
   579  		return e.complexity.Cat.Size(childComplexity), true
   580  
   581  	case "Cat.species":
   582  		if e.complexity.Cat.Species == nil {
   583  			break
   584  		}
   585  
   586  		return e.complexity.Cat.Species(childComplexity), true
   587  
   588  	case "CheckIssue896.id":
   589  		if e.complexity.CheckIssue896.ID == nil {
   590  			break
   591  		}
   592  
   593  		return e.complexity.CheckIssue896.ID(childComplexity), true
   594  
   595  	case "Circle.area":
   596  		if e.complexity.Circle.Area == nil {
   597  			break
   598  		}
   599  
   600  		return e.complexity.Circle.Area(childComplexity), true
   601  
   602  	case "Circle.coordinates":
   603  		if e.complexity.Circle.Coordinates == nil {
   604  			break
   605  		}
   606  
   607  		return e.complexity.Circle.Coordinates(childComplexity), true
   608  
   609  	case "Circle.radius":
   610  		if e.complexity.Circle.Radius == nil {
   611  			break
   612  		}
   613  
   614  		return e.complexity.Circle.Radius(childComplexity), true
   615  
   616  	case "ConcreteNodeA.child":
   617  		if e.complexity.ConcreteNodeA.Child == nil {
   618  			break
   619  		}
   620  
   621  		return e.complexity.ConcreteNodeA.Child(childComplexity), true
   622  
   623  	case "ConcreteNodeA.id":
   624  		if e.complexity.ConcreteNodeA.ID == nil {
   625  			break
   626  		}
   627  
   628  		return e.complexity.ConcreteNodeA.ID(childComplexity), true
   629  
   630  	case "ConcreteNodeA.name":
   631  		if e.complexity.ConcreteNodeA.Name == nil {
   632  			break
   633  		}
   634  
   635  		return e.complexity.ConcreteNodeA.Name(childComplexity), true
   636  
   637  	case "ConcreteNodeInterface.child":
   638  		if e.complexity.ConcreteNodeInterface.Child == nil {
   639  			break
   640  		}
   641  
   642  		return e.complexity.ConcreteNodeInterface.Child(childComplexity), true
   643  
   644  	case "ConcreteNodeInterface.id":
   645  		if e.complexity.ConcreteNodeInterface.ID == nil {
   646  			break
   647  		}
   648  
   649  		return e.complexity.ConcreteNodeInterface.ID(childComplexity), true
   650  
   651  	case "Content_Post.foo":
   652  		if e.complexity.Content_Post.Foo == nil {
   653  			break
   654  		}
   655  
   656  		return e.complexity.Content_Post.Foo(childComplexity), true
   657  
   658  	case "Content_User.foo":
   659  		if e.complexity.Content_User.Foo == nil {
   660  			break
   661  		}
   662  
   663  		return e.complexity.Content_User.Foo(childComplexity), true
   664  
   665  	case "Coordinates.x":
   666  		if e.complexity.Coordinates.X == nil {
   667  			break
   668  		}
   669  
   670  		return e.complexity.Coordinates.X(childComplexity), true
   671  
   672  	case "Coordinates.y":
   673  		if e.complexity.Coordinates.Y == nil {
   674  			break
   675  		}
   676  
   677  		return e.complexity.Coordinates.Y(childComplexity), true
   678  
   679  	case "DefaultParametersMirror.falsyBoolean":
   680  		if e.complexity.DefaultParametersMirror.FalsyBoolean == nil {
   681  			break
   682  		}
   683  
   684  		return e.complexity.DefaultParametersMirror.FalsyBoolean(childComplexity), true
   685  
   686  	case "DefaultParametersMirror.truthyBoolean":
   687  		if e.complexity.DefaultParametersMirror.TruthyBoolean == nil {
   688  			break
   689  		}
   690  
   691  		return e.complexity.DefaultParametersMirror.TruthyBoolean(childComplexity), true
   692  
   693  	case "DeferModel.id":
   694  		if e.complexity.DeferModel.ID == nil {
   695  			break
   696  		}
   697  
   698  		return e.complexity.DeferModel.ID(childComplexity), true
   699  
   700  	case "DeferModel.name":
   701  		if e.complexity.DeferModel.Name == nil {
   702  			break
   703  		}
   704  
   705  		return e.complexity.DeferModel.Name(childComplexity), true
   706  
   707  	case "DeferModel.values":
   708  		if e.complexity.DeferModel.Values == nil {
   709  			break
   710  		}
   711  
   712  		return e.complexity.DeferModel.Values(childComplexity), true
   713  
   714  	case "Dog.dogBreed":
   715  		if e.complexity.Dog.DogBreed == nil {
   716  			break
   717  		}
   718  
   719  		return e.complexity.Dog.DogBreed(childComplexity), true
   720  
   721  	case "Dog.size":
   722  		if e.complexity.Dog.Size == nil {
   723  			break
   724  		}
   725  
   726  		return e.complexity.Dog.Size(childComplexity), true
   727  
   728  	case "Dog.species":
   729  		if e.complexity.Dog.Species == nil {
   730  			break
   731  		}
   732  
   733  		return e.complexity.Dog.Species(childComplexity), true
   734  
   735  	case "EmbeddedCase1.exportedEmbeddedPointerExportedMethod":
   736  		if e.complexity.EmbeddedCase1.ExportedEmbeddedPointerExportedMethod == nil {
   737  			break
   738  		}
   739  
   740  		return e.complexity.EmbeddedCase1.ExportedEmbeddedPointerExportedMethod(childComplexity), true
   741  
   742  	case "EmbeddedCase2.unexportedEmbeddedPointerExportedMethod":
   743  		if e.complexity.EmbeddedCase2.UnexportedEmbeddedPointerExportedMethod == nil {
   744  			break
   745  		}
   746  
   747  		return e.complexity.EmbeddedCase2.UnexportedEmbeddedPointerExportedMethod(childComplexity), true
   748  
   749  	case "EmbeddedCase3.unexportedEmbeddedInterfaceExportedMethod":
   750  		if e.complexity.EmbeddedCase3.UnexportedEmbeddedInterfaceExportedMethod == nil {
   751  			break
   752  		}
   753  
   754  		return e.complexity.EmbeddedCase3.UnexportedEmbeddedInterfaceExportedMethod(childComplexity), true
   755  
   756  	case "EmbeddedDefaultScalar.value":
   757  		if e.complexity.EmbeddedDefaultScalar.Value == nil {
   758  			break
   759  		}
   760  
   761  		return e.complexity.EmbeddedDefaultScalar.Value(childComplexity), true
   762  
   763  	case "EmbeddedPointer.ID":
   764  		if e.complexity.EmbeddedPointer.ID == nil {
   765  			break
   766  		}
   767  
   768  		return e.complexity.EmbeddedPointer.ID(childComplexity), true
   769  
   770  	case "EmbeddedPointer.Title":
   771  		if e.complexity.EmbeddedPointer.Title == nil {
   772  			break
   773  		}
   774  
   775  		return e.complexity.EmbeddedPointer.Title(childComplexity), true
   776  
   777  	case "Error.errorOnNonRequiredField":
   778  		if e.complexity.Error.ErrorOnNonRequiredField == nil {
   779  			break
   780  		}
   781  
   782  		return e.complexity.Error.ErrorOnNonRequiredField(childComplexity), true
   783  
   784  	case "Error.errorOnRequiredField":
   785  		if e.complexity.Error.ErrorOnRequiredField == nil {
   786  			break
   787  		}
   788  
   789  		return e.complexity.Error.ErrorOnRequiredField(childComplexity), true
   790  
   791  	case "Error.id":
   792  		if e.complexity.Error.ID == nil {
   793  			break
   794  		}
   795  
   796  		return e.complexity.Error.ID(childComplexity), true
   797  
   798  	case "Error.nilOnRequiredField":
   799  		if e.complexity.Error.NilOnRequiredField == nil {
   800  			break
   801  		}
   802  
   803  		return e.complexity.Error.NilOnRequiredField(childComplexity), true
   804  
   805  	case "Errors.a":
   806  		if e.complexity.Errors.A == nil {
   807  			break
   808  		}
   809  
   810  		return e.complexity.Errors.A(childComplexity), true
   811  
   812  	case "Errors.b":
   813  		if e.complexity.Errors.B == nil {
   814  			break
   815  		}
   816  
   817  		return e.complexity.Errors.B(childComplexity), true
   818  
   819  	case "Errors.c":
   820  		if e.complexity.Errors.C == nil {
   821  			break
   822  		}
   823  
   824  		return e.complexity.Errors.C(childComplexity), true
   825  
   826  	case "Errors.d":
   827  		if e.complexity.Errors.D == nil {
   828  			break
   829  		}
   830  
   831  		return e.complexity.Errors.D(childComplexity), true
   832  
   833  	case "Errors.e":
   834  		if e.complexity.Errors.E == nil {
   835  			break
   836  		}
   837  
   838  		return e.complexity.Errors.E(childComplexity), true
   839  
   840  	case "FieldsOrderPayload.firstFieldValue":
   841  		if e.complexity.FieldsOrderPayload.FirstFieldValue == nil {
   842  			break
   843  		}
   844  
   845  		return e.complexity.FieldsOrderPayload.FirstFieldValue(childComplexity), true
   846  
   847  	case "ForcedResolver.field":
   848  		if e.complexity.ForcedResolver.Field == nil {
   849  			break
   850  		}
   851  
   852  		return e.complexity.ForcedResolver.Field(childComplexity), true
   853  
   854  	case "InnerObject.id":
   855  		if e.complexity.InnerObject.ID == nil {
   856  			break
   857  		}
   858  
   859  		return e.complexity.InnerObject.ID(childComplexity), true
   860  
   861  	case "InvalidIdentifier.id":
   862  		if e.complexity.InvalidIdentifier.ID == nil {
   863  			break
   864  		}
   865  
   866  		return e.complexity.InvalidIdentifier.ID(childComplexity), true
   867  
   868  	case "It.id":
   869  		if e.complexity.It.ID == nil {
   870  			break
   871  		}
   872  
   873  		return e.complexity.It.ID(childComplexity), true
   874  
   875  	case "LoopA.b":
   876  		if e.complexity.LoopA.B == nil {
   877  			break
   878  		}
   879  
   880  		return e.complexity.LoopA.B(childComplexity), true
   881  
   882  	case "LoopB.a":
   883  		if e.complexity.LoopB.A == nil {
   884  			break
   885  		}
   886  
   887  		return e.complexity.LoopB.A(childComplexity), true
   888  
   889  	case "Map.id":
   890  		if e.complexity.Map.ID == nil {
   891  			break
   892  		}
   893  
   894  		return e.complexity.Map.ID(childComplexity), true
   895  
   896  	case "MapStringInterfaceType.a":
   897  		if e.complexity.MapStringInterfaceType.A == nil {
   898  			break
   899  		}
   900  
   901  		return e.complexity.MapStringInterfaceType.A(childComplexity), true
   902  
   903  	case "MapStringInterfaceType.b":
   904  		if e.complexity.MapStringInterfaceType.B == nil {
   905  			break
   906  		}
   907  
   908  		return e.complexity.MapStringInterfaceType.B(childComplexity), true
   909  
   910  	case "ModelMethods.noContext":
   911  		if e.complexity.ModelMethods.NoContext == nil {
   912  			break
   913  		}
   914  
   915  		return e.complexity.ModelMethods.NoContext(childComplexity), true
   916  
   917  	case "ModelMethods.resolverField":
   918  		if e.complexity.ModelMethods.ResolverField == nil {
   919  			break
   920  		}
   921  
   922  		return e.complexity.ModelMethods.ResolverField(childComplexity), true
   923  
   924  	case "ModelMethods.withContext":
   925  		if e.complexity.ModelMethods.WithContext == nil {
   926  			break
   927  		}
   928  
   929  		return e.complexity.ModelMethods.WithContext(childComplexity), true
   930  
   931  	case "Mutation.defaultInput":
   932  		if e.complexity.Mutation.DefaultInput == nil {
   933  			break
   934  		}
   935  
   936  		args, err := ec.field_Mutation_defaultInput_args(context.TODO(), rawArgs)
   937  		if err != nil {
   938  			return 0, false
   939  		}
   940  
   941  		return e.complexity.Mutation.DefaultInput(childComplexity, args["input"].(DefaultInput)), true
   942  
   943  	case "Mutation.overrideValueViaInput":
   944  		if e.complexity.Mutation.OverrideValueViaInput == nil {
   945  			break
   946  		}
   947  
   948  		args, err := ec.field_Mutation_overrideValueViaInput_args(context.TODO(), rawArgs)
   949  		if err != nil {
   950  			return 0, false
   951  		}
   952  
   953  		return e.complexity.Mutation.OverrideValueViaInput(childComplexity, args["input"].(FieldsOrderInput)), true
   954  
   955  	case "Mutation.updatePtrToPtr":
   956  		if e.complexity.Mutation.UpdatePtrToPtr == nil {
   957  			break
   958  		}
   959  
   960  		args, err := ec.field_Mutation_updatePtrToPtr_args(context.TODO(), rawArgs)
   961  		if err != nil {
   962  			return 0, false
   963  		}
   964  
   965  		return e.complexity.Mutation.UpdatePtrToPtr(childComplexity, args["input"].(UpdatePtrToPtrOuter)), true
   966  
   967  	case "Mutation.updateSomething":
   968  		if e.complexity.Mutation.UpdateSomething == nil {
   969  			break
   970  		}
   971  
   972  		args, err := ec.field_Mutation_updateSomething_args(context.TODO(), rawArgs)
   973  		if err != nil {
   974  			return 0, false
   975  		}
   976  
   977  		return e.complexity.Mutation.UpdateSomething(childComplexity, args["input"].(SpecialInput)), true
   978  
   979  	case "ObjectDirectives.nullableText":
   980  		if e.complexity.ObjectDirectives.NullableText == nil {
   981  			break
   982  		}
   983  
   984  		return e.complexity.ObjectDirectives.NullableText(childComplexity), true
   985  
   986  	case "ObjectDirectives.order":
   987  		if e.complexity.ObjectDirectives.Order == nil {
   988  			break
   989  		}
   990  
   991  		return e.complexity.ObjectDirectives.Order(childComplexity), true
   992  
   993  	case "ObjectDirectives.text":
   994  		if e.complexity.ObjectDirectives.Text == nil {
   995  			break
   996  		}
   997  
   998  		return e.complexity.ObjectDirectives.Text(childComplexity), true
   999  
  1000  	case "ObjectDirectivesWithCustomGoModel.nullableText":
  1001  		if e.complexity.ObjectDirectivesWithCustomGoModel.NullableText == nil {
  1002  			break
  1003  		}
  1004  
  1005  		return e.complexity.ObjectDirectivesWithCustomGoModel.NullableText(childComplexity), true
  1006  
  1007  	case "OuterObject.inner":
  1008  		if e.complexity.OuterObject.Inner == nil {
  1009  			break
  1010  		}
  1011  
  1012  		return e.complexity.OuterObject.Inner(childComplexity), true
  1013  
  1014  	case "OverlappingFields.oneFoo", "OverlappingFields.twoFoo":
  1015  		if e.complexity.OverlappingFields.Foo == nil {
  1016  			break
  1017  		}
  1018  
  1019  		return e.complexity.OverlappingFields.Foo(childComplexity), true
  1020  
  1021  	case "OverlappingFields.newFoo", "OverlappingFields.new_foo":
  1022  		if e.complexity.OverlappingFields.NewFoo == nil {
  1023  			break
  1024  		}
  1025  
  1026  		return e.complexity.OverlappingFields.NewFoo(childComplexity), true
  1027  
  1028  	case "OverlappingFields.oldFoo":
  1029  		if e.complexity.OverlappingFields.OldFoo == nil {
  1030  			break
  1031  		}
  1032  
  1033  		return e.complexity.OverlappingFields.OldFoo(childComplexity), true
  1034  
  1035  	case "Panics.argUnmarshal":
  1036  		if e.complexity.Panics.ArgUnmarshal == nil {
  1037  			break
  1038  		}
  1039  
  1040  		args, err := ec.field_Panics_argUnmarshal_args(context.TODO(), rawArgs)
  1041  		if err != nil {
  1042  			return 0, false
  1043  		}
  1044  
  1045  		return e.complexity.Panics.ArgUnmarshal(childComplexity, args["u"].([]MarshalPanic)), true
  1046  
  1047  	case "Panics.fieldFuncMarshal":
  1048  		if e.complexity.Panics.FieldFuncMarshal == nil {
  1049  			break
  1050  		}
  1051  
  1052  		args, err := ec.field_Panics_fieldFuncMarshal_args(context.TODO(), rawArgs)
  1053  		if err != nil {
  1054  			return 0, false
  1055  		}
  1056  
  1057  		return e.complexity.Panics.FieldFuncMarshal(childComplexity, args["u"].([]MarshalPanic)), true
  1058  
  1059  	case "Panics.fieldScalarMarshal":
  1060  		if e.complexity.Panics.FieldScalarMarshal == nil {
  1061  			break
  1062  		}
  1063  
  1064  		return e.complexity.Panics.FieldScalarMarshal(childComplexity), true
  1065  
  1066  	case "Pet.friends":
  1067  		if e.complexity.Pet.Friends == nil {
  1068  			break
  1069  		}
  1070  
  1071  		args, err := ec.field_Pet_friends_args(context.TODO(), rawArgs)
  1072  		if err != nil {
  1073  			return 0, false
  1074  		}
  1075  
  1076  		return e.complexity.Pet.Friends(childComplexity, args["limit"].(*int)), true
  1077  
  1078  	case "Pet.id":
  1079  		if e.complexity.Pet.ID == nil {
  1080  			break
  1081  		}
  1082  
  1083  		return e.complexity.Pet.ID(childComplexity), true
  1084  
  1085  	case "Primitive.squared":
  1086  		if e.complexity.Primitive.Squared == nil {
  1087  			break
  1088  		}
  1089  
  1090  		return e.complexity.Primitive.Squared(childComplexity), true
  1091  
  1092  	case "Primitive.value":
  1093  		if e.complexity.Primitive.Value == nil {
  1094  			break
  1095  		}
  1096  
  1097  		return e.complexity.Primitive.Value(childComplexity), true
  1098  
  1099  	case "PrimitiveString.doubled":
  1100  		if e.complexity.PrimitiveString.Doubled == nil {
  1101  			break
  1102  		}
  1103  
  1104  		return e.complexity.PrimitiveString.Doubled(childComplexity), true
  1105  
  1106  	case "PrimitiveString.len":
  1107  		if e.complexity.PrimitiveString.Len == nil {
  1108  			break
  1109  		}
  1110  
  1111  		return e.complexity.PrimitiveString.Len(childComplexity), true
  1112  
  1113  	case "PrimitiveString.value":
  1114  		if e.complexity.PrimitiveString.Value == nil {
  1115  			break
  1116  		}
  1117  
  1118  		return e.complexity.PrimitiveString.Value(childComplexity), true
  1119  
  1120  	case "PtrToAnyContainer.binding":
  1121  		if e.complexity.PtrToAnyContainer.Binding == nil {
  1122  			break
  1123  		}
  1124  
  1125  		return e.complexity.PtrToAnyContainer.Binding(childComplexity), true
  1126  
  1127  	case "PtrToAnyContainer.ptrToAny":
  1128  		if e.complexity.PtrToAnyContainer.PtrToAny == nil {
  1129  			break
  1130  		}
  1131  
  1132  		return e.complexity.PtrToAnyContainer.PtrToAny(childComplexity), true
  1133  
  1134  	case "PtrToPtrInner.key":
  1135  		if e.complexity.PtrToPtrInner.Key == nil {
  1136  			break
  1137  		}
  1138  
  1139  		return e.complexity.PtrToPtrInner.Key(childComplexity), true
  1140  
  1141  	case "PtrToPtrInner.value":
  1142  		if e.complexity.PtrToPtrInner.Value == nil {
  1143  			break
  1144  		}
  1145  
  1146  		return e.complexity.PtrToPtrInner.Value(childComplexity), true
  1147  
  1148  	case "PtrToPtrOuter.inner":
  1149  		if e.complexity.PtrToPtrOuter.Inner == nil {
  1150  			break
  1151  		}
  1152  
  1153  		return e.complexity.PtrToPtrOuter.Inner(childComplexity), true
  1154  
  1155  	case "PtrToPtrOuter.name":
  1156  		if e.complexity.PtrToPtrOuter.Name == nil {
  1157  			break
  1158  		}
  1159  
  1160  		return e.complexity.PtrToPtrOuter.Name(childComplexity), true
  1161  
  1162  	case "PtrToPtrOuter.stupidInner":
  1163  		if e.complexity.PtrToPtrOuter.StupidInner == nil {
  1164  			break
  1165  		}
  1166  
  1167  		return e.complexity.PtrToPtrOuter.StupidInner(childComplexity), true
  1168  
  1169  	case "PtrToSliceContainer.ptrToSlice":
  1170  		if e.complexity.PtrToSliceContainer.PtrToSlice == nil {
  1171  			break
  1172  		}
  1173  
  1174  		return e.complexity.PtrToSliceContainer.PtrToSlice(childComplexity), true
  1175  
  1176  	case "Query.animal":
  1177  		if e.complexity.Query.Animal == nil {
  1178  			break
  1179  		}
  1180  
  1181  		return e.complexity.Query.Animal(childComplexity), true
  1182  
  1183  	case "Query.autobind":
  1184  		if e.complexity.Query.Autobind == nil {
  1185  			break
  1186  		}
  1187  
  1188  		return e.complexity.Query.Autobind(childComplexity), true
  1189  
  1190  	case "Query.collision":
  1191  		if e.complexity.Query.Collision == nil {
  1192  			break
  1193  		}
  1194  
  1195  		return e.complexity.Query.Collision(childComplexity), true
  1196  
  1197  	case "Query.defaultParameters":
  1198  		if e.complexity.Query.DefaultParameters == nil {
  1199  			break
  1200  		}
  1201  
  1202  		args, err := ec.field_Query_defaultParameters_args(context.TODO(), rawArgs)
  1203  		if err != nil {
  1204  			return 0, false
  1205  		}
  1206  
  1207  		return e.complexity.Query.DefaultParameters(childComplexity, args["falsyBoolean"].(*bool), args["truthyBoolean"].(*bool)), true
  1208  
  1209  	case "Query.defaultScalar":
  1210  		if e.complexity.Query.DefaultScalar == nil {
  1211  			break
  1212  		}
  1213  
  1214  		args, err := ec.field_Query_defaultScalar_args(context.TODO(), rawArgs)
  1215  		if err != nil {
  1216  			return 0, false
  1217  		}
  1218  
  1219  		return e.complexity.Query.DefaultScalar(childComplexity, args["arg"].(string)), true
  1220  
  1221  	case "Query.deferCase1":
  1222  		if e.complexity.Query.DeferCase1 == nil {
  1223  			break
  1224  		}
  1225  
  1226  		return e.complexity.Query.DeferCase1(childComplexity), true
  1227  
  1228  	case "Query.deferCase2":
  1229  		if e.complexity.Query.DeferCase2 == nil {
  1230  			break
  1231  		}
  1232  
  1233  		return e.complexity.Query.DeferCase2(childComplexity), true
  1234  
  1235  	case "Query.deprecatedField":
  1236  		if e.complexity.Query.DeprecatedField == nil {
  1237  			break
  1238  		}
  1239  
  1240  		return e.complexity.Query.DeprecatedField(childComplexity), true
  1241  
  1242  	case "Query.directiveArg":
  1243  		if e.complexity.Query.DirectiveArg == nil {
  1244  			break
  1245  		}
  1246  
  1247  		args, err := ec.field_Query_directiveArg_args(context.TODO(), rawArgs)
  1248  		if err != nil {
  1249  			return 0, false
  1250  		}
  1251  
  1252  		return e.complexity.Query.DirectiveArg(childComplexity, args["arg"].(string)), true
  1253  
  1254  	case "Query.directiveDouble":
  1255  		if e.complexity.Query.DirectiveDouble == nil {
  1256  			break
  1257  		}
  1258  
  1259  		return e.complexity.Query.DirectiveDouble(childComplexity), true
  1260  
  1261  	case "Query.directiveField":
  1262  		if e.complexity.Query.DirectiveField == nil {
  1263  			break
  1264  		}
  1265  
  1266  		return e.complexity.Query.DirectiveField(childComplexity), true
  1267  
  1268  	case "Query.directiveFieldDef":
  1269  		if e.complexity.Query.DirectiveFieldDef == nil {
  1270  			break
  1271  		}
  1272  
  1273  		args, err := ec.field_Query_directiveFieldDef_args(context.TODO(), rawArgs)
  1274  		if err != nil {
  1275  			return 0, false
  1276  		}
  1277  
  1278  		return e.complexity.Query.DirectiveFieldDef(childComplexity, args["ret"].(string)), true
  1279  
  1280  	case "Query.directiveInput":
  1281  		if e.complexity.Query.DirectiveInput == nil {
  1282  			break
  1283  		}
  1284  
  1285  		args, err := ec.field_Query_directiveInput_args(context.TODO(), rawArgs)
  1286  		if err != nil {
  1287  			return 0, false
  1288  		}
  1289  
  1290  		return e.complexity.Query.DirectiveInput(childComplexity, args["arg"].(InputDirectives)), true
  1291  
  1292  	case "Query.directiveInputNullable":
  1293  		if e.complexity.Query.DirectiveInputNullable == nil {
  1294  			break
  1295  		}
  1296  
  1297  		args, err := ec.field_Query_directiveInputNullable_args(context.TODO(), rawArgs)
  1298  		if err != nil {
  1299  			return 0, false
  1300  		}
  1301  
  1302  		return e.complexity.Query.DirectiveInputNullable(childComplexity, args["arg"].(*InputDirectives)), true
  1303  
  1304  	case "Query.directiveInputType":
  1305  		if e.complexity.Query.DirectiveInputType == nil {
  1306  			break
  1307  		}
  1308  
  1309  		args, err := ec.field_Query_directiveInputType_args(context.TODO(), rawArgs)
  1310  		if err != nil {
  1311  			return 0, false
  1312  		}
  1313  
  1314  		return e.complexity.Query.DirectiveInputType(childComplexity, args["arg"].(InnerInput)), true
  1315  
  1316  	case "Query.directiveNullableArg":
  1317  		if e.complexity.Query.DirectiveNullableArg == nil {
  1318  			break
  1319  		}
  1320  
  1321  		args, err := ec.field_Query_directiveNullableArg_args(context.TODO(), rawArgs)
  1322  		if err != nil {
  1323  			return 0, false
  1324  		}
  1325  
  1326  		return e.complexity.Query.DirectiveNullableArg(childComplexity, args["arg"].(*int), args["arg2"].(*int), args["arg3"].(*string)), true
  1327  
  1328  	case "Query.directiveObject":
  1329  		if e.complexity.Query.DirectiveObject == nil {
  1330  			break
  1331  		}
  1332  
  1333  		return e.complexity.Query.DirectiveObject(childComplexity), true
  1334  
  1335  	case "Query.directiveObjectWithCustomGoModel":
  1336  		if e.complexity.Query.DirectiveObjectWithCustomGoModel == nil {
  1337  			break
  1338  		}
  1339  
  1340  		return e.complexity.Query.DirectiveObjectWithCustomGoModel(childComplexity), true
  1341  
  1342  	case "Query.directiveUnimplemented":
  1343  		if e.complexity.Query.DirectiveUnimplemented == nil {
  1344  			break
  1345  		}
  1346  
  1347  		return e.complexity.Query.DirectiveUnimplemented(childComplexity), true
  1348  
  1349  	case "Query.dog":
  1350  		if e.complexity.Query.Dog == nil {
  1351  			break
  1352  		}
  1353  
  1354  		return e.complexity.Query.Dog(childComplexity), true
  1355  
  1356  	case "Query.embeddedCase1":
  1357  		if e.complexity.Query.EmbeddedCase1 == nil {
  1358  			break
  1359  		}
  1360  
  1361  		return e.complexity.Query.EmbeddedCase1(childComplexity), true
  1362  
  1363  	case "Query.embeddedCase2":
  1364  		if e.complexity.Query.EmbeddedCase2 == nil {
  1365  			break
  1366  		}
  1367  
  1368  		return e.complexity.Query.EmbeddedCase2(childComplexity), true
  1369  
  1370  	case "Query.embeddedCase3":
  1371  		if e.complexity.Query.EmbeddedCase3 == nil {
  1372  			break
  1373  		}
  1374  
  1375  		return e.complexity.Query.EmbeddedCase3(childComplexity), true
  1376  
  1377  	case "Query.enumInInput":
  1378  		if e.complexity.Query.EnumInInput == nil {
  1379  			break
  1380  		}
  1381  
  1382  		args, err := ec.field_Query_enumInInput_args(context.TODO(), rawArgs)
  1383  		if err != nil {
  1384  			return 0, false
  1385  		}
  1386  
  1387  		return e.complexity.Query.EnumInInput(childComplexity, args["input"].(*InputWithEnumValue)), true
  1388  
  1389  	case "Query.errorBubble":
  1390  		if e.complexity.Query.ErrorBubble == nil {
  1391  			break
  1392  		}
  1393  
  1394  		return e.complexity.Query.ErrorBubble(childComplexity), true
  1395  
  1396  	case "Query.errorBubbleList":
  1397  		if e.complexity.Query.ErrorBubbleList == nil {
  1398  			break
  1399  		}
  1400  
  1401  		return e.complexity.Query.ErrorBubbleList(childComplexity), true
  1402  
  1403  	case "Query.errorList":
  1404  		if e.complexity.Query.ErrorList == nil {
  1405  			break
  1406  		}
  1407  
  1408  		return e.complexity.Query.ErrorList(childComplexity), true
  1409  
  1410  	case "Query.errors":
  1411  		if e.complexity.Query.Errors == nil {
  1412  			break
  1413  		}
  1414  
  1415  		return e.complexity.Query.Errors(childComplexity), true
  1416  
  1417  	case "Query.fallback":
  1418  		if e.complexity.Query.Fallback == nil {
  1419  			break
  1420  		}
  1421  
  1422  		args, err := ec.field_Query_fallback_args(context.TODO(), rawArgs)
  1423  		if err != nil {
  1424  			return 0, false
  1425  		}
  1426  
  1427  		return e.complexity.Query.Fallback(childComplexity, args["arg"].(FallbackToStringEncoding)), true
  1428  
  1429  	case "Query.infinity":
  1430  		if e.complexity.Query.Infinity == nil {
  1431  			break
  1432  		}
  1433  
  1434  		return e.complexity.Query.Infinity(childComplexity), true
  1435  
  1436  	case "Query.inputNullableSlice":
  1437  		if e.complexity.Query.InputNullableSlice == nil {
  1438  			break
  1439  		}
  1440  
  1441  		args, err := ec.field_Query_inputNullableSlice_args(context.TODO(), rawArgs)
  1442  		if err != nil {
  1443  			return 0, false
  1444  		}
  1445  
  1446  		return e.complexity.Query.InputNullableSlice(childComplexity, args["arg"].([]string)), true
  1447  
  1448  	case "Query.inputOmittable":
  1449  		if e.complexity.Query.InputOmittable == nil {
  1450  			break
  1451  		}
  1452  
  1453  		args, err := ec.field_Query_inputOmittable_args(context.TODO(), rawArgs)
  1454  		if err != nil {
  1455  			return 0, false
  1456  		}
  1457  
  1458  		return e.complexity.Query.InputOmittable(childComplexity, args["arg"].(OmittableInput)), true
  1459  
  1460  	case "Query.inputSlice":
  1461  		if e.complexity.Query.InputSlice == nil {
  1462  			break
  1463  		}
  1464  
  1465  		args, err := ec.field_Query_inputSlice_args(context.TODO(), rawArgs)
  1466  		if err != nil {
  1467  			return 0, false
  1468  		}
  1469  
  1470  		return e.complexity.Query.InputSlice(childComplexity, args["arg"].([]string)), true
  1471  
  1472  	case "Query.invalid":
  1473  		if e.complexity.Query.Invalid == nil {
  1474  			break
  1475  		}
  1476  
  1477  		return e.complexity.Query.Invalid(childComplexity), true
  1478  
  1479  	case "Query.invalidIdentifier":
  1480  		if e.complexity.Query.InvalidIdentifier == nil {
  1481  			break
  1482  		}
  1483  
  1484  		return e.complexity.Query.InvalidIdentifier(childComplexity), true
  1485  
  1486  	case "Query.issue896a":
  1487  		if e.complexity.Query.Issue896a == nil {
  1488  			break
  1489  		}
  1490  
  1491  		return e.complexity.Query.Issue896a(childComplexity), true
  1492  
  1493  	case "Query.mapInput":
  1494  		if e.complexity.Query.MapInput == nil {
  1495  			break
  1496  		}
  1497  
  1498  		args, err := ec.field_Query_mapInput_args(context.TODO(), rawArgs)
  1499  		if err != nil {
  1500  			return 0, false
  1501  		}
  1502  
  1503  		return e.complexity.Query.MapInput(childComplexity, args["input"].(map[string]interface{})), true
  1504  
  1505  	case "Query.mapNestedStringInterface":
  1506  		if e.complexity.Query.MapNestedStringInterface == nil {
  1507  			break
  1508  		}
  1509  
  1510  		args, err := ec.field_Query_mapNestedStringInterface_args(context.TODO(), rawArgs)
  1511  		if err != nil {
  1512  			return 0, false
  1513  		}
  1514  
  1515  		return e.complexity.Query.MapNestedStringInterface(childComplexity, args["in"].(*NestedMapInput)), true
  1516  
  1517  	case "Query.mapStringInterface":
  1518  		if e.complexity.Query.MapStringInterface == nil {
  1519  			break
  1520  		}
  1521  
  1522  		args, err := ec.field_Query_mapStringInterface_args(context.TODO(), rawArgs)
  1523  		if err != nil {
  1524  			return 0, false
  1525  		}
  1526  
  1527  		return e.complexity.Query.MapStringInterface(childComplexity, args["in"].(map[string]interface{})), true
  1528  
  1529  	case "Query.modelMethods":
  1530  		if e.complexity.Query.ModelMethods == nil {
  1531  			break
  1532  		}
  1533  
  1534  		return e.complexity.Query.ModelMethods(childComplexity), true
  1535  
  1536  	case "Query.nestedInputs":
  1537  		if e.complexity.Query.NestedInputs == nil {
  1538  			break
  1539  		}
  1540  
  1541  		args, err := ec.field_Query_nestedInputs_args(context.TODO(), rawArgs)
  1542  		if err != nil {
  1543  			return 0, false
  1544  		}
  1545  
  1546  		return e.complexity.Query.NestedInputs(childComplexity, args["input"].([][]*OuterInput)), true
  1547  
  1548  	case "Query.nestedOutputs":
  1549  		if e.complexity.Query.NestedOutputs == nil {
  1550  			break
  1551  		}
  1552  
  1553  		return e.complexity.Query.NestedOutputs(childComplexity), true
  1554  
  1555  	case "Query.noShape":
  1556  		if e.complexity.Query.NoShape == nil {
  1557  			break
  1558  		}
  1559  
  1560  		return e.complexity.Query.NoShape(childComplexity), true
  1561  
  1562  	case "Query.noShapeTypedNil":
  1563  		if e.complexity.Query.NoShapeTypedNil == nil {
  1564  			break
  1565  		}
  1566  
  1567  		return e.complexity.Query.NoShapeTypedNil(childComplexity), true
  1568  
  1569  	case "Query.node":
  1570  		if e.complexity.Query.Node == nil {
  1571  			break
  1572  		}
  1573  
  1574  		return e.complexity.Query.Node(childComplexity), true
  1575  
  1576  	case "Query.notAnInterface":
  1577  		if e.complexity.Query.NotAnInterface == nil {
  1578  			break
  1579  		}
  1580  
  1581  		return e.complexity.Query.NotAnInterface(childComplexity), true
  1582  
  1583  	case "Query.nullableArg":
  1584  		if e.complexity.Query.NullableArg == nil {
  1585  			break
  1586  		}
  1587  
  1588  		args, err := ec.field_Query_nullableArg_args(context.TODO(), rawArgs)
  1589  		if err != nil {
  1590  			return 0, false
  1591  		}
  1592  
  1593  		return e.complexity.Query.NullableArg(childComplexity, args["arg"].(*int)), true
  1594  
  1595  	case "Query.optionalUnion":
  1596  		if e.complexity.Query.OptionalUnion == nil {
  1597  			break
  1598  		}
  1599  
  1600  		return e.complexity.Query.OptionalUnion(childComplexity), true
  1601  
  1602  	case "Query.overlapping":
  1603  		if e.complexity.Query.Overlapping == nil {
  1604  			break
  1605  		}
  1606  
  1607  		return e.complexity.Query.Overlapping(childComplexity), true
  1608  
  1609  	case "Query.panics":
  1610  		if e.complexity.Query.Panics == nil {
  1611  			break
  1612  		}
  1613  
  1614  		return e.complexity.Query.Panics(childComplexity), true
  1615  
  1616  	case "Query.primitiveObject":
  1617  		if e.complexity.Query.PrimitiveObject == nil {
  1618  			break
  1619  		}
  1620  
  1621  		return e.complexity.Query.PrimitiveObject(childComplexity), true
  1622  
  1623  	case "Query.primitiveStringObject":
  1624  		if e.complexity.Query.PrimitiveStringObject == nil {
  1625  			break
  1626  		}
  1627  
  1628  		return e.complexity.Query.PrimitiveStringObject(childComplexity), true
  1629  
  1630  	case "Query.ptrToAnyContainer":
  1631  		if e.complexity.Query.PtrToAnyContainer == nil {
  1632  			break
  1633  		}
  1634  
  1635  		return e.complexity.Query.PtrToAnyContainer(childComplexity), true
  1636  
  1637  	case "Query.ptrToSliceContainer":
  1638  		if e.complexity.Query.PtrToSliceContainer == nil {
  1639  			break
  1640  		}
  1641  
  1642  		return e.complexity.Query.PtrToSliceContainer(childComplexity), true
  1643  
  1644  	case "Query.recursive":
  1645  		if e.complexity.Query.Recursive == nil {
  1646  			break
  1647  		}
  1648  
  1649  		args, err := ec.field_Query_recursive_args(context.TODO(), rawArgs)
  1650  		if err != nil {
  1651  			return 0, false
  1652  		}
  1653  
  1654  		return e.complexity.Query.Recursive(childComplexity, args["input"].(*RecursiveInputSlice)), true
  1655  
  1656  	case "Query.scalarSlice":
  1657  		if e.complexity.Query.ScalarSlice == nil {
  1658  			break
  1659  		}
  1660  
  1661  		return e.complexity.Query.ScalarSlice(childComplexity), true
  1662  
  1663  	case "Query.shapeUnion":
  1664  		if e.complexity.Query.ShapeUnion == nil {
  1665  			break
  1666  		}
  1667  
  1668  		return e.complexity.Query.ShapeUnion(childComplexity), true
  1669  
  1670  	case "Query.shapes":
  1671  		if e.complexity.Query.Shapes == nil {
  1672  			break
  1673  		}
  1674  
  1675  		return e.complexity.Query.Shapes(childComplexity), true
  1676  
  1677  	case "Query.slices":
  1678  		if e.complexity.Query.Slices == nil {
  1679  			break
  1680  		}
  1681  
  1682  		return e.complexity.Query.Slices(childComplexity), true
  1683  
  1684  	case "Query.stringFromContextFunction":
  1685  		if e.complexity.Query.StringFromContextFunction == nil {
  1686  			break
  1687  		}
  1688  
  1689  		return e.complexity.Query.StringFromContextFunction(childComplexity), true
  1690  
  1691  	case "Query.stringFromContextInterface":
  1692  		if e.complexity.Query.StringFromContextInterface == nil {
  1693  			break
  1694  		}
  1695  
  1696  		return e.complexity.Query.StringFromContextInterface(childComplexity), true
  1697  
  1698  	case "Query.user":
  1699  		if e.complexity.Query.User == nil {
  1700  			break
  1701  		}
  1702  
  1703  		args, err := ec.field_Query_user_args(context.TODO(), rawArgs)
  1704  		if err != nil {
  1705  			return 0, false
  1706  		}
  1707  
  1708  		return e.complexity.Query.User(childComplexity, args["id"].(int)), true
  1709  
  1710  	case "Query.vOkCaseNil":
  1711  		if e.complexity.Query.VOkCaseNil == nil {
  1712  			break
  1713  		}
  1714  
  1715  		return e.complexity.Query.VOkCaseNil(childComplexity), true
  1716  
  1717  	case "Query.vOkCaseValue":
  1718  		if e.complexity.Query.VOkCaseValue == nil {
  1719  			break
  1720  		}
  1721  
  1722  		return e.complexity.Query.VOkCaseValue(childComplexity), true
  1723  
  1724  	case "Query.valid":
  1725  		if e.complexity.Query.Valid == nil {
  1726  			break
  1727  		}
  1728  
  1729  		return e.complexity.Query.Valid(childComplexity), true
  1730  
  1731  	case "Query.validType":
  1732  		if e.complexity.Query.ValidType == nil {
  1733  			break
  1734  		}
  1735  
  1736  		return e.complexity.Query.ValidType(childComplexity), true
  1737  
  1738  	case "Query.variadicModel":
  1739  		if e.complexity.Query.VariadicModel == nil {
  1740  			break
  1741  		}
  1742  
  1743  		return e.complexity.Query.VariadicModel(childComplexity), true
  1744  
  1745  	case "Query.wrappedMap":
  1746  		if e.complexity.Query.WrappedMap == nil {
  1747  			break
  1748  		}
  1749  
  1750  		return e.complexity.Query.WrappedMap(childComplexity), true
  1751  
  1752  	case "Query.wrappedScalar":
  1753  		if e.complexity.Query.WrappedScalar == nil {
  1754  			break
  1755  		}
  1756  
  1757  		return e.complexity.Query.WrappedScalar(childComplexity), true
  1758  
  1759  	case "Query.wrappedSlice":
  1760  		if e.complexity.Query.WrappedSlice == nil {
  1761  			break
  1762  		}
  1763  
  1764  		return e.complexity.Query.WrappedSlice(childComplexity), true
  1765  
  1766  	case "Query.wrappedStruct":
  1767  		if e.complexity.Query.WrappedStruct == nil {
  1768  			break
  1769  		}
  1770  
  1771  		return e.complexity.Query.WrappedStruct(childComplexity), true
  1772  
  1773  	case "Rectangle.area":
  1774  		if e.complexity.Rectangle.Area == nil {
  1775  			break
  1776  		}
  1777  
  1778  		return e.complexity.Rectangle.Area(childComplexity), true
  1779  
  1780  	case "Rectangle.coordinates":
  1781  		if e.complexity.Rectangle.Coordinates == nil {
  1782  			break
  1783  		}
  1784  
  1785  		return e.complexity.Rectangle.Coordinates(childComplexity), true
  1786  
  1787  	case "Rectangle.length":
  1788  		if e.complexity.Rectangle.Length == nil {
  1789  			break
  1790  		}
  1791  
  1792  		return e.complexity.Rectangle.Length(childComplexity), true
  1793  
  1794  	case "Rectangle.width":
  1795  		if e.complexity.Rectangle.Width == nil {
  1796  			break
  1797  		}
  1798  
  1799  		return e.complexity.Rectangle.Width(childComplexity), true
  1800  
  1801  	case "Size.height":
  1802  		if e.complexity.Size.Height == nil {
  1803  			break
  1804  		}
  1805  
  1806  		return e.complexity.Size.Height(childComplexity), true
  1807  
  1808  	case "Size.weight":
  1809  		if e.complexity.Size.Weight == nil {
  1810  			break
  1811  		}
  1812  
  1813  		return e.complexity.Size.Weight(childComplexity), true
  1814  
  1815  	case "Slices.test1":
  1816  		if e.complexity.Slices.Test1 == nil {
  1817  			break
  1818  		}
  1819  
  1820  		return e.complexity.Slices.Test1(childComplexity), true
  1821  
  1822  	case "Slices.test2":
  1823  		if e.complexity.Slices.Test2 == nil {
  1824  			break
  1825  		}
  1826  
  1827  		return e.complexity.Slices.Test2(childComplexity), true
  1828  
  1829  	case "Slices.test3":
  1830  		if e.complexity.Slices.Test3 == nil {
  1831  			break
  1832  		}
  1833  
  1834  		return e.complexity.Slices.Test3(childComplexity), true
  1835  
  1836  	case "Slices.test4":
  1837  		if e.complexity.Slices.Test4 == nil {
  1838  			break
  1839  		}
  1840  
  1841  		return e.complexity.Slices.Test4(childComplexity), true
  1842  
  1843  	case "Subscription.directiveArg":
  1844  		if e.complexity.Subscription.DirectiveArg == nil {
  1845  			break
  1846  		}
  1847  
  1848  		args, err := ec.field_Subscription_directiveArg_args(context.TODO(), rawArgs)
  1849  		if err != nil {
  1850  			return 0, false
  1851  		}
  1852  
  1853  		return e.complexity.Subscription.DirectiveArg(childComplexity, args["arg"].(string)), true
  1854  
  1855  	case "Subscription.directiveDouble":
  1856  		if e.complexity.Subscription.DirectiveDouble == nil {
  1857  			break
  1858  		}
  1859  
  1860  		return e.complexity.Subscription.DirectiveDouble(childComplexity), true
  1861  
  1862  	case "Subscription.directiveNullableArg":
  1863  		if e.complexity.Subscription.DirectiveNullableArg == nil {
  1864  			break
  1865  		}
  1866  
  1867  		args, err := ec.field_Subscription_directiveNullableArg_args(context.TODO(), rawArgs)
  1868  		if err != nil {
  1869  			return 0, false
  1870  		}
  1871  
  1872  		return e.complexity.Subscription.DirectiveNullableArg(childComplexity, args["arg"].(*int), args["arg2"].(*int), args["arg3"].(*string)), true
  1873  
  1874  	case "Subscription.directiveUnimplemented":
  1875  		if e.complexity.Subscription.DirectiveUnimplemented == nil {
  1876  			break
  1877  		}
  1878  
  1879  		return e.complexity.Subscription.DirectiveUnimplemented(childComplexity), true
  1880  
  1881  	case "Subscription.errorRequired":
  1882  		if e.complexity.Subscription.ErrorRequired == nil {
  1883  			break
  1884  		}
  1885  
  1886  		return e.complexity.Subscription.ErrorRequired(childComplexity), true
  1887  
  1888  	case "Subscription.initPayload":
  1889  		if e.complexity.Subscription.InitPayload == nil {
  1890  			break
  1891  		}
  1892  
  1893  		return e.complexity.Subscription.InitPayload(childComplexity), true
  1894  
  1895  	case "Subscription.issue896b":
  1896  		if e.complexity.Subscription.Issue896b == nil {
  1897  			break
  1898  		}
  1899  
  1900  		return e.complexity.Subscription.Issue896b(childComplexity), true
  1901  
  1902  	case "Subscription.updated":
  1903  		if e.complexity.Subscription.Updated == nil {
  1904  			break
  1905  		}
  1906  
  1907  		return e.complexity.Subscription.Updated(childComplexity), true
  1908  
  1909  	case "User.created":
  1910  		if e.complexity.User.Created == nil {
  1911  			break
  1912  		}
  1913  
  1914  		return e.complexity.User.Created(childComplexity), true
  1915  
  1916  	case "User.friends":
  1917  		if e.complexity.User.Friends == nil {
  1918  			break
  1919  		}
  1920  
  1921  		return e.complexity.User.Friends(childComplexity), true
  1922  
  1923  	case "User.id":
  1924  		if e.complexity.User.ID == nil {
  1925  			break
  1926  		}
  1927  
  1928  		return e.complexity.User.ID(childComplexity), true
  1929  
  1930  	case "User.pets":
  1931  		if e.complexity.User.Pets == nil {
  1932  			break
  1933  		}
  1934  
  1935  		args, err := ec.field_User_pets_args(context.TODO(), rawArgs)
  1936  		if err != nil {
  1937  			return 0, false
  1938  		}
  1939  
  1940  		return e.complexity.User.Pets(childComplexity, args["limit"].(*int)), true
  1941  
  1942  	case "User.updated":
  1943  		if e.complexity.User.Updated == nil {
  1944  			break
  1945  		}
  1946  
  1947  		return e.complexity.User.Updated(childComplexity), true
  1948  
  1949  	case "VOkCaseNil.value":
  1950  		if e.complexity.VOkCaseNil.Value == nil {
  1951  			break
  1952  		}
  1953  
  1954  		return e.complexity.VOkCaseNil.Value(childComplexity), true
  1955  
  1956  	case "VOkCaseValue.value":
  1957  		if e.complexity.VOkCaseValue.Value == nil {
  1958  			break
  1959  		}
  1960  
  1961  		return e.complexity.VOkCaseValue.Value(childComplexity), true
  1962  
  1963  	case "ValidType.differentCase":
  1964  		if e.complexity.ValidType.DifferentCase == nil {
  1965  			break
  1966  		}
  1967  
  1968  		return e.complexity.ValidType.DifferentCase(childComplexity), true
  1969  
  1970  	case "ValidType.different_case":
  1971  		if e.complexity.ValidType.DifferentCaseOld == nil {
  1972  			break
  1973  		}
  1974  
  1975  		return e.complexity.ValidType.DifferentCaseOld(childComplexity), true
  1976  
  1977  	case "ValidType.validArgs":
  1978  		if e.complexity.ValidType.ValidArgs == nil {
  1979  			break
  1980  		}
  1981  
  1982  		args, err := ec.field_ValidType_validArgs_args(context.TODO(), rawArgs)
  1983  		if err != nil {
  1984  			return 0, false
  1985  		}
  1986  
  1987  		return e.complexity.ValidType.ValidArgs(childComplexity, args["break"].(string), args["default"].(string), args["func"].(string), args["interface"].(string), args["select"].(string), args["case"].(string), args["defer"].(string), args["go"].(string), args["map"].(string), args["struct"].(string), args["chan"].(string), args["else"].(string), args["goto"].(string), args["package"].(string), args["switch"].(string), args["const"].(string), args["fallthrough"].(string), args["if"].(string), args["range"].(string), args["type"].(string), args["continue"].(string), args["for"].(string), args["import"].(string), args["return"].(string), args["var"].(string), args["_"].(string)), true
  1988  
  1989  	case "ValidType.validInputKeywords":
  1990  		if e.complexity.ValidType.ValidInputKeywords == nil {
  1991  			break
  1992  		}
  1993  
  1994  		args, err := ec.field_ValidType_validInputKeywords_args(context.TODO(), rawArgs)
  1995  		if err != nil {
  1996  			return 0, false
  1997  		}
  1998  
  1999  		return e.complexity.ValidType.ValidInputKeywords(childComplexity, args["input"].(*ValidInput)), true
  2000  
  2001  	case "VariadicModel.value":
  2002  		if e.complexity.VariadicModel.Value == nil {
  2003  			break
  2004  		}
  2005  
  2006  		args, err := ec.field_VariadicModel_value_args(context.TODO(), rawArgs)
  2007  		if err != nil {
  2008  			return 0, false
  2009  		}
  2010  
  2011  		return e.complexity.VariadicModel.Value(childComplexity, args["rank"].(int)), true
  2012  
  2013  	case "WrappedMap.get":
  2014  		if e.complexity.WrappedMap.Get == nil {
  2015  			break
  2016  		}
  2017  
  2018  		args, err := ec.field_WrappedMap_get_args(context.TODO(), rawArgs)
  2019  		if err != nil {
  2020  			return 0, false
  2021  		}
  2022  
  2023  		return e.complexity.WrappedMap.Get(childComplexity, args["key"].(string)), true
  2024  
  2025  	case "WrappedSlice.get":
  2026  		if e.complexity.WrappedSlice.Get == nil {
  2027  			break
  2028  		}
  2029  
  2030  		args, err := ec.field_WrappedSlice_get_args(context.TODO(), rawArgs)
  2031  		if err != nil {
  2032  			return 0, false
  2033  		}
  2034  
  2035  		return e.complexity.WrappedSlice.Get(childComplexity, args["idx"].(int)), true
  2036  
  2037  	case "WrappedStruct.desc":
  2038  		if e.complexity.WrappedStruct.Desc == nil {
  2039  			break
  2040  		}
  2041  
  2042  		return e.complexity.WrappedStruct.Desc(childComplexity), true
  2043  
  2044  	case "WrappedStruct.name":
  2045  		if e.complexity.WrappedStruct.Name == nil {
  2046  			break
  2047  		}
  2048  
  2049  		return e.complexity.WrappedStruct.Name(childComplexity), true
  2050  
  2051  	case "XXIt.id":
  2052  		if e.complexity.XXIt.ID == nil {
  2053  			break
  2054  		}
  2055  
  2056  		return e.complexity.XXIt.ID(childComplexity), true
  2057  
  2058  	case "XxIt.id":
  2059  		if e.complexity.XxIt.ID == nil {
  2060  			break
  2061  		}
  2062  
  2063  		return e.complexity.XxIt.ID(childComplexity), true
  2064  
  2065  	case "asdfIt.id":
  2066  		if e.complexity.AsdfIt.ID == nil {
  2067  			break
  2068  		}
  2069  
  2070  		return e.complexity.AsdfIt.ID(childComplexity), true
  2071  
  2072  	case "iIt.id":
  2073  		if e.complexity.IIt.ID == nil {
  2074  			break
  2075  		}
  2076  
  2077  		return e.complexity.IIt.ID(childComplexity), true
  2078  
  2079  	}
  2080  	return 0, false
  2081  }
  2082  
  2083  func (e *executableSchema) Exec(ctx context.Context) graphql.ResponseHandler {
  2084  	rc := graphql.GetOperationContext(ctx)
  2085  	ec := executionContext{rc, e, 0, 0, make(chan graphql.DeferredResult)}
  2086  	inputUnmarshalMap := graphql.BuildUnmarshalerMap(
  2087  		ec.unmarshalInputDefaultInput,
  2088  		ec.unmarshalInputFieldsOrderInput,
  2089  		ec.unmarshalInputInnerDirectives,
  2090  		ec.unmarshalInputInnerInput,
  2091  		ec.unmarshalInputInputDirectives,
  2092  		ec.unmarshalInputInputWithEnumValue,
  2093  		ec.unmarshalInputNestedInput,
  2094  		ec.unmarshalInputNestedMapInput,
  2095  		ec.unmarshalInputOmittableInput,
  2096  		ec.unmarshalInputOuterInput,
  2097  		ec.unmarshalInputRecursiveInputSlice,
  2098  		ec.unmarshalInputSpecialInput,
  2099  		ec.unmarshalInputUpdatePtrToPtrInner,
  2100  		ec.unmarshalInputUpdatePtrToPtrOuter,
  2101  		ec.unmarshalInputValidInput,
  2102  	)
  2103  	first := true
  2104  
  2105  	switch rc.Operation.Operation {
  2106  	case ast.Query:
  2107  		return func(ctx context.Context) *graphql.Response {
  2108  			var response graphql.Response
  2109  			var data graphql.Marshaler
  2110  			if first {
  2111  				first = false
  2112  				ctx = graphql.WithUnmarshalerMap(ctx, inputUnmarshalMap)
  2113  				data = ec._Query(ctx, rc.Operation.SelectionSet)
  2114  			} else {
  2115  				if atomic.LoadInt32(&ec.pendingDeferred) > 0 {
  2116  					result := <-ec.deferredResults
  2117  					atomic.AddInt32(&ec.pendingDeferred, -1)
  2118  					data = result.Result
  2119  					response.Path = result.Path
  2120  					response.Label = result.Label
  2121  					response.Errors = result.Errors
  2122  				} else {
  2123  					return nil
  2124  				}
  2125  			}
  2126  			var buf bytes.Buffer
  2127  			data.MarshalGQL(&buf)
  2128  			response.Data = buf.Bytes()
  2129  			if atomic.LoadInt32(&ec.deferred) > 0 {
  2130  				hasNext := atomic.LoadInt32(&ec.pendingDeferred) > 0
  2131  				response.HasNext = &hasNext
  2132  			}
  2133  
  2134  			return &response
  2135  		}
  2136  	case ast.Mutation:
  2137  		return func(ctx context.Context) *graphql.Response {
  2138  			if !first {
  2139  				return nil
  2140  			}
  2141  			first = false
  2142  			ctx = graphql.WithUnmarshalerMap(ctx, inputUnmarshalMap)
  2143  			data := ec._Mutation(ctx, rc.Operation.SelectionSet)
  2144  			var buf bytes.Buffer
  2145  			data.MarshalGQL(&buf)
  2146  
  2147  			return &graphql.Response{
  2148  				Data: buf.Bytes(),
  2149  			}
  2150  		}
  2151  	case ast.Subscription:
  2152  		next := ec._Subscription(ctx, rc.Operation.SelectionSet)
  2153  
  2154  		var buf bytes.Buffer
  2155  		return func(ctx context.Context) *graphql.Response {
  2156  			buf.Reset()
  2157  			data := next(ctx)
  2158  
  2159  			if data == nil {
  2160  				return nil
  2161  			}
  2162  			data.MarshalGQL(&buf)
  2163  
  2164  			return &graphql.Response{
  2165  				Data: buf.Bytes(),
  2166  			}
  2167  		}
  2168  
  2169  	default:
  2170  		return graphql.OneShot(graphql.ErrorResponse(ctx, "unsupported GraphQL operation"))
  2171  	}
  2172  }
  2173  
  2174  type executionContext struct {
  2175  	*graphql.OperationContext
  2176  	*executableSchema
  2177  	deferred        int32
  2178  	pendingDeferred int32
  2179  	deferredResults chan graphql.DeferredResult
  2180  }
  2181  
  2182  func (ec *executionContext) processDeferredGroup(dg graphql.DeferredGroup) {
  2183  	atomic.AddInt32(&ec.pendingDeferred, 1)
  2184  	go func() {
  2185  		ctx := graphql.WithFreshResponseContext(dg.Context)
  2186  		dg.FieldSet.Dispatch(ctx)
  2187  		ds := graphql.DeferredResult{
  2188  			Path:   dg.Path,
  2189  			Label:  dg.Label,
  2190  			Result: dg.FieldSet,
  2191  			Errors: graphql.GetErrors(ctx),
  2192  		}
  2193  		// null fields should bubble up
  2194  		if dg.FieldSet.Invalids > 0 {
  2195  			ds.Result = graphql.Null
  2196  		}
  2197  		ec.deferredResults <- ds
  2198  	}()
  2199  }
  2200  
  2201  func (ec *executionContext) introspectSchema() (*introspection.Schema, error) {
  2202  	if ec.DisableIntrospection {
  2203  		return nil, errors.New("introspection disabled")
  2204  	}
  2205  	return introspection.WrapSchema(parsedSchema), nil
  2206  }
  2207  
  2208  func (ec *executionContext) introspectType(name string) (*introspection.Type, error) {
  2209  	if ec.DisableIntrospection {
  2210  		return nil, errors.New("introspection disabled")
  2211  	}
  2212  	return introspection.WrapTypeFromDef(parsedSchema, parsedSchema.Types[name]), nil
  2213  }
  2214  
  2215  //go:embed "builtinscalar.graphql" "complexity.graphql" "defaults.graphql" "defer.graphql" "directive.graphql" "embedded.graphql" "enum.graphql" "fields_order.graphql" "interfaces.graphql" "issue896.graphql" "loops.graphql" "maps.graphql" "mutation_with_custom_scalar.graphql" "nulls.graphql" "panics.graphql" "primitive_objects.graphql" "ptr_to_any.graphql" "ptr_to_ptr_input.graphql" "ptr_to_slice.graphql" "scalar_context.graphql" "scalar_default.graphql" "schema.graphql" "slices.graphql" "typefallback.graphql" "useptr.graphql" "v-ok.graphql" "validtypes.graphql" "variadic.graphql" "weird_type_cases.graphql" "wrapped_type.graphql"
  2216  var sourcesFS embed.FS
  2217  
  2218  func sourceData(filename string) string {
  2219  	data, err := sourcesFS.ReadFile(filename)
  2220  	if err != nil {
  2221  		panic(fmt.Sprintf("codegen problem: %s not available", filename))
  2222  	}
  2223  	return string(data)
  2224  }
  2225  
  2226  var sources = []*ast.Source{
  2227  	{Name: "builtinscalar.graphql", Input: sourceData("builtinscalar.graphql"), BuiltIn: false},
  2228  	{Name: "complexity.graphql", Input: sourceData("complexity.graphql"), BuiltIn: false},
  2229  	{Name: "defaults.graphql", Input: sourceData("defaults.graphql"), BuiltIn: false},
  2230  	{Name: "defer.graphql", Input: sourceData("defer.graphql"), BuiltIn: false},
  2231  	{Name: "directive.graphql", Input: sourceData("directive.graphql"), BuiltIn: false},
  2232  	{Name: "embedded.graphql", Input: sourceData("embedded.graphql"), BuiltIn: false},
  2233  	{Name: "enum.graphql", Input: sourceData("enum.graphql"), BuiltIn: false},
  2234  	{Name: "fields_order.graphql", Input: sourceData("fields_order.graphql"), BuiltIn: false},
  2235  	{Name: "interfaces.graphql", Input: sourceData("interfaces.graphql"), BuiltIn: false},
  2236  	{Name: "issue896.graphql", Input: sourceData("issue896.graphql"), BuiltIn: false},
  2237  	{Name: "loops.graphql", Input: sourceData("loops.graphql"), BuiltIn: false},
  2238  	{Name: "maps.graphql", Input: sourceData("maps.graphql"), BuiltIn: false},
  2239  	{Name: "mutation_with_custom_scalar.graphql", Input: sourceData("mutation_with_custom_scalar.graphql"), BuiltIn: false},
  2240  	{Name: "nulls.graphql", Input: sourceData("nulls.graphql"), BuiltIn: false},
  2241  	{Name: "panics.graphql", Input: sourceData("panics.graphql"), BuiltIn: false},
  2242  	{Name: "primitive_objects.graphql", Input: sourceData("primitive_objects.graphql"), BuiltIn: false},
  2243  	{Name: "ptr_to_any.graphql", Input: sourceData("ptr_to_any.graphql"), BuiltIn: false},
  2244  	{Name: "ptr_to_ptr_input.graphql", Input: sourceData("ptr_to_ptr_input.graphql"), BuiltIn: false},
  2245  	{Name: "ptr_to_slice.graphql", Input: sourceData("ptr_to_slice.graphql"), BuiltIn: false},
  2246  	{Name: "scalar_context.graphql", Input: sourceData("scalar_context.graphql"), BuiltIn: false},
  2247  	{Name: "scalar_default.graphql", Input: sourceData("scalar_default.graphql"), BuiltIn: false},
  2248  	{Name: "schema.graphql", Input: sourceData("schema.graphql"), BuiltIn: false},
  2249  	{Name: "slices.graphql", Input: sourceData("slices.graphql"), BuiltIn: false},
  2250  	{Name: "typefallback.graphql", Input: sourceData("typefallback.graphql"), BuiltIn: false},
  2251  	{Name: "useptr.graphql", Input: sourceData("useptr.graphql"), BuiltIn: false},
  2252  	{Name: "v-ok.graphql", Input: sourceData("v-ok.graphql"), BuiltIn: false},
  2253  	{Name: "validtypes.graphql", Input: sourceData("validtypes.graphql"), BuiltIn: false},
  2254  	{Name: "variadic.graphql", Input: sourceData("variadic.graphql"), BuiltIn: false},
  2255  	{Name: "weird_type_cases.graphql", Input: sourceData("weird_type_cases.graphql"), BuiltIn: false},
  2256  	{Name: "wrapped_type.graphql", Input: sourceData("wrapped_type.graphql"), BuiltIn: false},
  2257  }
  2258  var parsedSchema = gqlparser.MustLoadSchema(sources...)