github.com/luciferinlove/gqlgen@v0.17.16-bzc.1/codegen/testserver/followschema/root_.generated.go (about)

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