github.com/kerryoscer/gqlgen@v0.17.29/codegen/testserver/followschema/root_.generated.go (about)

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