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

     1  // Code generated by github.com/99designs/gqlgen, DO NOT EDIT.
     2  
     3  package singlefile
     4  
     5  import (
     6  	"bytes"
     7  	"context"
     8  	"embed"
     9  	"errors"
    10  	"fmt"
    11  	"io"
    12  	"strconv"
    13  	"sync"
    14  	"sync/atomic"
    15  	"time"
    16  
    17  	introspection1 "github.com/kerryoscer/gqlgen/codegen/testserver/singlefile/introspection"
    18  	invalid_packagename "github.com/kerryoscer/gqlgen/codegen/testserver/singlefile/invalid-packagename"
    19  	"github.com/kerryoscer/gqlgen/codegen/testserver/singlefile/otherpkg"
    20  	"github.com/kerryoscer/gqlgen/graphql"
    21  	"github.com/kerryoscer/gqlgen/graphql/introspection"
    22  	gqlparser "github.com/vektah/gqlparser/v2"
    23  	"github.com/vektah/gqlparser/v2/ast"
    24  )
    25  
    26  // region    ************************** generated!.gotpl **************************
    27  
    28  // NewExecutableSchema creates an ExecutableSchema from the ResolverRoot interface.
    29  func NewExecutableSchema(cfg Config) graphql.ExecutableSchema {
    30  	return &executableSchema{
    31  		resolvers:  cfg.Resolvers,
    32  		directives: cfg.Directives,
    33  		complexity: cfg.Complexity,
    34  	}
    35  }
    36  
    37  type Config struct {
    38  	Resolvers  ResolverRoot
    39  	Directives DirectiveRoot
    40  	Complexity ComplexityRoot
    41  }
    42  
    43  type ResolverRoot interface {
    44  	BackedByInterface() BackedByInterfaceResolver
    45  	Errors() ErrorsResolver
    46  	ForcedResolver() ForcedResolverResolver
    47  	ModelMethods() ModelMethodsResolver
    48  	Mutation() MutationResolver
    49  	OverlappingFields() OverlappingFieldsResolver
    50  	Panics() PanicsResolver
    51  	Pet() PetResolver
    52  	Primitive() PrimitiveResolver
    53  	PrimitiveString() PrimitiveStringResolver
    54  	Query() QueryResolver
    55  	Subscription() SubscriptionResolver
    56  	User() UserResolver
    57  	WrappedMap() WrappedMapResolver
    58  	WrappedSlice() WrappedSliceResolver
    59  	FieldsOrderInput() FieldsOrderInputResolver
    60  }
    61  
    62  type DirectiveRoot struct {
    63  	Custom        func(ctx context.Context, obj interface{}, next graphql.Resolver) (res interface{}, err error)
    64  	Directive1    func(ctx context.Context, obj interface{}, next graphql.Resolver) (res interface{}, err error)
    65  	Directive2    func(ctx context.Context, obj interface{}, next graphql.Resolver) (res interface{}, err error)
    66  	Directive3    func(ctx context.Context, obj interface{}, next graphql.Resolver) (res interface{}, err error)
    67  	Length        func(ctx context.Context, obj interface{}, next graphql.Resolver, min int, max *int, message *string) (res interface{}, err error)
    68  	Logged        func(ctx context.Context, obj interface{}, next graphql.Resolver, id string) (res interface{}, err error)
    69  	MakeNil       func(ctx context.Context, obj interface{}, next graphql.Resolver) (res interface{}, err error)
    70  	MakeTypedNil  func(ctx context.Context, obj interface{}, next graphql.Resolver) (res interface{}, err error)
    71  	Order1        func(ctx context.Context, obj interface{}, next graphql.Resolver, location string) (res interface{}, err error)
    72  	Order2        func(ctx context.Context, obj interface{}, next graphql.Resolver, location string) (res interface{}, err error)
    73  	Range         func(ctx context.Context, obj interface{}, next graphql.Resolver, min *int, max *int) (res interface{}, err error)
    74  	ToNull        func(ctx context.Context, obj interface{}, next graphql.Resolver) (res interface{}, err error)
    75  	Unimplemented func(ctx context.Context, obj interface{}, next graphql.Resolver) (res interface{}, err error)
    76  }
    77  
    78  type ComplexityRoot struct {
    79  	A struct {
    80  		ID func(childComplexity int) int
    81  	}
    82  
    83  	AIt struct {
    84  		ID func(childComplexity int) int
    85  	}
    86  
    87  	AbIt struct {
    88  		ID func(childComplexity int) int
    89  	}
    90  
    91  	Autobind struct {
    92  		IdInt func(childComplexity int) int
    93  		IdStr func(childComplexity int) int
    94  		Int   func(childComplexity int) int
    95  		Int32 func(childComplexity int) int
    96  		Int64 func(childComplexity int) int
    97  	}
    98  
    99  	B struct {
   100  		ID func(childComplexity int) int
   101  	}
   102  
   103  	BackedByInterface struct {
   104  		ID                      func(childComplexity int) int
   105  		ThisShouldBind          func(childComplexity int) int
   106  		ThisShouldBindWithError func(childComplexity int) int
   107  	}
   108  
   109  	Cat struct {
   110  		CatBreed func(childComplexity int) int
   111  		Size     func(childComplexity int) int
   112  		Species  func(childComplexity int) int
   113  	}
   114  
   115  	CheckIssue896 struct {
   116  		ID func(childComplexity int) int
   117  	}
   118  
   119  	Circle struct {
   120  		Area        func(childComplexity int) int
   121  		Coordinates func(childComplexity int) int
   122  		Radius      func(childComplexity int) int
   123  	}
   124  
   125  	ConcreteNodeA struct {
   126  		Child func(childComplexity int) int
   127  		ID    func(childComplexity int) int
   128  		Name  func(childComplexity int) int
   129  	}
   130  
   131  	ConcreteNodeInterface struct {
   132  		Child func(childComplexity int) int
   133  		ID    func(childComplexity int) int
   134  	}
   135  
   136  	Content_Post struct {
   137  		Foo func(childComplexity int) int
   138  	}
   139  
   140  	Content_User struct {
   141  		Foo func(childComplexity int) int
   142  	}
   143  
   144  	Coordinates struct {
   145  		X func(childComplexity int) int
   146  		Y func(childComplexity int) int
   147  	}
   148  
   149  	DefaultParametersMirror struct {
   150  		FalsyBoolean  func(childComplexity int) int
   151  		TruthyBoolean func(childComplexity int) int
   152  	}
   153  
   154  	Dog struct {
   155  		DogBreed func(childComplexity int) int
   156  		Size     func(childComplexity int) int
   157  		Species  func(childComplexity int) int
   158  	}
   159  
   160  	EmbeddedCase1 struct {
   161  		ExportedEmbeddedPointerExportedMethod func(childComplexity int) int
   162  	}
   163  
   164  	EmbeddedCase2 struct {
   165  		UnexportedEmbeddedPointerExportedMethod func(childComplexity int) int
   166  	}
   167  
   168  	EmbeddedCase3 struct {
   169  		UnexportedEmbeddedInterfaceExportedMethod func(childComplexity int) int
   170  	}
   171  
   172  	EmbeddedDefaultScalar struct {
   173  		Value func(childComplexity int) int
   174  	}
   175  
   176  	EmbeddedPointer struct {
   177  		ID    func(childComplexity int) int
   178  		Title func(childComplexity int) int
   179  	}
   180  
   181  	Error struct {
   182  		ErrorOnNonRequiredField func(childComplexity int) int
   183  		ErrorOnRequiredField    func(childComplexity int) int
   184  		ID                      func(childComplexity int) int
   185  		NilOnRequiredField      func(childComplexity int) int
   186  	}
   187  
   188  	Errors struct {
   189  		A func(childComplexity int) int
   190  		B func(childComplexity int) int
   191  		C func(childComplexity int) int
   192  		D func(childComplexity int) int
   193  		E func(childComplexity int) int
   194  	}
   195  
   196  	FieldsOrderPayload struct {
   197  		FirstFieldValue func(childComplexity int) int
   198  	}
   199  
   200  	ForcedResolver struct {
   201  		Field func(childComplexity int) int
   202  	}
   203  
   204  	InnerObject struct {
   205  		ID func(childComplexity int) int
   206  	}
   207  
   208  	InvalidIdentifier struct {
   209  		ID func(childComplexity int) int
   210  	}
   211  
   212  	It struct {
   213  		ID func(childComplexity int) int
   214  	}
   215  
   216  	LoopA struct {
   217  		B func(childComplexity int) int
   218  	}
   219  
   220  	LoopB struct {
   221  		A func(childComplexity int) int
   222  	}
   223  
   224  	Map struct {
   225  		ID func(childComplexity int) int
   226  	}
   227  
   228  	MapStringInterfaceType struct {
   229  		A func(childComplexity int) int
   230  		B func(childComplexity int) int
   231  	}
   232  
   233  	ModelMethods struct {
   234  		NoContext     func(childComplexity int) int
   235  		ResolverField func(childComplexity int) int
   236  		WithContext   func(childComplexity int) int
   237  	}
   238  
   239  	Mutation struct {
   240  		DefaultInput          func(childComplexity int, input DefaultInput) int
   241  		OverrideValueViaInput func(childComplexity int, input FieldsOrderInput) int
   242  		UpdatePtrToPtr        func(childComplexity int, input UpdatePtrToPtrOuter) int
   243  		UpdateSomething       func(childComplexity int, input SpecialInput) int
   244  	}
   245  
   246  	ObjectDirectives struct {
   247  		NullableText func(childComplexity int) int
   248  		Order        func(childComplexity int) int
   249  		Text         func(childComplexity int) int
   250  	}
   251  
   252  	ObjectDirectivesWithCustomGoModel struct {
   253  		NullableText func(childComplexity int) int
   254  	}
   255  
   256  	OuterObject struct {
   257  		Inner func(childComplexity int) int
   258  	}
   259  
   260  	OverlappingFields struct {
   261  		Foo    func(childComplexity int) int
   262  		NewFoo func(childComplexity int) int
   263  		OldFoo func(childComplexity int) int
   264  	}
   265  
   266  	Panics struct {
   267  		ArgUnmarshal       func(childComplexity int, u []MarshalPanic) int
   268  		FieldFuncMarshal   func(childComplexity int, u []MarshalPanic) int
   269  		FieldScalarMarshal func(childComplexity int) int
   270  	}
   271  
   272  	Pet struct {
   273  		Friends func(childComplexity int, limit *int) int
   274  		ID      func(childComplexity int) int
   275  	}
   276  
   277  	Primitive struct {
   278  		Squared func(childComplexity int) int
   279  		Value   func(childComplexity int) int
   280  	}
   281  
   282  	PrimitiveString struct {
   283  		Doubled func(childComplexity int) int
   284  		Len     func(childComplexity int) int
   285  		Value   func(childComplexity int) int
   286  	}
   287  
   288  	PtrToPtrInner struct {
   289  		Key   func(childComplexity int) int
   290  		Value func(childComplexity int) int
   291  	}
   292  
   293  	PtrToPtrOuter struct {
   294  		Inner       func(childComplexity int) int
   295  		Name        func(childComplexity int) int
   296  		StupidInner func(childComplexity int) int
   297  	}
   298  
   299  	PtrToSliceContainer struct {
   300  		PtrToSlice func(childComplexity int) int
   301  	}
   302  
   303  	Query struct {
   304  		Animal                           func(childComplexity int) int
   305  		Autobind                         func(childComplexity int) int
   306  		Collision                        func(childComplexity int) int
   307  		DefaultParameters                func(childComplexity int, falsyBoolean *bool, truthyBoolean *bool) int
   308  		DefaultScalar                    func(childComplexity int, arg string) int
   309  		DeprecatedField                  func(childComplexity int) int
   310  		DirectiveArg                     func(childComplexity int, arg string) int
   311  		DirectiveDouble                  func(childComplexity int) int
   312  		DirectiveField                   func(childComplexity int) int
   313  		DirectiveFieldDef                func(childComplexity int, ret string) int
   314  		DirectiveInput                   func(childComplexity int, arg InputDirectives) int
   315  		DirectiveInputNullable           func(childComplexity int, arg *InputDirectives) int
   316  		DirectiveInputType               func(childComplexity int, arg InnerInput) int
   317  		DirectiveNullableArg             func(childComplexity int, arg *int, arg2 *int, arg3 *string) int
   318  		DirectiveObject                  func(childComplexity int) int
   319  		DirectiveObjectWithCustomGoModel func(childComplexity int) int
   320  		DirectiveUnimplemented           func(childComplexity int) int
   321  		Dog                              func(childComplexity int) int
   322  		EmbeddedCase1                    func(childComplexity int) int
   323  		EmbeddedCase2                    func(childComplexity int) int
   324  		EmbeddedCase3                    func(childComplexity int) int
   325  		EnumInInput                      func(childComplexity int, input *InputWithEnumValue) int
   326  		ErrorBubble                      func(childComplexity int) int
   327  		ErrorBubbleList                  func(childComplexity int) int
   328  		ErrorList                        func(childComplexity int) int
   329  		Errors                           func(childComplexity int) int
   330  		Fallback                         func(childComplexity int, arg FallbackToStringEncoding) int
   331  		Infinity                         func(childComplexity int) int
   332  		InputNullableSlice               func(childComplexity int, arg []string) int
   333  		InputSlice                       func(childComplexity int, arg []string) int
   334  		Invalid                          func(childComplexity int) int
   335  		InvalidIdentifier                func(childComplexity int) int
   336  		Issue896a                        func(childComplexity int) int
   337  		MapInput                         func(childComplexity int, input map[string]interface{}) int
   338  		MapNestedStringInterface         func(childComplexity int, in *NestedMapInput) int
   339  		MapStringInterface               func(childComplexity int, in map[string]interface{}) int
   340  		ModelMethods                     func(childComplexity int) int
   341  		NestedInputs                     func(childComplexity int, input [][]*OuterInput) int
   342  		NestedOutputs                    func(childComplexity int) int
   343  		NoShape                          func(childComplexity int) int
   344  		NoShapeTypedNil                  func(childComplexity int) int
   345  		Node                             func(childComplexity int) int
   346  		NotAnInterface                   func(childComplexity int) int
   347  		NullableArg                      func(childComplexity int, arg *int) int
   348  		OptionalUnion                    func(childComplexity int) int
   349  		Overlapping                      func(childComplexity int) int
   350  		Panics                           func(childComplexity int) int
   351  		PrimitiveObject                  func(childComplexity int) int
   352  		PrimitiveStringObject            func(childComplexity int) int
   353  		PtrToSliceContainer              func(childComplexity int) int
   354  		Recursive                        func(childComplexity int, input *RecursiveInputSlice) int
   355  		ScalarSlice                      func(childComplexity int) int
   356  		ShapeUnion                       func(childComplexity int) int
   357  		Shapes                           func(childComplexity int) int
   358  		Slices                           func(childComplexity int) int
   359  		StringFromContextFunction        func(childComplexity int) int
   360  		StringFromContextInterface       func(childComplexity int) int
   361  		User                             func(childComplexity int, id int) int
   362  		VOkCaseNil                       func(childComplexity int) int
   363  		VOkCaseValue                     func(childComplexity int) int
   364  		Valid                            func(childComplexity int) int
   365  		ValidType                        func(childComplexity int) int
   366  		VariadicModel                    func(childComplexity int) int
   367  		WrappedMap                       func(childComplexity int) int
   368  		WrappedScalar                    func(childComplexity int) int
   369  		WrappedSlice                     func(childComplexity int) int
   370  		WrappedStruct                    func(childComplexity int) int
   371  	}
   372  
   373  	Rectangle struct {
   374  		Area        func(childComplexity int) int
   375  		Coordinates func(childComplexity int) int
   376  		Length      func(childComplexity int) int
   377  		Width       func(childComplexity int) int
   378  	}
   379  
   380  	Size struct {
   381  		Height func(childComplexity int) int
   382  		Weight func(childComplexity int) int
   383  	}
   384  
   385  	Slices struct {
   386  		Test1 func(childComplexity int) int
   387  		Test2 func(childComplexity int) int
   388  		Test3 func(childComplexity int) int
   389  		Test4 func(childComplexity int) int
   390  	}
   391  
   392  	Subscription struct {
   393  		DirectiveArg           func(childComplexity int, arg string) int
   394  		DirectiveDouble        func(childComplexity int) int
   395  		DirectiveNullableArg   func(childComplexity int, arg *int, arg2 *int, arg3 *string) int
   396  		DirectiveUnimplemented func(childComplexity int) int
   397  		ErrorRequired          func(childComplexity int) int
   398  		InitPayload            func(childComplexity int) int
   399  		Issue896b              func(childComplexity int) int
   400  		Updated                func(childComplexity int) int
   401  	}
   402  
   403  	User struct {
   404  		Created func(childComplexity int) int
   405  		Friends func(childComplexity int) int
   406  		ID      func(childComplexity int) int
   407  		Pets    func(childComplexity int, limit *int) int
   408  		Updated func(childComplexity int) int
   409  	}
   410  
   411  	VOkCaseNil struct {
   412  		Value func(childComplexity int) int
   413  	}
   414  
   415  	VOkCaseValue struct {
   416  		Value func(childComplexity int) int
   417  	}
   418  
   419  	ValidType struct {
   420  		DifferentCase      func(childComplexity int) int
   421  		DifferentCaseOld   func(childComplexity int) int
   422  		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
   423  		ValidInputKeywords func(childComplexity int, input *ValidInput) int
   424  	}
   425  
   426  	VariadicModel struct {
   427  		Value func(childComplexity int, rank int) int
   428  	}
   429  
   430  	WrappedMap struct {
   431  		Get func(childComplexity int, key string) int
   432  	}
   433  
   434  	WrappedSlice struct {
   435  		Get func(childComplexity int, idx int) int
   436  	}
   437  
   438  	WrappedStruct struct {
   439  		Desc func(childComplexity int) int
   440  		Name func(childComplexity int) int
   441  	}
   442  
   443  	XXIt struct {
   444  		ID func(childComplexity int) int
   445  	}
   446  
   447  	XxIt struct {
   448  		ID func(childComplexity int) int
   449  	}
   450  
   451  	AsdfIt struct {
   452  		ID func(childComplexity int) int
   453  	}
   454  
   455  	IIt struct {
   456  		ID func(childComplexity int) int
   457  	}
   458  }
   459  
   460  type BackedByInterfaceResolver interface {
   461  	ID(ctx context.Context, obj BackedByInterface) (string, error)
   462  }
   463  type ErrorsResolver interface {
   464  	A(ctx context.Context, obj *Errors) (*Error, error)
   465  	B(ctx context.Context, obj *Errors) (*Error, error)
   466  	C(ctx context.Context, obj *Errors) (*Error, error)
   467  	D(ctx context.Context, obj *Errors) (*Error, error)
   468  	E(ctx context.Context, obj *Errors) (*Error, error)
   469  }
   470  type ForcedResolverResolver interface {
   471  	Field(ctx context.Context, obj *ForcedResolver) (*Circle, error)
   472  }
   473  type ModelMethodsResolver interface {
   474  	ResolverField(ctx context.Context, obj *ModelMethods) (bool, error)
   475  }
   476  type MutationResolver interface {
   477  	DefaultInput(ctx context.Context, input DefaultInput) (*DefaultParametersMirror, error)
   478  	OverrideValueViaInput(ctx context.Context, input FieldsOrderInput) (*FieldsOrderPayload, error)
   479  	UpdateSomething(ctx context.Context, input SpecialInput) (string, error)
   480  	UpdatePtrToPtr(ctx context.Context, input UpdatePtrToPtrOuter) (*PtrToPtrOuter, error)
   481  }
   482  type OverlappingFieldsResolver interface {
   483  	OldFoo(ctx context.Context, obj *OverlappingFields) (int, error)
   484  }
   485  type PanicsResolver interface {
   486  	FieldScalarMarshal(ctx context.Context, obj *Panics) ([]MarshalPanic, error)
   487  
   488  	ArgUnmarshal(ctx context.Context, obj *Panics, u []MarshalPanic) (bool, error)
   489  }
   490  type PetResolver interface {
   491  	Friends(ctx context.Context, obj *Pet, limit *int) ([]*Pet, error)
   492  }
   493  type PrimitiveResolver interface {
   494  	Value(ctx context.Context, obj *Primitive) (int, error)
   495  }
   496  type PrimitiveStringResolver interface {
   497  	Value(ctx context.Context, obj *PrimitiveString) (string, error)
   498  
   499  	Len(ctx context.Context, obj *PrimitiveString) (int, error)
   500  }
   501  type QueryResolver interface {
   502  	InvalidIdentifier(ctx context.Context) (*invalid_packagename.InvalidIdentifier, error)
   503  	Collision(ctx context.Context) (*introspection1.It, error)
   504  	MapInput(ctx context.Context, input map[string]interface{}) (*bool, error)
   505  	Recursive(ctx context.Context, input *RecursiveInputSlice) (*bool, error)
   506  	NestedInputs(ctx context.Context, input [][]*OuterInput) (*bool, error)
   507  	NestedOutputs(ctx context.Context) ([][]*OuterObject, error)
   508  	ModelMethods(ctx context.Context) (*ModelMethods, error)
   509  	User(ctx context.Context, id int) (*User, error)
   510  	NullableArg(ctx context.Context, arg *int) (*string, error)
   511  	InputSlice(ctx context.Context, arg []string) (bool, error)
   512  	InputNullableSlice(ctx context.Context, arg []string) (bool, error)
   513  	ShapeUnion(ctx context.Context) (ShapeUnion, error)
   514  	Autobind(ctx context.Context) (*Autobind, error)
   515  	DeprecatedField(ctx context.Context) (string, error)
   516  	Overlapping(ctx context.Context) (*OverlappingFields, error)
   517  	DefaultParameters(ctx context.Context, falsyBoolean *bool, truthyBoolean *bool) (*DefaultParametersMirror, error)
   518  	DirectiveArg(ctx context.Context, arg string) (*string, error)
   519  	DirectiveNullableArg(ctx context.Context, arg *int, arg2 *int, arg3 *string) (*string, error)
   520  	DirectiveInputNullable(ctx context.Context, arg *InputDirectives) (*string, error)
   521  	DirectiveInput(ctx context.Context, arg InputDirectives) (*string, error)
   522  	DirectiveInputType(ctx context.Context, arg InnerInput) (*string, error)
   523  	DirectiveObject(ctx context.Context) (*ObjectDirectives, error)
   524  	DirectiveObjectWithCustomGoModel(ctx context.Context) (*ObjectDirectivesWithCustomGoModel, error)
   525  	DirectiveFieldDef(ctx context.Context, ret string) (string, error)
   526  	DirectiveField(ctx context.Context) (*string, error)
   527  	DirectiveDouble(ctx context.Context) (*string, error)
   528  	DirectiveUnimplemented(ctx context.Context) (*string, error)
   529  	EmbeddedCase1(ctx context.Context) (*EmbeddedCase1, error)
   530  	EmbeddedCase2(ctx context.Context) (*EmbeddedCase2, error)
   531  	EmbeddedCase3(ctx context.Context) (*EmbeddedCase3, error)
   532  	EnumInInput(ctx context.Context, input *InputWithEnumValue) (EnumTest, error)
   533  	Shapes(ctx context.Context) ([]Shape, error)
   534  	NoShape(ctx context.Context) (Shape, error)
   535  	Node(ctx context.Context) (Node, error)
   536  	NoShapeTypedNil(ctx context.Context) (Shape, error)
   537  	Animal(ctx context.Context) (Animal, error)
   538  	NotAnInterface(ctx context.Context) (BackedByInterface, error)
   539  	Dog(ctx context.Context) (*Dog, error)
   540  	Issue896a(ctx context.Context) ([]*CheckIssue896, error)
   541  	MapStringInterface(ctx context.Context, in map[string]interface{}) (map[string]interface{}, error)
   542  	MapNestedStringInterface(ctx context.Context, in *NestedMapInput) (map[string]interface{}, error)
   543  	ErrorBubble(ctx context.Context) (*Error, error)
   544  	ErrorBubbleList(ctx context.Context) ([]*Error, error)
   545  	ErrorList(ctx context.Context) ([]*Error, error)
   546  	Errors(ctx context.Context) (*Errors, error)
   547  	Valid(ctx context.Context) (string, error)
   548  	Invalid(ctx context.Context) (string, error)
   549  	Panics(ctx context.Context) (*Panics, error)
   550  	PrimitiveObject(ctx context.Context) ([]Primitive, error)
   551  	PrimitiveStringObject(ctx context.Context) ([]PrimitiveString, error)
   552  	PtrToSliceContainer(ctx context.Context) (*PtrToSliceContainer, error)
   553  	Infinity(ctx context.Context) (float64, error)
   554  	StringFromContextInterface(ctx context.Context) (*StringFromContextInterface, error)
   555  	StringFromContextFunction(ctx context.Context) (string, error)
   556  	DefaultScalar(ctx context.Context, arg string) (string, error)
   557  	Slices(ctx context.Context) (*Slices, error)
   558  	ScalarSlice(ctx context.Context) ([]byte, error)
   559  	Fallback(ctx context.Context, arg FallbackToStringEncoding) (FallbackToStringEncoding, error)
   560  	OptionalUnion(ctx context.Context) (TestUnion, error)
   561  	VOkCaseValue(ctx context.Context) (*VOkCaseValue, error)
   562  	VOkCaseNil(ctx context.Context) (*VOkCaseNil, error)
   563  	ValidType(ctx context.Context) (*ValidType, error)
   564  	VariadicModel(ctx context.Context) (*VariadicModel, error)
   565  	WrappedStruct(ctx context.Context) (*WrappedStruct, error)
   566  	WrappedScalar(ctx context.Context) (otherpkg.Scalar, error)
   567  	WrappedMap(ctx context.Context) (WrappedMap, error)
   568  	WrappedSlice(ctx context.Context) (WrappedSlice, error)
   569  }
   570  type SubscriptionResolver interface {
   571  	Updated(ctx context.Context) (<-chan string, error)
   572  	InitPayload(ctx context.Context) (<-chan string, error)
   573  	DirectiveArg(ctx context.Context, arg string) (<-chan *string, error)
   574  	DirectiveNullableArg(ctx context.Context, arg *int, arg2 *int, arg3 *string) (<-chan *string, error)
   575  	DirectiveDouble(ctx context.Context) (<-chan *string, error)
   576  	DirectiveUnimplemented(ctx context.Context) (<-chan *string, error)
   577  	Issue896b(ctx context.Context) (<-chan []*CheckIssue896, error)
   578  	ErrorRequired(ctx context.Context) (<-chan *Error, error)
   579  }
   580  type UserResolver interface {
   581  	Friends(ctx context.Context, obj *User) ([]*User, error)
   582  
   583  	Pets(ctx context.Context, obj *User, limit *int) ([]*Pet, error)
   584  }
   585  type WrappedMapResolver interface {
   586  	Get(ctx context.Context, obj WrappedMap, key string) (string, error)
   587  }
   588  type WrappedSliceResolver interface {
   589  	Get(ctx context.Context, obj WrappedSlice, idx int) (string, error)
   590  }
   591  
   592  type FieldsOrderInputResolver interface {
   593  	OverrideFirstField(ctx context.Context, obj *FieldsOrderInput, data *string) error
   594  }
   595  
   596  type executableSchema struct {
   597  	resolvers  ResolverRoot
   598  	directives DirectiveRoot
   599  	complexity ComplexityRoot
   600  }
   601  
   602  func (e *executableSchema) Schema() *ast.Schema {
   603  	return parsedSchema
   604  }
   605  
   606  func (e *executableSchema) Complexity(typeName, field string, childComplexity int, rawArgs map[string]interface{}) (int, bool) {
   607  	ec := executionContext{nil, e}
   608  	_ = ec
   609  	switch typeName + "." + field {
   610  
   611  	case "A.id":
   612  		if e.complexity.A.ID == nil {
   613  			break
   614  		}
   615  
   616  		return e.complexity.A.ID(childComplexity), true
   617  
   618  	case "AIt.id":
   619  		if e.complexity.AIt.ID == nil {
   620  			break
   621  		}
   622  
   623  		return e.complexity.AIt.ID(childComplexity), true
   624  
   625  	case "AbIt.id":
   626  		if e.complexity.AbIt.ID == nil {
   627  			break
   628  		}
   629  
   630  		return e.complexity.AbIt.ID(childComplexity), true
   631  
   632  	case "Autobind.idInt":
   633  		if e.complexity.Autobind.IdInt == nil {
   634  			break
   635  		}
   636  
   637  		return e.complexity.Autobind.IdInt(childComplexity), true
   638  
   639  	case "Autobind.idStr":
   640  		if e.complexity.Autobind.IdStr == nil {
   641  			break
   642  		}
   643  
   644  		return e.complexity.Autobind.IdStr(childComplexity), true
   645  
   646  	case "Autobind.int":
   647  		if e.complexity.Autobind.Int == nil {
   648  			break
   649  		}
   650  
   651  		return e.complexity.Autobind.Int(childComplexity), true
   652  
   653  	case "Autobind.int32":
   654  		if e.complexity.Autobind.Int32 == nil {
   655  			break
   656  		}
   657  
   658  		return e.complexity.Autobind.Int32(childComplexity), true
   659  
   660  	case "Autobind.int64":
   661  		if e.complexity.Autobind.Int64 == nil {
   662  			break
   663  		}
   664  
   665  		return e.complexity.Autobind.Int64(childComplexity), true
   666  
   667  	case "B.id":
   668  		if e.complexity.B.ID == nil {
   669  			break
   670  		}
   671  
   672  		return e.complexity.B.ID(childComplexity), true
   673  
   674  	case "BackedByInterface.id":
   675  		if e.complexity.BackedByInterface.ID == nil {
   676  			break
   677  		}
   678  
   679  		return e.complexity.BackedByInterface.ID(childComplexity), true
   680  
   681  	case "BackedByInterface.thisShouldBind":
   682  		if e.complexity.BackedByInterface.ThisShouldBind == nil {
   683  			break
   684  		}
   685  
   686  		return e.complexity.BackedByInterface.ThisShouldBind(childComplexity), true
   687  
   688  	case "BackedByInterface.thisShouldBindWithError":
   689  		if e.complexity.BackedByInterface.ThisShouldBindWithError == nil {
   690  			break
   691  		}
   692  
   693  		return e.complexity.BackedByInterface.ThisShouldBindWithError(childComplexity), true
   694  
   695  	case "Cat.catBreed":
   696  		if e.complexity.Cat.CatBreed == nil {
   697  			break
   698  		}
   699  
   700  		return e.complexity.Cat.CatBreed(childComplexity), true
   701  
   702  	case "Cat.size":
   703  		if e.complexity.Cat.Size == nil {
   704  			break
   705  		}
   706  
   707  		return e.complexity.Cat.Size(childComplexity), true
   708  
   709  	case "Cat.species":
   710  		if e.complexity.Cat.Species == nil {
   711  			break
   712  		}
   713  
   714  		return e.complexity.Cat.Species(childComplexity), true
   715  
   716  	case "CheckIssue896.id":
   717  		if e.complexity.CheckIssue896.ID == nil {
   718  			break
   719  		}
   720  
   721  		return e.complexity.CheckIssue896.ID(childComplexity), true
   722  
   723  	case "Circle.area":
   724  		if e.complexity.Circle.Area == nil {
   725  			break
   726  		}
   727  
   728  		return e.complexity.Circle.Area(childComplexity), true
   729  
   730  	case "Circle.coordinates":
   731  		if e.complexity.Circle.Coordinates == nil {
   732  			break
   733  		}
   734  
   735  		return e.complexity.Circle.Coordinates(childComplexity), true
   736  
   737  	case "Circle.radius":
   738  		if e.complexity.Circle.Radius == nil {
   739  			break
   740  		}
   741  
   742  		return e.complexity.Circle.Radius(childComplexity), true
   743  
   744  	case "ConcreteNodeA.child":
   745  		if e.complexity.ConcreteNodeA.Child == nil {
   746  			break
   747  		}
   748  
   749  		return e.complexity.ConcreteNodeA.Child(childComplexity), true
   750  
   751  	case "ConcreteNodeA.id":
   752  		if e.complexity.ConcreteNodeA.ID == nil {
   753  			break
   754  		}
   755  
   756  		return e.complexity.ConcreteNodeA.ID(childComplexity), true
   757  
   758  	case "ConcreteNodeA.name":
   759  		if e.complexity.ConcreteNodeA.Name == nil {
   760  			break
   761  		}
   762  
   763  		return e.complexity.ConcreteNodeA.Name(childComplexity), true
   764  
   765  	case "ConcreteNodeInterface.child":
   766  		if e.complexity.ConcreteNodeInterface.Child == nil {
   767  			break
   768  		}
   769  
   770  		return e.complexity.ConcreteNodeInterface.Child(childComplexity), true
   771  
   772  	case "ConcreteNodeInterface.id":
   773  		if e.complexity.ConcreteNodeInterface.ID == nil {
   774  			break
   775  		}
   776  
   777  		return e.complexity.ConcreteNodeInterface.ID(childComplexity), true
   778  
   779  	case "Content_Post.foo":
   780  		if e.complexity.Content_Post.Foo == nil {
   781  			break
   782  		}
   783  
   784  		return e.complexity.Content_Post.Foo(childComplexity), true
   785  
   786  	case "Content_User.foo":
   787  		if e.complexity.Content_User.Foo == nil {
   788  			break
   789  		}
   790  
   791  		return e.complexity.Content_User.Foo(childComplexity), true
   792  
   793  	case "Coordinates.x":
   794  		if e.complexity.Coordinates.X == nil {
   795  			break
   796  		}
   797  
   798  		return e.complexity.Coordinates.X(childComplexity), true
   799  
   800  	case "Coordinates.y":
   801  		if e.complexity.Coordinates.Y == nil {
   802  			break
   803  		}
   804  
   805  		return e.complexity.Coordinates.Y(childComplexity), true
   806  
   807  	case "DefaultParametersMirror.falsyBoolean":
   808  		if e.complexity.DefaultParametersMirror.FalsyBoolean == nil {
   809  			break
   810  		}
   811  
   812  		return e.complexity.DefaultParametersMirror.FalsyBoolean(childComplexity), true
   813  
   814  	case "DefaultParametersMirror.truthyBoolean":
   815  		if e.complexity.DefaultParametersMirror.TruthyBoolean == nil {
   816  			break
   817  		}
   818  
   819  		return e.complexity.DefaultParametersMirror.TruthyBoolean(childComplexity), true
   820  
   821  	case "Dog.dogBreed":
   822  		if e.complexity.Dog.DogBreed == nil {
   823  			break
   824  		}
   825  
   826  		return e.complexity.Dog.DogBreed(childComplexity), true
   827  
   828  	case "Dog.size":
   829  		if e.complexity.Dog.Size == nil {
   830  			break
   831  		}
   832  
   833  		return e.complexity.Dog.Size(childComplexity), true
   834  
   835  	case "Dog.species":
   836  		if e.complexity.Dog.Species == nil {
   837  			break
   838  		}
   839  
   840  		return e.complexity.Dog.Species(childComplexity), true
   841  
   842  	case "EmbeddedCase1.exportedEmbeddedPointerExportedMethod":
   843  		if e.complexity.EmbeddedCase1.ExportedEmbeddedPointerExportedMethod == nil {
   844  			break
   845  		}
   846  
   847  		return e.complexity.EmbeddedCase1.ExportedEmbeddedPointerExportedMethod(childComplexity), true
   848  
   849  	case "EmbeddedCase2.unexportedEmbeddedPointerExportedMethod":
   850  		if e.complexity.EmbeddedCase2.UnexportedEmbeddedPointerExportedMethod == nil {
   851  			break
   852  		}
   853  
   854  		return e.complexity.EmbeddedCase2.UnexportedEmbeddedPointerExportedMethod(childComplexity), true
   855  
   856  	case "EmbeddedCase3.unexportedEmbeddedInterfaceExportedMethod":
   857  		if e.complexity.EmbeddedCase3.UnexportedEmbeddedInterfaceExportedMethod == nil {
   858  			break
   859  		}
   860  
   861  		return e.complexity.EmbeddedCase3.UnexportedEmbeddedInterfaceExportedMethod(childComplexity), true
   862  
   863  	case "EmbeddedDefaultScalar.value":
   864  		if e.complexity.EmbeddedDefaultScalar.Value == nil {
   865  			break
   866  		}
   867  
   868  		return e.complexity.EmbeddedDefaultScalar.Value(childComplexity), true
   869  
   870  	case "EmbeddedPointer.ID":
   871  		if e.complexity.EmbeddedPointer.ID == nil {
   872  			break
   873  		}
   874  
   875  		return e.complexity.EmbeddedPointer.ID(childComplexity), true
   876  
   877  	case "EmbeddedPointer.Title":
   878  		if e.complexity.EmbeddedPointer.Title == nil {
   879  			break
   880  		}
   881  
   882  		return e.complexity.EmbeddedPointer.Title(childComplexity), true
   883  
   884  	case "Error.errorOnNonRequiredField":
   885  		if e.complexity.Error.ErrorOnNonRequiredField == nil {
   886  			break
   887  		}
   888  
   889  		return e.complexity.Error.ErrorOnNonRequiredField(childComplexity), true
   890  
   891  	case "Error.errorOnRequiredField":
   892  		if e.complexity.Error.ErrorOnRequiredField == nil {
   893  			break
   894  		}
   895  
   896  		return e.complexity.Error.ErrorOnRequiredField(childComplexity), true
   897  
   898  	case "Error.id":
   899  		if e.complexity.Error.ID == nil {
   900  			break
   901  		}
   902  
   903  		return e.complexity.Error.ID(childComplexity), true
   904  
   905  	case "Error.nilOnRequiredField":
   906  		if e.complexity.Error.NilOnRequiredField == nil {
   907  			break
   908  		}
   909  
   910  		return e.complexity.Error.NilOnRequiredField(childComplexity), true
   911  
   912  	case "Errors.a":
   913  		if e.complexity.Errors.A == nil {
   914  			break
   915  		}
   916  
   917  		return e.complexity.Errors.A(childComplexity), true
   918  
   919  	case "Errors.b":
   920  		if e.complexity.Errors.B == nil {
   921  			break
   922  		}
   923  
   924  		return e.complexity.Errors.B(childComplexity), true
   925  
   926  	case "Errors.c":
   927  		if e.complexity.Errors.C == nil {
   928  			break
   929  		}
   930  
   931  		return e.complexity.Errors.C(childComplexity), true
   932  
   933  	case "Errors.d":
   934  		if e.complexity.Errors.D == nil {
   935  			break
   936  		}
   937  
   938  		return e.complexity.Errors.D(childComplexity), true
   939  
   940  	case "Errors.e":
   941  		if e.complexity.Errors.E == nil {
   942  			break
   943  		}
   944  
   945  		return e.complexity.Errors.E(childComplexity), true
   946  
   947  	case "FieldsOrderPayload.firstFieldValue":
   948  		if e.complexity.FieldsOrderPayload.FirstFieldValue == nil {
   949  			break
   950  		}
   951  
   952  		return e.complexity.FieldsOrderPayload.FirstFieldValue(childComplexity), true
   953  
   954  	case "ForcedResolver.field":
   955  		if e.complexity.ForcedResolver.Field == nil {
   956  			break
   957  		}
   958  
   959  		return e.complexity.ForcedResolver.Field(childComplexity), true
   960  
   961  	case "InnerObject.id":
   962  		if e.complexity.InnerObject.ID == nil {
   963  			break
   964  		}
   965  
   966  		return e.complexity.InnerObject.ID(childComplexity), true
   967  
   968  	case "InvalidIdentifier.id":
   969  		if e.complexity.InvalidIdentifier.ID == nil {
   970  			break
   971  		}
   972  
   973  		return e.complexity.InvalidIdentifier.ID(childComplexity), true
   974  
   975  	case "It.id":
   976  		if e.complexity.It.ID == nil {
   977  			break
   978  		}
   979  
   980  		return e.complexity.It.ID(childComplexity), true
   981  
   982  	case "LoopA.b":
   983  		if e.complexity.LoopA.B == nil {
   984  			break
   985  		}
   986  
   987  		return e.complexity.LoopA.B(childComplexity), true
   988  
   989  	case "LoopB.a":
   990  		if e.complexity.LoopB.A == nil {
   991  			break
   992  		}
   993  
   994  		return e.complexity.LoopB.A(childComplexity), true
   995  
   996  	case "Map.id":
   997  		if e.complexity.Map.ID == nil {
   998  			break
   999  		}
  1000  
  1001  		return e.complexity.Map.ID(childComplexity), true
  1002  
  1003  	case "MapStringInterfaceType.a":
  1004  		if e.complexity.MapStringInterfaceType.A == nil {
  1005  			break
  1006  		}
  1007  
  1008  		return e.complexity.MapStringInterfaceType.A(childComplexity), true
  1009  
  1010  	case "MapStringInterfaceType.b":
  1011  		if e.complexity.MapStringInterfaceType.B == nil {
  1012  			break
  1013  		}
  1014  
  1015  		return e.complexity.MapStringInterfaceType.B(childComplexity), true
  1016  
  1017  	case "ModelMethods.noContext":
  1018  		if e.complexity.ModelMethods.NoContext == nil {
  1019  			break
  1020  		}
  1021  
  1022  		return e.complexity.ModelMethods.NoContext(childComplexity), true
  1023  
  1024  	case "ModelMethods.resolverField":
  1025  		if e.complexity.ModelMethods.ResolverField == nil {
  1026  			break
  1027  		}
  1028  
  1029  		return e.complexity.ModelMethods.ResolverField(childComplexity), true
  1030  
  1031  	case "ModelMethods.withContext":
  1032  		if e.complexity.ModelMethods.WithContext == nil {
  1033  			break
  1034  		}
  1035  
  1036  		return e.complexity.ModelMethods.WithContext(childComplexity), true
  1037  
  1038  	case "Mutation.defaultInput":
  1039  		if e.complexity.Mutation.DefaultInput == nil {
  1040  			break
  1041  		}
  1042  
  1043  		args, err := ec.field_Mutation_defaultInput_args(context.TODO(), rawArgs)
  1044  		if err != nil {
  1045  			return 0, false
  1046  		}
  1047  
  1048  		return e.complexity.Mutation.DefaultInput(childComplexity, args["input"].(DefaultInput)), true
  1049  
  1050  	case "Mutation.overrideValueViaInput":
  1051  		if e.complexity.Mutation.OverrideValueViaInput == nil {
  1052  			break
  1053  		}
  1054  
  1055  		args, err := ec.field_Mutation_overrideValueViaInput_args(context.TODO(), rawArgs)
  1056  		if err != nil {
  1057  			return 0, false
  1058  		}
  1059  
  1060  		return e.complexity.Mutation.OverrideValueViaInput(childComplexity, args["input"].(FieldsOrderInput)), true
  1061  
  1062  	case "Mutation.updatePtrToPtr":
  1063  		if e.complexity.Mutation.UpdatePtrToPtr == nil {
  1064  			break
  1065  		}
  1066  
  1067  		args, err := ec.field_Mutation_updatePtrToPtr_args(context.TODO(), rawArgs)
  1068  		if err != nil {
  1069  			return 0, false
  1070  		}
  1071  
  1072  		return e.complexity.Mutation.UpdatePtrToPtr(childComplexity, args["input"].(UpdatePtrToPtrOuter)), true
  1073  
  1074  	case "Mutation.updateSomething":
  1075  		if e.complexity.Mutation.UpdateSomething == nil {
  1076  			break
  1077  		}
  1078  
  1079  		args, err := ec.field_Mutation_updateSomething_args(context.TODO(), rawArgs)
  1080  		if err != nil {
  1081  			return 0, false
  1082  		}
  1083  
  1084  		return e.complexity.Mutation.UpdateSomething(childComplexity, args["input"].(SpecialInput)), true
  1085  
  1086  	case "ObjectDirectives.nullableText":
  1087  		if e.complexity.ObjectDirectives.NullableText == nil {
  1088  			break
  1089  		}
  1090  
  1091  		return e.complexity.ObjectDirectives.NullableText(childComplexity), true
  1092  
  1093  	case "ObjectDirectives.order":
  1094  		if e.complexity.ObjectDirectives.Order == nil {
  1095  			break
  1096  		}
  1097  
  1098  		return e.complexity.ObjectDirectives.Order(childComplexity), true
  1099  
  1100  	case "ObjectDirectives.text":
  1101  		if e.complexity.ObjectDirectives.Text == nil {
  1102  			break
  1103  		}
  1104  
  1105  		return e.complexity.ObjectDirectives.Text(childComplexity), true
  1106  
  1107  	case "ObjectDirectivesWithCustomGoModel.nullableText":
  1108  		if e.complexity.ObjectDirectivesWithCustomGoModel.NullableText == nil {
  1109  			break
  1110  		}
  1111  
  1112  		return e.complexity.ObjectDirectivesWithCustomGoModel.NullableText(childComplexity), true
  1113  
  1114  	case "OuterObject.inner":
  1115  		if e.complexity.OuterObject.Inner == nil {
  1116  			break
  1117  		}
  1118  
  1119  		return e.complexity.OuterObject.Inner(childComplexity), true
  1120  
  1121  	case "OverlappingFields.oneFoo", "OverlappingFields.twoFoo":
  1122  		if e.complexity.OverlappingFields.Foo == nil {
  1123  			break
  1124  		}
  1125  
  1126  		return e.complexity.OverlappingFields.Foo(childComplexity), true
  1127  
  1128  	case "OverlappingFields.newFoo", "OverlappingFields.new_foo":
  1129  		if e.complexity.OverlappingFields.NewFoo == nil {
  1130  			break
  1131  		}
  1132  
  1133  		return e.complexity.OverlappingFields.NewFoo(childComplexity), true
  1134  
  1135  	case "OverlappingFields.oldFoo":
  1136  		if e.complexity.OverlappingFields.OldFoo == nil {
  1137  			break
  1138  		}
  1139  
  1140  		return e.complexity.OverlappingFields.OldFoo(childComplexity), true
  1141  
  1142  	case "Panics.argUnmarshal":
  1143  		if e.complexity.Panics.ArgUnmarshal == nil {
  1144  			break
  1145  		}
  1146  
  1147  		args, err := ec.field_Panics_argUnmarshal_args(context.TODO(), rawArgs)
  1148  		if err != nil {
  1149  			return 0, false
  1150  		}
  1151  
  1152  		return e.complexity.Panics.ArgUnmarshal(childComplexity, args["u"].([]MarshalPanic)), true
  1153  
  1154  	case "Panics.fieldFuncMarshal":
  1155  		if e.complexity.Panics.FieldFuncMarshal == nil {
  1156  			break
  1157  		}
  1158  
  1159  		args, err := ec.field_Panics_fieldFuncMarshal_args(context.TODO(), rawArgs)
  1160  		if err != nil {
  1161  			return 0, false
  1162  		}
  1163  
  1164  		return e.complexity.Panics.FieldFuncMarshal(childComplexity, args["u"].([]MarshalPanic)), true
  1165  
  1166  	case "Panics.fieldScalarMarshal":
  1167  		if e.complexity.Panics.FieldScalarMarshal == nil {
  1168  			break
  1169  		}
  1170  
  1171  		return e.complexity.Panics.FieldScalarMarshal(childComplexity), true
  1172  
  1173  	case "Pet.friends":
  1174  		if e.complexity.Pet.Friends == nil {
  1175  			break
  1176  		}
  1177  
  1178  		args, err := ec.field_Pet_friends_args(context.TODO(), rawArgs)
  1179  		if err != nil {
  1180  			return 0, false
  1181  		}
  1182  
  1183  		return e.complexity.Pet.Friends(childComplexity, args["limit"].(*int)), true
  1184  
  1185  	case "Pet.id":
  1186  		if e.complexity.Pet.ID == nil {
  1187  			break
  1188  		}
  1189  
  1190  		return e.complexity.Pet.ID(childComplexity), true
  1191  
  1192  	case "Primitive.squared":
  1193  		if e.complexity.Primitive.Squared == nil {
  1194  			break
  1195  		}
  1196  
  1197  		return e.complexity.Primitive.Squared(childComplexity), true
  1198  
  1199  	case "Primitive.value":
  1200  		if e.complexity.Primitive.Value == nil {
  1201  			break
  1202  		}
  1203  
  1204  		return e.complexity.Primitive.Value(childComplexity), true
  1205  
  1206  	case "PrimitiveString.doubled":
  1207  		if e.complexity.PrimitiveString.Doubled == nil {
  1208  			break
  1209  		}
  1210  
  1211  		return e.complexity.PrimitiveString.Doubled(childComplexity), true
  1212  
  1213  	case "PrimitiveString.len":
  1214  		if e.complexity.PrimitiveString.Len == nil {
  1215  			break
  1216  		}
  1217  
  1218  		return e.complexity.PrimitiveString.Len(childComplexity), true
  1219  
  1220  	case "PrimitiveString.value":
  1221  		if e.complexity.PrimitiveString.Value == nil {
  1222  			break
  1223  		}
  1224  
  1225  		return e.complexity.PrimitiveString.Value(childComplexity), true
  1226  
  1227  	case "PtrToPtrInner.key":
  1228  		if e.complexity.PtrToPtrInner.Key == nil {
  1229  			break
  1230  		}
  1231  
  1232  		return e.complexity.PtrToPtrInner.Key(childComplexity), true
  1233  
  1234  	case "PtrToPtrInner.value":
  1235  		if e.complexity.PtrToPtrInner.Value == nil {
  1236  			break
  1237  		}
  1238  
  1239  		return e.complexity.PtrToPtrInner.Value(childComplexity), true
  1240  
  1241  	case "PtrToPtrOuter.inner":
  1242  		if e.complexity.PtrToPtrOuter.Inner == nil {
  1243  			break
  1244  		}
  1245  
  1246  		return e.complexity.PtrToPtrOuter.Inner(childComplexity), true
  1247  
  1248  	case "PtrToPtrOuter.name":
  1249  		if e.complexity.PtrToPtrOuter.Name == nil {
  1250  			break
  1251  		}
  1252  
  1253  		return e.complexity.PtrToPtrOuter.Name(childComplexity), true
  1254  
  1255  	case "PtrToPtrOuter.stupidInner":
  1256  		if e.complexity.PtrToPtrOuter.StupidInner == nil {
  1257  			break
  1258  		}
  1259  
  1260  		return e.complexity.PtrToPtrOuter.StupidInner(childComplexity), true
  1261  
  1262  	case "PtrToSliceContainer.ptrToSlice":
  1263  		if e.complexity.PtrToSliceContainer.PtrToSlice == nil {
  1264  			break
  1265  		}
  1266  
  1267  		return e.complexity.PtrToSliceContainer.PtrToSlice(childComplexity), true
  1268  
  1269  	case "Query.animal":
  1270  		if e.complexity.Query.Animal == nil {
  1271  			break
  1272  		}
  1273  
  1274  		return e.complexity.Query.Animal(childComplexity), true
  1275  
  1276  	case "Query.autobind":
  1277  		if e.complexity.Query.Autobind == nil {
  1278  			break
  1279  		}
  1280  
  1281  		return e.complexity.Query.Autobind(childComplexity), true
  1282  
  1283  	case "Query.collision":
  1284  		if e.complexity.Query.Collision == nil {
  1285  			break
  1286  		}
  1287  
  1288  		return e.complexity.Query.Collision(childComplexity), true
  1289  
  1290  	case "Query.defaultParameters":
  1291  		if e.complexity.Query.DefaultParameters == nil {
  1292  			break
  1293  		}
  1294  
  1295  		args, err := ec.field_Query_defaultParameters_args(context.TODO(), rawArgs)
  1296  		if err != nil {
  1297  			return 0, false
  1298  		}
  1299  
  1300  		return e.complexity.Query.DefaultParameters(childComplexity, args["falsyBoolean"].(*bool), args["truthyBoolean"].(*bool)), true
  1301  
  1302  	case "Query.defaultScalar":
  1303  		if e.complexity.Query.DefaultScalar == nil {
  1304  			break
  1305  		}
  1306  
  1307  		args, err := ec.field_Query_defaultScalar_args(context.TODO(), rawArgs)
  1308  		if err != nil {
  1309  			return 0, false
  1310  		}
  1311  
  1312  		return e.complexity.Query.DefaultScalar(childComplexity, args["arg"].(string)), true
  1313  
  1314  	case "Query.deprecatedField":
  1315  		if e.complexity.Query.DeprecatedField == nil {
  1316  			break
  1317  		}
  1318  
  1319  		return e.complexity.Query.DeprecatedField(childComplexity), true
  1320  
  1321  	case "Query.directiveArg":
  1322  		if e.complexity.Query.DirectiveArg == nil {
  1323  			break
  1324  		}
  1325  
  1326  		args, err := ec.field_Query_directiveArg_args(context.TODO(), rawArgs)
  1327  		if err != nil {
  1328  			return 0, false
  1329  		}
  1330  
  1331  		return e.complexity.Query.DirectiveArg(childComplexity, args["arg"].(string)), true
  1332  
  1333  	case "Query.directiveDouble":
  1334  		if e.complexity.Query.DirectiveDouble == nil {
  1335  			break
  1336  		}
  1337  
  1338  		return e.complexity.Query.DirectiveDouble(childComplexity), true
  1339  
  1340  	case "Query.directiveField":
  1341  		if e.complexity.Query.DirectiveField == nil {
  1342  			break
  1343  		}
  1344  
  1345  		return e.complexity.Query.DirectiveField(childComplexity), true
  1346  
  1347  	case "Query.directiveFieldDef":
  1348  		if e.complexity.Query.DirectiveFieldDef == nil {
  1349  			break
  1350  		}
  1351  
  1352  		args, err := ec.field_Query_directiveFieldDef_args(context.TODO(), rawArgs)
  1353  		if err != nil {
  1354  			return 0, false
  1355  		}
  1356  
  1357  		return e.complexity.Query.DirectiveFieldDef(childComplexity, args["ret"].(string)), true
  1358  
  1359  	case "Query.directiveInput":
  1360  		if e.complexity.Query.DirectiveInput == nil {
  1361  			break
  1362  		}
  1363  
  1364  		args, err := ec.field_Query_directiveInput_args(context.TODO(), rawArgs)
  1365  		if err != nil {
  1366  			return 0, false
  1367  		}
  1368  
  1369  		return e.complexity.Query.DirectiveInput(childComplexity, args["arg"].(InputDirectives)), true
  1370  
  1371  	case "Query.directiveInputNullable":
  1372  		if e.complexity.Query.DirectiveInputNullable == nil {
  1373  			break
  1374  		}
  1375  
  1376  		args, err := ec.field_Query_directiveInputNullable_args(context.TODO(), rawArgs)
  1377  		if err != nil {
  1378  			return 0, false
  1379  		}
  1380  
  1381  		return e.complexity.Query.DirectiveInputNullable(childComplexity, args["arg"].(*InputDirectives)), true
  1382  
  1383  	case "Query.directiveInputType":
  1384  		if e.complexity.Query.DirectiveInputType == nil {
  1385  			break
  1386  		}
  1387  
  1388  		args, err := ec.field_Query_directiveInputType_args(context.TODO(), rawArgs)
  1389  		if err != nil {
  1390  			return 0, false
  1391  		}
  1392  
  1393  		return e.complexity.Query.DirectiveInputType(childComplexity, args["arg"].(InnerInput)), true
  1394  
  1395  	case "Query.directiveNullableArg":
  1396  		if e.complexity.Query.DirectiveNullableArg == nil {
  1397  			break
  1398  		}
  1399  
  1400  		args, err := ec.field_Query_directiveNullableArg_args(context.TODO(), rawArgs)
  1401  		if err != nil {
  1402  			return 0, false
  1403  		}
  1404  
  1405  		return e.complexity.Query.DirectiveNullableArg(childComplexity, args["arg"].(*int), args["arg2"].(*int), args["arg3"].(*string)), true
  1406  
  1407  	case "Query.directiveObject":
  1408  		if e.complexity.Query.DirectiveObject == nil {
  1409  			break
  1410  		}
  1411  
  1412  		return e.complexity.Query.DirectiveObject(childComplexity), true
  1413  
  1414  	case "Query.directiveObjectWithCustomGoModel":
  1415  		if e.complexity.Query.DirectiveObjectWithCustomGoModel == nil {
  1416  			break
  1417  		}
  1418  
  1419  		return e.complexity.Query.DirectiveObjectWithCustomGoModel(childComplexity), true
  1420  
  1421  	case "Query.directiveUnimplemented":
  1422  		if e.complexity.Query.DirectiveUnimplemented == nil {
  1423  			break
  1424  		}
  1425  
  1426  		return e.complexity.Query.DirectiveUnimplemented(childComplexity), true
  1427  
  1428  	case "Query.dog":
  1429  		if e.complexity.Query.Dog == nil {
  1430  			break
  1431  		}
  1432  
  1433  		return e.complexity.Query.Dog(childComplexity), true
  1434  
  1435  	case "Query.embeddedCase1":
  1436  		if e.complexity.Query.EmbeddedCase1 == nil {
  1437  			break
  1438  		}
  1439  
  1440  		return e.complexity.Query.EmbeddedCase1(childComplexity), true
  1441  
  1442  	case "Query.embeddedCase2":
  1443  		if e.complexity.Query.EmbeddedCase2 == nil {
  1444  			break
  1445  		}
  1446  
  1447  		return e.complexity.Query.EmbeddedCase2(childComplexity), true
  1448  
  1449  	case "Query.embeddedCase3":
  1450  		if e.complexity.Query.EmbeddedCase3 == nil {
  1451  			break
  1452  		}
  1453  
  1454  		return e.complexity.Query.EmbeddedCase3(childComplexity), true
  1455  
  1456  	case "Query.enumInInput":
  1457  		if e.complexity.Query.EnumInInput == nil {
  1458  			break
  1459  		}
  1460  
  1461  		args, err := ec.field_Query_enumInInput_args(context.TODO(), rawArgs)
  1462  		if err != nil {
  1463  			return 0, false
  1464  		}
  1465  
  1466  		return e.complexity.Query.EnumInInput(childComplexity, args["input"].(*InputWithEnumValue)), true
  1467  
  1468  	case "Query.errorBubble":
  1469  		if e.complexity.Query.ErrorBubble == nil {
  1470  			break
  1471  		}
  1472  
  1473  		return e.complexity.Query.ErrorBubble(childComplexity), true
  1474  
  1475  	case "Query.errorBubbleList":
  1476  		if e.complexity.Query.ErrorBubbleList == nil {
  1477  			break
  1478  		}
  1479  
  1480  		return e.complexity.Query.ErrorBubbleList(childComplexity), true
  1481  
  1482  	case "Query.errorList":
  1483  		if e.complexity.Query.ErrorList == nil {
  1484  			break
  1485  		}
  1486  
  1487  		return e.complexity.Query.ErrorList(childComplexity), true
  1488  
  1489  	case "Query.errors":
  1490  		if e.complexity.Query.Errors == nil {
  1491  			break
  1492  		}
  1493  
  1494  		return e.complexity.Query.Errors(childComplexity), true
  1495  
  1496  	case "Query.fallback":
  1497  		if e.complexity.Query.Fallback == nil {
  1498  			break
  1499  		}
  1500  
  1501  		args, err := ec.field_Query_fallback_args(context.TODO(), rawArgs)
  1502  		if err != nil {
  1503  			return 0, false
  1504  		}
  1505  
  1506  		return e.complexity.Query.Fallback(childComplexity, args["arg"].(FallbackToStringEncoding)), true
  1507  
  1508  	case "Query.infinity":
  1509  		if e.complexity.Query.Infinity == nil {
  1510  			break
  1511  		}
  1512  
  1513  		return e.complexity.Query.Infinity(childComplexity), true
  1514  
  1515  	case "Query.inputNullableSlice":
  1516  		if e.complexity.Query.InputNullableSlice == nil {
  1517  			break
  1518  		}
  1519  
  1520  		args, err := ec.field_Query_inputNullableSlice_args(context.TODO(), rawArgs)
  1521  		if err != nil {
  1522  			return 0, false
  1523  		}
  1524  
  1525  		return e.complexity.Query.InputNullableSlice(childComplexity, args["arg"].([]string)), true
  1526  
  1527  	case "Query.inputSlice":
  1528  		if e.complexity.Query.InputSlice == nil {
  1529  			break
  1530  		}
  1531  
  1532  		args, err := ec.field_Query_inputSlice_args(context.TODO(), rawArgs)
  1533  		if err != nil {
  1534  			return 0, false
  1535  		}
  1536  
  1537  		return e.complexity.Query.InputSlice(childComplexity, args["arg"].([]string)), true
  1538  
  1539  	case "Query.invalid":
  1540  		if e.complexity.Query.Invalid == nil {
  1541  			break
  1542  		}
  1543  
  1544  		return e.complexity.Query.Invalid(childComplexity), true
  1545  
  1546  	case "Query.invalidIdentifier":
  1547  		if e.complexity.Query.InvalidIdentifier == nil {
  1548  			break
  1549  		}
  1550  
  1551  		return e.complexity.Query.InvalidIdentifier(childComplexity), true
  1552  
  1553  	case "Query.issue896a":
  1554  		if e.complexity.Query.Issue896a == nil {
  1555  			break
  1556  		}
  1557  
  1558  		return e.complexity.Query.Issue896a(childComplexity), true
  1559  
  1560  	case "Query.mapInput":
  1561  		if e.complexity.Query.MapInput == nil {
  1562  			break
  1563  		}
  1564  
  1565  		args, err := ec.field_Query_mapInput_args(context.TODO(), rawArgs)
  1566  		if err != nil {
  1567  			return 0, false
  1568  		}
  1569  
  1570  		return e.complexity.Query.MapInput(childComplexity, args["input"].(map[string]interface{})), true
  1571  
  1572  	case "Query.mapNestedStringInterface":
  1573  		if e.complexity.Query.MapNestedStringInterface == nil {
  1574  			break
  1575  		}
  1576  
  1577  		args, err := ec.field_Query_mapNestedStringInterface_args(context.TODO(), rawArgs)
  1578  		if err != nil {
  1579  			return 0, false
  1580  		}
  1581  
  1582  		return e.complexity.Query.MapNestedStringInterface(childComplexity, args["in"].(*NestedMapInput)), true
  1583  
  1584  	case "Query.mapStringInterface":
  1585  		if e.complexity.Query.MapStringInterface == nil {
  1586  			break
  1587  		}
  1588  
  1589  		args, err := ec.field_Query_mapStringInterface_args(context.TODO(), rawArgs)
  1590  		if err != nil {
  1591  			return 0, false
  1592  		}
  1593  
  1594  		return e.complexity.Query.MapStringInterface(childComplexity, args["in"].(map[string]interface{})), true
  1595  
  1596  	case "Query.modelMethods":
  1597  		if e.complexity.Query.ModelMethods == nil {
  1598  			break
  1599  		}
  1600  
  1601  		return e.complexity.Query.ModelMethods(childComplexity), true
  1602  
  1603  	case "Query.nestedInputs":
  1604  		if e.complexity.Query.NestedInputs == nil {
  1605  			break
  1606  		}
  1607  
  1608  		args, err := ec.field_Query_nestedInputs_args(context.TODO(), rawArgs)
  1609  		if err != nil {
  1610  			return 0, false
  1611  		}
  1612  
  1613  		return e.complexity.Query.NestedInputs(childComplexity, args["input"].([][]*OuterInput)), true
  1614  
  1615  	case "Query.nestedOutputs":
  1616  		if e.complexity.Query.NestedOutputs == nil {
  1617  			break
  1618  		}
  1619  
  1620  		return e.complexity.Query.NestedOutputs(childComplexity), true
  1621  
  1622  	case "Query.noShape":
  1623  		if e.complexity.Query.NoShape == nil {
  1624  			break
  1625  		}
  1626  
  1627  		return e.complexity.Query.NoShape(childComplexity), true
  1628  
  1629  	case "Query.noShapeTypedNil":
  1630  		if e.complexity.Query.NoShapeTypedNil == nil {
  1631  			break
  1632  		}
  1633  
  1634  		return e.complexity.Query.NoShapeTypedNil(childComplexity), true
  1635  
  1636  	case "Query.node":
  1637  		if e.complexity.Query.Node == nil {
  1638  			break
  1639  		}
  1640  
  1641  		return e.complexity.Query.Node(childComplexity), true
  1642  
  1643  	case "Query.notAnInterface":
  1644  		if e.complexity.Query.NotAnInterface == nil {
  1645  			break
  1646  		}
  1647  
  1648  		return e.complexity.Query.NotAnInterface(childComplexity), true
  1649  
  1650  	case "Query.nullableArg":
  1651  		if e.complexity.Query.NullableArg == nil {
  1652  			break
  1653  		}
  1654  
  1655  		args, err := ec.field_Query_nullableArg_args(context.TODO(), rawArgs)
  1656  		if err != nil {
  1657  			return 0, false
  1658  		}
  1659  
  1660  		return e.complexity.Query.NullableArg(childComplexity, args["arg"].(*int)), true
  1661  
  1662  	case "Query.optionalUnion":
  1663  		if e.complexity.Query.OptionalUnion == nil {
  1664  			break
  1665  		}
  1666  
  1667  		return e.complexity.Query.OptionalUnion(childComplexity), true
  1668  
  1669  	case "Query.overlapping":
  1670  		if e.complexity.Query.Overlapping == nil {
  1671  			break
  1672  		}
  1673  
  1674  		return e.complexity.Query.Overlapping(childComplexity), true
  1675  
  1676  	case "Query.panics":
  1677  		if e.complexity.Query.Panics == nil {
  1678  			break
  1679  		}
  1680  
  1681  		return e.complexity.Query.Panics(childComplexity), true
  1682  
  1683  	case "Query.primitiveObject":
  1684  		if e.complexity.Query.PrimitiveObject == nil {
  1685  			break
  1686  		}
  1687  
  1688  		return e.complexity.Query.PrimitiveObject(childComplexity), true
  1689  
  1690  	case "Query.primitiveStringObject":
  1691  		if e.complexity.Query.PrimitiveStringObject == nil {
  1692  			break
  1693  		}
  1694  
  1695  		return e.complexity.Query.PrimitiveStringObject(childComplexity), true
  1696  
  1697  	case "Query.ptrToSliceContainer":
  1698  		if e.complexity.Query.PtrToSliceContainer == nil {
  1699  			break
  1700  		}
  1701  
  1702  		return e.complexity.Query.PtrToSliceContainer(childComplexity), true
  1703  
  1704  	case "Query.recursive":
  1705  		if e.complexity.Query.Recursive == nil {
  1706  			break
  1707  		}
  1708  
  1709  		args, err := ec.field_Query_recursive_args(context.TODO(), rawArgs)
  1710  		if err != nil {
  1711  			return 0, false
  1712  		}
  1713  
  1714  		return e.complexity.Query.Recursive(childComplexity, args["input"].(*RecursiveInputSlice)), true
  1715  
  1716  	case "Query.scalarSlice":
  1717  		if e.complexity.Query.ScalarSlice == nil {
  1718  			break
  1719  		}
  1720  
  1721  		return e.complexity.Query.ScalarSlice(childComplexity), true
  1722  
  1723  	case "Query.shapeUnion":
  1724  		if e.complexity.Query.ShapeUnion == nil {
  1725  			break
  1726  		}
  1727  
  1728  		return e.complexity.Query.ShapeUnion(childComplexity), true
  1729  
  1730  	case "Query.shapes":
  1731  		if e.complexity.Query.Shapes == nil {
  1732  			break
  1733  		}
  1734  
  1735  		return e.complexity.Query.Shapes(childComplexity), true
  1736  
  1737  	case "Query.slices":
  1738  		if e.complexity.Query.Slices == nil {
  1739  			break
  1740  		}
  1741  
  1742  		return e.complexity.Query.Slices(childComplexity), true
  1743  
  1744  	case "Query.stringFromContextFunction":
  1745  		if e.complexity.Query.StringFromContextFunction == nil {
  1746  			break
  1747  		}
  1748  
  1749  		return e.complexity.Query.StringFromContextFunction(childComplexity), true
  1750  
  1751  	case "Query.stringFromContextInterface":
  1752  		if e.complexity.Query.StringFromContextInterface == nil {
  1753  			break
  1754  		}
  1755  
  1756  		return e.complexity.Query.StringFromContextInterface(childComplexity), true
  1757  
  1758  	case "Query.user":
  1759  		if e.complexity.Query.User == nil {
  1760  			break
  1761  		}
  1762  
  1763  		args, err := ec.field_Query_user_args(context.TODO(), rawArgs)
  1764  		if err != nil {
  1765  			return 0, false
  1766  		}
  1767  
  1768  		return e.complexity.Query.User(childComplexity, args["id"].(int)), true
  1769  
  1770  	case "Query.vOkCaseNil":
  1771  		if e.complexity.Query.VOkCaseNil == nil {
  1772  			break
  1773  		}
  1774  
  1775  		return e.complexity.Query.VOkCaseNil(childComplexity), true
  1776  
  1777  	case "Query.vOkCaseValue":
  1778  		if e.complexity.Query.VOkCaseValue == nil {
  1779  			break
  1780  		}
  1781  
  1782  		return e.complexity.Query.VOkCaseValue(childComplexity), true
  1783  
  1784  	case "Query.valid":
  1785  		if e.complexity.Query.Valid == nil {
  1786  			break
  1787  		}
  1788  
  1789  		return e.complexity.Query.Valid(childComplexity), true
  1790  
  1791  	case "Query.validType":
  1792  		if e.complexity.Query.ValidType == nil {
  1793  			break
  1794  		}
  1795  
  1796  		return e.complexity.Query.ValidType(childComplexity), true
  1797  
  1798  	case "Query.variadicModel":
  1799  		if e.complexity.Query.VariadicModel == nil {
  1800  			break
  1801  		}
  1802  
  1803  		return e.complexity.Query.VariadicModel(childComplexity), true
  1804  
  1805  	case "Query.wrappedMap":
  1806  		if e.complexity.Query.WrappedMap == nil {
  1807  			break
  1808  		}
  1809  
  1810  		return e.complexity.Query.WrappedMap(childComplexity), true
  1811  
  1812  	case "Query.wrappedScalar":
  1813  		if e.complexity.Query.WrappedScalar == nil {
  1814  			break
  1815  		}
  1816  
  1817  		return e.complexity.Query.WrappedScalar(childComplexity), true
  1818  
  1819  	case "Query.wrappedSlice":
  1820  		if e.complexity.Query.WrappedSlice == nil {
  1821  			break
  1822  		}
  1823  
  1824  		return e.complexity.Query.WrappedSlice(childComplexity), true
  1825  
  1826  	case "Query.wrappedStruct":
  1827  		if e.complexity.Query.WrappedStruct == nil {
  1828  			break
  1829  		}
  1830  
  1831  		return e.complexity.Query.WrappedStruct(childComplexity), true
  1832  
  1833  	case "Rectangle.area":
  1834  		if e.complexity.Rectangle.Area == nil {
  1835  			break
  1836  		}
  1837  
  1838  		return e.complexity.Rectangle.Area(childComplexity), true
  1839  
  1840  	case "Rectangle.coordinates":
  1841  		if e.complexity.Rectangle.Coordinates == nil {
  1842  			break
  1843  		}
  1844  
  1845  		return e.complexity.Rectangle.Coordinates(childComplexity), true
  1846  
  1847  	case "Rectangle.length":
  1848  		if e.complexity.Rectangle.Length == nil {
  1849  			break
  1850  		}
  1851  
  1852  		return e.complexity.Rectangle.Length(childComplexity), true
  1853  
  1854  	case "Rectangle.width":
  1855  		if e.complexity.Rectangle.Width == nil {
  1856  			break
  1857  		}
  1858  
  1859  		return e.complexity.Rectangle.Width(childComplexity), true
  1860  
  1861  	case "Size.height":
  1862  		if e.complexity.Size.Height == nil {
  1863  			break
  1864  		}
  1865  
  1866  		return e.complexity.Size.Height(childComplexity), true
  1867  
  1868  	case "Size.weight":
  1869  		if e.complexity.Size.Weight == nil {
  1870  			break
  1871  		}
  1872  
  1873  		return e.complexity.Size.Weight(childComplexity), true
  1874  
  1875  	case "Slices.test1":
  1876  		if e.complexity.Slices.Test1 == nil {
  1877  			break
  1878  		}
  1879  
  1880  		return e.complexity.Slices.Test1(childComplexity), true
  1881  
  1882  	case "Slices.test2":
  1883  		if e.complexity.Slices.Test2 == nil {
  1884  			break
  1885  		}
  1886  
  1887  		return e.complexity.Slices.Test2(childComplexity), true
  1888  
  1889  	case "Slices.test3":
  1890  		if e.complexity.Slices.Test3 == nil {
  1891  			break
  1892  		}
  1893  
  1894  		return e.complexity.Slices.Test3(childComplexity), true
  1895  
  1896  	case "Slices.test4":
  1897  		if e.complexity.Slices.Test4 == nil {
  1898  			break
  1899  		}
  1900  
  1901  		return e.complexity.Slices.Test4(childComplexity), true
  1902  
  1903  	case "Subscription.directiveArg":
  1904  		if e.complexity.Subscription.DirectiveArg == nil {
  1905  			break
  1906  		}
  1907  
  1908  		args, err := ec.field_Subscription_directiveArg_args(context.TODO(), rawArgs)
  1909  		if err != nil {
  1910  			return 0, false
  1911  		}
  1912  
  1913  		return e.complexity.Subscription.DirectiveArg(childComplexity, args["arg"].(string)), true
  1914  
  1915  	case "Subscription.directiveDouble":
  1916  		if e.complexity.Subscription.DirectiveDouble == nil {
  1917  			break
  1918  		}
  1919  
  1920  		return e.complexity.Subscription.DirectiveDouble(childComplexity), true
  1921  
  1922  	case "Subscription.directiveNullableArg":
  1923  		if e.complexity.Subscription.DirectiveNullableArg == nil {
  1924  			break
  1925  		}
  1926  
  1927  		args, err := ec.field_Subscription_directiveNullableArg_args(context.TODO(), rawArgs)
  1928  		if err != nil {
  1929  			return 0, false
  1930  		}
  1931  
  1932  		return e.complexity.Subscription.DirectiveNullableArg(childComplexity, args["arg"].(*int), args["arg2"].(*int), args["arg3"].(*string)), true
  1933  
  1934  	case "Subscription.directiveUnimplemented":
  1935  		if e.complexity.Subscription.DirectiveUnimplemented == nil {
  1936  			break
  1937  		}
  1938  
  1939  		return e.complexity.Subscription.DirectiveUnimplemented(childComplexity), true
  1940  
  1941  	case "Subscription.errorRequired":
  1942  		if e.complexity.Subscription.ErrorRequired == nil {
  1943  			break
  1944  		}
  1945  
  1946  		return e.complexity.Subscription.ErrorRequired(childComplexity), true
  1947  
  1948  	case "Subscription.initPayload":
  1949  		if e.complexity.Subscription.InitPayload == nil {
  1950  			break
  1951  		}
  1952  
  1953  		return e.complexity.Subscription.InitPayload(childComplexity), true
  1954  
  1955  	case "Subscription.issue896b":
  1956  		if e.complexity.Subscription.Issue896b == nil {
  1957  			break
  1958  		}
  1959  
  1960  		return e.complexity.Subscription.Issue896b(childComplexity), true
  1961  
  1962  	case "Subscription.updated":
  1963  		if e.complexity.Subscription.Updated == nil {
  1964  			break
  1965  		}
  1966  
  1967  		return e.complexity.Subscription.Updated(childComplexity), true
  1968  
  1969  	case "User.created":
  1970  		if e.complexity.User.Created == nil {
  1971  			break
  1972  		}
  1973  
  1974  		return e.complexity.User.Created(childComplexity), true
  1975  
  1976  	case "User.friends":
  1977  		if e.complexity.User.Friends == nil {
  1978  			break
  1979  		}
  1980  
  1981  		return e.complexity.User.Friends(childComplexity), true
  1982  
  1983  	case "User.id":
  1984  		if e.complexity.User.ID == nil {
  1985  			break
  1986  		}
  1987  
  1988  		return e.complexity.User.ID(childComplexity), true
  1989  
  1990  	case "User.pets":
  1991  		if e.complexity.User.Pets == nil {
  1992  			break
  1993  		}
  1994  
  1995  		args, err := ec.field_User_pets_args(context.TODO(), rawArgs)
  1996  		if err != nil {
  1997  			return 0, false
  1998  		}
  1999  
  2000  		return e.complexity.User.Pets(childComplexity, args["limit"].(*int)), true
  2001  
  2002  	case "User.updated":
  2003  		if e.complexity.User.Updated == nil {
  2004  			break
  2005  		}
  2006  
  2007  		return e.complexity.User.Updated(childComplexity), true
  2008  
  2009  	case "VOkCaseNil.value":
  2010  		if e.complexity.VOkCaseNil.Value == nil {
  2011  			break
  2012  		}
  2013  
  2014  		return e.complexity.VOkCaseNil.Value(childComplexity), true
  2015  
  2016  	case "VOkCaseValue.value":
  2017  		if e.complexity.VOkCaseValue.Value == nil {
  2018  			break
  2019  		}
  2020  
  2021  		return e.complexity.VOkCaseValue.Value(childComplexity), true
  2022  
  2023  	case "ValidType.differentCase":
  2024  		if e.complexity.ValidType.DifferentCase == nil {
  2025  			break
  2026  		}
  2027  
  2028  		return e.complexity.ValidType.DifferentCase(childComplexity), true
  2029  
  2030  	case "ValidType.different_case":
  2031  		if e.complexity.ValidType.DifferentCaseOld == nil {
  2032  			break
  2033  		}
  2034  
  2035  		return e.complexity.ValidType.DifferentCaseOld(childComplexity), true
  2036  
  2037  	case "ValidType.validArgs":
  2038  		if e.complexity.ValidType.ValidArgs == nil {
  2039  			break
  2040  		}
  2041  
  2042  		args, err := ec.field_ValidType_validArgs_args(context.TODO(), rawArgs)
  2043  		if err != nil {
  2044  			return 0, false
  2045  		}
  2046  
  2047  		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
  2048  
  2049  	case "ValidType.validInputKeywords":
  2050  		if e.complexity.ValidType.ValidInputKeywords == nil {
  2051  			break
  2052  		}
  2053  
  2054  		args, err := ec.field_ValidType_validInputKeywords_args(context.TODO(), rawArgs)
  2055  		if err != nil {
  2056  			return 0, false
  2057  		}
  2058  
  2059  		return e.complexity.ValidType.ValidInputKeywords(childComplexity, args["input"].(*ValidInput)), true
  2060  
  2061  	case "VariadicModel.value":
  2062  		if e.complexity.VariadicModel.Value == nil {
  2063  			break
  2064  		}
  2065  
  2066  		args, err := ec.field_VariadicModel_value_args(context.TODO(), rawArgs)
  2067  		if err != nil {
  2068  			return 0, false
  2069  		}
  2070  
  2071  		return e.complexity.VariadicModel.Value(childComplexity, args["rank"].(int)), true
  2072  
  2073  	case "WrappedMap.get":
  2074  		if e.complexity.WrappedMap.Get == nil {
  2075  			break
  2076  		}
  2077  
  2078  		args, err := ec.field_WrappedMap_get_args(context.TODO(), rawArgs)
  2079  		if err != nil {
  2080  			return 0, false
  2081  		}
  2082  
  2083  		return e.complexity.WrappedMap.Get(childComplexity, args["key"].(string)), true
  2084  
  2085  	case "WrappedSlice.get":
  2086  		if e.complexity.WrappedSlice.Get == nil {
  2087  			break
  2088  		}
  2089  
  2090  		args, err := ec.field_WrappedSlice_get_args(context.TODO(), rawArgs)
  2091  		if err != nil {
  2092  			return 0, false
  2093  		}
  2094  
  2095  		return e.complexity.WrappedSlice.Get(childComplexity, args["idx"].(int)), true
  2096  
  2097  	case "WrappedStruct.desc":
  2098  		if e.complexity.WrappedStruct.Desc == nil {
  2099  			break
  2100  		}
  2101  
  2102  		return e.complexity.WrappedStruct.Desc(childComplexity), true
  2103  
  2104  	case "WrappedStruct.name":
  2105  		if e.complexity.WrappedStruct.Name == nil {
  2106  			break
  2107  		}
  2108  
  2109  		return e.complexity.WrappedStruct.Name(childComplexity), true
  2110  
  2111  	case "XXIt.id":
  2112  		if e.complexity.XXIt.ID == nil {
  2113  			break
  2114  		}
  2115  
  2116  		return e.complexity.XXIt.ID(childComplexity), true
  2117  
  2118  	case "XxIt.id":
  2119  		if e.complexity.XxIt.ID == nil {
  2120  			break
  2121  		}
  2122  
  2123  		return e.complexity.XxIt.ID(childComplexity), true
  2124  
  2125  	case "asdfIt.id":
  2126  		if e.complexity.AsdfIt.ID == nil {
  2127  			break
  2128  		}
  2129  
  2130  		return e.complexity.AsdfIt.ID(childComplexity), true
  2131  
  2132  	case "iIt.id":
  2133  		if e.complexity.IIt.ID == nil {
  2134  			break
  2135  		}
  2136  
  2137  		return e.complexity.IIt.ID(childComplexity), true
  2138  
  2139  	}
  2140  	return 0, false
  2141  }
  2142  
  2143  func (e *executableSchema) Exec(ctx context.Context) graphql.ResponseHandler {
  2144  	rc := graphql.GetOperationContext(ctx)
  2145  	ec := executionContext{rc, e}
  2146  	inputUnmarshalMap := graphql.BuildUnmarshalerMap(
  2147  		ec.unmarshalInputDefaultInput,
  2148  		ec.unmarshalInputFieldsOrderInput,
  2149  		ec.unmarshalInputInnerDirectives,
  2150  		ec.unmarshalInputInnerInput,
  2151  		ec.unmarshalInputInputDirectives,
  2152  		ec.unmarshalInputInputWithEnumValue,
  2153  		ec.unmarshalInputNestedInput,
  2154  		ec.unmarshalInputNestedMapInput,
  2155  		ec.unmarshalInputOuterInput,
  2156  		ec.unmarshalInputRecursiveInputSlice,
  2157  		ec.unmarshalInputSpecialInput,
  2158  		ec.unmarshalInputUpdatePtrToPtrInner,
  2159  		ec.unmarshalInputUpdatePtrToPtrOuter,
  2160  		ec.unmarshalInputValidInput,
  2161  	)
  2162  	first := true
  2163  
  2164  	switch rc.Operation.Operation {
  2165  	case ast.Query:
  2166  		return func(ctx context.Context) *graphql.Response {
  2167  			if !first {
  2168  				return nil
  2169  			}
  2170  			first = false
  2171  			ctx = graphql.WithUnmarshalerMap(ctx, inputUnmarshalMap)
  2172  			data := ec._Query(ctx, rc.Operation.SelectionSet)
  2173  			var buf bytes.Buffer
  2174  			data.MarshalGQL(&buf)
  2175  
  2176  			return &graphql.Response{
  2177  				Data: buf.Bytes(),
  2178  			}
  2179  		}
  2180  	case ast.Mutation:
  2181  		return func(ctx context.Context) *graphql.Response {
  2182  			if !first {
  2183  				return nil
  2184  			}
  2185  			first = false
  2186  			ctx = graphql.WithUnmarshalerMap(ctx, inputUnmarshalMap)
  2187  			data := ec._Mutation(ctx, rc.Operation.SelectionSet)
  2188  			var buf bytes.Buffer
  2189  			data.MarshalGQL(&buf)
  2190  
  2191  			return &graphql.Response{
  2192  				Data: buf.Bytes(),
  2193  			}
  2194  		}
  2195  	case ast.Subscription:
  2196  		next := ec._Subscription(ctx, rc.Operation.SelectionSet)
  2197  
  2198  		var buf bytes.Buffer
  2199  		return func(ctx context.Context) *graphql.Response {
  2200  			buf.Reset()
  2201  			data := next(ctx)
  2202  
  2203  			if data == nil {
  2204  				return nil
  2205  			}
  2206  			data.MarshalGQL(&buf)
  2207  
  2208  			return &graphql.Response{
  2209  				Data: buf.Bytes(),
  2210  			}
  2211  		}
  2212  
  2213  	default:
  2214  		return graphql.OneShot(graphql.ErrorResponse(ctx, "unsupported GraphQL operation"))
  2215  	}
  2216  }
  2217  
  2218  type executionContext struct {
  2219  	*graphql.OperationContext
  2220  	*executableSchema
  2221  }
  2222  
  2223  func (ec *executionContext) introspectSchema() (*introspection.Schema, error) {
  2224  	if ec.DisableIntrospection {
  2225  		return nil, errors.New("introspection disabled")
  2226  	}
  2227  	return introspection.WrapSchema(parsedSchema), nil
  2228  }
  2229  
  2230  func (ec *executionContext) introspectType(name string) (*introspection.Type, error) {
  2231  	if ec.DisableIntrospection {
  2232  		return nil, errors.New("introspection disabled")
  2233  	}
  2234  	return introspection.WrapTypeFromDef(parsedSchema, parsedSchema.Types[name]), nil
  2235  }
  2236  
  2237  //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"
  2238  var sourcesFS embed.FS
  2239  
  2240  func sourceData(filename string) string {
  2241  	data, err := sourcesFS.ReadFile(filename)
  2242  	if err != nil {
  2243  		panic(fmt.Sprintf("codegen problem: %s not available", filename))
  2244  	}
  2245  	return string(data)
  2246  }
  2247  
  2248  var sources = []*ast.Source{
  2249  	{Name: "builtinscalar.graphql", Input: sourceData("builtinscalar.graphql"), BuiltIn: false},
  2250  	{Name: "complexity.graphql", Input: sourceData("complexity.graphql"), BuiltIn: false},
  2251  	{Name: "defaults.graphql", Input: sourceData("defaults.graphql"), BuiltIn: false},
  2252  	{Name: "directive.graphql", Input: sourceData("directive.graphql"), BuiltIn: false},
  2253  	{Name: "embedded.graphql", Input: sourceData("embedded.graphql"), BuiltIn: false},
  2254  	{Name: "enum.graphql", Input: sourceData("enum.graphql"), BuiltIn: false},
  2255  	{Name: "fields_order.graphql", Input: sourceData("fields_order.graphql"), BuiltIn: false},
  2256  	{Name: "interfaces.graphql", Input: sourceData("interfaces.graphql"), BuiltIn: false},
  2257  	{Name: "issue896.graphql", Input: sourceData("issue896.graphql"), BuiltIn: false},
  2258  	{Name: "loops.graphql", Input: sourceData("loops.graphql"), BuiltIn: false},
  2259  	{Name: "maps.graphql", Input: sourceData("maps.graphql"), BuiltIn: false},
  2260  	{Name: "mutation_with_custom_scalar.graphql", Input: sourceData("mutation_with_custom_scalar.graphql"), BuiltIn: false},
  2261  	{Name: "nulls.graphql", Input: sourceData("nulls.graphql"), BuiltIn: false},
  2262  	{Name: "panics.graphql", Input: sourceData("panics.graphql"), BuiltIn: false},
  2263  	{Name: "primitive_objects.graphql", Input: sourceData("primitive_objects.graphql"), BuiltIn: false},
  2264  	{Name: "ptr_to_ptr_input.graphql", Input: sourceData("ptr_to_ptr_input.graphql"), BuiltIn: false},
  2265  	{Name: "ptr_to_slice.graphql", Input: sourceData("ptr_to_slice.graphql"), BuiltIn: false},
  2266  	{Name: "scalar_context.graphql", Input: sourceData("scalar_context.graphql"), BuiltIn: false},
  2267  	{Name: "scalar_default.graphql", Input: sourceData("scalar_default.graphql"), BuiltIn: false},
  2268  	{Name: "schema.graphql", Input: sourceData("schema.graphql"), BuiltIn: false},
  2269  	{Name: "slices.graphql", Input: sourceData("slices.graphql"), BuiltIn: false},
  2270  	{Name: "typefallback.graphql", Input: sourceData("typefallback.graphql"), BuiltIn: false},
  2271  	{Name: "useptr.graphql", Input: sourceData("useptr.graphql"), BuiltIn: false},
  2272  	{Name: "v-ok.graphql", Input: sourceData("v-ok.graphql"), BuiltIn: false},
  2273  	{Name: "validtypes.graphql", Input: sourceData("validtypes.graphql"), BuiltIn: false},
  2274  	{Name: "variadic.graphql", Input: sourceData("variadic.graphql"), BuiltIn: false},
  2275  	{Name: "weird_type_cases.graphql", Input: sourceData("weird_type_cases.graphql"), BuiltIn: false},
  2276  	{Name: "wrapped_type.graphql", Input: sourceData("wrapped_type.graphql"), BuiltIn: false},
  2277  }
  2278  var parsedSchema = gqlparser.MustLoadSchema(sources...)
  2279  
  2280  // endregion ************************** generated!.gotpl **************************
  2281  
  2282  // region    ***************************** args.gotpl *****************************
  2283  
  2284  func (ec *executionContext) dir_length_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) {
  2285  	var err error
  2286  	args := map[string]interface{}{}
  2287  	var arg0 int
  2288  	if tmp, ok := rawArgs["min"]; ok {
  2289  		ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("min"))
  2290  		arg0, err = ec.unmarshalNInt2int(ctx, tmp)
  2291  		if err != nil {
  2292  			return nil, err
  2293  		}
  2294  	}
  2295  	args["min"] = arg0
  2296  	var arg1 *int
  2297  	if tmp, ok := rawArgs["max"]; ok {
  2298  		ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("max"))
  2299  		arg1, err = ec.unmarshalOInt2ᚖint(ctx, tmp)
  2300  		if err != nil {
  2301  			return nil, err
  2302  		}
  2303  	}
  2304  	args["max"] = arg1
  2305  	var arg2 *string
  2306  	if tmp, ok := rawArgs["message"]; ok {
  2307  		ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("message"))
  2308  		arg2, err = ec.unmarshalOString2ᚖstring(ctx, tmp)
  2309  		if err != nil {
  2310  			return nil, err
  2311  		}
  2312  	}
  2313  	args["message"] = arg2
  2314  	return args, nil
  2315  }
  2316  
  2317  func (ec *executionContext) dir_logged_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) {
  2318  	var err error
  2319  	args := map[string]interface{}{}
  2320  	var arg0 string
  2321  	if tmp, ok := rawArgs["id"]; ok {
  2322  		ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("id"))
  2323  		arg0, err = ec.unmarshalNUUID2string(ctx, tmp)
  2324  		if err != nil {
  2325  			return nil, err
  2326  		}
  2327  	}
  2328  	args["id"] = arg0
  2329  	return args, nil
  2330  }
  2331  
  2332  func (ec *executionContext) dir_order1_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) {
  2333  	var err error
  2334  	args := map[string]interface{}{}
  2335  	var arg0 string
  2336  	if tmp, ok := rawArgs["location"]; ok {
  2337  		ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("location"))
  2338  		arg0, err = ec.unmarshalNString2string(ctx, tmp)
  2339  		if err != nil {
  2340  			return nil, err
  2341  		}
  2342  	}
  2343  	args["location"] = arg0
  2344  	return args, nil
  2345  }
  2346  
  2347  func (ec *executionContext) dir_order2_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) {
  2348  	var err error
  2349  	args := map[string]interface{}{}
  2350  	var arg0 string
  2351  	if tmp, ok := rawArgs["location"]; ok {
  2352  		ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("location"))
  2353  		arg0, err = ec.unmarshalNString2string(ctx, tmp)
  2354  		if err != nil {
  2355  			return nil, err
  2356  		}
  2357  	}
  2358  	args["location"] = arg0
  2359  	return args, nil
  2360  }
  2361  
  2362  func (ec *executionContext) dir_range_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) {
  2363  	var err error
  2364  	args := map[string]interface{}{}
  2365  	var arg0 *int
  2366  	if tmp, ok := rawArgs["min"]; ok {
  2367  		ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("min"))
  2368  		arg0, err = ec.unmarshalOInt2ᚖint(ctx, tmp)
  2369  		if err != nil {
  2370  			return nil, err
  2371  		}
  2372  	}
  2373  	args["min"] = arg0
  2374  	var arg1 *int
  2375  	if tmp, ok := rawArgs["max"]; ok {
  2376  		ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("max"))
  2377  		arg1, err = ec.unmarshalOInt2ᚖint(ctx, tmp)
  2378  		if err != nil {
  2379  			return nil, err
  2380  		}
  2381  	}
  2382  	args["max"] = arg1
  2383  	return args, nil
  2384  }
  2385  
  2386  func (ec *executionContext) field_Mutation_defaultInput_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) {
  2387  	var err error
  2388  	args := map[string]interface{}{}
  2389  	var arg0 DefaultInput
  2390  	if tmp, ok := rawArgs["input"]; ok {
  2391  		ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("input"))
  2392  		arg0, err = ec.unmarshalNDefaultInput2githubᚗcomᚋ99designsᚋgqlgenᚋcodegenᚋtestserverᚋsinglefileᚐDefaultInput(ctx, tmp)
  2393  		if err != nil {
  2394  			return nil, err
  2395  		}
  2396  	}
  2397  	args["input"] = arg0
  2398  	return args, nil
  2399  }
  2400  
  2401  func (ec *executionContext) field_Mutation_overrideValueViaInput_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) {
  2402  	var err error
  2403  	args := map[string]interface{}{}
  2404  	var arg0 FieldsOrderInput
  2405  	if tmp, ok := rawArgs["input"]; ok {
  2406  		ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("input"))
  2407  		arg0, err = ec.unmarshalNFieldsOrderInput2githubᚗcomᚋ99designsᚋgqlgenᚋcodegenᚋtestserverᚋsinglefileᚐFieldsOrderInput(ctx, tmp)
  2408  		if err != nil {
  2409  			return nil, err
  2410  		}
  2411  	}
  2412  	args["input"] = arg0
  2413  	return args, nil
  2414  }
  2415  
  2416  func (ec *executionContext) field_Mutation_updatePtrToPtr_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) {
  2417  	var err error
  2418  	args := map[string]interface{}{}
  2419  	var arg0 UpdatePtrToPtrOuter
  2420  	if tmp, ok := rawArgs["input"]; ok {
  2421  		ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("input"))
  2422  		arg0, err = ec.unmarshalNUpdatePtrToPtrOuter2githubᚗcomᚋ99designsᚋgqlgenᚋcodegenᚋtestserverᚋsinglefileᚐUpdatePtrToPtrOuter(ctx, tmp)
  2423  		if err != nil {
  2424  			return nil, err
  2425  		}
  2426  	}
  2427  	args["input"] = arg0
  2428  	return args, nil
  2429  }
  2430  
  2431  func (ec *executionContext) field_Mutation_updateSomething_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) {
  2432  	var err error
  2433  	args := map[string]interface{}{}
  2434  	var arg0 SpecialInput
  2435  	if tmp, ok := rawArgs["input"]; ok {
  2436  		ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("input"))
  2437  		arg0, err = ec.unmarshalNSpecialInput2githubᚗcomᚋ99designsᚋgqlgenᚋcodegenᚋtestserverᚋsinglefileᚐSpecialInput(ctx, tmp)
  2438  		if err != nil {
  2439  			return nil, err
  2440  		}
  2441  	}
  2442  	args["input"] = arg0
  2443  	return args, nil
  2444  }
  2445  
  2446  func (ec *executionContext) field_Panics_argUnmarshal_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) {
  2447  	var err error
  2448  	args := map[string]interface{}{}
  2449  	var arg0 []MarshalPanic
  2450  	if tmp, ok := rawArgs["u"]; ok {
  2451  		ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("u"))
  2452  		arg0, err = ec.unmarshalNMarshalPanic2ᚕgithubᚗcomᚋ99designsᚋgqlgenᚋcodegenᚋtestserverᚋsinglefileᚐMarshalPanicᚄ(ctx, tmp)
  2453  		if err != nil {
  2454  			return nil, err
  2455  		}
  2456  	}
  2457  	args["u"] = arg0
  2458  	return args, nil
  2459  }
  2460  
  2461  func (ec *executionContext) field_Panics_fieldFuncMarshal_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) {
  2462  	var err error
  2463  	args := map[string]interface{}{}
  2464  	var arg0 []MarshalPanic
  2465  	if tmp, ok := rawArgs["u"]; ok {
  2466  		ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("u"))
  2467  		arg0, err = ec.unmarshalNMarshalPanic2ᚕgithubᚗcomᚋ99designsᚋgqlgenᚋcodegenᚋtestserverᚋsinglefileᚐMarshalPanicᚄ(ctx, tmp)
  2468  		if err != nil {
  2469  			return nil, err
  2470  		}
  2471  	}
  2472  	args["u"] = arg0
  2473  	return args, nil
  2474  }
  2475  
  2476  func (ec *executionContext) field_Pet_friends_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) {
  2477  	var err error
  2478  	args := map[string]interface{}{}
  2479  	var arg0 *int
  2480  	if tmp, ok := rawArgs["limit"]; ok {
  2481  		ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("limit"))
  2482  		arg0, err = ec.unmarshalOInt2ᚖint(ctx, tmp)
  2483  		if err != nil {
  2484  			return nil, err
  2485  		}
  2486  	}
  2487  	args["limit"] = arg0
  2488  	return args, nil
  2489  }
  2490  
  2491  func (ec *executionContext) field_Query___type_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) {
  2492  	var err error
  2493  	args := map[string]interface{}{}
  2494  	var arg0 string
  2495  	if tmp, ok := rawArgs["name"]; ok {
  2496  		ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("name"))
  2497  		arg0, err = ec.unmarshalNString2string(ctx, tmp)
  2498  		if err != nil {
  2499  			return nil, err
  2500  		}
  2501  	}
  2502  	args["name"] = arg0
  2503  	return args, nil
  2504  }
  2505  
  2506  func (ec *executionContext) field_Query_defaultParameters_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) {
  2507  	var err error
  2508  	args := map[string]interface{}{}
  2509  	var arg0 *bool
  2510  	if tmp, ok := rawArgs["falsyBoolean"]; ok {
  2511  		ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("falsyBoolean"))
  2512  		arg0, err = ec.unmarshalOBoolean2ᚖbool(ctx, tmp)
  2513  		if err != nil {
  2514  			return nil, err
  2515  		}
  2516  	}
  2517  	args["falsyBoolean"] = arg0
  2518  	var arg1 *bool
  2519  	if tmp, ok := rawArgs["truthyBoolean"]; ok {
  2520  		ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("truthyBoolean"))
  2521  		arg1, err = ec.unmarshalOBoolean2ᚖbool(ctx, tmp)
  2522  		if err != nil {
  2523  			return nil, err
  2524  		}
  2525  	}
  2526  	args["truthyBoolean"] = arg1
  2527  	return args, nil
  2528  }
  2529  
  2530  func (ec *executionContext) field_Query_defaultScalar_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) {
  2531  	var err error
  2532  	args := map[string]interface{}{}
  2533  	var arg0 string
  2534  	if tmp, ok := rawArgs["arg"]; ok {
  2535  		ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("arg"))
  2536  		arg0, err = ec.unmarshalNDefaultScalarImplementation2string(ctx, tmp)
  2537  		if err != nil {
  2538  			return nil, err
  2539  		}
  2540  	}
  2541  	args["arg"] = arg0
  2542  	return args, nil
  2543  }
  2544  
  2545  func (ec *executionContext) field_Query_directiveArg_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) {
  2546  	var err error
  2547  	args := map[string]interface{}{}
  2548  	var arg0 string
  2549  	if tmp, ok := rawArgs["arg"]; ok {
  2550  		ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("arg"))
  2551  		directive0 := func(ctx context.Context) (interface{}, error) { return ec.unmarshalNString2string(ctx, tmp) }
  2552  		directive1 := func(ctx context.Context) (interface{}, error) {
  2553  			min, err := ec.unmarshalNInt2int(ctx, 1)
  2554  			if err != nil {
  2555  				return nil, err
  2556  			}
  2557  			max, err := ec.unmarshalOInt2ᚖint(ctx, 255)
  2558  			if err != nil {
  2559  				return nil, err
  2560  			}
  2561  			message, err := ec.unmarshalOString2ᚖstring(ctx, "invalid length")
  2562  			if err != nil {
  2563  				return nil, err
  2564  			}
  2565  			if ec.directives.Length == nil {
  2566  				return nil, errors.New("directive length is not implemented")
  2567  			}
  2568  			return ec.directives.Length(ctx, rawArgs, directive0, min, max, message)
  2569  		}
  2570  
  2571  		tmp, err = directive1(ctx)
  2572  		if err != nil {
  2573  			return nil, graphql.ErrorOnPath(ctx, err)
  2574  		}
  2575  		if data, ok := tmp.(string); ok {
  2576  			arg0 = data
  2577  		} else {
  2578  			return nil, graphql.ErrorOnPath(ctx, fmt.Errorf(`unexpected type %T from directive, should be string`, tmp))
  2579  		}
  2580  	}
  2581  	args["arg"] = arg0
  2582  	return args, nil
  2583  }
  2584  
  2585  func (ec *executionContext) field_Query_directiveFieldDef_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) {
  2586  	var err error
  2587  	args := map[string]interface{}{}
  2588  	var arg0 string
  2589  	if tmp, ok := rawArgs["ret"]; ok {
  2590  		ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("ret"))
  2591  		arg0, err = ec.unmarshalNString2string(ctx, tmp)
  2592  		if err != nil {
  2593  			return nil, err
  2594  		}
  2595  	}
  2596  	args["ret"] = arg0
  2597  	return args, nil
  2598  }
  2599  
  2600  func (ec *executionContext) field_Query_directiveInputNullable_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) {
  2601  	var err error
  2602  	args := map[string]interface{}{}
  2603  	var arg0 *InputDirectives
  2604  	if tmp, ok := rawArgs["arg"]; ok {
  2605  		ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("arg"))
  2606  		arg0, err = ec.unmarshalOInputDirectives2ᚖgithubᚗcomᚋ99designsᚋgqlgenᚋcodegenᚋtestserverᚋsinglefileᚐInputDirectives(ctx, tmp)
  2607  		if err != nil {
  2608  			return nil, err
  2609  		}
  2610  	}
  2611  	args["arg"] = arg0
  2612  	return args, nil
  2613  }
  2614  
  2615  func (ec *executionContext) field_Query_directiveInputType_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) {
  2616  	var err error
  2617  	args := map[string]interface{}{}
  2618  	var arg0 InnerInput
  2619  	if tmp, ok := rawArgs["arg"]; ok {
  2620  		ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("arg"))
  2621  		directive0 := func(ctx context.Context) (interface{}, error) {
  2622  			return ec.unmarshalNInnerInput2githubᚗcomᚋ99designsᚋgqlgenᚋcodegenᚋtestserverᚋsinglefileᚐInnerInput(ctx, tmp)
  2623  		}
  2624  		directive1 := func(ctx context.Context) (interface{}, error) {
  2625  			if ec.directives.Custom == nil {
  2626  				return nil, errors.New("directive custom is not implemented")
  2627  			}
  2628  			return ec.directives.Custom(ctx, rawArgs, directive0)
  2629  		}
  2630  
  2631  		tmp, err = directive1(ctx)
  2632  		if err != nil {
  2633  			return nil, graphql.ErrorOnPath(ctx, err)
  2634  		}
  2635  		if data, ok := tmp.(InnerInput); ok {
  2636  			arg0 = data
  2637  		} else {
  2638  			return nil, graphql.ErrorOnPath(ctx, fmt.Errorf(`unexpected type %T from directive, should be github.com/99designs/gqlgen/codegen/testserver/singlefile.InnerInput`, tmp))
  2639  		}
  2640  	}
  2641  	args["arg"] = arg0
  2642  	return args, nil
  2643  }
  2644  
  2645  func (ec *executionContext) field_Query_directiveInput_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) {
  2646  	var err error
  2647  	args := map[string]interface{}{}
  2648  	var arg0 InputDirectives
  2649  	if tmp, ok := rawArgs["arg"]; ok {
  2650  		ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("arg"))
  2651  		arg0, err = ec.unmarshalNInputDirectives2githubᚗcomᚋ99designsᚋgqlgenᚋcodegenᚋtestserverᚋsinglefileᚐInputDirectives(ctx, tmp)
  2652  		if err != nil {
  2653  			return nil, err
  2654  		}
  2655  	}
  2656  	args["arg"] = arg0
  2657  	return args, nil
  2658  }
  2659  
  2660  func (ec *executionContext) field_Query_directiveNullableArg_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) {
  2661  	var err error
  2662  	args := map[string]interface{}{}
  2663  	var arg0 *int
  2664  	if tmp, ok := rawArgs["arg"]; ok {
  2665  		ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("arg"))
  2666  		directive0 := func(ctx context.Context) (interface{}, error) { return ec.unmarshalOInt2ᚖint(ctx, tmp) }
  2667  		directive1 := func(ctx context.Context) (interface{}, error) {
  2668  			min, err := ec.unmarshalOInt2ᚖint(ctx, 0)
  2669  			if err != nil {
  2670  				return nil, err
  2671  			}
  2672  			if ec.directives.Range == nil {
  2673  				return nil, errors.New("directive range is not implemented")
  2674  			}
  2675  			return ec.directives.Range(ctx, rawArgs, directive0, min, nil)
  2676  		}
  2677  
  2678  		tmp, err = directive1(ctx)
  2679  		if err != nil {
  2680  			return nil, graphql.ErrorOnPath(ctx, err)
  2681  		}
  2682  		if data, ok := tmp.(*int); ok {
  2683  			arg0 = data
  2684  		} else if tmp == nil {
  2685  			arg0 = nil
  2686  		} else {
  2687  			return nil, graphql.ErrorOnPath(ctx, fmt.Errorf(`unexpected type %T from directive, should be *int`, tmp))
  2688  		}
  2689  	}
  2690  	args["arg"] = arg0
  2691  	var arg1 *int
  2692  	if tmp, ok := rawArgs["arg2"]; ok {
  2693  		ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("arg2"))
  2694  		directive0 := func(ctx context.Context) (interface{}, error) { return ec.unmarshalOInt2ᚖint(ctx, tmp) }
  2695  		directive1 := func(ctx context.Context) (interface{}, error) {
  2696  			min, err := ec.unmarshalOInt2ᚖint(ctx, 0)
  2697  			if err != nil {
  2698  				return nil, err
  2699  			}
  2700  			if ec.directives.Range == nil {
  2701  				return nil, errors.New("directive range is not implemented")
  2702  			}
  2703  			return ec.directives.Range(ctx, rawArgs, directive0, min, nil)
  2704  		}
  2705  
  2706  		tmp, err = directive1(ctx)
  2707  		if err != nil {
  2708  			return nil, graphql.ErrorOnPath(ctx, err)
  2709  		}
  2710  		if data, ok := tmp.(*int); ok {
  2711  			arg1 = data
  2712  		} else if tmp == nil {
  2713  			arg1 = nil
  2714  		} else {
  2715  			return nil, graphql.ErrorOnPath(ctx, fmt.Errorf(`unexpected type %T from directive, should be *int`, tmp))
  2716  		}
  2717  	}
  2718  	args["arg2"] = arg1
  2719  	var arg2 *string
  2720  	if tmp, ok := rawArgs["arg3"]; ok {
  2721  		ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("arg3"))
  2722  		directive0 := func(ctx context.Context) (interface{}, error) { return ec.unmarshalOString2ᚖstring(ctx, tmp) }
  2723  		directive1 := func(ctx context.Context) (interface{}, error) {
  2724  			if ec.directives.ToNull == nil {
  2725  				return nil, errors.New("directive toNull is not implemented")
  2726  			}
  2727  			return ec.directives.ToNull(ctx, rawArgs, directive0)
  2728  		}
  2729  
  2730  		tmp, err = directive1(ctx)
  2731  		if err != nil {
  2732  			return nil, graphql.ErrorOnPath(ctx, err)
  2733  		}
  2734  		if data, ok := tmp.(*string); ok {
  2735  			arg2 = data
  2736  		} else if tmp == nil {
  2737  			arg2 = nil
  2738  		} else {
  2739  			return nil, graphql.ErrorOnPath(ctx, fmt.Errorf(`unexpected type %T from directive, should be *string`, tmp))
  2740  		}
  2741  	}
  2742  	args["arg3"] = arg2
  2743  	return args, nil
  2744  }
  2745  
  2746  func (ec *executionContext) field_Query_enumInInput_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) {
  2747  	var err error
  2748  	args := map[string]interface{}{}
  2749  	var arg0 *InputWithEnumValue
  2750  	if tmp, ok := rawArgs["input"]; ok {
  2751  		ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("input"))
  2752  		arg0, err = ec.unmarshalOInputWithEnumValue2ᚖgithubᚗcomᚋ99designsᚋgqlgenᚋcodegenᚋtestserverᚋsinglefileᚐInputWithEnumValue(ctx, tmp)
  2753  		if err != nil {
  2754  			return nil, err
  2755  		}
  2756  	}
  2757  	args["input"] = arg0
  2758  	return args, nil
  2759  }
  2760  
  2761  func (ec *executionContext) field_Query_fallback_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) {
  2762  	var err error
  2763  	args := map[string]interface{}{}
  2764  	var arg0 FallbackToStringEncoding
  2765  	if tmp, ok := rawArgs["arg"]; ok {
  2766  		ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("arg"))
  2767  		arg0, err = ec.unmarshalNFallbackToStringEncoding2githubᚗcomᚋ99designsᚋgqlgenᚋcodegenᚋtestserverᚋsinglefileᚐFallbackToStringEncoding(ctx, tmp)
  2768  		if err != nil {
  2769  			return nil, err
  2770  		}
  2771  	}
  2772  	args["arg"] = arg0
  2773  	return args, nil
  2774  }
  2775  
  2776  func (ec *executionContext) field_Query_inputNullableSlice_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) {
  2777  	var err error
  2778  	args := map[string]interface{}{}
  2779  	var arg0 []string
  2780  	if tmp, ok := rawArgs["arg"]; ok {
  2781  		ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("arg"))
  2782  		arg0, err = ec.unmarshalOString2ᚕstringᚄ(ctx, tmp)
  2783  		if err != nil {
  2784  			return nil, err
  2785  		}
  2786  	}
  2787  	args["arg"] = arg0
  2788  	return args, nil
  2789  }
  2790  
  2791  func (ec *executionContext) field_Query_inputSlice_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) {
  2792  	var err error
  2793  	args := map[string]interface{}{}
  2794  	var arg0 []string
  2795  	if tmp, ok := rawArgs["arg"]; ok {
  2796  		ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("arg"))
  2797  		arg0, err = ec.unmarshalNString2ᚕstringᚄ(ctx, tmp)
  2798  		if err != nil {
  2799  			return nil, err
  2800  		}
  2801  	}
  2802  	args["arg"] = arg0
  2803  	return args, nil
  2804  }
  2805  
  2806  func (ec *executionContext) field_Query_mapInput_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) {
  2807  	var err error
  2808  	args := map[string]interface{}{}
  2809  	var arg0 map[string]interface{}
  2810  	if tmp, ok := rawArgs["input"]; ok {
  2811  		ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("input"))
  2812  		arg0, err = ec.unmarshalOChanges2map(ctx, tmp)
  2813  		if err != nil {
  2814  			return nil, err
  2815  		}
  2816  	}
  2817  	args["input"] = arg0
  2818  	return args, nil
  2819  }
  2820  
  2821  func (ec *executionContext) field_Query_mapNestedStringInterface_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) {
  2822  	var err error
  2823  	args := map[string]interface{}{}
  2824  	var arg0 *NestedMapInput
  2825  	if tmp, ok := rawArgs["in"]; ok {
  2826  		ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("in"))
  2827  		arg0, err = ec.unmarshalONestedMapInput2ᚖgithubᚗcomᚋ99designsᚋgqlgenᚋcodegenᚋtestserverᚋsinglefileᚐNestedMapInput(ctx, tmp)
  2828  		if err != nil {
  2829  			return nil, err
  2830  		}
  2831  	}
  2832  	args["in"] = arg0
  2833  	return args, nil
  2834  }
  2835  
  2836  func (ec *executionContext) field_Query_mapStringInterface_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) {
  2837  	var err error
  2838  	args := map[string]interface{}{}
  2839  	var arg0 map[string]interface{}
  2840  	if tmp, ok := rawArgs["in"]; ok {
  2841  		ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("in"))
  2842  		arg0, err = ec.unmarshalOMapStringInterfaceInput2map(ctx, tmp)
  2843  		if err != nil {
  2844  			return nil, err
  2845  		}
  2846  	}
  2847  	args["in"] = arg0
  2848  	return args, nil
  2849  }
  2850  
  2851  func (ec *executionContext) field_Query_nestedInputs_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) {
  2852  	var err error
  2853  	args := map[string]interface{}{}
  2854  	var arg0 [][]*OuterInput
  2855  	if tmp, ok := rawArgs["input"]; ok {
  2856  		ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("input"))
  2857  		arg0, err = ec.unmarshalOOuterInput2ᚕᚕᚖgithubᚗcomᚋ99designsᚋgqlgenᚋcodegenᚋtestserverᚋsinglefileᚐOuterInput(ctx, tmp)
  2858  		if err != nil {
  2859  			return nil, err
  2860  		}
  2861  	}
  2862  	args["input"] = arg0
  2863  	return args, nil
  2864  }
  2865  
  2866  func (ec *executionContext) field_Query_nullableArg_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) {
  2867  	var err error
  2868  	args := map[string]interface{}{}
  2869  	var arg0 *int
  2870  	if tmp, ok := rawArgs["arg"]; ok {
  2871  		ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("arg"))
  2872  		arg0, err = ec.unmarshalOInt2ᚖint(ctx, tmp)
  2873  		if err != nil {
  2874  			return nil, err
  2875  		}
  2876  	}
  2877  	args["arg"] = arg0
  2878  	return args, nil
  2879  }
  2880  
  2881  func (ec *executionContext) field_Query_recursive_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) {
  2882  	var err error
  2883  	args := map[string]interface{}{}
  2884  	var arg0 *RecursiveInputSlice
  2885  	if tmp, ok := rawArgs["input"]; ok {
  2886  		ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("input"))
  2887  		arg0, err = ec.unmarshalORecursiveInputSlice2ᚖgithubᚗcomᚋ99designsᚋgqlgenᚋcodegenᚋtestserverᚋsinglefileᚐRecursiveInputSlice(ctx, tmp)
  2888  		if err != nil {
  2889  			return nil, err
  2890  		}
  2891  	}
  2892  	args["input"] = arg0
  2893  	return args, nil
  2894  }
  2895  
  2896  func (ec *executionContext) field_Query_user_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) {
  2897  	var err error
  2898  	args := map[string]interface{}{}
  2899  	var arg0 int
  2900  	if tmp, ok := rawArgs["id"]; ok {
  2901  		ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("id"))
  2902  		arg0, err = ec.unmarshalNInt2int(ctx, tmp)
  2903  		if err != nil {
  2904  			return nil, err
  2905  		}
  2906  	}
  2907  	args["id"] = arg0
  2908  	return args, nil
  2909  }
  2910  
  2911  func (ec *executionContext) field_Subscription_directiveArg_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) {
  2912  	var err error
  2913  	args := map[string]interface{}{}
  2914  	var arg0 string
  2915  	if tmp, ok := rawArgs["arg"]; ok {
  2916  		ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("arg"))
  2917  		directive0 := func(ctx context.Context) (interface{}, error) { return ec.unmarshalNString2string(ctx, tmp) }
  2918  		directive1 := func(ctx context.Context) (interface{}, error) {
  2919  			min, err := ec.unmarshalNInt2int(ctx, 1)
  2920  			if err != nil {
  2921  				return nil, err
  2922  			}
  2923  			max, err := ec.unmarshalOInt2ᚖint(ctx, 255)
  2924  			if err != nil {
  2925  				return nil, err
  2926  			}
  2927  			message, err := ec.unmarshalOString2ᚖstring(ctx, "invalid length")
  2928  			if err != nil {
  2929  				return nil, err
  2930  			}
  2931  			if ec.directives.Length == nil {
  2932  				return nil, errors.New("directive length is not implemented")
  2933  			}
  2934  			return ec.directives.Length(ctx, rawArgs, directive0, min, max, message)
  2935  		}
  2936  
  2937  		tmp, err = directive1(ctx)
  2938  		if err != nil {
  2939  			return nil, graphql.ErrorOnPath(ctx, err)
  2940  		}
  2941  		if data, ok := tmp.(string); ok {
  2942  			arg0 = data
  2943  		} else {
  2944  			return nil, graphql.ErrorOnPath(ctx, fmt.Errorf(`unexpected type %T from directive, should be string`, tmp))
  2945  		}
  2946  	}
  2947  	args["arg"] = arg0
  2948  	return args, nil
  2949  }
  2950  
  2951  func (ec *executionContext) field_Subscription_directiveNullableArg_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) {
  2952  	var err error
  2953  	args := map[string]interface{}{}
  2954  	var arg0 *int
  2955  	if tmp, ok := rawArgs["arg"]; ok {
  2956  		ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("arg"))
  2957  		directive0 := func(ctx context.Context) (interface{}, error) { return ec.unmarshalOInt2ᚖint(ctx, tmp) }
  2958  		directive1 := func(ctx context.Context) (interface{}, error) {
  2959  			min, err := ec.unmarshalOInt2ᚖint(ctx, 0)
  2960  			if err != nil {
  2961  				return nil, err
  2962  			}
  2963  			if ec.directives.Range == nil {
  2964  				return nil, errors.New("directive range is not implemented")
  2965  			}
  2966  			return ec.directives.Range(ctx, rawArgs, directive0, min, nil)
  2967  		}
  2968  
  2969  		tmp, err = directive1(ctx)
  2970  		if err != nil {
  2971  			return nil, graphql.ErrorOnPath(ctx, err)
  2972  		}
  2973  		if data, ok := tmp.(*int); ok {
  2974  			arg0 = data
  2975  		} else if tmp == nil {
  2976  			arg0 = nil
  2977  		} else {
  2978  			return nil, graphql.ErrorOnPath(ctx, fmt.Errorf(`unexpected type %T from directive, should be *int`, tmp))
  2979  		}
  2980  	}
  2981  	args["arg"] = arg0
  2982  	var arg1 *int
  2983  	if tmp, ok := rawArgs["arg2"]; ok {
  2984  		ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("arg2"))
  2985  		directive0 := func(ctx context.Context) (interface{}, error) { return ec.unmarshalOInt2ᚖint(ctx, tmp) }
  2986  		directive1 := func(ctx context.Context) (interface{}, error) {
  2987  			min, err := ec.unmarshalOInt2ᚖint(ctx, 0)
  2988  			if err != nil {
  2989  				return nil, err
  2990  			}
  2991  			if ec.directives.Range == nil {
  2992  				return nil, errors.New("directive range is not implemented")
  2993  			}
  2994  			return ec.directives.Range(ctx, rawArgs, directive0, min, nil)
  2995  		}
  2996  
  2997  		tmp, err = directive1(ctx)
  2998  		if err != nil {
  2999  			return nil, graphql.ErrorOnPath(ctx, err)
  3000  		}
  3001  		if data, ok := tmp.(*int); ok {
  3002  			arg1 = data
  3003  		} else if tmp == nil {
  3004  			arg1 = nil
  3005  		} else {
  3006  			return nil, graphql.ErrorOnPath(ctx, fmt.Errorf(`unexpected type %T from directive, should be *int`, tmp))
  3007  		}
  3008  	}
  3009  	args["arg2"] = arg1
  3010  	var arg2 *string
  3011  	if tmp, ok := rawArgs["arg3"]; ok {
  3012  		ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("arg3"))
  3013  		directive0 := func(ctx context.Context) (interface{}, error) { return ec.unmarshalOString2ᚖstring(ctx, tmp) }
  3014  		directive1 := func(ctx context.Context) (interface{}, error) {
  3015  			if ec.directives.ToNull == nil {
  3016  				return nil, errors.New("directive toNull is not implemented")
  3017  			}
  3018  			return ec.directives.ToNull(ctx, rawArgs, directive0)
  3019  		}
  3020  
  3021  		tmp, err = directive1(ctx)
  3022  		if err != nil {
  3023  			return nil, graphql.ErrorOnPath(ctx, err)
  3024  		}
  3025  		if data, ok := tmp.(*string); ok {
  3026  			arg2 = data
  3027  		} else if tmp == nil {
  3028  			arg2 = nil
  3029  		} else {
  3030  			return nil, graphql.ErrorOnPath(ctx, fmt.Errorf(`unexpected type %T from directive, should be *string`, tmp))
  3031  		}
  3032  	}
  3033  	args["arg3"] = arg2
  3034  	return args, nil
  3035  }
  3036  
  3037  func (ec *executionContext) field_User_pets_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) {
  3038  	var err error
  3039  	args := map[string]interface{}{}
  3040  	var arg0 *int
  3041  	if tmp, ok := rawArgs["limit"]; ok {
  3042  		ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("limit"))
  3043  		arg0, err = ec.unmarshalOInt2ᚖint(ctx, tmp)
  3044  		if err != nil {
  3045  			return nil, err
  3046  		}
  3047  	}
  3048  	args["limit"] = arg0
  3049  	return args, nil
  3050  }
  3051  
  3052  func (ec *executionContext) field_ValidType_validArgs_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) {
  3053  	var err error
  3054  	args := map[string]interface{}{}
  3055  	var arg0 string
  3056  	if tmp, ok := rawArgs["break"]; ok {
  3057  		ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("break"))
  3058  		arg0, err = ec.unmarshalNString2string(ctx, tmp)
  3059  		if err != nil {
  3060  			return nil, err
  3061  		}
  3062  	}
  3063  	args["break"] = arg0
  3064  	var arg1 string
  3065  	if tmp, ok := rawArgs["default"]; ok {
  3066  		ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("default"))
  3067  		arg1, err = ec.unmarshalNString2string(ctx, tmp)
  3068  		if err != nil {
  3069  			return nil, err
  3070  		}
  3071  	}
  3072  	args["default"] = arg1
  3073  	var arg2 string
  3074  	if tmp, ok := rawArgs["func"]; ok {
  3075  		ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("func"))
  3076  		arg2, err = ec.unmarshalNString2string(ctx, tmp)
  3077  		if err != nil {
  3078  			return nil, err
  3079  		}
  3080  	}
  3081  	args["func"] = arg2
  3082  	var arg3 string
  3083  	if tmp, ok := rawArgs["interface"]; ok {
  3084  		ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("interface"))
  3085  		arg3, err = ec.unmarshalNString2string(ctx, tmp)
  3086  		if err != nil {
  3087  			return nil, err
  3088  		}
  3089  	}
  3090  	args["interface"] = arg3
  3091  	var arg4 string
  3092  	if tmp, ok := rawArgs["select"]; ok {
  3093  		ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("select"))
  3094  		arg4, err = ec.unmarshalNString2string(ctx, tmp)
  3095  		if err != nil {
  3096  			return nil, err
  3097  		}
  3098  	}
  3099  	args["select"] = arg4
  3100  	var arg5 string
  3101  	if tmp, ok := rawArgs["case"]; ok {
  3102  		ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("case"))
  3103  		arg5, err = ec.unmarshalNString2string(ctx, tmp)
  3104  		if err != nil {
  3105  			return nil, err
  3106  		}
  3107  	}
  3108  	args["case"] = arg5
  3109  	var arg6 string
  3110  	if tmp, ok := rawArgs["defer"]; ok {
  3111  		ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("defer"))
  3112  		arg6, err = ec.unmarshalNString2string(ctx, tmp)
  3113  		if err != nil {
  3114  			return nil, err
  3115  		}
  3116  	}
  3117  	args["defer"] = arg6
  3118  	var arg7 string
  3119  	if tmp, ok := rawArgs["go"]; ok {
  3120  		ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("go"))
  3121  		arg7, err = ec.unmarshalNString2string(ctx, tmp)
  3122  		if err != nil {
  3123  			return nil, err
  3124  		}
  3125  	}
  3126  	args["go"] = arg7
  3127  	var arg8 string
  3128  	if tmp, ok := rawArgs["map"]; ok {
  3129  		ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("map"))
  3130  		arg8, err = ec.unmarshalNString2string(ctx, tmp)
  3131  		if err != nil {
  3132  			return nil, err
  3133  		}
  3134  	}
  3135  	args["map"] = arg8
  3136  	var arg9 string
  3137  	if tmp, ok := rawArgs["struct"]; ok {
  3138  		ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("struct"))
  3139  		arg9, err = ec.unmarshalNString2string(ctx, tmp)
  3140  		if err != nil {
  3141  			return nil, err
  3142  		}
  3143  	}
  3144  	args["struct"] = arg9
  3145  	var arg10 string
  3146  	if tmp, ok := rawArgs["chan"]; ok {
  3147  		ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("chan"))
  3148  		arg10, err = ec.unmarshalNString2string(ctx, tmp)
  3149  		if err != nil {
  3150  			return nil, err
  3151  		}
  3152  	}
  3153  	args["chan"] = arg10
  3154  	var arg11 string
  3155  	if tmp, ok := rawArgs["else"]; ok {
  3156  		ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("else"))
  3157  		arg11, err = ec.unmarshalNString2string(ctx, tmp)
  3158  		if err != nil {
  3159  			return nil, err
  3160  		}
  3161  	}
  3162  	args["else"] = arg11
  3163  	var arg12 string
  3164  	if tmp, ok := rawArgs["goto"]; ok {
  3165  		ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("goto"))
  3166  		arg12, err = ec.unmarshalNString2string(ctx, tmp)
  3167  		if err != nil {
  3168  			return nil, err
  3169  		}
  3170  	}
  3171  	args["goto"] = arg12
  3172  	var arg13 string
  3173  	if tmp, ok := rawArgs["package"]; ok {
  3174  		ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("package"))
  3175  		arg13, err = ec.unmarshalNString2string(ctx, tmp)
  3176  		if err != nil {
  3177  			return nil, err
  3178  		}
  3179  	}
  3180  	args["package"] = arg13
  3181  	var arg14 string
  3182  	if tmp, ok := rawArgs["switch"]; ok {
  3183  		ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("switch"))
  3184  		arg14, err = ec.unmarshalNString2string(ctx, tmp)
  3185  		if err != nil {
  3186  			return nil, err
  3187  		}
  3188  	}
  3189  	args["switch"] = arg14
  3190  	var arg15 string
  3191  	if tmp, ok := rawArgs["const"]; ok {
  3192  		ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("const"))
  3193  		arg15, err = ec.unmarshalNString2string(ctx, tmp)
  3194  		if err != nil {
  3195  			return nil, err
  3196  		}
  3197  	}
  3198  	args["const"] = arg15
  3199  	var arg16 string
  3200  	if tmp, ok := rawArgs["fallthrough"]; ok {
  3201  		ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("fallthrough"))
  3202  		arg16, err = ec.unmarshalNString2string(ctx, tmp)
  3203  		if err != nil {
  3204  			return nil, err
  3205  		}
  3206  	}
  3207  	args["fallthrough"] = arg16
  3208  	var arg17 string
  3209  	if tmp, ok := rawArgs["if"]; ok {
  3210  		ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("if"))
  3211  		arg17, err = ec.unmarshalNString2string(ctx, tmp)
  3212  		if err != nil {
  3213  			return nil, err
  3214  		}
  3215  	}
  3216  	args["if"] = arg17
  3217  	var arg18 string
  3218  	if tmp, ok := rawArgs["range"]; ok {
  3219  		ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("range"))
  3220  		arg18, err = ec.unmarshalNString2string(ctx, tmp)
  3221  		if err != nil {
  3222  			return nil, err
  3223  		}
  3224  	}
  3225  	args["range"] = arg18
  3226  	var arg19 string
  3227  	if tmp, ok := rawArgs["type"]; ok {
  3228  		ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("type"))
  3229  		arg19, err = ec.unmarshalNString2string(ctx, tmp)
  3230  		if err != nil {
  3231  			return nil, err
  3232  		}
  3233  	}
  3234  	args["type"] = arg19
  3235  	var arg20 string
  3236  	if tmp, ok := rawArgs["continue"]; ok {
  3237  		ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("continue"))
  3238  		arg20, err = ec.unmarshalNString2string(ctx, tmp)
  3239  		if err != nil {
  3240  			return nil, err
  3241  		}
  3242  	}
  3243  	args["continue"] = arg20
  3244  	var arg21 string
  3245  	if tmp, ok := rawArgs["for"]; ok {
  3246  		ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("for"))
  3247  		arg21, err = ec.unmarshalNString2string(ctx, tmp)
  3248  		if err != nil {
  3249  			return nil, err
  3250  		}
  3251  	}
  3252  	args["for"] = arg21
  3253  	var arg22 string
  3254  	if tmp, ok := rawArgs["import"]; ok {
  3255  		ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("import"))
  3256  		arg22, err = ec.unmarshalNString2string(ctx, tmp)
  3257  		if err != nil {
  3258  			return nil, err
  3259  		}
  3260  	}
  3261  	args["import"] = arg22
  3262  	var arg23 string
  3263  	if tmp, ok := rawArgs["return"]; ok {
  3264  		ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("return"))
  3265  		arg23, err = ec.unmarshalNString2string(ctx, tmp)
  3266  		if err != nil {
  3267  			return nil, err
  3268  		}
  3269  	}
  3270  	args["return"] = arg23
  3271  	var arg24 string
  3272  	if tmp, ok := rawArgs["var"]; ok {
  3273  		ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("var"))
  3274  		arg24, err = ec.unmarshalNString2string(ctx, tmp)
  3275  		if err != nil {
  3276  			return nil, err
  3277  		}
  3278  	}
  3279  	args["var"] = arg24
  3280  	var arg25 string
  3281  	if tmp, ok := rawArgs["_"]; ok {
  3282  		ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("_"))
  3283  		arg25, err = ec.unmarshalNString2string(ctx, tmp)
  3284  		if err != nil {
  3285  			return nil, err
  3286  		}
  3287  	}
  3288  	args["_"] = arg25
  3289  	return args, nil
  3290  }
  3291  
  3292  func (ec *executionContext) field_ValidType_validInputKeywords_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) {
  3293  	var err error
  3294  	args := map[string]interface{}{}
  3295  	var arg0 *ValidInput
  3296  	if tmp, ok := rawArgs["input"]; ok {
  3297  		ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("input"))
  3298  		arg0, err = ec.unmarshalOValidInput2ᚖgithubᚗcomᚋ99designsᚋgqlgenᚋcodegenᚋtestserverᚋsinglefileᚐValidInput(ctx, tmp)
  3299  		if err != nil {
  3300  			return nil, err
  3301  		}
  3302  	}
  3303  	args["input"] = arg0
  3304  	return args, nil
  3305  }
  3306  
  3307  func (ec *executionContext) field_VariadicModel_value_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) {
  3308  	var err error
  3309  	args := map[string]interface{}{}
  3310  	var arg0 int
  3311  	if tmp, ok := rawArgs["rank"]; ok {
  3312  		ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("rank"))
  3313  		arg0, err = ec.unmarshalNInt2int(ctx, tmp)
  3314  		if err != nil {
  3315  			return nil, err
  3316  		}
  3317  	}
  3318  	args["rank"] = arg0
  3319  	return args, nil
  3320  }
  3321  
  3322  func (ec *executionContext) field_WrappedMap_get_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) {
  3323  	var err error
  3324  	args := map[string]interface{}{}
  3325  	var arg0 string
  3326  	if tmp, ok := rawArgs["key"]; ok {
  3327  		ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("key"))
  3328  		arg0, err = ec.unmarshalNString2string(ctx, tmp)
  3329  		if err != nil {
  3330  			return nil, err
  3331  		}
  3332  	}
  3333  	args["key"] = arg0
  3334  	return args, nil
  3335  }
  3336  
  3337  func (ec *executionContext) field_WrappedSlice_get_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) {
  3338  	var err error
  3339  	args := map[string]interface{}{}
  3340  	var arg0 int
  3341  	if tmp, ok := rawArgs["idx"]; ok {
  3342  		ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("idx"))
  3343  		arg0, err = ec.unmarshalNInt2int(ctx, tmp)
  3344  		if err != nil {
  3345  			return nil, err
  3346  		}
  3347  	}
  3348  	args["idx"] = arg0
  3349  	return args, nil
  3350  }
  3351  
  3352  func (ec *executionContext) field___Type_enumValues_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) {
  3353  	var err error
  3354  	args := map[string]interface{}{}
  3355  	var arg0 bool
  3356  	if tmp, ok := rawArgs["includeDeprecated"]; ok {
  3357  		ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("includeDeprecated"))
  3358  		arg0, err = ec.unmarshalOBoolean2bool(ctx, tmp)
  3359  		if err != nil {
  3360  			return nil, err
  3361  		}
  3362  	}
  3363  	args["includeDeprecated"] = arg0
  3364  	return args, nil
  3365  }
  3366  
  3367  func (ec *executionContext) field___Type_fields_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) {
  3368  	var err error
  3369  	args := map[string]interface{}{}
  3370  	var arg0 bool
  3371  	if tmp, ok := rawArgs["includeDeprecated"]; ok {
  3372  		ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("includeDeprecated"))
  3373  		arg0, err = ec.unmarshalOBoolean2bool(ctx, tmp)
  3374  		if err != nil {
  3375  			return nil, err
  3376  		}
  3377  	}
  3378  	args["includeDeprecated"] = arg0
  3379  	return args, nil
  3380  }
  3381  
  3382  // endregion ***************************** args.gotpl *****************************
  3383  
  3384  // region    ************************** directives.gotpl **************************
  3385  
  3386  func (ec *executionContext) _fieldMiddleware(ctx context.Context, obj interface{}, next graphql.Resolver) interface{} {
  3387  	fc := graphql.GetFieldContext(ctx)
  3388  	for _, d := range fc.Field.Directives {
  3389  		switch d.Name {
  3390  		case "logged":
  3391  			rawArgs := d.ArgumentMap(ec.Variables)
  3392  			args, err := ec.dir_logged_args(ctx, rawArgs)
  3393  			if err != nil {
  3394  				ec.Error(ctx, err)
  3395  				return nil
  3396  			}
  3397  			n := next
  3398  			next = func(ctx context.Context) (interface{}, error) {
  3399  				if ec.directives.Logged == nil {
  3400  					return nil, errors.New("directive logged is not implemented")
  3401  				}
  3402  				return ec.directives.Logged(ctx, obj, n, args["id"].(string))
  3403  			}
  3404  		}
  3405  	}
  3406  	res, err := ec.ResolverMiddleware(ctx, next)
  3407  	if err != nil {
  3408  		ec.Error(ctx, err)
  3409  		return nil
  3410  	}
  3411  	return res
  3412  }
  3413  
  3414  // endregion ************************** directives.gotpl **************************
  3415  
  3416  // region    **************************** field.gotpl *****************************
  3417  
  3418  func (ec *executionContext) _A_id(ctx context.Context, field graphql.CollectedField, obj *A) (ret graphql.Marshaler) {
  3419  	fc, err := ec.fieldContext_A_id(ctx, field)
  3420  	if err != nil {
  3421  		return graphql.Null
  3422  	}
  3423  	ctx = graphql.WithFieldContext(ctx, fc)
  3424  	defer func() {
  3425  		if r := recover(); r != nil {
  3426  			ec.Error(ctx, ec.Recover(ctx, r))
  3427  			ret = graphql.Null
  3428  		}
  3429  	}()
  3430  	resTmp := ec._fieldMiddleware(ctx, obj, func(rctx context.Context) (interface{}, error) {
  3431  		ctx = rctx // use context from middleware stack in children
  3432  		return obj.ID, nil
  3433  	})
  3434  
  3435  	if resTmp == nil {
  3436  		if !graphql.HasFieldError(ctx, fc) {
  3437  			ec.Errorf(ctx, "must not be null")
  3438  		}
  3439  		return graphql.Null
  3440  	}
  3441  	res := resTmp.(string)
  3442  	fc.Result = res
  3443  	return ec.marshalNID2string(ctx, field.Selections, res)
  3444  }
  3445  
  3446  func (ec *executionContext) fieldContext_A_id(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
  3447  	fc = &graphql.FieldContext{
  3448  		Object:     "A",
  3449  		Field:      field,
  3450  		IsMethod:   false,
  3451  		IsResolver: false,
  3452  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
  3453  			return nil, errors.New("field of type ID does not have child fields")
  3454  		},
  3455  	}
  3456  	return fc, nil
  3457  }
  3458  
  3459  func (ec *executionContext) _AIt_id(ctx context.Context, field graphql.CollectedField, obj *AIt) (ret graphql.Marshaler) {
  3460  	fc, err := ec.fieldContext_AIt_id(ctx, field)
  3461  	if err != nil {
  3462  		return graphql.Null
  3463  	}
  3464  	ctx = graphql.WithFieldContext(ctx, fc)
  3465  	defer func() {
  3466  		if r := recover(); r != nil {
  3467  			ec.Error(ctx, ec.Recover(ctx, r))
  3468  			ret = graphql.Null
  3469  		}
  3470  	}()
  3471  	resTmp := ec._fieldMiddleware(ctx, obj, func(rctx context.Context) (interface{}, error) {
  3472  		ctx = rctx // use context from middleware stack in children
  3473  		return obj.ID, nil
  3474  	})
  3475  
  3476  	if resTmp == nil {
  3477  		if !graphql.HasFieldError(ctx, fc) {
  3478  			ec.Errorf(ctx, "must not be null")
  3479  		}
  3480  		return graphql.Null
  3481  	}
  3482  	res := resTmp.(string)
  3483  	fc.Result = res
  3484  	return ec.marshalNID2string(ctx, field.Selections, res)
  3485  }
  3486  
  3487  func (ec *executionContext) fieldContext_AIt_id(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
  3488  	fc = &graphql.FieldContext{
  3489  		Object:     "AIt",
  3490  		Field:      field,
  3491  		IsMethod:   false,
  3492  		IsResolver: false,
  3493  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
  3494  			return nil, errors.New("field of type ID does not have child fields")
  3495  		},
  3496  	}
  3497  	return fc, nil
  3498  }
  3499  
  3500  func (ec *executionContext) _AbIt_id(ctx context.Context, field graphql.CollectedField, obj *AbIt) (ret graphql.Marshaler) {
  3501  	fc, err := ec.fieldContext_AbIt_id(ctx, field)
  3502  	if err != nil {
  3503  		return graphql.Null
  3504  	}
  3505  	ctx = graphql.WithFieldContext(ctx, fc)
  3506  	defer func() {
  3507  		if r := recover(); r != nil {
  3508  			ec.Error(ctx, ec.Recover(ctx, r))
  3509  			ret = graphql.Null
  3510  		}
  3511  	}()
  3512  	resTmp := ec._fieldMiddleware(ctx, obj, func(rctx context.Context) (interface{}, error) {
  3513  		ctx = rctx // use context from middleware stack in children
  3514  		return obj.ID, nil
  3515  	})
  3516  
  3517  	if resTmp == nil {
  3518  		if !graphql.HasFieldError(ctx, fc) {
  3519  			ec.Errorf(ctx, "must not be null")
  3520  		}
  3521  		return graphql.Null
  3522  	}
  3523  	res := resTmp.(string)
  3524  	fc.Result = res
  3525  	return ec.marshalNID2string(ctx, field.Selections, res)
  3526  }
  3527  
  3528  func (ec *executionContext) fieldContext_AbIt_id(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
  3529  	fc = &graphql.FieldContext{
  3530  		Object:     "AbIt",
  3531  		Field:      field,
  3532  		IsMethod:   false,
  3533  		IsResolver: false,
  3534  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
  3535  			return nil, errors.New("field of type ID does not have child fields")
  3536  		},
  3537  	}
  3538  	return fc, nil
  3539  }
  3540  
  3541  func (ec *executionContext) _Autobind_int(ctx context.Context, field graphql.CollectedField, obj *Autobind) (ret graphql.Marshaler) {
  3542  	fc, err := ec.fieldContext_Autobind_int(ctx, field)
  3543  	if err != nil {
  3544  		return graphql.Null
  3545  	}
  3546  	ctx = graphql.WithFieldContext(ctx, fc)
  3547  	defer func() {
  3548  		if r := recover(); r != nil {
  3549  			ec.Error(ctx, ec.Recover(ctx, r))
  3550  			ret = graphql.Null
  3551  		}
  3552  	}()
  3553  	resTmp := ec._fieldMiddleware(ctx, obj, func(rctx context.Context) (interface{}, error) {
  3554  		ctx = rctx // use context from middleware stack in children
  3555  		return obj.Int, nil
  3556  	})
  3557  
  3558  	if resTmp == nil {
  3559  		if !graphql.HasFieldError(ctx, fc) {
  3560  			ec.Errorf(ctx, "must not be null")
  3561  		}
  3562  		return graphql.Null
  3563  	}
  3564  	res := resTmp.(int)
  3565  	fc.Result = res
  3566  	return ec.marshalNInt2int(ctx, field.Selections, res)
  3567  }
  3568  
  3569  func (ec *executionContext) fieldContext_Autobind_int(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
  3570  	fc = &graphql.FieldContext{
  3571  		Object:     "Autobind",
  3572  		Field:      field,
  3573  		IsMethod:   false,
  3574  		IsResolver: false,
  3575  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
  3576  			return nil, errors.New("field of type Int does not have child fields")
  3577  		},
  3578  	}
  3579  	return fc, nil
  3580  }
  3581  
  3582  func (ec *executionContext) _Autobind_int32(ctx context.Context, field graphql.CollectedField, obj *Autobind) (ret graphql.Marshaler) {
  3583  	fc, err := ec.fieldContext_Autobind_int32(ctx, field)
  3584  	if err != nil {
  3585  		return graphql.Null
  3586  	}
  3587  	ctx = graphql.WithFieldContext(ctx, fc)
  3588  	defer func() {
  3589  		if r := recover(); r != nil {
  3590  			ec.Error(ctx, ec.Recover(ctx, r))
  3591  			ret = graphql.Null
  3592  		}
  3593  	}()
  3594  	resTmp := ec._fieldMiddleware(ctx, obj, func(rctx context.Context) (interface{}, error) {
  3595  		ctx = rctx // use context from middleware stack in children
  3596  		return obj.Int32, nil
  3597  	})
  3598  
  3599  	if resTmp == nil {
  3600  		if !graphql.HasFieldError(ctx, fc) {
  3601  			ec.Errorf(ctx, "must not be null")
  3602  		}
  3603  		return graphql.Null
  3604  	}
  3605  	res := resTmp.(int32)
  3606  	fc.Result = res
  3607  	return ec.marshalNInt2int32(ctx, field.Selections, res)
  3608  }
  3609  
  3610  func (ec *executionContext) fieldContext_Autobind_int32(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
  3611  	fc = &graphql.FieldContext{
  3612  		Object:     "Autobind",
  3613  		Field:      field,
  3614  		IsMethod:   false,
  3615  		IsResolver: false,
  3616  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
  3617  			return nil, errors.New("field of type Int does not have child fields")
  3618  		},
  3619  	}
  3620  	return fc, nil
  3621  }
  3622  
  3623  func (ec *executionContext) _Autobind_int64(ctx context.Context, field graphql.CollectedField, obj *Autobind) (ret graphql.Marshaler) {
  3624  	fc, err := ec.fieldContext_Autobind_int64(ctx, field)
  3625  	if err != nil {
  3626  		return graphql.Null
  3627  	}
  3628  	ctx = graphql.WithFieldContext(ctx, fc)
  3629  	defer func() {
  3630  		if r := recover(); r != nil {
  3631  			ec.Error(ctx, ec.Recover(ctx, r))
  3632  			ret = graphql.Null
  3633  		}
  3634  	}()
  3635  	resTmp := ec._fieldMiddleware(ctx, obj, func(rctx context.Context) (interface{}, error) {
  3636  		ctx = rctx // use context from middleware stack in children
  3637  		return obj.Int64, nil
  3638  	})
  3639  
  3640  	if resTmp == nil {
  3641  		if !graphql.HasFieldError(ctx, fc) {
  3642  			ec.Errorf(ctx, "must not be null")
  3643  		}
  3644  		return graphql.Null
  3645  	}
  3646  	res := resTmp.(int64)
  3647  	fc.Result = res
  3648  	return ec.marshalNInt2int64(ctx, field.Selections, res)
  3649  }
  3650  
  3651  func (ec *executionContext) fieldContext_Autobind_int64(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
  3652  	fc = &graphql.FieldContext{
  3653  		Object:     "Autobind",
  3654  		Field:      field,
  3655  		IsMethod:   false,
  3656  		IsResolver: false,
  3657  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
  3658  			return nil, errors.New("field of type Int does not have child fields")
  3659  		},
  3660  	}
  3661  	return fc, nil
  3662  }
  3663  
  3664  func (ec *executionContext) _Autobind_idStr(ctx context.Context, field graphql.CollectedField, obj *Autobind) (ret graphql.Marshaler) {
  3665  	fc, err := ec.fieldContext_Autobind_idStr(ctx, field)
  3666  	if err != nil {
  3667  		return graphql.Null
  3668  	}
  3669  	ctx = graphql.WithFieldContext(ctx, fc)
  3670  	defer func() {
  3671  		if r := recover(); r != nil {
  3672  			ec.Error(ctx, ec.Recover(ctx, r))
  3673  			ret = graphql.Null
  3674  		}
  3675  	}()
  3676  	resTmp := ec._fieldMiddleware(ctx, obj, func(rctx context.Context) (interface{}, error) {
  3677  		ctx = rctx // use context from middleware stack in children
  3678  		return obj.IdStr, nil
  3679  	})
  3680  
  3681  	if resTmp == nil {
  3682  		if !graphql.HasFieldError(ctx, fc) {
  3683  			ec.Errorf(ctx, "must not be null")
  3684  		}
  3685  		return graphql.Null
  3686  	}
  3687  	res := resTmp.(string)
  3688  	fc.Result = res
  3689  	return ec.marshalNID2string(ctx, field.Selections, res)
  3690  }
  3691  
  3692  func (ec *executionContext) fieldContext_Autobind_idStr(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
  3693  	fc = &graphql.FieldContext{
  3694  		Object:     "Autobind",
  3695  		Field:      field,
  3696  		IsMethod:   false,
  3697  		IsResolver: false,
  3698  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
  3699  			return nil, errors.New("field of type ID does not have child fields")
  3700  		},
  3701  	}
  3702  	return fc, nil
  3703  }
  3704  
  3705  func (ec *executionContext) _Autobind_idInt(ctx context.Context, field graphql.CollectedField, obj *Autobind) (ret graphql.Marshaler) {
  3706  	fc, err := ec.fieldContext_Autobind_idInt(ctx, field)
  3707  	if err != nil {
  3708  		return graphql.Null
  3709  	}
  3710  	ctx = graphql.WithFieldContext(ctx, fc)
  3711  	defer func() {
  3712  		if r := recover(); r != nil {
  3713  			ec.Error(ctx, ec.Recover(ctx, r))
  3714  			ret = graphql.Null
  3715  		}
  3716  	}()
  3717  	resTmp := ec._fieldMiddleware(ctx, obj, func(rctx context.Context) (interface{}, error) {
  3718  		ctx = rctx // use context from middleware stack in children
  3719  		return obj.IdInt, nil
  3720  	})
  3721  
  3722  	if resTmp == nil {
  3723  		if !graphql.HasFieldError(ctx, fc) {
  3724  			ec.Errorf(ctx, "must not be null")
  3725  		}
  3726  		return graphql.Null
  3727  	}
  3728  	res := resTmp.(int)
  3729  	fc.Result = res
  3730  	return ec.marshalNID2int(ctx, field.Selections, res)
  3731  }
  3732  
  3733  func (ec *executionContext) fieldContext_Autobind_idInt(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
  3734  	fc = &graphql.FieldContext{
  3735  		Object:     "Autobind",
  3736  		Field:      field,
  3737  		IsMethod:   false,
  3738  		IsResolver: false,
  3739  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
  3740  			return nil, errors.New("field of type ID does not have child fields")
  3741  		},
  3742  	}
  3743  	return fc, nil
  3744  }
  3745  
  3746  func (ec *executionContext) _B_id(ctx context.Context, field graphql.CollectedField, obj *B) (ret graphql.Marshaler) {
  3747  	fc, err := ec.fieldContext_B_id(ctx, field)
  3748  	if err != nil {
  3749  		return graphql.Null
  3750  	}
  3751  	ctx = graphql.WithFieldContext(ctx, fc)
  3752  	defer func() {
  3753  		if r := recover(); r != nil {
  3754  			ec.Error(ctx, ec.Recover(ctx, r))
  3755  			ret = graphql.Null
  3756  		}
  3757  	}()
  3758  	resTmp := ec._fieldMiddleware(ctx, obj, func(rctx context.Context) (interface{}, error) {
  3759  		ctx = rctx // use context from middleware stack in children
  3760  		return obj.ID, nil
  3761  	})
  3762  
  3763  	if resTmp == nil {
  3764  		if !graphql.HasFieldError(ctx, fc) {
  3765  			ec.Errorf(ctx, "must not be null")
  3766  		}
  3767  		return graphql.Null
  3768  	}
  3769  	res := resTmp.(string)
  3770  	fc.Result = res
  3771  	return ec.marshalNID2string(ctx, field.Selections, res)
  3772  }
  3773  
  3774  func (ec *executionContext) fieldContext_B_id(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
  3775  	fc = &graphql.FieldContext{
  3776  		Object:     "B",
  3777  		Field:      field,
  3778  		IsMethod:   false,
  3779  		IsResolver: false,
  3780  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
  3781  			return nil, errors.New("field of type ID does not have child fields")
  3782  		},
  3783  	}
  3784  	return fc, nil
  3785  }
  3786  
  3787  func (ec *executionContext) _BackedByInterface_id(ctx context.Context, field graphql.CollectedField, obj BackedByInterface) (ret graphql.Marshaler) {
  3788  	fc, err := ec.fieldContext_BackedByInterface_id(ctx, field)
  3789  	if err != nil {
  3790  		return graphql.Null
  3791  	}
  3792  	ctx = graphql.WithFieldContext(ctx, fc)
  3793  	defer func() {
  3794  		if r := recover(); r != nil {
  3795  			ec.Error(ctx, ec.Recover(ctx, r))
  3796  			ret = graphql.Null
  3797  		}
  3798  	}()
  3799  	resTmp := ec._fieldMiddleware(ctx, obj, func(rctx context.Context) (interface{}, error) {
  3800  		ctx = rctx // use context from middleware stack in children
  3801  		return ec.resolvers.BackedByInterface().ID(rctx, obj)
  3802  	})
  3803  
  3804  	if resTmp == nil {
  3805  		if !graphql.HasFieldError(ctx, fc) {
  3806  			ec.Errorf(ctx, "must not be null")
  3807  		}
  3808  		return graphql.Null
  3809  	}
  3810  	res := resTmp.(string)
  3811  	fc.Result = res
  3812  	return ec.marshalNString2string(ctx, field.Selections, res)
  3813  }
  3814  
  3815  func (ec *executionContext) fieldContext_BackedByInterface_id(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
  3816  	fc = &graphql.FieldContext{
  3817  		Object:     "BackedByInterface",
  3818  		Field:      field,
  3819  		IsMethod:   true,
  3820  		IsResolver: true,
  3821  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
  3822  			return nil, errors.New("field of type String does not have child fields")
  3823  		},
  3824  	}
  3825  	return fc, nil
  3826  }
  3827  
  3828  func (ec *executionContext) _BackedByInterface_thisShouldBind(ctx context.Context, field graphql.CollectedField, obj BackedByInterface) (ret graphql.Marshaler) {
  3829  	fc, err := ec.fieldContext_BackedByInterface_thisShouldBind(ctx, field)
  3830  	if err != nil {
  3831  		return graphql.Null
  3832  	}
  3833  	ctx = graphql.WithFieldContext(ctx, fc)
  3834  	defer func() {
  3835  		if r := recover(); r != nil {
  3836  			ec.Error(ctx, ec.Recover(ctx, r))
  3837  			ret = graphql.Null
  3838  		}
  3839  	}()
  3840  	resTmp := ec._fieldMiddleware(ctx, obj, func(rctx context.Context) (interface{}, error) {
  3841  		ctx = rctx // use context from middleware stack in children
  3842  		return obj.ThisShouldBind(), nil
  3843  	})
  3844  
  3845  	if resTmp == nil {
  3846  		if !graphql.HasFieldError(ctx, fc) {
  3847  			ec.Errorf(ctx, "must not be null")
  3848  		}
  3849  		return graphql.Null
  3850  	}
  3851  	res := resTmp.(string)
  3852  	fc.Result = res
  3853  	return ec.marshalNString2string(ctx, field.Selections, res)
  3854  }
  3855  
  3856  func (ec *executionContext) fieldContext_BackedByInterface_thisShouldBind(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
  3857  	fc = &graphql.FieldContext{
  3858  		Object:     "BackedByInterface",
  3859  		Field:      field,
  3860  		IsMethod:   true,
  3861  		IsResolver: false,
  3862  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
  3863  			return nil, errors.New("field of type String does not have child fields")
  3864  		},
  3865  	}
  3866  	return fc, nil
  3867  }
  3868  
  3869  func (ec *executionContext) _BackedByInterface_thisShouldBindWithError(ctx context.Context, field graphql.CollectedField, obj BackedByInterface) (ret graphql.Marshaler) {
  3870  	fc, err := ec.fieldContext_BackedByInterface_thisShouldBindWithError(ctx, field)
  3871  	if err != nil {
  3872  		return graphql.Null
  3873  	}
  3874  	ctx = graphql.WithFieldContext(ctx, fc)
  3875  	defer func() {
  3876  		if r := recover(); r != nil {
  3877  			ec.Error(ctx, ec.Recover(ctx, r))
  3878  			ret = graphql.Null
  3879  		}
  3880  	}()
  3881  	resTmp := ec._fieldMiddleware(ctx, obj, func(rctx context.Context) (interface{}, error) {
  3882  		ctx = rctx // use context from middleware stack in children
  3883  		return obj.ThisShouldBindWithError()
  3884  	})
  3885  
  3886  	if resTmp == nil {
  3887  		if !graphql.HasFieldError(ctx, fc) {
  3888  			ec.Errorf(ctx, "must not be null")
  3889  		}
  3890  		return graphql.Null
  3891  	}
  3892  	res := resTmp.(string)
  3893  	fc.Result = res
  3894  	return ec.marshalNString2string(ctx, field.Selections, res)
  3895  }
  3896  
  3897  func (ec *executionContext) fieldContext_BackedByInterface_thisShouldBindWithError(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
  3898  	fc = &graphql.FieldContext{
  3899  		Object:     "BackedByInterface",
  3900  		Field:      field,
  3901  		IsMethod:   true,
  3902  		IsResolver: false,
  3903  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
  3904  			return nil, errors.New("field of type String does not have child fields")
  3905  		},
  3906  	}
  3907  	return fc, nil
  3908  }
  3909  
  3910  func (ec *executionContext) _Cat_species(ctx context.Context, field graphql.CollectedField, obj *Cat) (ret graphql.Marshaler) {
  3911  	fc, err := ec.fieldContext_Cat_species(ctx, field)
  3912  	if err != nil {
  3913  		return graphql.Null
  3914  	}
  3915  	ctx = graphql.WithFieldContext(ctx, fc)
  3916  	defer func() {
  3917  		if r := recover(); r != nil {
  3918  			ec.Error(ctx, ec.Recover(ctx, r))
  3919  			ret = graphql.Null
  3920  		}
  3921  	}()
  3922  	resTmp := ec._fieldMiddleware(ctx, obj, func(rctx context.Context) (interface{}, error) {
  3923  		ctx = rctx // use context from middleware stack in children
  3924  		return obj.Species, nil
  3925  	})
  3926  
  3927  	if resTmp == nil {
  3928  		if !graphql.HasFieldError(ctx, fc) {
  3929  			ec.Errorf(ctx, "must not be null")
  3930  		}
  3931  		return graphql.Null
  3932  	}
  3933  	res := resTmp.(string)
  3934  	fc.Result = res
  3935  	return ec.marshalNString2string(ctx, field.Selections, res)
  3936  }
  3937  
  3938  func (ec *executionContext) fieldContext_Cat_species(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
  3939  	fc = &graphql.FieldContext{
  3940  		Object:     "Cat",
  3941  		Field:      field,
  3942  		IsMethod:   false,
  3943  		IsResolver: false,
  3944  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
  3945  			return nil, errors.New("field of type String does not have child fields")
  3946  		},
  3947  	}
  3948  	return fc, nil
  3949  }
  3950  
  3951  func (ec *executionContext) _Cat_size(ctx context.Context, field graphql.CollectedField, obj *Cat) (ret graphql.Marshaler) {
  3952  	fc, err := ec.fieldContext_Cat_size(ctx, field)
  3953  	if err != nil {
  3954  		return graphql.Null
  3955  	}
  3956  	ctx = graphql.WithFieldContext(ctx, fc)
  3957  	defer func() {
  3958  		if r := recover(); r != nil {
  3959  			ec.Error(ctx, ec.Recover(ctx, r))
  3960  			ret = graphql.Null
  3961  		}
  3962  	}()
  3963  	resTmp := ec._fieldMiddleware(ctx, obj, func(rctx context.Context) (interface{}, error) {
  3964  		ctx = rctx // use context from middleware stack in children
  3965  		return obj.Size, nil
  3966  	})
  3967  
  3968  	if resTmp == nil {
  3969  		if !graphql.HasFieldError(ctx, fc) {
  3970  			ec.Errorf(ctx, "must not be null")
  3971  		}
  3972  		return graphql.Null
  3973  	}
  3974  	res := resTmp.(*Size)
  3975  	fc.Result = res
  3976  	return ec.marshalNSize2ᚖgithubᚗcomᚋ99designsᚋgqlgenᚋcodegenᚋtestserverᚋsinglefileᚐSize(ctx, field.Selections, res)
  3977  }
  3978  
  3979  func (ec *executionContext) fieldContext_Cat_size(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
  3980  	fc = &graphql.FieldContext{
  3981  		Object:     "Cat",
  3982  		Field:      field,
  3983  		IsMethod:   false,
  3984  		IsResolver: false,
  3985  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
  3986  			switch field.Name {
  3987  			case "height":
  3988  				return ec.fieldContext_Size_height(ctx, field)
  3989  			case "weight":
  3990  				return ec.fieldContext_Size_weight(ctx, field)
  3991  			}
  3992  			return nil, fmt.Errorf("no field named %q was found under type Size", field.Name)
  3993  		},
  3994  	}
  3995  	return fc, nil
  3996  }
  3997  
  3998  func (ec *executionContext) _Cat_catBreed(ctx context.Context, field graphql.CollectedField, obj *Cat) (ret graphql.Marshaler) {
  3999  	fc, err := ec.fieldContext_Cat_catBreed(ctx, field)
  4000  	if err != nil {
  4001  		return graphql.Null
  4002  	}
  4003  	ctx = graphql.WithFieldContext(ctx, fc)
  4004  	defer func() {
  4005  		if r := recover(); r != nil {
  4006  			ec.Error(ctx, ec.Recover(ctx, r))
  4007  			ret = graphql.Null
  4008  		}
  4009  	}()
  4010  	resTmp := ec._fieldMiddleware(ctx, obj, func(rctx context.Context) (interface{}, error) {
  4011  		ctx = rctx // use context from middleware stack in children
  4012  		return obj.CatBreed, nil
  4013  	})
  4014  
  4015  	if resTmp == nil {
  4016  		if !graphql.HasFieldError(ctx, fc) {
  4017  			ec.Errorf(ctx, "must not be null")
  4018  		}
  4019  		return graphql.Null
  4020  	}
  4021  	res := resTmp.(string)
  4022  	fc.Result = res
  4023  	return ec.marshalNString2string(ctx, field.Selections, res)
  4024  }
  4025  
  4026  func (ec *executionContext) fieldContext_Cat_catBreed(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
  4027  	fc = &graphql.FieldContext{
  4028  		Object:     "Cat",
  4029  		Field:      field,
  4030  		IsMethod:   false,
  4031  		IsResolver: false,
  4032  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
  4033  			return nil, errors.New("field of type String does not have child fields")
  4034  		},
  4035  	}
  4036  	return fc, nil
  4037  }
  4038  
  4039  func (ec *executionContext) _CheckIssue896_id(ctx context.Context, field graphql.CollectedField, obj *CheckIssue896) (ret graphql.Marshaler) {
  4040  	fc, err := ec.fieldContext_CheckIssue896_id(ctx, field)
  4041  	if err != nil {
  4042  		return graphql.Null
  4043  	}
  4044  	ctx = graphql.WithFieldContext(ctx, fc)
  4045  	defer func() {
  4046  		if r := recover(); r != nil {
  4047  			ec.Error(ctx, ec.Recover(ctx, r))
  4048  			ret = graphql.Null
  4049  		}
  4050  	}()
  4051  	resTmp := ec._fieldMiddleware(ctx, obj, func(rctx context.Context) (interface{}, error) {
  4052  		ctx = rctx // use context from middleware stack in children
  4053  		return obj.ID, nil
  4054  	})
  4055  
  4056  	if resTmp == nil {
  4057  		return graphql.Null
  4058  	}
  4059  	res := resTmp.(*int)
  4060  	fc.Result = res
  4061  	return ec.marshalOInt2ᚖint(ctx, field.Selections, res)
  4062  }
  4063  
  4064  func (ec *executionContext) fieldContext_CheckIssue896_id(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
  4065  	fc = &graphql.FieldContext{
  4066  		Object:     "CheckIssue896",
  4067  		Field:      field,
  4068  		IsMethod:   false,
  4069  		IsResolver: false,
  4070  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
  4071  			return nil, errors.New("field of type Int does not have child fields")
  4072  		},
  4073  	}
  4074  	return fc, nil
  4075  }
  4076  
  4077  func (ec *executionContext) _Circle_radius(ctx context.Context, field graphql.CollectedField, obj *Circle) (ret graphql.Marshaler) {
  4078  	fc, err := ec.fieldContext_Circle_radius(ctx, field)
  4079  	if err != nil {
  4080  		return graphql.Null
  4081  	}
  4082  	ctx = graphql.WithFieldContext(ctx, fc)
  4083  	defer func() {
  4084  		if r := recover(); r != nil {
  4085  			ec.Error(ctx, ec.Recover(ctx, r))
  4086  			ret = graphql.Null
  4087  		}
  4088  	}()
  4089  	resTmp := ec._fieldMiddleware(ctx, obj, func(rctx context.Context) (interface{}, error) {
  4090  		ctx = rctx // use context from middleware stack in children
  4091  		return obj.Radius, nil
  4092  	})
  4093  
  4094  	if resTmp == nil {
  4095  		return graphql.Null
  4096  	}
  4097  	res := resTmp.(float64)
  4098  	fc.Result = res
  4099  	return ec.marshalOFloat2float64(ctx, field.Selections, res)
  4100  }
  4101  
  4102  func (ec *executionContext) fieldContext_Circle_radius(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
  4103  	fc = &graphql.FieldContext{
  4104  		Object:     "Circle",
  4105  		Field:      field,
  4106  		IsMethod:   false,
  4107  		IsResolver: false,
  4108  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
  4109  			return nil, errors.New("field of type Float does not have child fields")
  4110  		},
  4111  	}
  4112  	return fc, nil
  4113  }
  4114  
  4115  func (ec *executionContext) _Circle_area(ctx context.Context, field graphql.CollectedField, obj *Circle) (ret graphql.Marshaler) {
  4116  	fc, err := ec.fieldContext_Circle_area(ctx, field)
  4117  	if err != nil {
  4118  		return graphql.Null
  4119  	}
  4120  	ctx = graphql.WithFieldContext(ctx, fc)
  4121  	defer func() {
  4122  		if r := recover(); r != nil {
  4123  			ec.Error(ctx, ec.Recover(ctx, r))
  4124  			ret = graphql.Null
  4125  		}
  4126  	}()
  4127  	resTmp := ec._fieldMiddleware(ctx, obj, func(rctx context.Context) (interface{}, error) {
  4128  		ctx = rctx // use context from middleware stack in children
  4129  		return obj.Area(), nil
  4130  	})
  4131  
  4132  	if resTmp == nil {
  4133  		return graphql.Null
  4134  	}
  4135  	res := resTmp.(float64)
  4136  	fc.Result = res
  4137  	return ec.marshalOFloat2float64(ctx, field.Selections, res)
  4138  }
  4139  
  4140  func (ec *executionContext) fieldContext_Circle_area(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
  4141  	fc = &graphql.FieldContext{
  4142  		Object:     "Circle",
  4143  		Field:      field,
  4144  		IsMethod:   true,
  4145  		IsResolver: false,
  4146  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
  4147  			return nil, errors.New("field of type Float does not have child fields")
  4148  		},
  4149  	}
  4150  	return fc, nil
  4151  }
  4152  
  4153  func (ec *executionContext) _Circle_coordinates(ctx context.Context, field graphql.CollectedField, obj *Circle) (ret graphql.Marshaler) {
  4154  	fc, err := ec.fieldContext_Circle_coordinates(ctx, field)
  4155  	if err != nil {
  4156  		return graphql.Null
  4157  	}
  4158  	ctx = graphql.WithFieldContext(ctx, fc)
  4159  	defer func() {
  4160  		if r := recover(); r != nil {
  4161  			ec.Error(ctx, ec.Recover(ctx, r))
  4162  			ret = graphql.Null
  4163  		}
  4164  	}()
  4165  	resTmp := ec._fieldMiddleware(ctx, obj, func(rctx context.Context) (interface{}, error) {
  4166  		ctx = rctx // use context from middleware stack in children
  4167  		return obj.Coordinates, nil
  4168  	})
  4169  
  4170  	if resTmp == nil {
  4171  		return graphql.Null
  4172  	}
  4173  	res := resTmp.(Coordinates)
  4174  	fc.Result = res
  4175  	return ec.marshalOCoordinates2githubᚗcomᚋ99designsᚋgqlgenᚋcodegenᚋtestserverᚋsinglefileᚐCoordinates(ctx, field.Selections, res)
  4176  }
  4177  
  4178  func (ec *executionContext) fieldContext_Circle_coordinates(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
  4179  	fc = &graphql.FieldContext{
  4180  		Object:     "Circle",
  4181  		Field:      field,
  4182  		IsMethod:   false,
  4183  		IsResolver: false,
  4184  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
  4185  			switch field.Name {
  4186  			case "x":
  4187  				return ec.fieldContext_Coordinates_x(ctx, field)
  4188  			case "y":
  4189  				return ec.fieldContext_Coordinates_y(ctx, field)
  4190  			}
  4191  			return nil, fmt.Errorf("no field named %q was found under type Coordinates", field.Name)
  4192  		},
  4193  	}
  4194  	return fc, nil
  4195  }
  4196  
  4197  func (ec *executionContext) _ConcreteNodeA_id(ctx context.Context, field graphql.CollectedField, obj *ConcreteNodeA) (ret graphql.Marshaler) {
  4198  	fc, err := ec.fieldContext_ConcreteNodeA_id(ctx, field)
  4199  	if err != nil {
  4200  		return graphql.Null
  4201  	}
  4202  	ctx = graphql.WithFieldContext(ctx, fc)
  4203  	defer func() {
  4204  		if r := recover(); r != nil {
  4205  			ec.Error(ctx, ec.Recover(ctx, r))
  4206  			ret = graphql.Null
  4207  		}
  4208  	}()
  4209  	resTmp := ec._fieldMiddleware(ctx, obj, func(rctx context.Context) (interface{}, error) {
  4210  		ctx = rctx // use context from middleware stack in children
  4211  		return obj.ID, nil
  4212  	})
  4213  
  4214  	if resTmp == nil {
  4215  		if !graphql.HasFieldError(ctx, fc) {
  4216  			ec.Errorf(ctx, "must not be null")
  4217  		}
  4218  		return graphql.Null
  4219  	}
  4220  	res := resTmp.(string)
  4221  	fc.Result = res
  4222  	return ec.marshalNID2string(ctx, field.Selections, res)
  4223  }
  4224  
  4225  func (ec *executionContext) fieldContext_ConcreteNodeA_id(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
  4226  	fc = &graphql.FieldContext{
  4227  		Object:     "ConcreteNodeA",
  4228  		Field:      field,
  4229  		IsMethod:   false,
  4230  		IsResolver: false,
  4231  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
  4232  			return nil, errors.New("field of type ID does not have child fields")
  4233  		},
  4234  	}
  4235  	return fc, nil
  4236  }
  4237  
  4238  func (ec *executionContext) _ConcreteNodeA_child(ctx context.Context, field graphql.CollectedField, obj *ConcreteNodeA) (ret graphql.Marshaler) {
  4239  	fc, err := ec.fieldContext_ConcreteNodeA_child(ctx, field)
  4240  	if err != nil {
  4241  		return graphql.Null
  4242  	}
  4243  	ctx = graphql.WithFieldContext(ctx, fc)
  4244  	defer func() {
  4245  		if r := recover(); r != nil {
  4246  			ec.Error(ctx, ec.Recover(ctx, r))
  4247  			ret = graphql.Null
  4248  		}
  4249  	}()
  4250  	resTmp := ec._fieldMiddleware(ctx, obj, func(rctx context.Context) (interface{}, error) {
  4251  		ctx = rctx // use context from middleware stack in children
  4252  		return obj.Child()
  4253  	})
  4254  
  4255  	if resTmp == nil {
  4256  		if !graphql.HasFieldError(ctx, fc) {
  4257  			ec.Errorf(ctx, "must not be null")
  4258  		}
  4259  		return graphql.Null
  4260  	}
  4261  	res := resTmp.(Node)
  4262  	fc.Result = res
  4263  	return ec.marshalNNode2githubᚗcomᚋ99designsᚋgqlgenᚋcodegenᚋtestserverᚋsinglefileᚐNode(ctx, field.Selections, res)
  4264  }
  4265  
  4266  func (ec *executionContext) fieldContext_ConcreteNodeA_child(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
  4267  	fc = &graphql.FieldContext{
  4268  		Object:     "ConcreteNodeA",
  4269  		Field:      field,
  4270  		IsMethod:   true,
  4271  		IsResolver: false,
  4272  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
  4273  			return nil, errors.New("FieldContext.Child cannot be called on type INTERFACE")
  4274  		},
  4275  	}
  4276  	return fc, nil
  4277  }
  4278  
  4279  func (ec *executionContext) _ConcreteNodeA_name(ctx context.Context, field graphql.CollectedField, obj *ConcreteNodeA) (ret graphql.Marshaler) {
  4280  	fc, err := ec.fieldContext_ConcreteNodeA_name(ctx, field)
  4281  	if err != nil {
  4282  		return graphql.Null
  4283  	}
  4284  	ctx = graphql.WithFieldContext(ctx, fc)
  4285  	defer func() {
  4286  		if r := recover(); r != nil {
  4287  			ec.Error(ctx, ec.Recover(ctx, r))
  4288  			ret = graphql.Null
  4289  		}
  4290  	}()
  4291  	resTmp := ec._fieldMiddleware(ctx, obj, func(rctx context.Context) (interface{}, error) {
  4292  		ctx = rctx // use context from middleware stack in children
  4293  		return obj.Name, nil
  4294  	})
  4295  
  4296  	if resTmp == nil {
  4297  		if !graphql.HasFieldError(ctx, fc) {
  4298  			ec.Errorf(ctx, "must not be null")
  4299  		}
  4300  		return graphql.Null
  4301  	}
  4302  	res := resTmp.(string)
  4303  	fc.Result = res
  4304  	return ec.marshalNString2string(ctx, field.Selections, res)
  4305  }
  4306  
  4307  func (ec *executionContext) fieldContext_ConcreteNodeA_name(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
  4308  	fc = &graphql.FieldContext{
  4309  		Object:     "ConcreteNodeA",
  4310  		Field:      field,
  4311  		IsMethod:   false,
  4312  		IsResolver: false,
  4313  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
  4314  			return nil, errors.New("field of type String does not have child fields")
  4315  		},
  4316  	}
  4317  	return fc, nil
  4318  }
  4319  
  4320  func (ec *executionContext) _ConcreteNodeInterface_id(ctx context.Context, field graphql.CollectedField, obj ConcreteNodeInterface) (ret graphql.Marshaler) {
  4321  	fc, err := ec.fieldContext_ConcreteNodeInterface_id(ctx, field)
  4322  	if err != nil {
  4323  		return graphql.Null
  4324  	}
  4325  	ctx = graphql.WithFieldContext(ctx, fc)
  4326  	defer func() {
  4327  		if r := recover(); r != nil {
  4328  			ec.Error(ctx, ec.Recover(ctx, r))
  4329  			ret = graphql.Null
  4330  		}
  4331  	}()
  4332  	resTmp := ec._fieldMiddleware(ctx, obj, func(rctx context.Context) (interface{}, error) {
  4333  		ctx = rctx // use context from middleware stack in children
  4334  		return obj.ID(), nil
  4335  	})
  4336  
  4337  	if resTmp == nil {
  4338  		if !graphql.HasFieldError(ctx, fc) {
  4339  			ec.Errorf(ctx, "must not be null")
  4340  		}
  4341  		return graphql.Null
  4342  	}
  4343  	res := resTmp.(string)
  4344  	fc.Result = res
  4345  	return ec.marshalNID2string(ctx, field.Selections, res)
  4346  }
  4347  
  4348  func (ec *executionContext) fieldContext_ConcreteNodeInterface_id(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
  4349  	fc = &graphql.FieldContext{
  4350  		Object:     "ConcreteNodeInterface",
  4351  		Field:      field,
  4352  		IsMethod:   true,
  4353  		IsResolver: false,
  4354  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
  4355  			return nil, errors.New("field of type ID does not have child fields")
  4356  		},
  4357  	}
  4358  	return fc, nil
  4359  }
  4360  
  4361  func (ec *executionContext) _ConcreteNodeInterface_child(ctx context.Context, field graphql.CollectedField, obj ConcreteNodeInterface) (ret graphql.Marshaler) {
  4362  	fc, err := ec.fieldContext_ConcreteNodeInterface_child(ctx, field)
  4363  	if err != nil {
  4364  		return graphql.Null
  4365  	}
  4366  	ctx = graphql.WithFieldContext(ctx, fc)
  4367  	defer func() {
  4368  		if r := recover(); r != nil {
  4369  			ec.Error(ctx, ec.Recover(ctx, r))
  4370  			ret = graphql.Null
  4371  		}
  4372  	}()
  4373  	resTmp := ec._fieldMiddleware(ctx, obj, func(rctx context.Context) (interface{}, error) {
  4374  		ctx = rctx // use context from middleware stack in children
  4375  		return obj.Child()
  4376  	})
  4377  
  4378  	if resTmp == nil {
  4379  		if !graphql.HasFieldError(ctx, fc) {
  4380  			ec.Errorf(ctx, "must not be null")
  4381  		}
  4382  		return graphql.Null
  4383  	}
  4384  	res := resTmp.(Node)
  4385  	fc.Result = res
  4386  	return ec.marshalNNode2githubᚗcomᚋ99designsᚋgqlgenᚋcodegenᚋtestserverᚋsinglefileᚐNode(ctx, field.Selections, res)
  4387  }
  4388  
  4389  func (ec *executionContext) fieldContext_ConcreteNodeInterface_child(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
  4390  	fc = &graphql.FieldContext{
  4391  		Object:     "ConcreteNodeInterface",
  4392  		Field:      field,
  4393  		IsMethod:   true,
  4394  		IsResolver: false,
  4395  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
  4396  			return nil, errors.New("FieldContext.Child cannot be called on type INTERFACE")
  4397  		},
  4398  	}
  4399  	return fc, nil
  4400  }
  4401  
  4402  func (ec *executionContext) _Content_Post_foo(ctx context.Context, field graphql.CollectedField, obj *ContentPost) (ret graphql.Marshaler) {
  4403  	fc, err := ec.fieldContext_Content_Post_foo(ctx, field)
  4404  	if err != nil {
  4405  		return graphql.Null
  4406  	}
  4407  	ctx = graphql.WithFieldContext(ctx, fc)
  4408  	defer func() {
  4409  		if r := recover(); r != nil {
  4410  			ec.Error(ctx, ec.Recover(ctx, r))
  4411  			ret = graphql.Null
  4412  		}
  4413  	}()
  4414  	resTmp := ec._fieldMiddleware(ctx, obj, func(rctx context.Context) (interface{}, error) {
  4415  		ctx = rctx // use context from middleware stack in children
  4416  		return obj.Foo, nil
  4417  	})
  4418  
  4419  	if resTmp == nil {
  4420  		return graphql.Null
  4421  	}
  4422  	res := resTmp.(*string)
  4423  	fc.Result = res
  4424  	return ec.marshalOString2ᚖstring(ctx, field.Selections, res)
  4425  }
  4426  
  4427  func (ec *executionContext) fieldContext_Content_Post_foo(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
  4428  	fc = &graphql.FieldContext{
  4429  		Object:     "Content_Post",
  4430  		Field:      field,
  4431  		IsMethod:   false,
  4432  		IsResolver: false,
  4433  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
  4434  			return nil, errors.New("field of type String does not have child fields")
  4435  		},
  4436  	}
  4437  	return fc, nil
  4438  }
  4439  
  4440  func (ec *executionContext) _Content_User_foo(ctx context.Context, field graphql.CollectedField, obj *ContentUser) (ret graphql.Marshaler) {
  4441  	fc, err := ec.fieldContext_Content_User_foo(ctx, field)
  4442  	if err != nil {
  4443  		return graphql.Null
  4444  	}
  4445  	ctx = graphql.WithFieldContext(ctx, fc)
  4446  	defer func() {
  4447  		if r := recover(); r != nil {
  4448  			ec.Error(ctx, ec.Recover(ctx, r))
  4449  			ret = graphql.Null
  4450  		}
  4451  	}()
  4452  	resTmp := ec._fieldMiddleware(ctx, obj, func(rctx context.Context) (interface{}, error) {
  4453  		ctx = rctx // use context from middleware stack in children
  4454  		return obj.Foo, nil
  4455  	})
  4456  
  4457  	if resTmp == nil {
  4458  		return graphql.Null
  4459  	}
  4460  	res := resTmp.(*string)
  4461  	fc.Result = res
  4462  	return ec.marshalOString2ᚖstring(ctx, field.Selections, res)
  4463  }
  4464  
  4465  func (ec *executionContext) fieldContext_Content_User_foo(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
  4466  	fc = &graphql.FieldContext{
  4467  		Object:     "Content_User",
  4468  		Field:      field,
  4469  		IsMethod:   false,
  4470  		IsResolver: false,
  4471  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
  4472  			return nil, errors.New("field of type String does not have child fields")
  4473  		},
  4474  	}
  4475  	return fc, nil
  4476  }
  4477  
  4478  func (ec *executionContext) _Coordinates_x(ctx context.Context, field graphql.CollectedField, obj *Coordinates) (ret graphql.Marshaler) {
  4479  	fc, err := ec.fieldContext_Coordinates_x(ctx, field)
  4480  	if err != nil {
  4481  		return graphql.Null
  4482  	}
  4483  	ctx = graphql.WithFieldContext(ctx, fc)
  4484  	defer func() {
  4485  		if r := recover(); r != nil {
  4486  			ec.Error(ctx, ec.Recover(ctx, r))
  4487  			ret = graphql.Null
  4488  		}
  4489  	}()
  4490  	resTmp := ec._fieldMiddleware(ctx, obj, func(rctx context.Context) (interface{}, error) {
  4491  		ctx = rctx // use context from middleware stack in children
  4492  		return obj.X, nil
  4493  	})
  4494  
  4495  	if resTmp == nil {
  4496  		if !graphql.HasFieldError(ctx, fc) {
  4497  			ec.Errorf(ctx, "must not be null")
  4498  		}
  4499  		return graphql.Null
  4500  	}
  4501  	res := resTmp.(float64)
  4502  	fc.Result = res
  4503  	return ec.marshalNFloat2float64(ctx, field.Selections, res)
  4504  }
  4505  
  4506  func (ec *executionContext) fieldContext_Coordinates_x(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
  4507  	fc = &graphql.FieldContext{
  4508  		Object:     "Coordinates",
  4509  		Field:      field,
  4510  		IsMethod:   false,
  4511  		IsResolver: false,
  4512  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
  4513  			return nil, errors.New("field of type Float does not have child fields")
  4514  		},
  4515  	}
  4516  	return fc, nil
  4517  }
  4518  
  4519  func (ec *executionContext) _Coordinates_y(ctx context.Context, field graphql.CollectedField, obj *Coordinates) (ret graphql.Marshaler) {
  4520  	fc, err := ec.fieldContext_Coordinates_y(ctx, field)
  4521  	if err != nil {
  4522  		return graphql.Null
  4523  	}
  4524  	ctx = graphql.WithFieldContext(ctx, fc)
  4525  	defer func() {
  4526  		if r := recover(); r != nil {
  4527  			ec.Error(ctx, ec.Recover(ctx, r))
  4528  			ret = graphql.Null
  4529  		}
  4530  	}()
  4531  	resTmp := ec._fieldMiddleware(ctx, obj, func(rctx context.Context) (interface{}, error) {
  4532  		ctx = rctx // use context from middleware stack in children
  4533  		return obj.Y, nil
  4534  	})
  4535  
  4536  	if resTmp == nil {
  4537  		if !graphql.HasFieldError(ctx, fc) {
  4538  			ec.Errorf(ctx, "must not be null")
  4539  		}
  4540  		return graphql.Null
  4541  	}
  4542  	res := resTmp.(float64)
  4543  	fc.Result = res
  4544  	return ec.marshalNFloat2float64(ctx, field.Selections, res)
  4545  }
  4546  
  4547  func (ec *executionContext) fieldContext_Coordinates_y(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
  4548  	fc = &graphql.FieldContext{
  4549  		Object:     "Coordinates",
  4550  		Field:      field,
  4551  		IsMethod:   false,
  4552  		IsResolver: false,
  4553  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
  4554  			return nil, errors.New("field of type Float does not have child fields")
  4555  		},
  4556  	}
  4557  	return fc, nil
  4558  }
  4559  
  4560  func (ec *executionContext) _DefaultParametersMirror_falsyBoolean(ctx context.Context, field graphql.CollectedField, obj *DefaultParametersMirror) (ret graphql.Marshaler) {
  4561  	fc, err := ec.fieldContext_DefaultParametersMirror_falsyBoolean(ctx, field)
  4562  	if err != nil {
  4563  		return graphql.Null
  4564  	}
  4565  	ctx = graphql.WithFieldContext(ctx, fc)
  4566  	defer func() {
  4567  		if r := recover(); r != nil {
  4568  			ec.Error(ctx, ec.Recover(ctx, r))
  4569  			ret = graphql.Null
  4570  		}
  4571  	}()
  4572  	resTmp := ec._fieldMiddleware(ctx, obj, func(rctx context.Context) (interface{}, error) {
  4573  		ctx = rctx // use context from middleware stack in children
  4574  		return obj.FalsyBoolean, nil
  4575  	})
  4576  
  4577  	if resTmp == nil {
  4578  		return graphql.Null
  4579  	}
  4580  	res := resTmp.(*bool)
  4581  	fc.Result = res
  4582  	return ec.marshalOBoolean2ᚖbool(ctx, field.Selections, res)
  4583  }
  4584  
  4585  func (ec *executionContext) fieldContext_DefaultParametersMirror_falsyBoolean(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
  4586  	fc = &graphql.FieldContext{
  4587  		Object:     "DefaultParametersMirror",
  4588  		Field:      field,
  4589  		IsMethod:   false,
  4590  		IsResolver: false,
  4591  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
  4592  			return nil, errors.New("field of type Boolean does not have child fields")
  4593  		},
  4594  	}
  4595  	return fc, nil
  4596  }
  4597  
  4598  func (ec *executionContext) _DefaultParametersMirror_truthyBoolean(ctx context.Context, field graphql.CollectedField, obj *DefaultParametersMirror) (ret graphql.Marshaler) {
  4599  	fc, err := ec.fieldContext_DefaultParametersMirror_truthyBoolean(ctx, field)
  4600  	if err != nil {
  4601  		return graphql.Null
  4602  	}
  4603  	ctx = graphql.WithFieldContext(ctx, fc)
  4604  	defer func() {
  4605  		if r := recover(); r != nil {
  4606  			ec.Error(ctx, ec.Recover(ctx, r))
  4607  			ret = graphql.Null
  4608  		}
  4609  	}()
  4610  	resTmp := ec._fieldMiddleware(ctx, obj, func(rctx context.Context) (interface{}, error) {
  4611  		ctx = rctx // use context from middleware stack in children
  4612  		return obj.TruthyBoolean, nil
  4613  	})
  4614  
  4615  	if resTmp == nil {
  4616  		return graphql.Null
  4617  	}
  4618  	res := resTmp.(*bool)
  4619  	fc.Result = res
  4620  	return ec.marshalOBoolean2ᚖbool(ctx, field.Selections, res)
  4621  }
  4622  
  4623  func (ec *executionContext) fieldContext_DefaultParametersMirror_truthyBoolean(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
  4624  	fc = &graphql.FieldContext{
  4625  		Object:     "DefaultParametersMirror",
  4626  		Field:      field,
  4627  		IsMethod:   false,
  4628  		IsResolver: false,
  4629  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
  4630  			return nil, errors.New("field of type Boolean does not have child fields")
  4631  		},
  4632  	}
  4633  	return fc, nil
  4634  }
  4635  
  4636  func (ec *executionContext) _Dog_species(ctx context.Context, field graphql.CollectedField, obj *Dog) (ret graphql.Marshaler) {
  4637  	fc, err := ec.fieldContext_Dog_species(ctx, field)
  4638  	if err != nil {
  4639  		return graphql.Null
  4640  	}
  4641  	ctx = graphql.WithFieldContext(ctx, fc)
  4642  	defer func() {
  4643  		if r := recover(); r != nil {
  4644  			ec.Error(ctx, ec.Recover(ctx, r))
  4645  			ret = graphql.Null
  4646  		}
  4647  	}()
  4648  	resTmp := ec._fieldMiddleware(ctx, obj, func(rctx context.Context) (interface{}, error) {
  4649  		ctx = rctx // use context from middleware stack in children
  4650  		return obj.Species, nil
  4651  	})
  4652  
  4653  	if resTmp == nil {
  4654  		if !graphql.HasFieldError(ctx, fc) {
  4655  			ec.Errorf(ctx, "must not be null")
  4656  		}
  4657  		return graphql.Null
  4658  	}
  4659  	res := resTmp.(string)
  4660  	fc.Result = res
  4661  	return ec.marshalNString2string(ctx, field.Selections, res)
  4662  }
  4663  
  4664  func (ec *executionContext) fieldContext_Dog_species(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
  4665  	fc = &graphql.FieldContext{
  4666  		Object:     "Dog",
  4667  		Field:      field,
  4668  		IsMethod:   false,
  4669  		IsResolver: false,
  4670  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
  4671  			return nil, errors.New("field of type String does not have child fields")
  4672  		},
  4673  	}
  4674  	return fc, nil
  4675  }
  4676  
  4677  func (ec *executionContext) _Dog_size(ctx context.Context, field graphql.CollectedField, obj *Dog) (ret graphql.Marshaler) {
  4678  	fc, err := ec.fieldContext_Dog_size(ctx, field)
  4679  	if err != nil {
  4680  		return graphql.Null
  4681  	}
  4682  	ctx = graphql.WithFieldContext(ctx, fc)
  4683  	defer func() {
  4684  		if r := recover(); r != nil {
  4685  			ec.Error(ctx, ec.Recover(ctx, r))
  4686  			ret = graphql.Null
  4687  		}
  4688  	}()
  4689  	resTmp := ec._fieldMiddleware(ctx, obj, func(rctx context.Context) (interface{}, error) {
  4690  		ctx = rctx // use context from middleware stack in children
  4691  		return obj.Size, nil
  4692  	})
  4693  
  4694  	if resTmp == nil {
  4695  		if !graphql.HasFieldError(ctx, fc) {
  4696  			ec.Errorf(ctx, "must not be null")
  4697  		}
  4698  		return graphql.Null
  4699  	}
  4700  	res := resTmp.(*Size)
  4701  	fc.Result = res
  4702  	return ec.marshalNSize2ᚖgithubᚗcomᚋ99designsᚋgqlgenᚋcodegenᚋtestserverᚋsinglefileᚐSize(ctx, field.Selections, res)
  4703  }
  4704  
  4705  func (ec *executionContext) fieldContext_Dog_size(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
  4706  	fc = &graphql.FieldContext{
  4707  		Object:     "Dog",
  4708  		Field:      field,
  4709  		IsMethod:   false,
  4710  		IsResolver: false,
  4711  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
  4712  			switch field.Name {
  4713  			case "height":
  4714  				return ec.fieldContext_Size_height(ctx, field)
  4715  			case "weight":
  4716  				return ec.fieldContext_Size_weight(ctx, field)
  4717  			}
  4718  			return nil, fmt.Errorf("no field named %q was found under type Size", field.Name)
  4719  		},
  4720  	}
  4721  	return fc, nil
  4722  }
  4723  
  4724  func (ec *executionContext) _Dog_dogBreed(ctx context.Context, field graphql.CollectedField, obj *Dog) (ret graphql.Marshaler) {
  4725  	fc, err := ec.fieldContext_Dog_dogBreed(ctx, field)
  4726  	if err != nil {
  4727  		return graphql.Null
  4728  	}
  4729  	ctx = graphql.WithFieldContext(ctx, fc)
  4730  	defer func() {
  4731  		if r := recover(); r != nil {
  4732  			ec.Error(ctx, ec.Recover(ctx, r))
  4733  			ret = graphql.Null
  4734  		}
  4735  	}()
  4736  	resTmp := ec._fieldMiddleware(ctx, obj, func(rctx context.Context) (interface{}, error) {
  4737  		ctx = rctx // use context from middleware stack in children
  4738  		return obj.DogBreed, nil
  4739  	})
  4740  
  4741  	if resTmp == nil {
  4742  		if !graphql.HasFieldError(ctx, fc) {
  4743  			ec.Errorf(ctx, "must not be null")
  4744  		}
  4745  		return graphql.Null
  4746  	}
  4747  	res := resTmp.(string)
  4748  	fc.Result = res
  4749  	return ec.marshalNString2string(ctx, field.Selections, res)
  4750  }
  4751  
  4752  func (ec *executionContext) fieldContext_Dog_dogBreed(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
  4753  	fc = &graphql.FieldContext{
  4754  		Object:     "Dog",
  4755  		Field:      field,
  4756  		IsMethod:   false,
  4757  		IsResolver: false,
  4758  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
  4759  			return nil, errors.New("field of type String does not have child fields")
  4760  		},
  4761  	}
  4762  	return fc, nil
  4763  }
  4764  
  4765  func (ec *executionContext) _EmbeddedCase1_exportedEmbeddedPointerExportedMethod(ctx context.Context, field graphql.CollectedField, obj *EmbeddedCase1) (ret graphql.Marshaler) {
  4766  	fc, err := ec.fieldContext_EmbeddedCase1_exportedEmbeddedPointerExportedMethod(ctx, field)
  4767  	if err != nil {
  4768  		return graphql.Null
  4769  	}
  4770  	ctx = graphql.WithFieldContext(ctx, fc)
  4771  	defer func() {
  4772  		if r := recover(); r != nil {
  4773  			ec.Error(ctx, ec.Recover(ctx, r))
  4774  			ret = graphql.Null
  4775  		}
  4776  	}()
  4777  	resTmp := ec._fieldMiddleware(ctx, obj, func(rctx context.Context) (interface{}, error) {
  4778  		ctx = rctx // use context from middleware stack in children
  4779  		return obj.ExportedEmbeddedPointerExportedMethod(), nil
  4780  	})
  4781  
  4782  	if resTmp == nil {
  4783  		if !graphql.HasFieldError(ctx, fc) {
  4784  			ec.Errorf(ctx, "must not be null")
  4785  		}
  4786  		return graphql.Null
  4787  	}
  4788  	res := resTmp.(string)
  4789  	fc.Result = res
  4790  	return ec.marshalNString2string(ctx, field.Selections, res)
  4791  }
  4792  
  4793  func (ec *executionContext) fieldContext_EmbeddedCase1_exportedEmbeddedPointerExportedMethod(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
  4794  	fc = &graphql.FieldContext{
  4795  		Object:     "EmbeddedCase1",
  4796  		Field:      field,
  4797  		IsMethod:   true,
  4798  		IsResolver: false,
  4799  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
  4800  			return nil, errors.New("field of type String does not have child fields")
  4801  		},
  4802  	}
  4803  	return fc, nil
  4804  }
  4805  
  4806  func (ec *executionContext) _EmbeddedCase2_unexportedEmbeddedPointerExportedMethod(ctx context.Context, field graphql.CollectedField, obj *EmbeddedCase2) (ret graphql.Marshaler) {
  4807  	fc, err := ec.fieldContext_EmbeddedCase2_unexportedEmbeddedPointerExportedMethod(ctx, field)
  4808  	if err != nil {
  4809  		return graphql.Null
  4810  	}
  4811  	ctx = graphql.WithFieldContext(ctx, fc)
  4812  	defer func() {
  4813  		if r := recover(); r != nil {
  4814  			ec.Error(ctx, ec.Recover(ctx, r))
  4815  			ret = graphql.Null
  4816  		}
  4817  	}()
  4818  	resTmp := ec._fieldMiddleware(ctx, obj, func(rctx context.Context) (interface{}, error) {
  4819  		ctx = rctx // use context from middleware stack in children
  4820  		return obj.UnexportedEmbeddedPointerExportedMethod(), nil
  4821  	})
  4822  
  4823  	if resTmp == nil {
  4824  		if !graphql.HasFieldError(ctx, fc) {
  4825  			ec.Errorf(ctx, "must not be null")
  4826  		}
  4827  		return graphql.Null
  4828  	}
  4829  	res := resTmp.(string)
  4830  	fc.Result = res
  4831  	return ec.marshalNString2string(ctx, field.Selections, res)
  4832  }
  4833  
  4834  func (ec *executionContext) fieldContext_EmbeddedCase2_unexportedEmbeddedPointerExportedMethod(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
  4835  	fc = &graphql.FieldContext{
  4836  		Object:     "EmbeddedCase2",
  4837  		Field:      field,
  4838  		IsMethod:   true,
  4839  		IsResolver: false,
  4840  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
  4841  			return nil, errors.New("field of type String does not have child fields")
  4842  		},
  4843  	}
  4844  	return fc, nil
  4845  }
  4846  
  4847  func (ec *executionContext) _EmbeddedCase3_unexportedEmbeddedInterfaceExportedMethod(ctx context.Context, field graphql.CollectedField, obj *EmbeddedCase3) (ret graphql.Marshaler) {
  4848  	fc, err := ec.fieldContext_EmbeddedCase3_unexportedEmbeddedInterfaceExportedMethod(ctx, field)
  4849  	if err != nil {
  4850  		return graphql.Null
  4851  	}
  4852  	ctx = graphql.WithFieldContext(ctx, fc)
  4853  	defer func() {
  4854  		if r := recover(); r != nil {
  4855  			ec.Error(ctx, ec.Recover(ctx, r))
  4856  			ret = graphql.Null
  4857  		}
  4858  	}()
  4859  	resTmp := ec._fieldMiddleware(ctx, obj, func(rctx context.Context) (interface{}, error) {
  4860  		ctx = rctx // use context from middleware stack in children
  4861  		return obj.UnexportedEmbeddedInterfaceExportedMethod(), nil
  4862  	})
  4863  
  4864  	if resTmp == nil {
  4865  		if !graphql.HasFieldError(ctx, fc) {
  4866  			ec.Errorf(ctx, "must not be null")
  4867  		}
  4868  		return graphql.Null
  4869  	}
  4870  	res := resTmp.(string)
  4871  	fc.Result = res
  4872  	return ec.marshalNString2string(ctx, field.Selections, res)
  4873  }
  4874  
  4875  func (ec *executionContext) fieldContext_EmbeddedCase3_unexportedEmbeddedInterfaceExportedMethod(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
  4876  	fc = &graphql.FieldContext{
  4877  		Object:     "EmbeddedCase3",
  4878  		Field:      field,
  4879  		IsMethod:   true,
  4880  		IsResolver: false,
  4881  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
  4882  			return nil, errors.New("field of type String does not have child fields")
  4883  		},
  4884  	}
  4885  	return fc, nil
  4886  }
  4887  
  4888  func (ec *executionContext) _EmbeddedDefaultScalar_value(ctx context.Context, field graphql.CollectedField, obj *EmbeddedDefaultScalar) (ret graphql.Marshaler) {
  4889  	fc, err := ec.fieldContext_EmbeddedDefaultScalar_value(ctx, field)
  4890  	if err != nil {
  4891  		return graphql.Null
  4892  	}
  4893  	ctx = graphql.WithFieldContext(ctx, fc)
  4894  	defer func() {
  4895  		if r := recover(); r != nil {
  4896  			ec.Error(ctx, ec.Recover(ctx, r))
  4897  			ret = graphql.Null
  4898  		}
  4899  	}()
  4900  	resTmp := ec._fieldMiddleware(ctx, obj, func(rctx context.Context) (interface{}, error) {
  4901  		ctx = rctx // use context from middleware stack in children
  4902  		return obj.Value, nil
  4903  	})
  4904  
  4905  	if resTmp == nil {
  4906  		return graphql.Null
  4907  	}
  4908  	res := resTmp.(*string)
  4909  	fc.Result = res
  4910  	return ec.marshalODefaultScalarImplementation2ᚖstring(ctx, field.Selections, res)
  4911  }
  4912  
  4913  func (ec *executionContext) fieldContext_EmbeddedDefaultScalar_value(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
  4914  	fc = &graphql.FieldContext{
  4915  		Object:     "EmbeddedDefaultScalar",
  4916  		Field:      field,
  4917  		IsMethod:   false,
  4918  		IsResolver: false,
  4919  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
  4920  			return nil, errors.New("field of type DefaultScalarImplementation does not have child fields")
  4921  		},
  4922  	}
  4923  	return fc, nil
  4924  }
  4925  
  4926  func (ec *executionContext) _EmbeddedPointer_ID(ctx context.Context, field graphql.CollectedField, obj *EmbeddedPointerModel) (ret graphql.Marshaler) {
  4927  	fc, err := ec.fieldContext_EmbeddedPointer_ID(ctx, field)
  4928  	if err != nil {
  4929  		return graphql.Null
  4930  	}
  4931  	ctx = graphql.WithFieldContext(ctx, fc)
  4932  	defer func() {
  4933  		if r := recover(); r != nil {
  4934  			ec.Error(ctx, ec.Recover(ctx, r))
  4935  			ret = graphql.Null
  4936  		}
  4937  	}()
  4938  	resTmp := ec._fieldMiddleware(ctx, obj, func(rctx context.Context) (interface{}, error) {
  4939  		ctx = rctx // use context from middleware stack in children
  4940  		return obj.ID, nil
  4941  	})
  4942  
  4943  	if resTmp == nil {
  4944  		return graphql.Null
  4945  	}
  4946  	res := resTmp.(string)
  4947  	fc.Result = res
  4948  	return ec.marshalOString2string(ctx, field.Selections, res)
  4949  }
  4950  
  4951  func (ec *executionContext) fieldContext_EmbeddedPointer_ID(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
  4952  	fc = &graphql.FieldContext{
  4953  		Object:     "EmbeddedPointer",
  4954  		Field:      field,
  4955  		IsMethod:   false,
  4956  		IsResolver: false,
  4957  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
  4958  			return nil, errors.New("field of type String does not have child fields")
  4959  		},
  4960  	}
  4961  	return fc, nil
  4962  }
  4963  
  4964  func (ec *executionContext) _EmbeddedPointer_Title(ctx context.Context, field graphql.CollectedField, obj *EmbeddedPointerModel) (ret graphql.Marshaler) {
  4965  	fc, err := ec.fieldContext_EmbeddedPointer_Title(ctx, field)
  4966  	if err != nil {
  4967  		return graphql.Null
  4968  	}
  4969  	ctx = graphql.WithFieldContext(ctx, fc)
  4970  	defer func() {
  4971  		if r := recover(); r != nil {
  4972  			ec.Error(ctx, ec.Recover(ctx, r))
  4973  			ret = graphql.Null
  4974  		}
  4975  	}()
  4976  	resTmp := ec._fieldMiddleware(ctx, obj, func(rctx context.Context) (interface{}, error) {
  4977  		ctx = rctx // use context from middleware stack in children
  4978  		return obj.Title, nil
  4979  	})
  4980  
  4981  	if resTmp == nil {
  4982  		return graphql.Null
  4983  	}
  4984  	res := resTmp.(string)
  4985  	fc.Result = res
  4986  	return ec.marshalOString2string(ctx, field.Selections, res)
  4987  }
  4988  
  4989  func (ec *executionContext) fieldContext_EmbeddedPointer_Title(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
  4990  	fc = &graphql.FieldContext{
  4991  		Object:     "EmbeddedPointer",
  4992  		Field:      field,
  4993  		IsMethod:   false,
  4994  		IsResolver: false,
  4995  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
  4996  			return nil, errors.New("field of type String does not have child fields")
  4997  		},
  4998  	}
  4999  	return fc, nil
  5000  }
  5001  
  5002  func (ec *executionContext) _Error_id(ctx context.Context, field graphql.CollectedField, obj *Error) (ret graphql.Marshaler) {
  5003  	fc, err := ec.fieldContext_Error_id(ctx, field)
  5004  	if err != nil {
  5005  		return graphql.Null
  5006  	}
  5007  	ctx = graphql.WithFieldContext(ctx, fc)
  5008  	defer func() {
  5009  		if r := recover(); r != nil {
  5010  			ec.Error(ctx, ec.Recover(ctx, r))
  5011  			ret = graphql.Null
  5012  		}
  5013  	}()
  5014  	resTmp := ec._fieldMiddleware(ctx, obj, func(rctx context.Context) (interface{}, error) {
  5015  		ctx = rctx // use context from middleware stack in children
  5016  		return obj.ID, nil
  5017  	})
  5018  
  5019  	if resTmp == nil {
  5020  		if !graphql.HasFieldError(ctx, fc) {
  5021  			ec.Errorf(ctx, "must not be null")
  5022  		}
  5023  		return graphql.Null
  5024  	}
  5025  	res := resTmp.(string)
  5026  	fc.Result = res
  5027  	return ec.marshalNID2string(ctx, field.Selections, res)
  5028  }
  5029  
  5030  func (ec *executionContext) fieldContext_Error_id(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
  5031  	fc = &graphql.FieldContext{
  5032  		Object:     "Error",
  5033  		Field:      field,
  5034  		IsMethod:   false,
  5035  		IsResolver: false,
  5036  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
  5037  			return nil, errors.New("field of type ID does not have child fields")
  5038  		},
  5039  	}
  5040  	return fc, nil
  5041  }
  5042  
  5043  func (ec *executionContext) _Error_errorOnNonRequiredField(ctx context.Context, field graphql.CollectedField, obj *Error) (ret graphql.Marshaler) {
  5044  	fc, err := ec.fieldContext_Error_errorOnNonRequiredField(ctx, field)
  5045  	if err != nil {
  5046  		return graphql.Null
  5047  	}
  5048  	ctx = graphql.WithFieldContext(ctx, fc)
  5049  	defer func() {
  5050  		if r := recover(); r != nil {
  5051  			ec.Error(ctx, ec.Recover(ctx, r))
  5052  			ret = graphql.Null
  5053  		}
  5054  	}()
  5055  	resTmp := ec._fieldMiddleware(ctx, obj, func(rctx context.Context) (interface{}, error) {
  5056  		ctx = rctx // use context from middleware stack in children
  5057  		return obj.ErrorOnNonRequiredField()
  5058  	})
  5059  
  5060  	if resTmp == nil {
  5061  		return graphql.Null
  5062  	}
  5063  	res := resTmp.(string)
  5064  	fc.Result = res
  5065  	return ec.marshalOString2string(ctx, field.Selections, res)
  5066  }
  5067  
  5068  func (ec *executionContext) fieldContext_Error_errorOnNonRequiredField(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
  5069  	fc = &graphql.FieldContext{
  5070  		Object:     "Error",
  5071  		Field:      field,
  5072  		IsMethod:   true,
  5073  		IsResolver: false,
  5074  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
  5075  			return nil, errors.New("field of type String does not have child fields")
  5076  		},
  5077  	}
  5078  	return fc, nil
  5079  }
  5080  
  5081  func (ec *executionContext) _Error_errorOnRequiredField(ctx context.Context, field graphql.CollectedField, obj *Error) (ret graphql.Marshaler) {
  5082  	fc, err := ec.fieldContext_Error_errorOnRequiredField(ctx, field)
  5083  	if err != nil {
  5084  		return graphql.Null
  5085  	}
  5086  	ctx = graphql.WithFieldContext(ctx, fc)
  5087  	defer func() {
  5088  		if r := recover(); r != nil {
  5089  			ec.Error(ctx, ec.Recover(ctx, r))
  5090  			ret = graphql.Null
  5091  		}
  5092  	}()
  5093  	resTmp := ec._fieldMiddleware(ctx, obj, func(rctx context.Context) (interface{}, error) {
  5094  		ctx = rctx // use context from middleware stack in children
  5095  		return obj.ErrorOnRequiredField()
  5096  	})
  5097  
  5098  	if resTmp == nil {
  5099  		if !graphql.HasFieldError(ctx, fc) {
  5100  			ec.Errorf(ctx, "must not be null")
  5101  		}
  5102  		return graphql.Null
  5103  	}
  5104  	res := resTmp.(string)
  5105  	fc.Result = res
  5106  	return ec.marshalNString2string(ctx, field.Selections, res)
  5107  }
  5108  
  5109  func (ec *executionContext) fieldContext_Error_errorOnRequiredField(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
  5110  	fc = &graphql.FieldContext{
  5111  		Object:     "Error",
  5112  		Field:      field,
  5113  		IsMethod:   true,
  5114  		IsResolver: false,
  5115  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
  5116  			return nil, errors.New("field of type String does not have child fields")
  5117  		},
  5118  	}
  5119  	return fc, nil
  5120  }
  5121  
  5122  func (ec *executionContext) _Error_nilOnRequiredField(ctx context.Context, field graphql.CollectedField, obj *Error) (ret graphql.Marshaler) {
  5123  	fc, err := ec.fieldContext_Error_nilOnRequiredField(ctx, field)
  5124  	if err != nil {
  5125  		return graphql.Null
  5126  	}
  5127  	ctx = graphql.WithFieldContext(ctx, fc)
  5128  	defer func() {
  5129  		if r := recover(); r != nil {
  5130  			ec.Error(ctx, ec.Recover(ctx, r))
  5131  			ret = graphql.Null
  5132  		}
  5133  	}()
  5134  	resTmp := ec._fieldMiddleware(ctx, obj, func(rctx context.Context) (interface{}, error) {
  5135  		ctx = rctx // use context from middleware stack in children
  5136  		return obj.NilOnRequiredField(), nil
  5137  	})
  5138  
  5139  	if resTmp == nil {
  5140  		if !graphql.HasFieldError(ctx, fc) {
  5141  			ec.Errorf(ctx, "must not be null")
  5142  		}
  5143  		return graphql.Null
  5144  	}
  5145  	res := resTmp.(*string)
  5146  	fc.Result = res
  5147  	return ec.marshalNString2ᚖstring(ctx, field.Selections, res)
  5148  }
  5149  
  5150  func (ec *executionContext) fieldContext_Error_nilOnRequiredField(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
  5151  	fc = &graphql.FieldContext{
  5152  		Object:     "Error",
  5153  		Field:      field,
  5154  		IsMethod:   true,
  5155  		IsResolver: false,
  5156  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
  5157  			return nil, errors.New("field of type String does not have child fields")
  5158  		},
  5159  	}
  5160  	return fc, nil
  5161  }
  5162  
  5163  func (ec *executionContext) _Errors_a(ctx context.Context, field graphql.CollectedField, obj *Errors) (ret graphql.Marshaler) {
  5164  	fc, err := ec.fieldContext_Errors_a(ctx, field)
  5165  	if err != nil {
  5166  		return graphql.Null
  5167  	}
  5168  	ctx = graphql.WithFieldContext(ctx, fc)
  5169  	defer func() {
  5170  		if r := recover(); r != nil {
  5171  			ec.Error(ctx, ec.Recover(ctx, r))
  5172  			ret = graphql.Null
  5173  		}
  5174  	}()
  5175  	resTmp := ec._fieldMiddleware(ctx, obj, func(rctx context.Context) (interface{}, error) {
  5176  		ctx = rctx // use context from middleware stack in children
  5177  		return ec.resolvers.Errors().A(rctx, obj)
  5178  	})
  5179  
  5180  	if resTmp == nil {
  5181  		if !graphql.HasFieldError(ctx, fc) {
  5182  			ec.Errorf(ctx, "must not be null")
  5183  		}
  5184  		return graphql.Null
  5185  	}
  5186  	res := resTmp.(*Error)
  5187  	fc.Result = res
  5188  	return ec.marshalNError2ᚖgithubᚗcomᚋ99designsᚋgqlgenᚋcodegenᚋtestserverᚋsinglefileᚐError(ctx, field.Selections, res)
  5189  }
  5190  
  5191  func (ec *executionContext) fieldContext_Errors_a(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
  5192  	fc = &graphql.FieldContext{
  5193  		Object:     "Errors",
  5194  		Field:      field,
  5195  		IsMethod:   true,
  5196  		IsResolver: true,
  5197  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
  5198  			switch field.Name {
  5199  			case "id":
  5200  				return ec.fieldContext_Error_id(ctx, field)
  5201  			case "errorOnNonRequiredField":
  5202  				return ec.fieldContext_Error_errorOnNonRequiredField(ctx, field)
  5203  			case "errorOnRequiredField":
  5204  				return ec.fieldContext_Error_errorOnRequiredField(ctx, field)
  5205  			case "nilOnRequiredField":
  5206  				return ec.fieldContext_Error_nilOnRequiredField(ctx, field)
  5207  			}
  5208  			return nil, fmt.Errorf("no field named %q was found under type Error", field.Name)
  5209  		},
  5210  	}
  5211  	return fc, nil
  5212  }
  5213  
  5214  func (ec *executionContext) _Errors_b(ctx context.Context, field graphql.CollectedField, obj *Errors) (ret graphql.Marshaler) {
  5215  	fc, err := ec.fieldContext_Errors_b(ctx, field)
  5216  	if err != nil {
  5217  		return graphql.Null
  5218  	}
  5219  	ctx = graphql.WithFieldContext(ctx, fc)
  5220  	defer func() {
  5221  		if r := recover(); r != nil {
  5222  			ec.Error(ctx, ec.Recover(ctx, r))
  5223  			ret = graphql.Null
  5224  		}
  5225  	}()
  5226  	resTmp := ec._fieldMiddleware(ctx, obj, func(rctx context.Context) (interface{}, error) {
  5227  		ctx = rctx // use context from middleware stack in children
  5228  		return ec.resolvers.Errors().B(rctx, obj)
  5229  	})
  5230  
  5231  	if resTmp == nil {
  5232  		if !graphql.HasFieldError(ctx, fc) {
  5233  			ec.Errorf(ctx, "must not be null")
  5234  		}
  5235  		return graphql.Null
  5236  	}
  5237  	res := resTmp.(*Error)
  5238  	fc.Result = res
  5239  	return ec.marshalNError2ᚖgithubᚗcomᚋ99designsᚋgqlgenᚋcodegenᚋtestserverᚋsinglefileᚐError(ctx, field.Selections, res)
  5240  }
  5241  
  5242  func (ec *executionContext) fieldContext_Errors_b(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
  5243  	fc = &graphql.FieldContext{
  5244  		Object:     "Errors",
  5245  		Field:      field,
  5246  		IsMethod:   true,
  5247  		IsResolver: true,
  5248  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
  5249  			switch field.Name {
  5250  			case "id":
  5251  				return ec.fieldContext_Error_id(ctx, field)
  5252  			case "errorOnNonRequiredField":
  5253  				return ec.fieldContext_Error_errorOnNonRequiredField(ctx, field)
  5254  			case "errorOnRequiredField":
  5255  				return ec.fieldContext_Error_errorOnRequiredField(ctx, field)
  5256  			case "nilOnRequiredField":
  5257  				return ec.fieldContext_Error_nilOnRequiredField(ctx, field)
  5258  			}
  5259  			return nil, fmt.Errorf("no field named %q was found under type Error", field.Name)
  5260  		},
  5261  	}
  5262  	return fc, nil
  5263  }
  5264  
  5265  func (ec *executionContext) _Errors_c(ctx context.Context, field graphql.CollectedField, obj *Errors) (ret graphql.Marshaler) {
  5266  	fc, err := ec.fieldContext_Errors_c(ctx, field)
  5267  	if err != nil {
  5268  		return graphql.Null
  5269  	}
  5270  	ctx = graphql.WithFieldContext(ctx, fc)
  5271  	defer func() {
  5272  		if r := recover(); r != nil {
  5273  			ec.Error(ctx, ec.Recover(ctx, r))
  5274  			ret = graphql.Null
  5275  		}
  5276  	}()
  5277  	resTmp := ec._fieldMiddleware(ctx, obj, func(rctx context.Context) (interface{}, error) {
  5278  		ctx = rctx // use context from middleware stack in children
  5279  		return ec.resolvers.Errors().C(rctx, obj)
  5280  	})
  5281  
  5282  	if resTmp == nil {
  5283  		if !graphql.HasFieldError(ctx, fc) {
  5284  			ec.Errorf(ctx, "must not be null")
  5285  		}
  5286  		return graphql.Null
  5287  	}
  5288  	res := resTmp.(*Error)
  5289  	fc.Result = res
  5290  	return ec.marshalNError2ᚖgithubᚗcomᚋ99designsᚋgqlgenᚋcodegenᚋtestserverᚋsinglefileᚐError(ctx, field.Selections, res)
  5291  }
  5292  
  5293  func (ec *executionContext) fieldContext_Errors_c(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
  5294  	fc = &graphql.FieldContext{
  5295  		Object:     "Errors",
  5296  		Field:      field,
  5297  		IsMethod:   true,
  5298  		IsResolver: true,
  5299  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
  5300  			switch field.Name {
  5301  			case "id":
  5302  				return ec.fieldContext_Error_id(ctx, field)
  5303  			case "errorOnNonRequiredField":
  5304  				return ec.fieldContext_Error_errorOnNonRequiredField(ctx, field)
  5305  			case "errorOnRequiredField":
  5306  				return ec.fieldContext_Error_errorOnRequiredField(ctx, field)
  5307  			case "nilOnRequiredField":
  5308  				return ec.fieldContext_Error_nilOnRequiredField(ctx, field)
  5309  			}
  5310  			return nil, fmt.Errorf("no field named %q was found under type Error", field.Name)
  5311  		},
  5312  	}
  5313  	return fc, nil
  5314  }
  5315  
  5316  func (ec *executionContext) _Errors_d(ctx context.Context, field graphql.CollectedField, obj *Errors) (ret graphql.Marshaler) {
  5317  	fc, err := ec.fieldContext_Errors_d(ctx, field)
  5318  	if err != nil {
  5319  		return graphql.Null
  5320  	}
  5321  	ctx = graphql.WithFieldContext(ctx, fc)
  5322  	defer func() {
  5323  		if r := recover(); r != nil {
  5324  			ec.Error(ctx, ec.Recover(ctx, r))
  5325  			ret = graphql.Null
  5326  		}
  5327  	}()
  5328  	resTmp := ec._fieldMiddleware(ctx, obj, func(rctx context.Context) (interface{}, error) {
  5329  		ctx = rctx // use context from middleware stack in children
  5330  		return ec.resolvers.Errors().D(rctx, obj)
  5331  	})
  5332  
  5333  	if resTmp == nil {
  5334  		if !graphql.HasFieldError(ctx, fc) {
  5335  			ec.Errorf(ctx, "must not be null")
  5336  		}
  5337  		return graphql.Null
  5338  	}
  5339  	res := resTmp.(*Error)
  5340  	fc.Result = res
  5341  	return ec.marshalNError2ᚖgithubᚗcomᚋ99designsᚋgqlgenᚋcodegenᚋtestserverᚋsinglefileᚐError(ctx, field.Selections, res)
  5342  }
  5343  
  5344  func (ec *executionContext) fieldContext_Errors_d(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
  5345  	fc = &graphql.FieldContext{
  5346  		Object:     "Errors",
  5347  		Field:      field,
  5348  		IsMethod:   true,
  5349  		IsResolver: true,
  5350  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
  5351  			switch field.Name {
  5352  			case "id":
  5353  				return ec.fieldContext_Error_id(ctx, field)
  5354  			case "errorOnNonRequiredField":
  5355  				return ec.fieldContext_Error_errorOnNonRequiredField(ctx, field)
  5356  			case "errorOnRequiredField":
  5357  				return ec.fieldContext_Error_errorOnRequiredField(ctx, field)
  5358  			case "nilOnRequiredField":
  5359  				return ec.fieldContext_Error_nilOnRequiredField(ctx, field)
  5360  			}
  5361  			return nil, fmt.Errorf("no field named %q was found under type Error", field.Name)
  5362  		},
  5363  	}
  5364  	return fc, nil
  5365  }
  5366  
  5367  func (ec *executionContext) _Errors_e(ctx context.Context, field graphql.CollectedField, obj *Errors) (ret graphql.Marshaler) {
  5368  	fc, err := ec.fieldContext_Errors_e(ctx, field)
  5369  	if err != nil {
  5370  		return graphql.Null
  5371  	}
  5372  	ctx = graphql.WithFieldContext(ctx, fc)
  5373  	defer func() {
  5374  		if r := recover(); r != nil {
  5375  			ec.Error(ctx, ec.Recover(ctx, r))
  5376  			ret = graphql.Null
  5377  		}
  5378  	}()
  5379  	resTmp := ec._fieldMiddleware(ctx, obj, func(rctx context.Context) (interface{}, error) {
  5380  		ctx = rctx // use context from middleware stack in children
  5381  		return ec.resolvers.Errors().E(rctx, obj)
  5382  	})
  5383  
  5384  	if resTmp == nil {
  5385  		if !graphql.HasFieldError(ctx, fc) {
  5386  			ec.Errorf(ctx, "must not be null")
  5387  		}
  5388  		return graphql.Null
  5389  	}
  5390  	res := resTmp.(*Error)
  5391  	fc.Result = res
  5392  	return ec.marshalNError2ᚖgithubᚗcomᚋ99designsᚋgqlgenᚋcodegenᚋtestserverᚋsinglefileᚐError(ctx, field.Selections, res)
  5393  }
  5394  
  5395  func (ec *executionContext) fieldContext_Errors_e(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
  5396  	fc = &graphql.FieldContext{
  5397  		Object:     "Errors",
  5398  		Field:      field,
  5399  		IsMethod:   true,
  5400  		IsResolver: true,
  5401  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
  5402  			switch field.Name {
  5403  			case "id":
  5404  				return ec.fieldContext_Error_id(ctx, field)
  5405  			case "errorOnNonRequiredField":
  5406  				return ec.fieldContext_Error_errorOnNonRequiredField(ctx, field)
  5407  			case "errorOnRequiredField":
  5408  				return ec.fieldContext_Error_errorOnRequiredField(ctx, field)
  5409  			case "nilOnRequiredField":
  5410  				return ec.fieldContext_Error_nilOnRequiredField(ctx, field)
  5411  			}
  5412  			return nil, fmt.Errorf("no field named %q was found under type Error", field.Name)
  5413  		},
  5414  	}
  5415  	return fc, nil
  5416  }
  5417  
  5418  func (ec *executionContext) _FieldsOrderPayload_firstFieldValue(ctx context.Context, field graphql.CollectedField, obj *FieldsOrderPayload) (ret graphql.Marshaler) {
  5419  	fc, err := ec.fieldContext_FieldsOrderPayload_firstFieldValue(ctx, field)
  5420  	if err != nil {
  5421  		return graphql.Null
  5422  	}
  5423  	ctx = graphql.WithFieldContext(ctx, fc)
  5424  	defer func() {
  5425  		if r := recover(); r != nil {
  5426  			ec.Error(ctx, ec.Recover(ctx, r))
  5427  			ret = graphql.Null
  5428  		}
  5429  	}()
  5430  	resTmp := ec._fieldMiddleware(ctx, obj, func(rctx context.Context) (interface{}, error) {
  5431  		ctx = rctx // use context from middleware stack in children
  5432  		return obj.FirstFieldValue, nil
  5433  	})
  5434  
  5435  	if resTmp == nil {
  5436  		return graphql.Null
  5437  	}
  5438  	res := resTmp.(*string)
  5439  	fc.Result = res
  5440  	return ec.marshalOString2ᚖstring(ctx, field.Selections, res)
  5441  }
  5442  
  5443  func (ec *executionContext) fieldContext_FieldsOrderPayload_firstFieldValue(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
  5444  	fc = &graphql.FieldContext{
  5445  		Object:     "FieldsOrderPayload",
  5446  		Field:      field,
  5447  		IsMethod:   false,
  5448  		IsResolver: false,
  5449  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
  5450  			return nil, errors.New("field of type String does not have child fields")
  5451  		},
  5452  	}
  5453  	return fc, nil
  5454  }
  5455  
  5456  func (ec *executionContext) _ForcedResolver_field(ctx context.Context, field graphql.CollectedField, obj *ForcedResolver) (ret graphql.Marshaler) {
  5457  	fc, err := ec.fieldContext_ForcedResolver_field(ctx, field)
  5458  	if err != nil {
  5459  		return graphql.Null
  5460  	}
  5461  	ctx = graphql.WithFieldContext(ctx, fc)
  5462  	defer func() {
  5463  		if r := recover(); r != nil {
  5464  			ec.Error(ctx, ec.Recover(ctx, r))
  5465  			ret = graphql.Null
  5466  		}
  5467  	}()
  5468  	resTmp := ec._fieldMiddleware(ctx, obj, func(rctx context.Context) (interface{}, error) {
  5469  		ctx = rctx // use context from middleware stack in children
  5470  		return ec.resolvers.ForcedResolver().Field(rctx, obj)
  5471  	})
  5472  
  5473  	if resTmp == nil {
  5474  		return graphql.Null
  5475  	}
  5476  	res := resTmp.(*Circle)
  5477  	fc.Result = res
  5478  	return ec.marshalOCircle2ᚖgithubᚗcomᚋ99designsᚋgqlgenᚋcodegenᚋtestserverᚋsinglefileᚐCircle(ctx, field.Selections, res)
  5479  }
  5480  
  5481  func (ec *executionContext) fieldContext_ForcedResolver_field(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
  5482  	fc = &graphql.FieldContext{
  5483  		Object:     "ForcedResolver",
  5484  		Field:      field,
  5485  		IsMethod:   true,
  5486  		IsResolver: true,
  5487  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
  5488  			switch field.Name {
  5489  			case "radius":
  5490  				return ec.fieldContext_Circle_radius(ctx, field)
  5491  			case "area":
  5492  				return ec.fieldContext_Circle_area(ctx, field)
  5493  			case "coordinates":
  5494  				return ec.fieldContext_Circle_coordinates(ctx, field)
  5495  			}
  5496  			return nil, fmt.Errorf("no field named %q was found under type Circle", field.Name)
  5497  		},
  5498  	}
  5499  	return fc, nil
  5500  }
  5501  
  5502  func (ec *executionContext) _InnerObject_id(ctx context.Context, field graphql.CollectedField, obj *InnerObject) (ret graphql.Marshaler) {
  5503  	fc, err := ec.fieldContext_InnerObject_id(ctx, field)
  5504  	if err != nil {
  5505  		return graphql.Null
  5506  	}
  5507  	ctx = graphql.WithFieldContext(ctx, fc)
  5508  	defer func() {
  5509  		if r := recover(); r != nil {
  5510  			ec.Error(ctx, ec.Recover(ctx, r))
  5511  			ret = graphql.Null
  5512  		}
  5513  	}()
  5514  	resTmp := ec._fieldMiddleware(ctx, obj, func(rctx context.Context) (interface{}, error) {
  5515  		ctx = rctx // use context from middleware stack in children
  5516  		return obj.ID, nil
  5517  	})
  5518  
  5519  	if resTmp == nil {
  5520  		if !graphql.HasFieldError(ctx, fc) {
  5521  			ec.Errorf(ctx, "must not be null")
  5522  		}
  5523  		return graphql.Null
  5524  	}
  5525  	res := resTmp.(int)
  5526  	fc.Result = res
  5527  	return ec.marshalNInt2int(ctx, field.Selections, res)
  5528  }
  5529  
  5530  func (ec *executionContext) fieldContext_InnerObject_id(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
  5531  	fc = &graphql.FieldContext{
  5532  		Object:     "InnerObject",
  5533  		Field:      field,
  5534  		IsMethod:   false,
  5535  		IsResolver: false,
  5536  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
  5537  			return nil, errors.New("field of type Int does not have child fields")
  5538  		},
  5539  	}
  5540  	return fc, nil
  5541  }
  5542  
  5543  func (ec *executionContext) _InvalidIdentifier_id(ctx context.Context, field graphql.CollectedField, obj *invalid_packagename.InvalidIdentifier) (ret graphql.Marshaler) {
  5544  	fc, err := ec.fieldContext_InvalidIdentifier_id(ctx, field)
  5545  	if err != nil {
  5546  		return graphql.Null
  5547  	}
  5548  	ctx = graphql.WithFieldContext(ctx, fc)
  5549  	defer func() {
  5550  		if r := recover(); r != nil {
  5551  			ec.Error(ctx, ec.Recover(ctx, r))
  5552  			ret = graphql.Null
  5553  		}
  5554  	}()
  5555  	resTmp := ec._fieldMiddleware(ctx, obj, func(rctx context.Context) (interface{}, error) {
  5556  		ctx = rctx // use context from middleware stack in children
  5557  		return obj.ID, nil
  5558  	})
  5559  
  5560  	if resTmp == nil {
  5561  		if !graphql.HasFieldError(ctx, fc) {
  5562  			ec.Errorf(ctx, "must not be null")
  5563  		}
  5564  		return graphql.Null
  5565  	}
  5566  	res := resTmp.(int)
  5567  	fc.Result = res
  5568  	return ec.marshalNInt2int(ctx, field.Selections, res)
  5569  }
  5570  
  5571  func (ec *executionContext) fieldContext_InvalidIdentifier_id(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
  5572  	fc = &graphql.FieldContext{
  5573  		Object:     "InvalidIdentifier",
  5574  		Field:      field,
  5575  		IsMethod:   false,
  5576  		IsResolver: false,
  5577  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
  5578  			return nil, errors.New("field of type Int does not have child fields")
  5579  		},
  5580  	}
  5581  	return fc, nil
  5582  }
  5583  
  5584  func (ec *executionContext) _It_id(ctx context.Context, field graphql.CollectedField, obj *introspection1.It) (ret graphql.Marshaler) {
  5585  	fc, err := ec.fieldContext_It_id(ctx, field)
  5586  	if err != nil {
  5587  		return graphql.Null
  5588  	}
  5589  	ctx = graphql.WithFieldContext(ctx, fc)
  5590  	defer func() {
  5591  		if r := recover(); r != nil {
  5592  			ec.Error(ctx, ec.Recover(ctx, r))
  5593  			ret = graphql.Null
  5594  		}
  5595  	}()
  5596  	resTmp := ec._fieldMiddleware(ctx, obj, func(rctx context.Context) (interface{}, error) {
  5597  		ctx = rctx // use context from middleware stack in children
  5598  		return obj.ID, nil
  5599  	})
  5600  
  5601  	if resTmp == nil {
  5602  		if !graphql.HasFieldError(ctx, fc) {
  5603  			ec.Errorf(ctx, "must not be null")
  5604  		}
  5605  		return graphql.Null
  5606  	}
  5607  	res := resTmp.(string)
  5608  	fc.Result = res
  5609  	return ec.marshalNID2string(ctx, field.Selections, res)
  5610  }
  5611  
  5612  func (ec *executionContext) fieldContext_It_id(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
  5613  	fc = &graphql.FieldContext{
  5614  		Object:     "It",
  5615  		Field:      field,
  5616  		IsMethod:   false,
  5617  		IsResolver: false,
  5618  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
  5619  			return nil, errors.New("field of type ID does not have child fields")
  5620  		},
  5621  	}
  5622  	return fc, nil
  5623  }
  5624  
  5625  func (ec *executionContext) _LoopA_b(ctx context.Context, field graphql.CollectedField, obj *LoopA) (ret graphql.Marshaler) {
  5626  	fc, err := ec.fieldContext_LoopA_b(ctx, field)
  5627  	if err != nil {
  5628  		return graphql.Null
  5629  	}
  5630  	ctx = graphql.WithFieldContext(ctx, fc)
  5631  	defer func() {
  5632  		if r := recover(); r != nil {
  5633  			ec.Error(ctx, ec.Recover(ctx, r))
  5634  			ret = graphql.Null
  5635  		}
  5636  	}()
  5637  	resTmp := ec._fieldMiddleware(ctx, obj, func(rctx context.Context) (interface{}, error) {
  5638  		ctx = rctx // use context from middleware stack in children
  5639  		return obj.B, nil
  5640  	})
  5641  
  5642  	if resTmp == nil {
  5643  		if !graphql.HasFieldError(ctx, fc) {
  5644  			ec.Errorf(ctx, "must not be null")
  5645  		}
  5646  		return graphql.Null
  5647  	}
  5648  	res := resTmp.(*LoopB)
  5649  	fc.Result = res
  5650  	return ec.marshalNLoopB2ᚖgithubᚗcomᚋ99designsᚋgqlgenᚋcodegenᚋtestserverᚋsinglefileᚐLoopB(ctx, field.Selections, res)
  5651  }
  5652  
  5653  func (ec *executionContext) fieldContext_LoopA_b(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
  5654  	fc = &graphql.FieldContext{
  5655  		Object:     "LoopA",
  5656  		Field:      field,
  5657  		IsMethod:   false,
  5658  		IsResolver: false,
  5659  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
  5660  			switch field.Name {
  5661  			case "a":
  5662  				return ec.fieldContext_LoopB_a(ctx, field)
  5663  			}
  5664  			return nil, fmt.Errorf("no field named %q was found under type LoopB", field.Name)
  5665  		},
  5666  	}
  5667  	return fc, nil
  5668  }
  5669  
  5670  func (ec *executionContext) _LoopB_a(ctx context.Context, field graphql.CollectedField, obj *LoopB) (ret graphql.Marshaler) {
  5671  	fc, err := ec.fieldContext_LoopB_a(ctx, field)
  5672  	if err != nil {
  5673  		return graphql.Null
  5674  	}
  5675  	ctx = graphql.WithFieldContext(ctx, fc)
  5676  	defer func() {
  5677  		if r := recover(); r != nil {
  5678  			ec.Error(ctx, ec.Recover(ctx, r))
  5679  			ret = graphql.Null
  5680  		}
  5681  	}()
  5682  	resTmp := ec._fieldMiddleware(ctx, obj, func(rctx context.Context) (interface{}, error) {
  5683  		ctx = rctx // use context from middleware stack in children
  5684  		return obj.A, nil
  5685  	})
  5686  
  5687  	if resTmp == nil {
  5688  		if !graphql.HasFieldError(ctx, fc) {
  5689  			ec.Errorf(ctx, "must not be null")
  5690  		}
  5691  		return graphql.Null
  5692  	}
  5693  	res := resTmp.(*LoopA)
  5694  	fc.Result = res
  5695  	return ec.marshalNLoopA2ᚖgithubᚗcomᚋ99designsᚋgqlgenᚋcodegenᚋtestserverᚋsinglefileᚐLoopA(ctx, field.Selections, res)
  5696  }
  5697  
  5698  func (ec *executionContext) fieldContext_LoopB_a(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
  5699  	fc = &graphql.FieldContext{
  5700  		Object:     "LoopB",
  5701  		Field:      field,
  5702  		IsMethod:   false,
  5703  		IsResolver: false,
  5704  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
  5705  			switch field.Name {
  5706  			case "b":
  5707  				return ec.fieldContext_LoopA_b(ctx, field)
  5708  			}
  5709  			return nil, fmt.Errorf("no field named %q was found under type LoopA", field.Name)
  5710  		},
  5711  	}
  5712  	return fc, nil
  5713  }
  5714  
  5715  func (ec *executionContext) _Map_id(ctx context.Context, field graphql.CollectedField, obj *Map) (ret graphql.Marshaler) {
  5716  	fc, err := ec.fieldContext_Map_id(ctx, field)
  5717  	if err != nil {
  5718  		return graphql.Null
  5719  	}
  5720  	ctx = graphql.WithFieldContext(ctx, fc)
  5721  	defer func() {
  5722  		if r := recover(); r != nil {
  5723  			ec.Error(ctx, ec.Recover(ctx, r))
  5724  			ret = graphql.Null
  5725  		}
  5726  	}()
  5727  	resTmp := ec._fieldMiddleware(ctx, obj, func(rctx context.Context) (interface{}, error) {
  5728  		ctx = rctx // use context from middleware stack in children
  5729  		return obj.ID, nil
  5730  	})
  5731  
  5732  	if resTmp == nil {
  5733  		if !graphql.HasFieldError(ctx, fc) {
  5734  			ec.Errorf(ctx, "must not be null")
  5735  		}
  5736  		return graphql.Null
  5737  	}
  5738  	res := resTmp.(string)
  5739  	fc.Result = res
  5740  	return ec.marshalNID2string(ctx, field.Selections, res)
  5741  }
  5742  
  5743  func (ec *executionContext) fieldContext_Map_id(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
  5744  	fc = &graphql.FieldContext{
  5745  		Object:     "Map",
  5746  		Field:      field,
  5747  		IsMethod:   false,
  5748  		IsResolver: false,
  5749  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
  5750  			return nil, errors.New("field of type ID does not have child fields")
  5751  		},
  5752  	}
  5753  	return fc, nil
  5754  }
  5755  
  5756  func (ec *executionContext) _MapStringInterfaceType_a(ctx context.Context, field graphql.CollectedField, obj map[string]interface{}) (ret graphql.Marshaler) {
  5757  	fc, err := ec.fieldContext_MapStringInterfaceType_a(ctx, field)
  5758  	if err != nil {
  5759  		return graphql.Null
  5760  	}
  5761  	ctx = graphql.WithFieldContext(ctx, fc)
  5762  	defer func() {
  5763  		if r := recover(); r != nil {
  5764  			ec.Error(ctx, ec.Recover(ctx, r))
  5765  			ret = graphql.Null
  5766  		}
  5767  	}()
  5768  	resTmp := ec._fieldMiddleware(ctx, obj, func(rctx context.Context) (interface{}, error) {
  5769  		ctx = rctx // use context from middleware stack in children
  5770  		switch v := obj["a"].(type) {
  5771  		case *string:
  5772  			return v, nil
  5773  		case string:
  5774  			return &v, nil
  5775  		case nil:
  5776  			return (*string)(nil), nil
  5777  		default:
  5778  			return nil, fmt.Errorf("unexpected type %T for field %s", v, "a")
  5779  		}
  5780  	})
  5781  
  5782  	if resTmp == nil {
  5783  		return graphql.Null
  5784  	}
  5785  	res := resTmp.(*string)
  5786  	fc.Result = res
  5787  	return ec.marshalOString2ᚖstring(ctx, field.Selections, res)
  5788  }
  5789  
  5790  func (ec *executionContext) fieldContext_MapStringInterfaceType_a(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
  5791  	fc = &graphql.FieldContext{
  5792  		Object:     "MapStringInterfaceType",
  5793  		Field:      field,
  5794  		IsMethod:   false,
  5795  		IsResolver: false,
  5796  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
  5797  			return nil, errors.New("field of type String does not have child fields")
  5798  		},
  5799  	}
  5800  	return fc, nil
  5801  }
  5802  
  5803  func (ec *executionContext) _MapStringInterfaceType_b(ctx context.Context, field graphql.CollectedField, obj map[string]interface{}) (ret graphql.Marshaler) {
  5804  	fc, err := ec.fieldContext_MapStringInterfaceType_b(ctx, field)
  5805  	if err != nil {
  5806  		return graphql.Null
  5807  	}
  5808  	ctx = graphql.WithFieldContext(ctx, fc)
  5809  	defer func() {
  5810  		if r := recover(); r != nil {
  5811  			ec.Error(ctx, ec.Recover(ctx, r))
  5812  			ret = graphql.Null
  5813  		}
  5814  	}()
  5815  	resTmp := ec._fieldMiddleware(ctx, obj, func(rctx context.Context) (interface{}, error) {
  5816  		ctx = rctx // use context from middleware stack in children
  5817  		switch v := obj["b"].(type) {
  5818  		case *int:
  5819  			return v, nil
  5820  		case int:
  5821  			return &v, nil
  5822  		case nil:
  5823  			return (*int)(nil), nil
  5824  		default:
  5825  			return nil, fmt.Errorf("unexpected type %T for field %s", v, "b")
  5826  		}
  5827  	})
  5828  
  5829  	if resTmp == nil {
  5830  		return graphql.Null
  5831  	}
  5832  	res := resTmp.(*int)
  5833  	fc.Result = res
  5834  	return ec.marshalOInt2ᚖint(ctx, field.Selections, res)
  5835  }
  5836  
  5837  func (ec *executionContext) fieldContext_MapStringInterfaceType_b(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
  5838  	fc = &graphql.FieldContext{
  5839  		Object:     "MapStringInterfaceType",
  5840  		Field:      field,
  5841  		IsMethod:   false,
  5842  		IsResolver: false,
  5843  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
  5844  			return nil, errors.New("field of type Int does not have child fields")
  5845  		},
  5846  	}
  5847  	return fc, nil
  5848  }
  5849  
  5850  func (ec *executionContext) _ModelMethods_resolverField(ctx context.Context, field graphql.CollectedField, obj *ModelMethods) (ret graphql.Marshaler) {
  5851  	fc, err := ec.fieldContext_ModelMethods_resolverField(ctx, field)
  5852  	if err != nil {
  5853  		return graphql.Null
  5854  	}
  5855  	ctx = graphql.WithFieldContext(ctx, fc)
  5856  	defer func() {
  5857  		if r := recover(); r != nil {
  5858  			ec.Error(ctx, ec.Recover(ctx, r))
  5859  			ret = graphql.Null
  5860  		}
  5861  	}()
  5862  	resTmp := ec._fieldMiddleware(ctx, obj, func(rctx context.Context) (interface{}, error) {
  5863  		ctx = rctx // use context from middleware stack in children
  5864  		return ec.resolvers.ModelMethods().ResolverField(rctx, obj)
  5865  	})
  5866  
  5867  	if resTmp == nil {
  5868  		if !graphql.HasFieldError(ctx, fc) {
  5869  			ec.Errorf(ctx, "must not be null")
  5870  		}
  5871  		return graphql.Null
  5872  	}
  5873  	res := resTmp.(bool)
  5874  	fc.Result = res
  5875  	return ec.marshalNBoolean2bool(ctx, field.Selections, res)
  5876  }
  5877  
  5878  func (ec *executionContext) fieldContext_ModelMethods_resolverField(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
  5879  	fc = &graphql.FieldContext{
  5880  		Object:     "ModelMethods",
  5881  		Field:      field,
  5882  		IsMethod:   true,
  5883  		IsResolver: true,
  5884  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
  5885  			return nil, errors.New("field of type Boolean does not have child fields")
  5886  		},
  5887  	}
  5888  	return fc, nil
  5889  }
  5890  
  5891  func (ec *executionContext) _ModelMethods_noContext(ctx context.Context, field graphql.CollectedField, obj *ModelMethods) (ret graphql.Marshaler) {
  5892  	fc, err := ec.fieldContext_ModelMethods_noContext(ctx, field)
  5893  	if err != nil {
  5894  		return graphql.Null
  5895  	}
  5896  	ctx = graphql.WithFieldContext(ctx, fc)
  5897  	defer func() {
  5898  		if r := recover(); r != nil {
  5899  			ec.Error(ctx, ec.Recover(ctx, r))
  5900  			ret = graphql.Null
  5901  		}
  5902  	}()
  5903  	resTmp := ec._fieldMiddleware(ctx, obj, func(rctx context.Context) (interface{}, error) {
  5904  		ctx = rctx // use context from middleware stack in children
  5905  		return obj.NoContext(), nil
  5906  	})
  5907  
  5908  	if resTmp == nil {
  5909  		if !graphql.HasFieldError(ctx, fc) {
  5910  			ec.Errorf(ctx, "must not be null")
  5911  		}
  5912  		return graphql.Null
  5913  	}
  5914  	res := resTmp.(bool)
  5915  	fc.Result = res
  5916  	return ec.marshalNBoolean2bool(ctx, field.Selections, res)
  5917  }
  5918  
  5919  func (ec *executionContext) fieldContext_ModelMethods_noContext(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
  5920  	fc = &graphql.FieldContext{
  5921  		Object:     "ModelMethods",
  5922  		Field:      field,
  5923  		IsMethod:   true,
  5924  		IsResolver: false,
  5925  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
  5926  			return nil, errors.New("field of type Boolean does not have child fields")
  5927  		},
  5928  	}
  5929  	return fc, nil
  5930  }
  5931  
  5932  func (ec *executionContext) _ModelMethods_withContext(ctx context.Context, field graphql.CollectedField, obj *ModelMethods) (ret graphql.Marshaler) {
  5933  	fc, err := ec.fieldContext_ModelMethods_withContext(ctx, field)
  5934  	if err != nil {
  5935  		return graphql.Null
  5936  	}
  5937  	ctx = graphql.WithFieldContext(ctx, fc)
  5938  	defer func() {
  5939  		if r := recover(); r != nil {
  5940  			ec.Error(ctx, ec.Recover(ctx, r))
  5941  			ret = graphql.Null
  5942  		}
  5943  	}()
  5944  	resTmp := ec._fieldMiddleware(ctx, obj, func(rctx context.Context) (interface{}, error) {
  5945  		ctx = rctx // use context from middleware stack in children
  5946  		return obj.WithContext(ctx), nil
  5947  	})
  5948  
  5949  	if resTmp == nil {
  5950  		if !graphql.HasFieldError(ctx, fc) {
  5951  			ec.Errorf(ctx, "must not be null")
  5952  		}
  5953  		return graphql.Null
  5954  	}
  5955  	res := resTmp.(bool)
  5956  	fc.Result = res
  5957  	return ec.marshalNBoolean2bool(ctx, field.Selections, res)
  5958  }
  5959  
  5960  func (ec *executionContext) fieldContext_ModelMethods_withContext(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
  5961  	fc = &graphql.FieldContext{
  5962  		Object:     "ModelMethods",
  5963  		Field:      field,
  5964  		IsMethod:   true,
  5965  		IsResolver: false,
  5966  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
  5967  			return nil, errors.New("field of type Boolean does not have child fields")
  5968  		},
  5969  	}
  5970  	return fc, nil
  5971  }
  5972  
  5973  func (ec *executionContext) _Mutation_defaultInput(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) {
  5974  	fc, err := ec.fieldContext_Mutation_defaultInput(ctx, field)
  5975  	if err != nil {
  5976  		return graphql.Null
  5977  	}
  5978  	ctx = graphql.WithFieldContext(ctx, fc)
  5979  	defer func() {
  5980  		if r := recover(); r != nil {
  5981  			ec.Error(ctx, ec.Recover(ctx, r))
  5982  			ret = graphql.Null
  5983  		}
  5984  	}()
  5985  	resTmp := ec._fieldMiddleware(ctx, nil, func(rctx context.Context) (interface{}, error) {
  5986  		ctx = rctx // use context from middleware stack in children
  5987  		return ec.resolvers.Mutation().DefaultInput(rctx, fc.Args["input"].(DefaultInput))
  5988  	})
  5989  
  5990  	if resTmp == nil {
  5991  		if !graphql.HasFieldError(ctx, fc) {
  5992  			ec.Errorf(ctx, "must not be null")
  5993  		}
  5994  		return graphql.Null
  5995  	}
  5996  	res := resTmp.(*DefaultParametersMirror)
  5997  	fc.Result = res
  5998  	return ec.marshalNDefaultParametersMirror2ᚖgithubᚗcomᚋ99designsᚋgqlgenᚋcodegenᚋtestserverᚋsinglefileᚐDefaultParametersMirror(ctx, field.Selections, res)
  5999  }
  6000  
  6001  func (ec *executionContext) fieldContext_Mutation_defaultInput(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
  6002  	fc = &graphql.FieldContext{
  6003  		Object:     "Mutation",
  6004  		Field:      field,
  6005  		IsMethod:   true,
  6006  		IsResolver: true,
  6007  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
  6008  			switch field.Name {
  6009  			case "falsyBoolean":
  6010  				return ec.fieldContext_DefaultParametersMirror_falsyBoolean(ctx, field)
  6011  			case "truthyBoolean":
  6012  				return ec.fieldContext_DefaultParametersMirror_truthyBoolean(ctx, field)
  6013  			}
  6014  			return nil, fmt.Errorf("no field named %q was found under type DefaultParametersMirror", field.Name)
  6015  		},
  6016  	}
  6017  	defer func() {
  6018  		if r := recover(); r != nil {
  6019  			err = ec.Recover(ctx, r)
  6020  			ec.Error(ctx, err)
  6021  		}
  6022  	}()
  6023  	ctx = graphql.WithFieldContext(ctx, fc)
  6024  	if fc.Args, err = ec.field_Mutation_defaultInput_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
  6025  		ec.Error(ctx, err)
  6026  		return
  6027  	}
  6028  	return fc, nil
  6029  }
  6030  
  6031  func (ec *executionContext) _Mutation_overrideValueViaInput(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) {
  6032  	fc, err := ec.fieldContext_Mutation_overrideValueViaInput(ctx, field)
  6033  	if err != nil {
  6034  		return graphql.Null
  6035  	}
  6036  	ctx = graphql.WithFieldContext(ctx, fc)
  6037  	defer func() {
  6038  		if r := recover(); r != nil {
  6039  			ec.Error(ctx, ec.Recover(ctx, r))
  6040  			ret = graphql.Null
  6041  		}
  6042  	}()
  6043  	resTmp := ec._fieldMiddleware(ctx, nil, func(rctx context.Context) (interface{}, error) {
  6044  		ctx = rctx // use context from middleware stack in children
  6045  		return ec.resolvers.Mutation().OverrideValueViaInput(rctx, fc.Args["input"].(FieldsOrderInput))
  6046  	})
  6047  
  6048  	if resTmp == nil {
  6049  		if !graphql.HasFieldError(ctx, fc) {
  6050  			ec.Errorf(ctx, "must not be null")
  6051  		}
  6052  		return graphql.Null
  6053  	}
  6054  	res := resTmp.(*FieldsOrderPayload)
  6055  	fc.Result = res
  6056  	return ec.marshalNFieldsOrderPayload2ᚖgithubᚗcomᚋ99designsᚋgqlgenᚋcodegenᚋtestserverᚋsinglefileᚐFieldsOrderPayload(ctx, field.Selections, res)
  6057  }
  6058  
  6059  func (ec *executionContext) fieldContext_Mutation_overrideValueViaInput(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
  6060  	fc = &graphql.FieldContext{
  6061  		Object:     "Mutation",
  6062  		Field:      field,
  6063  		IsMethod:   true,
  6064  		IsResolver: true,
  6065  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
  6066  			switch field.Name {
  6067  			case "firstFieldValue":
  6068  				return ec.fieldContext_FieldsOrderPayload_firstFieldValue(ctx, field)
  6069  			}
  6070  			return nil, fmt.Errorf("no field named %q was found under type FieldsOrderPayload", field.Name)
  6071  		},
  6072  	}
  6073  	defer func() {
  6074  		if r := recover(); r != nil {
  6075  			err = ec.Recover(ctx, r)
  6076  			ec.Error(ctx, err)
  6077  		}
  6078  	}()
  6079  	ctx = graphql.WithFieldContext(ctx, fc)
  6080  	if fc.Args, err = ec.field_Mutation_overrideValueViaInput_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
  6081  		ec.Error(ctx, err)
  6082  		return
  6083  	}
  6084  	return fc, nil
  6085  }
  6086  
  6087  func (ec *executionContext) _Mutation_updateSomething(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) {
  6088  	fc, err := ec.fieldContext_Mutation_updateSomething(ctx, field)
  6089  	if err != nil {
  6090  		return graphql.Null
  6091  	}
  6092  	ctx = graphql.WithFieldContext(ctx, fc)
  6093  	defer func() {
  6094  		if r := recover(); r != nil {
  6095  			ec.Error(ctx, ec.Recover(ctx, r))
  6096  			ret = graphql.Null
  6097  		}
  6098  	}()
  6099  	resTmp := ec._fieldMiddleware(ctx, nil, func(rctx context.Context) (interface{}, error) {
  6100  		ctx = rctx // use context from middleware stack in children
  6101  		return ec.resolvers.Mutation().UpdateSomething(rctx, fc.Args["input"].(SpecialInput))
  6102  	})
  6103  
  6104  	if resTmp == nil {
  6105  		if !graphql.HasFieldError(ctx, fc) {
  6106  			ec.Errorf(ctx, "must not be null")
  6107  		}
  6108  		return graphql.Null
  6109  	}
  6110  	res := resTmp.(string)
  6111  	fc.Result = res
  6112  	return ec.marshalNString2string(ctx, field.Selections, res)
  6113  }
  6114  
  6115  func (ec *executionContext) fieldContext_Mutation_updateSomething(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
  6116  	fc = &graphql.FieldContext{
  6117  		Object:     "Mutation",
  6118  		Field:      field,
  6119  		IsMethod:   true,
  6120  		IsResolver: true,
  6121  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
  6122  			return nil, errors.New("field of type String does not have child fields")
  6123  		},
  6124  	}
  6125  	defer func() {
  6126  		if r := recover(); r != nil {
  6127  			err = ec.Recover(ctx, r)
  6128  			ec.Error(ctx, err)
  6129  		}
  6130  	}()
  6131  	ctx = graphql.WithFieldContext(ctx, fc)
  6132  	if fc.Args, err = ec.field_Mutation_updateSomething_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
  6133  		ec.Error(ctx, err)
  6134  		return
  6135  	}
  6136  	return fc, nil
  6137  }
  6138  
  6139  func (ec *executionContext) _Mutation_updatePtrToPtr(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) {
  6140  	fc, err := ec.fieldContext_Mutation_updatePtrToPtr(ctx, field)
  6141  	if err != nil {
  6142  		return graphql.Null
  6143  	}
  6144  	ctx = graphql.WithFieldContext(ctx, fc)
  6145  	defer func() {
  6146  		if r := recover(); r != nil {
  6147  			ec.Error(ctx, ec.Recover(ctx, r))
  6148  			ret = graphql.Null
  6149  		}
  6150  	}()
  6151  	resTmp := ec._fieldMiddleware(ctx, nil, func(rctx context.Context) (interface{}, error) {
  6152  		ctx = rctx // use context from middleware stack in children
  6153  		return ec.resolvers.Mutation().UpdatePtrToPtr(rctx, fc.Args["input"].(UpdatePtrToPtrOuter))
  6154  	})
  6155  
  6156  	if resTmp == nil {
  6157  		if !graphql.HasFieldError(ctx, fc) {
  6158  			ec.Errorf(ctx, "must not be null")
  6159  		}
  6160  		return graphql.Null
  6161  	}
  6162  	res := resTmp.(*PtrToPtrOuter)
  6163  	fc.Result = res
  6164  	return ec.marshalNPtrToPtrOuter2ᚖgithubᚗcomᚋ99designsᚋgqlgenᚋcodegenᚋtestserverᚋsinglefileᚐPtrToPtrOuter(ctx, field.Selections, res)
  6165  }
  6166  
  6167  func (ec *executionContext) fieldContext_Mutation_updatePtrToPtr(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
  6168  	fc = &graphql.FieldContext{
  6169  		Object:     "Mutation",
  6170  		Field:      field,
  6171  		IsMethod:   true,
  6172  		IsResolver: true,
  6173  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
  6174  			switch field.Name {
  6175  			case "name":
  6176  				return ec.fieldContext_PtrToPtrOuter_name(ctx, field)
  6177  			case "inner":
  6178  				return ec.fieldContext_PtrToPtrOuter_inner(ctx, field)
  6179  			case "stupidInner":
  6180  				return ec.fieldContext_PtrToPtrOuter_stupidInner(ctx, field)
  6181  			}
  6182  			return nil, fmt.Errorf("no field named %q was found under type PtrToPtrOuter", field.Name)
  6183  		},
  6184  	}
  6185  	defer func() {
  6186  		if r := recover(); r != nil {
  6187  			err = ec.Recover(ctx, r)
  6188  			ec.Error(ctx, err)
  6189  		}
  6190  	}()
  6191  	ctx = graphql.WithFieldContext(ctx, fc)
  6192  	if fc.Args, err = ec.field_Mutation_updatePtrToPtr_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
  6193  		ec.Error(ctx, err)
  6194  		return
  6195  	}
  6196  	return fc, nil
  6197  }
  6198  
  6199  func (ec *executionContext) _ObjectDirectives_text(ctx context.Context, field graphql.CollectedField, obj *ObjectDirectives) (ret graphql.Marshaler) {
  6200  	fc, err := ec.fieldContext_ObjectDirectives_text(ctx, field)
  6201  	if err != nil {
  6202  		return graphql.Null
  6203  	}
  6204  	ctx = graphql.WithFieldContext(ctx, fc)
  6205  	defer func() {
  6206  		if r := recover(); r != nil {
  6207  			ec.Error(ctx, ec.Recover(ctx, r))
  6208  			ret = graphql.Null
  6209  		}
  6210  	}()
  6211  	resTmp := ec._fieldMiddleware(ctx, obj, func(rctx context.Context) (interface{}, error) {
  6212  		directive0 := func(rctx context.Context) (interface{}, error) {
  6213  			ctx = rctx // use context from middleware stack in children
  6214  			return obj.Text, nil
  6215  		}
  6216  		directive1 := func(ctx context.Context) (interface{}, error) {
  6217  			min, err := ec.unmarshalNInt2int(ctx, 0)
  6218  			if err != nil {
  6219  				return nil, err
  6220  			}
  6221  			max, err := ec.unmarshalOInt2ᚖint(ctx, 7)
  6222  			if err != nil {
  6223  				return nil, err
  6224  			}
  6225  			message, err := ec.unmarshalOString2ᚖstring(ctx, "not valid")
  6226  			if err != nil {
  6227  				return nil, err
  6228  			}
  6229  			if ec.directives.Length == nil {
  6230  				return nil, errors.New("directive length is not implemented")
  6231  			}
  6232  			return ec.directives.Length(ctx, obj, directive0, min, max, message)
  6233  		}
  6234  
  6235  		tmp, err := directive1(rctx)
  6236  		if err != nil {
  6237  			return nil, graphql.ErrorOnPath(ctx, err)
  6238  		}
  6239  		if tmp == nil {
  6240  			return nil, nil
  6241  		}
  6242  		if data, ok := tmp.(string); ok {
  6243  			return data, nil
  6244  		}
  6245  		return nil, fmt.Errorf(`unexpected type %T from directive, should be string`, tmp)
  6246  	})
  6247  
  6248  	if resTmp == nil {
  6249  		if !graphql.HasFieldError(ctx, fc) {
  6250  			ec.Errorf(ctx, "must not be null")
  6251  		}
  6252  		return graphql.Null
  6253  	}
  6254  	res := resTmp.(string)
  6255  	fc.Result = res
  6256  	return ec.marshalNString2string(ctx, field.Selections, res)
  6257  }
  6258  
  6259  func (ec *executionContext) fieldContext_ObjectDirectives_text(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
  6260  	fc = &graphql.FieldContext{
  6261  		Object:     "ObjectDirectives",
  6262  		Field:      field,
  6263  		IsMethod:   false,
  6264  		IsResolver: false,
  6265  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
  6266  			return nil, errors.New("field of type String does not have child fields")
  6267  		},
  6268  	}
  6269  	return fc, nil
  6270  }
  6271  
  6272  func (ec *executionContext) _ObjectDirectives_nullableText(ctx context.Context, field graphql.CollectedField, obj *ObjectDirectives) (ret graphql.Marshaler) {
  6273  	fc, err := ec.fieldContext_ObjectDirectives_nullableText(ctx, field)
  6274  	if err != nil {
  6275  		return graphql.Null
  6276  	}
  6277  	ctx = graphql.WithFieldContext(ctx, fc)
  6278  	defer func() {
  6279  		if r := recover(); r != nil {
  6280  			ec.Error(ctx, ec.Recover(ctx, r))
  6281  			ret = graphql.Null
  6282  		}
  6283  	}()
  6284  	resTmp := ec._fieldMiddleware(ctx, obj, func(rctx context.Context) (interface{}, error) {
  6285  		directive0 := func(rctx context.Context) (interface{}, error) {
  6286  			ctx = rctx // use context from middleware stack in children
  6287  			return obj.NullableText, nil
  6288  		}
  6289  		directive1 := func(ctx context.Context) (interface{}, error) {
  6290  			if ec.directives.ToNull == nil {
  6291  				return nil, errors.New("directive toNull is not implemented")
  6292  			}
  6293  			return ec.directives.ToNull(ctx, obj, directive0)
  6294  		}
  6295  
  6296  		tmp, err := directive1(rctx)
  6297  		if err != nil {
  6298  			return nil, graphql.ErrorOnPath(ctx, err)
  6299  		}
  6300  		if tmp == nil {
  6301  			return nil, nil
  6302  		}
  6303  		if data, ok := tmp.(*string); ok {
  6304  			return data, nil
  6305  		}
  6306  		return nil, fmt.Errorf(`unexpected type %T from directive, should be *string`, tmp)
  6307  	})
  6308  
  6309  	if resTmp == nil {
  6310  		return graphql.Null
  6311  	}
  6312  	res := resTmp.(*string)
  6313  	fc.Result = res
  6314  	return ec.marshalOString2ᚖstring(ctx, field.Selections, res)
  6315  }
  6316  
  6317  func (ec *executionContext) fieldContext_ObjectDirectives_nullableText(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
  6318  	fc = &graphql.FieldContext{
  6319  		Object:     "ObjectDirectives",
  6320  		Field:      field,
  6321  		IsMethod:   false,
  6322  		IsResolver: false,
  6323  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
  6324  			return nil, errors.New("field of type String does not have child fields")
  6325  		},
  6326  	}
  6327  	return fc, nil
  6328  }
  6329  
  6330  func (ec *executionContext) _ObjectDirectives_order(ctx context.Context, field graphql.CollectedField, obj *ObjectDirectives) (ret graphql.Marshaler) {
  6331  	fc, err := ec.fieldContext_ObjectDirectives_order(ctx, field)
  6332  	if err != nil {
  6333  		return graphql.Null
  6334  	}
  6335  	ctx = graphql.WithFieldContext(ctx, fc)
  6336  	defer func() {
  6337  		if r := recover(); r != nil {
  6338  			ec.Error(ctx, ec.Recover(ctx, r))
  6339  			ret = graphql.Null
  6340  		}
  6341  	}()
  6342  	resTmp := ec._fieldMiddleware(ctx, obj, func(rctx context.Context) (interface{}, error) {
  6343  		ctx = rctx // use context from middleware stack in children
  6344  		return obj.Order, nil
  6345  	})
  6346  
  6347  	if resTmp == nil {
  6348  		if !graphql.HasFieldError(ctx, fc) {
  6349  			ec.Errorf(ctx, "must not be null")
  6350  		}
  6351  		return graphql.Null
  6352  	}
  6353  	res := resTmp.([]string)
  6354  	fc.Result = res
  6355  	return ec.marshalNString2ᚕstringᚄ(ctx, field.Selections, res)
  6356  }
  6357  
  6358  func (ec *executionContext) fieldContext_ObjectDirectives_order(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
  6359  	fc = &graphql.FieldContext{
  6360  		Object:     "ObjectDirectives",
  6361  		Field:      field,
  6362  		IsMethod:   false,
  6363  		IsResolver: false,
  6364  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
  6365  			return nil, errors.New("field of type String does not have child fields")
  6366  		},
  6367  	}
  6368  	return fc, nil
  6369  }
  6370  
  6371  func (ec *executionContext) _ObjectDirectivesWithCustomGoModel_nullableText(ctx context.Context, field graphql.CollectedField, obj *ObjectDirectivesWithCustomGoModel) (ret graphql.Marshaler) {
  6372  	fc, err := ec.fieldContext_ObjectDirectivesWithCustomGoModel_nullableText(ctx, field)
  6373  	if err != nil {
  6374  		return graphql.Null
  6375  	}
  6376  	ctx = graphql.WithFieldContext(ctx, fc)
  6377  	defer func() {
  6378  		if r := recover(); r != nil {
  6379  			ec.Error(ctx, ec.Recover(ctx, r))
  6380  			ret = graphql.Null
  6381  		}
  6382  	}()
  6383  	resTmp := ec._fieldMiddleware(ctx, obj, func(rctx context.Context) (interface{}, error) {
  6384  		directive0 := func(rctx context.Context) (interface{}, error) {
  6385  			ctx = rctx // use context from middleware stack in children
  6386  			return obj.NullableText, nil
  6387  		}
  6388  		directive1 := func(ctx context.Context) (interface{}, error) {
  6389  			if ec.directives.ToNull == nil {
  6390  				return nil, errors.New("directive toNull is not implemented")
  6391  			}
  6392  			return ec.directives.ToNull(ctx, obj, directive0)
  6393  		}
  6394  
  6395  		tmp, err := directive1(rctx)
  6396  		if err != nil {
  6397  			return nil, graphql.ErrorOnPath(ctx, err)
  6398  		}
  6399  		if tmp == nil {
  6400  			return nil, nil
  6401  		}
  6402  		if data, ok := tmp.(string); ok {
  6403  			return data, nil
  6404  		}
  6405  		return nil, fmt.Errorf(`unexpected type %T from directive, should be string`, tmp)
  6406  	})
  6407  
  6408  	if resTmp == nil {
  6409  		return graphql.Null
  6410  	}
  6411  	res := resTmp.(string)
  6412  	fc.Result = res
  6413  	return ec.marshalOString2string(ctx, field.Selections, res)
  6414  }
  6415  
  6416  func (ec *executionContext) fieldContext_ObjectDirectivesWithCustomGoModel_nullableText(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
  6417  	fc = &graphql.FieldContext{
  6418  		Object:     "ObjectDirectivesWithCustomGoModel",
  6419  		Field:      field,
  6420  		IsMethod:   false,
  6421  		IsResolver: false,
  6422  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
  6423  			return nil, errors.New("field of type String does not have child fields")
  6424  		},
  6425  	}
  6426  	return fc, nil
  6427  }
  6428  
  6429  func (ec *executionContext) _OuterObject_inner(ctx context.Context, field graphql.CollectedField, obj *OuterObject) (ret graphql.Marshaler) {
  6430  	fc, err := ec.fieldContext_OuterObject_inner(ctx, field)
  6431  	if err != nil {
  6432  		return graphql.Null
  6433  	}
  6434  	ctx = graphql.WithFieldContext(ctx, fc)
  6435  	defer func() {
  6436  		if r := recover(); r != nil {
  6437  			ec.Error(ctx, ec.Recover(ctx, r))
  6438  			ret = graphql.Null
  6439  		}
  6440  	}()
  6441  	resTmp := ec._fieldMiddleware(ctx, obj, func(rctx context.Context) (interface{}, error) {
  6442  		ctx = rctx // use context from middleware stack in children
  6443  		return obj.Inner, nil
  6444  	})
  6445  
  6446  	if resTmp == nil {
  6447  		if !graphql.HasFieldError(ctx, fc) {
  6448  			ec.Errorf(ctx, "must not be null")
  6449  		}
  6450  		return graphql.Null
  6451  	}
  6452  	res := resTmp.(*InnerObject)
  6453  	fc.Result = res
  6454  	return ec.marshalNInnerObject2ᚖgithubᚗcomᚋ99designsᚋgqlgenᚋcodegenᚋtestserverᚋsinglefileᚐInnerObject(ctx, field.Selections, res)
  6455  }
  6456  
  6457  func (ec *executionContext) fieldContext_OuterObject_inner(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
  6458  	fc = &graphql.FieldContext{
  6459  		Object:     "OuterObject",
  6460  		Field:      field,
  6461  		IsMethod:   false,
  6462  		IsResolver: false,
  6463  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
  6464  			switch field.Name {
  6465  			case "id":
  6466  				return ec.fieldContext_InnerObject_id(ctx, field)
  6467  			}
  6468  			return nil, fmt.Errorf("no field named %q was found under type InnerObject", field.Name)
  6469  		},
  6470  	}
  6471  	return fc, nil
  6472  }
  6473  
  6474  func (ec *executionContext) _OverlappingFields_oneFoo(ctx context.Context, field graphql.CollectedField, obj *OverlappingFields) (ret graphql.Marshaler) {
  6475  	fc, err := ec.fieldContext_OverlappingFields_oneFoo(ctx, field)
  6476  	if err != nil {
  6477  		return graphql.Null
  6478  	}
  6479  	ctx = graphql.WithFieldContext(ctx, fc)
  6480  	defer func() {
  6481  		if r := recover(); r != nil {
  6482  			ec.Error(ctx, ec.Recover(ctx, r))
  6483  			ret = graphql.Null
  6484  		}
  6485  	}()
  6486  	resTmp := ec._fieldMiddleware(ctx, obj, func(rctx context.Context) (interface{}, error) {
  6487  		ctx = rctx // use context from middleware stack in children
  6488  		return obj.Foo, nil
  6489  	})
  6490  
  6491  	if resTmp == nil {
  6492  		if !graphql.HasFieldError(ctx, fc) {
  6493  			ec.Errorf(ctx, "must not be null")
  6494  		}
  6495  		return graphql.Null
  6496  	}
  6497  	res := resTmp.(int)
  6498  	fc.Result = res
  6499  	return ec.marshalNInt2int(ctx, field.Selections, res)
  6500  }
  6501  
  6502  func (ec *executionContext) fieldContext_OverlappingFields_oneFoo(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
  6503  	fc = &graphql.FieldContext{
  6504  		Object:     "OverlappingFields",
  6505  		Field:      field,
  6506  		IsMethod:   false,
  6507  		IsResolver: false,
  6508  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
  6509  			return nil, errors.New("field of type Int does not have child fields")
  6510  		},
  6511  	}
  6512  	return fc, nil
  6513  }
  6514  
  6515  func (ec *executionContext) _OverlappingFields_twoFoo(ctx context.Context, field graphql.CollectedField, obj *OverlappingFields) (ret graphql.Marshaler) {
  6516  	fc, err := ec.fieldContext_OverlappingFields_twoFoo(ctx, field)
  6517  	if err != nil {
  6518  		return graphql.Null
  6519  	}
  6520  	ctx = graphql.WithFieldContext(ctx, fc)
  6521  	defer func() {
  6522  		if r := recover(); r != nil {
  6523  			ec.Error(ctx, ec.Recover(ctx, r))
  6524  			ret = graphql.Null
  6525  		}
  6526  	}()
  6527  	resTmp := ec._fieldMiddleware(ctx, obj, func(rctx context.Context) (interface{}, error) {
  6528  		ctx = rctx // use context from middleware stack in children
  6529  		return obj.Foo, nil
  6530  	})
  6531  
  6532  	if resTmp == nil {
  6533  		if !graphql.HasFieldError(ctx, fc) {
  6534  			ec.Errorf(ctx, "must not be null")
  6535  		}
  6536  		return graphql.Null
  6537  	}
  6538  	res := resTmp.(int)
  6539  	fc.Result = res
  6540  	return ec.marshalNInt2int(ctx, field.Selections, res)
  6541  }
  6542  
  6543  func (ec *executionContext) fieldContext_OverlappingFields_twoFoo(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
  6544  	fc = &graphql.FieldContext{
  6545  		Object:     "OverlappingFields",
  6546  		Field:      field,
  6547  		IsMethod:   false,
  6548  		IsResolver: false,
  6549  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
  6550  			return nil, errors.New("field of type Int does not have child fields")
  6551  		},
  6552  	}
  6553  	return fc, nil
  6554  }
  6555  
  6556  func (ec *executionContext) _OverlappingFields_oldFoo(ctx context.Context, field graphql.CollectedField, obj *OverlappingFields) (ret graphql.Marshaler) {
  6557  	fc, err := ec.fieldContext_OverlappingFields_oldFoo(ctx, field)
  6558  	if err != nil {
  6559  		return graphql.Null
  6560  	}
  6561  	ctx = graphql.WithFieldContext(ctx, fc)
  6562  	defer func() {
  6563  		if r := recover(); r != nil {
  6564  			ec.Error(ctx, ec.Recover(ctx, r))
  6565  			ret = graphql.Null
  6566  		}
  6567  	}()
  6568  	resTmp := ec._fieldMiddleware(ctx, obj, func(rctx context.Context) (interface{}, error) {
  6569  		ctx = rctx // use context from middleware stack in children
  6570  		return ec.resolvers.OverlappingFields().OldFoo(rctx, obj)
  6571  	})
  6572  
  6573  	if resTmp == nil {
  6574  		if !graphql.HasFieldError(ctx, fc) {
  6575  			ec.Errorf(ctx, "must not be null")
  6576  		}
  6577  		return graphql.Null
  6578  	}
  6579  	res := resTmp.(int)
  6580  	fc.Result = res
  6581  	return ec.marshalNInt2int(ctx, field.Selections, res)
  6582  }
  6583  
  6584  func (ec *executionContext) fieldContext_OverlappingFields_oldFoo(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
  6585  	fc = &graphql.FieldContext{
  6586  		Object:     "OverlappingFields",
  6587  		Field:      field,
  6588  		IsMethod:   true,
  6589  		IsResolver: true,
  6590  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
  6591  			return nil, errors.New("field of type Int does not have child fields")
  6592  		},
  6593  	}
  6594  	return fc, nil
  6595  }
  6596  
  6597  func (ec *executionContext) _OverlappingFields_newFoo(ctx context.Context, field graphql.CollectedField, obj *OverlappingFields) (ret graphql.Marshaler) {
  6598  	fc, err := ec.fieldContext_OverlappingFields_newFoo(ctx, field)
  6599  	if err != nil {
  6600  		return graphql.Null
  6601  	}
  6602  	ctx = graphql.WithFieldContext(ctx, fc)
  6603  	defer func() {
  6604  		if r := recover(); r != nil {
  6605  			ec.Error(ctx, ec.Recover(ctx, r))
  6606  			ret = graphql.Null
  6607  		}
  6608  	}()
  6609  	resTmp := ec._fieldMiddleware(ctx, obj, func(rctx context.Context) (interface{}, error) {
  6610  		ctx = rctx // use context from middleware stack in children
  6611  		return obj.NewFoo, nil
  6612  	})
  6613  
  6614  	if resTmp == nil {
  6615  		if !graphql.HasFieldError(ctx, fc) {
  6616  			ec.Errorf(ctx, "must not be null")
  6617  		}
  6618  		return graphql.Null
  6619  	}
  6620  	res := resTmp.(int)
  6621  	fc.Result = res
  6622  	return ec.marshalNInt2int(ctx, field.Selections, res)
  6623  }
  6624  
  6625  func (ec *executionContext) fieldContext_OverlappingFields_newFoo(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
  6626  	fc = &graphql.FieldContext{
  6627  		Object:     "OverlappingFields",
  6628  		Field:      field,
  6629  		IsMethod:   false,
  6630  		IsResolver: false,
  6631  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
  6632  			return nil, errors.New("field of type Int does not have child fields")
  6633  		},
  6634  	}
  6635  	return fc, nil
  6636  }
  6637  
  6638  func (ec *executionContext) _OverlappingFields_new_foo(ctx context.Context, field graphql.CollectedField, obj *OverlappingFields) (ret graphql.Marshaler) {
  6639  	fc, err := ec.fieldContext_OverlappingFields_new_foo(ctx, field)
  6640  	if err != nil {
  6641  		return graphql.Null
  6642  	}
  6643  	ctx = graphql.WithFieldContext(ctx, fc)
  6644  	defer func() {
  6645  		if r := recover(); r != nil {
  6646  			ec.Error(ctx, ec.Recover(ctx, r))
  6647  			ret = graphql.Null
  6648  		}
  6649  	}()
  6650  	resTmp := ec._fieldMiddleware(ctx, obj, func(rctx context.Context) (interface{}, error) {
  6651  		ctx = rctx // use context from middleware stack in children
  6652  		return obj.NewFoo, nil
  6653  	})
  6654  
  6655  	if resTmp == nil {
  6656  		if !graphql.HasFieldError(ctx, fc) {
  6657  			ec.Errorf(ctx, "must not be null")
  6658  		}
  6659  		return graphql.Null
  6660  	}
  6661  	res := resTmp.(int)
  6662  	fc.Result = res
  6663  	return ec.marshalNInt2int(ctx, field.Selections, res)
  6664  }
  6665  
  6666  func (ec *executionContext) fieldContext_OverlappingFields_new_foo(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
  6667  	fc = &graphql.FieldContext{
  6668  		Object:     "OverlappingFields",
  6669  		Field:      field,
  6670  		IsMethod:   false,
  6671  		IsResolver: false,
  6672  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
  6673  			return nil, errors.New("field of type Int does not have child fields")
  6674  		},
  6675  	}
  6676  	return fc, nil
  6677  }
  6678  
  6679  func (ec *executionContext) _Panics_fieldScalarMarshal(ctx context.Context, field graphql.CollectedField, obj *Panics) (ret graphql.Marshaler) {
  6680  	fc, err := ec.fieldContext_Panics_fieldScalarMarshal(ctx, field)
  6681  	if err != nil {
  6682  		return graphql.Null
  6683  	}
  6684  	ctx = graphql.WithFieldContext(ctx, fc)
  6685  	defer func() {
  6686  		if r := recover(); r != nil {
  6687  			ec.Error(ctx, ec.Recover(ctx, r))
  6688  			ret = graphql.Null
  6689  		}
  6690  	}()
  6691  	resTmp := ec._fieldMiddleware(ctx, obj, func(rctx context.Context) (interface{}, error) {
  6692  		ctx = rctx // use context from middleware stack in children
  6693  		return ec.resolvers.Panics().FieldScalarMarshal(rctx, obj)
  6694  	})
  6695  
  6696  	if resTmp == nil {
  6697  		if !graphql.HasFieldError(ctx, fc) {
  6698  			ec.Errorf(ctx, "must not be null")
  6699  		}
  6700  		return graphql.Null
  6701  	}
  6702  	res := resTmp.([]MarshalPanic)
  6703  	fc.Result = res
  6704  	return ec.marshalNMarshalPanic2ᚕgithubᚗcomᚋ99designsᚋgqlgenᚋcodegenᚋtestserverᚋsinglefileᚐMarshalPanicᚄ(ctx, field.Selections, res)
  6705  }
  6706  
  6707  func (ec *executionContext) fieldContext_Panics_fieldScalarMarshal(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
  6708  	fc = &graphql.FieldContext{
  6709  		Object:     "Panics",
  6710  		Field:      field,
  6711  		IsMethod:   true,
  6712  		IsResolver: true,
  6713  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
  6714  			return nil, errors.New("field of type MarshalPanic does not have child fields")
  6715  		},
  6716  	}
  6717  	return fc, nil
  6718  }
  6719  
  6720  func (ec *executionContext) _Panics_fieldFuncMarshal(ctx context.Context, field graphql.CollectedField, obj *Panics) (ret graphql.Marshaler) {
  6721  	fc, err := ec.fieldContext_Panics_fieldFuncMarshal(ctx, field)
  6722  	if err != nil {
  6723  		return graphql.Null
  6724  	}
  6725  	ctx = graphql.WithFieldContext(ctx, fc)
  6726  	defer func() {
  6727  		if r := recover(); r != nil {
  6728  			ec.Error(ctx, ec.Recover(ctx, r))
  6729  			ret = graphql.Null
  6730  		}
  6731  	}()
  6732  	resTmp := ec._fieldMiddleware(ctx, obj, func(rctx context.Context) (interface{}, error) {
  6733  		ctx = rctx // use context from middleware stack in children
  6734  		return obj.FieldFuncMarshal(ctx, fc.Args["u"].([]MarshalPanic)), nil
  6735  	})
  6736  
  6737  	if resTmp == nil {
  6738  		if !graphql.HasFieldError(ctx, fc) {
  6739  			ec.Errorf(ctx, "must not be null")
  6740  		}
  6741  		return graphql.Null
  6742  	}
  6743  	res := resTmp.([]MarshalPanic)
  6744  	fc.Result = res
  6745  	return ec.marshalNMarshalPanic2ᚕgithubᚗcomᚋ99designsᚋgqlgenᚋcodegenᚋtestserverᚋsinglefileᚐMarshalPanicᚄ(ctx, field.Selections, res)
  6746  }
  6747  
  6748  func (ec *executionContext) fieldContext_Panics_fieldFuncMarshal(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
  6749  	fc = &graphql.FieldContext{
  6750  		Object:     "Panics",
  6751  		Field:      field,
  6752  		IsMethod:   true,
  6753  		IsResolver: false,
  6754  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
  6755  			return nil, errors.New("field of type MarshalPanic does not have child fields")
  6756  		},
  6757  	}
  6758  	defer func() {
  6759  		if r := recover(); r != nil {
  6760  			err = ec.Recover(ctx, r)
  6761  			ec.Error(ctx, err)
  6762  		}
  6763  	}()
  6764  	ctx = graphql.WithFieldContext(ctx, fc)
  6765  	if fc.Args, err = ec.field_Panics_fieldFuncMarshal_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
  6766  		ec.Error(ctx, err)
  6767  		return
  6768  	}
  6769  	return fc, nil
  6770  }
  6771  
  6772  func (ec *executionContext) _Panics_argUnmarshal(ctx context.Context, field graphql.CollectedField, obj *Panics) (ret graphql.Marshaler) {
  6773  	fc, err := ec.fieldContext_Panics_argUnmarshal(ctx, field)
  6774  	if err != nil {
  6775  		return graphql.Null
  6776  	}
  6777  	ctx = graphql.WithFieldContext(ctx, fc)
  6778  	defer func() {
  6779  		if r := recover(); r != nil {
  6780  			ec.Error(ctx, ec.Recover(ctx, r))
  6781  			ret = graphql.Null
  6782  		}
  6783  	}()
  6784  	resTmp := ec._fieldMiddleware(ctx, obj, func(rctx context.Context) (interface{}, error) {
  6785  		ctx = rctx // use context from middleware stack in children
  6786  		return ec.resolvers.Panics().ArgUnmarshal(rctx, obj, fc.Args["u"].([]MarshalPanic))
  6787  	})
  6788  
  6789  	if resTmp == nil {
  6790  		if !graphql.HasFieldError(ctx, fc) {
  6791  			ec.Errorf(ctx, "must not be null")
  6792  		}
  6793  		return graphql.Null
  6794  	}
  6795  	res := resTmp.(bool)
  6796  	fc.Result = res
  6797  	return ec.marshalNBoolean2bool(ctx, field.Selections, res)
  6798  }
  6799  
  6800  func (ec *executionContext) fieldContext_Panics_argUnmarshal(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
  6801  	fc = &graphql.FieldContext{
  6802  		Object:     "Panics",
  6803  		Field:      field,
  6804  		IsMethod:   true,
  6805  		IsResolver: true,
  6806  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
  6807  			return nil, errors.New("field of type Boolean does not have child fields")
  6808  		},
  6809  	}
  6810  	defer func() {
  6811  		if r := recover(); r != nil {
  6812  			err = ec.Recover(ctx, r)
  6813  			ec.Error(ctx, err)
  6814  		}
  6815  	}()
  6816  	ctx = graphql.WithFieldContext(ctx, fc)
  6817  	if fc.Args, err = ec.field_Panics_argUnmarshal_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
  6818  		ec.Error(ctx, err)
  6819  		return
  6820  	}
  6821  	return fc, nil
  6822  }
  6823  
  6824  func (ec *executionContext) _Pet_id(ctx context.Context, field graphql.CollectedField, obj *Pet) (ret graphql.Marshaler) {
  6825  	fc, err := ec.fieldContext_Pet_id(ctx, field)
  6826  	if err != nil {
  6827  		return graphql.Null
  6828  	}
  6829  	ctx = graphql.WithFieldContext(ctx, fc)
  6830  	defer func() {
  6831  		if r := recover(); r != nil {
  6832  			ec.Error(ctx, ec.Recover(ctx, r))
  6833  			ret = graphql.Null
  6834  		}
  6835  	}()
  6836  	resTmp := ec._fieldMiddleware(ctx, obj, func(rctx context.Context) (interface{}, error) {
  6837  		ctx = rctx // use context from middleware stack in children
  6838  		return obj.ID, nil
  6839  	})
  6840  
  6841  	if resTmp == nil {
  6842  		if !graphql.HasFieldError(ctx, fc) {
  6843  			ec.Errorf(ctx, "must not be null")
  6844  		}
  6845  		return graphql.Null
  6846  	}
  6847  	res := resTmp.(int)
  6848  	fc.Result = res
  6849  	return ec.marshalNInt2int(ctx, field.Selections, res)
  6850  }
  6851  
  6852  func (ec *executionContext) fieldContext_Pet_id(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
  6853  	fc = &graphql.FieldContext{
  6854  		Object:     "Pet",
  6855  		Field:      field,
  6856  		IsMethod:   false,
  6857  		IsResolver: false,
  6858  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
  6859  			return nil, errors.New("field of type Int does not have child fields")
  6860  		},
  6861  	}
  6862  	return fc, nil
  6863  }
  6864  
  6865  func (ec *executionContext) _Pet_friends(ctx context.Context, field graphql.CollectedField, obj *Pet) (ret graphql.Marshaler) {
  6866  	fc, err := ec.fieldContext_Pet_friends(ctx, field)
  6867  	if err != nil {
  6868  		return graphql.Null
  6869  	}
  6870  	ctx = graphql.WithFieldContext(ctx, fc)
  6871  	defer func() {
  6872  		if r := recover(); r != nil {
  6873  			ec.Error(ctx, ec.Recover(ctx, r))
  6874  			ret = graphql.Null
  6875  		}
  6876  	}()
  6877  	resTmp := ec._fieldMiddleware(ctx, obj, func(rctx context.Context) (interface{}, error) {
  6878  		ctx = rctx // use context from middleware stack in children
  6879  		return ec.resolvers.Pet().Friends(rctx, obj, fc.Args["limit"].(*int))
  6880  	})
  6881  
  6882  	if resTmp == nil {
  6883  		return graphql.Null
  6884  	}
  6885  	res := resTmp.([]*Pet)
  6886  	fc.Result = res
  6887  	return ec.marshalOPet2ᚕᚖgithubᚗcomᚋ99designsᚋgqlgenᚋcodegenᚋtestserverᚋsinglefileᚐPetᚄ(ctx, field.Selections, res)
  6888  }
  6889  
  6890  func (ec *executionContext) fieldContext_Pet_friends(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
  6891  	fc = &graphql.FieldContext{
  6892  		Object:     "Pet",
  6893  		Field:      field,
  6894  		IsMethod:   true,
  6895  		IsResolver: true,
  6896  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
  6897  			switch field.Name {
  6898  			case "id":
  6899  				return ec.fieldContext_Pet_id(ctx, field)
  6900  			case "friends":
  6901  				return ec.fieldContext_Pet_friends(ctx, field)
  6902  			}
  6903  			return nil, fmt.Errorf("no field named %q was found under type Pet", field.Name)
  6904  		},
  6905  	}
  6906  	defer func() {
  6907  		if r := recover(); r != nil {
  6908  			err = ec.Recover(ctx, r)
  6909  			ec.Error(ctx, err)
  6910  		}
  6911  	}()
  6912  	ctx = graphql.WithFieldContext(ctx, fc)
  6913  	if fc.Args, err = ec.field_Pet_friends_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
  6914  		ec.Error(ctx, err)
  6915  		return
  6916  	}
  6917  	return fc, nil
  6918  }
  6919  
  6920  func (ec *executionContext) _Primitive_value(ctx context.Context, field graphql.CollectedField, obj *Primitive) (ret graphql.Marshaler) {
  6921  	fc, err := ec.fieldContext_Primitive_value(ctx, field)
  6922  	if err != nil {
  6923  		return graphql.Null
  6924  	}
  6925  	ctx = graphql.WithFieldContext(ctx, fc)
  6926  	defer func() {
  6927  		if r := recover(); r != nil {
  6928  			ec.Error(ctx, ec.Recover(ctx, r))
  6929  			ret = graphql.Null
  6930  		}
  6931  	}()
  6932  	resTmp := ec._fieldMiddleware(ctx, obj, func(rctx context.Context) (interface{}, error) {
  6933  		ctx = rctx // use context from middleware stack in children
  6934  		return ec.resolvers.Primitive().Value(rctx, obj)
  6935  	})
  6936  
  6937  	if resTmp == nil {
  6938  		if !graphql.HasFieldError(ctx, fc) {
  6939  			ec.Errorf(ctx, "must not be null")
  6940  		}
  6941  		return graphql.Null
  6942  	}
  6943  	res := resTmp.(int)
  6944  	fc.Result = res
  6945  	return ec.marshalNInt2int(ctx, field.Selections, res)
  6946  }
  6947  
  6948  func (ec *executionContext) fieldContext_Primitive_value(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
  6949  	fc = &graphql.FieldContext{
  6950  		Object:     "Primitive",
  6951  		Field:      field,
  6952  		IsMethod:   true,
  6953  		IsResolver: true,
  6954  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
  6955  			return nil, errors.New("field of type Int does not have child fields")
  6956  		},
  6957  	}
  6958  	return fc, nil
  6959  }
  6960  
  6961  func (ec *executionContext) _Primitive_squared(ctx context.Context, field graphql.CollectedField, obj *Primitive) (ret graphql.Marshaler) {
  6962  	fc, err := ec.fieldContext_Primitive_squared(ctx, field)
  6963  	if err != nil {
  6964  		return graphql.Null
  6965  	}
  6966  	ctx = graphql.WithFieldContext(ctx, fc)
  6967  	defer func() {
  6968  		if r := recover(); r != nil {
  6969  			ec.Error(ctx, ec.Recover(ctx, r))
  6970  			ret = graphql.Null
  6971  		}
  6972  	}()
  6973  	resTmp := ec._fieldMiddleware(ctx, obj, func(rctx context.Context) (interface{}, error) {
  6974  		ctx = rctx // use context from middleware stack in children
  6975  		return obj.Squared(), nil
  6976  	})
  6977  
  6978  	if resTmp == nil {
  6979  		if !graphql.HasFieldError(ctx, fc) {
  6980  			ec.Errorf(ctx, "must not be null")
  6981  		}
  6982  		return graphql.Null
  6983  	}
  6984  	res := resTmp.(int)
  6985  	fc.Result = res
  6986  	return ec.marshalNInt2int(ctx, field.Selections, res)
  6987  }
  6988  
  6989  func (ec *executionContext) fieldContext_Primitive_squared(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
  6990  	fc = &graphql.FieldContext{
  6991  		Object:     "Primitive",
  6992  		Field:      field,
  6993  		IsMethod:   true,
  6994  		IsResolver: false,
  6995  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
  6996  			return nil, errors.New("field of type Int does not have child fields")
  6997  		},
  6998  	}
  6999  	return fc, nil
  7000  }
  7001  
  7002  func (ec *executionContext) _PrimitiveString_value(ctx context.Context, field graphql.CollectedField, obj *PrimitiveString) (ret graphql.Marshaler) {
  7003  	fc, err := ec.fieldContext_PrimitiveString_value(ctx, field)
  7004  	if err != nil {
  7005  		return graphql.Null
  7006  	}
  7007  	ctx = graphql.WithFieldContext(ctx, fc)
  7008  	defer func() {
  7009  		if r := recover(); r != nil {
  7010  			ec.Error(ctx, ec.Recover(ctx, r))
  7011  			ret = graphql.Null
  7012  		}
  7013  	}()
  7014  	resTmp := ec._fieldMiddleware(ctx, obj, func(rctx context.Context) (interface{}, error) {
  7015  		ctx = rctx // use context from middleware stack in children
  7016  		return ec.resolvers.PrimitiveString().Value(rctx, obj)
  7017  	})
  7018  
  7019  	if resTmp == nil {
  7020  		if !graphql.HasFieldError(ctx, fc) {
  7021  			ec.Errorf(ctx, "must not be null")
  7022  		}
  7023  		return graphql.Null
  7024  	}
  7025  	res := resTmp.(string)
  7026  	fc.Result = res
  7027  	return ec.marshalNString2string(ctx, field.Selections, res)
  7028  }
  7029  
  7030  func (ec *executionContext) fieldContext_PrimitiveString_value(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
  7031  	fc = &graphql.FieldContext{
  7032  		Object:     "PrimitiveString",
  7033  		Field:      field,
  7034  		IsMethod:   true,
  7035  		IsResolver: true,
  7036  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
  7037  			return nil, errors.New("field of type String does not have child fields")
  7038  		},
  7039  	}
  7040  	return fc, nil
  7041  }
  7042  
  7043  func (ec *executionContext) _PrimitiveString_doubled(ctx context.Context, field graphql.CollectedField, obj *PrimitiveString) (ret graphql.Marshaler) {
  7044  	fc, err := ec.fieldContext_PrimitiveString_doubled(ctx, field)
  7045  	if err != nil {
  7046  		return graphql.Null
  7047  	}
  7048  	ctx = graphql.WithFieldContext(ctx, fc)
  7049  	defer func() {
  7050  		if r := recover(); r != nil {
  7051  			ec.Error(ctx, ec.Recover(ctx, r))
  7052  			ret = graphql.Null
  7053  		}
  7054  	}()
  7055  	resTmp := ec._fieldMiddleware(ctx, obj, func(rctx context.Context) (interface{}, error) {
  7056  		ctx = rctx // use context from middleware stack in children
  7057  		return obj.Doubled(), nil
  7058  	})
  7059  
  7060  	if resTmp == nil {
  7061  		if !graphql.HasFieldError(ctx, fc) {
  7062  			ec.Errorf(ctx, "must not be null")
  7063  		}
  7064  		return graphql.Null
  7065  	}
  7066  	res := resTmp.(string)
  7067  	fc.Result = res
  7068  	return ec.marshalNString2string(ctx, field.Selections, res)
  7069  }
  7070  
  7071  func (ec *executionContext) fieldContext_PrimitiveString_doubled(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
  7072  	fc = &graphql.FieldContext{
  7073  		Object:     "PrimitiveString",
  7074  		Field:      field,
  7075  		IsMethod:   true,
  7076  		IsResolver: false,
  7077  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
  7078  			return nil, errors.New("field of type String does not have child fields")
  7079  		},
  7080  	}
  7081  	return fc, nil
  7082  }
  7083  
  7084  func (ec *executionContext) _PrimitiveString_len(ctx context.Context, field graphql.CollectedField, obj *PrimitiveString) (ret graphql.Marshaler) {
  7085  	fc, err := ec.fieldContext_PrimitiveString_len(ctx, field)
  7086  	if err != nil {
  7087  		return graphql.Null
  7088  	}
  7089  	ctx = graphql.WithFieldContext(ctx, fc)
  7090  	defer func() {
  7091  		if r := recover(); r != nil {
  7092  			ec.Error(ctx, ec.Recover(ctx, r))
  7093  			ret = graphql.Null
  7094  		}
  7095  	}()
  7096  	resTmp := ec._fieldMiddleware(ctx, obj, func(rctx context.Context) (interface{}, error) {
  7097  		ctx = rctx // use context from middleware stack in children
  7098  		return ec.resolvers.PrimitiveString().Len(rctx, obj)
  7099  	})
  7100  
  7101  	if resTmp == nil {
  7102  		if !graphql.HasFieldError(ctx, fc) {
  7103  			ec.Errorf(ctx, "must not be null")
  7104  		}
  7105  		return graphql.Null
  7106  	}
  7107  	res := resTmp.(int)
  7108  	fc.Result = res
  7109  	return ec.marshalNInt2int(ctx, field.Selections, res)
  7110  }
  7111  
  7112  func (ec *executionContext) fieldContext_PrimitiveString_len(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
  7113  	fc = &graphql.FieldContext{
  7114  		Object:     "PrimitiveString",
  7115  		Field:      field,
  7116  		IsMethod:   true,
  7117  		IsResolver: true,
  7118  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
  7119  			return nil, errors.New("field of type Int does not have child fields")
  7120  		},
  7121  	}
  7122  	return fc, nil
  7123  }
  7124  
  7125  func (ec *executionContext) _PtrToPtrInner_key(ctx context.Context, field graphql.CollectedField, obj *PtrToPtrInner) (ret graphql.Marshaler) {
  7126  	fc, err := ec.fieldContext_PtrToPtrInner_key(ctx, field)
  7127  	if err != nil {
  7128  		return graphql.Null
  7129  	}
  7130  	ctx = graphql.WithFieldContext(ctx, fc)
  7131  	defer func() {
  7132  		if r := recover(); r != nil {
  7133  			ec.Error(ctx, ec.Recover(ctx, r))
  7134  			ret = graphql.Null
  7135  		}
  7136  	}()
  7137  	resTmp := ec._fieldMiddleware(ctx, obj, func(rctx context.Context) (interface{}, error) {
  7138  		ctx = rctx // use context from middleware stack in children
  7139  		return obj.Key, nil
  7140  	})
  7141  
  7142  	if resTmp == nil {
  7143  		if !graphql.HasFieldError(ctx, fc) {
  7144  			ec.Errorf(ctx, "must not be null")
  7145  		}
  7146  		return graphql.Null
  7147  	}
  7148  	res := resTmp.(string)
  7149  	fc.Result = res
  7150  	return ec.marshalNString2string(ctx, field.Selections, res)
  7151  }
  7152  
  7153  func (ec *executionContext) fieldContext_PtrToPtrInner_key(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
  7154  	fc = &graphql.FieldContext{
  7155  		Object:     "PtrToPtrInner",
  7156  		Field:      field,
  7157  		IsMethod:   false,
  7158  		IsResolver: false,
  7159  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
  7160  			return nil, errors.New("field of type String does not have child fields")
  7161  		},
  7162  	}
  7163  	return fc, nil
  7164  }
  7165  
  7166  func (ec *executionContext) _PtrToPtrInner_value(ctx context.Context, field graphql.CollectedField, obj *PtrToPtrInner) (ret graphql.Marshaler) {
  7167  	fc, err := ec.fieldContext_PtrToPtrInner_value(ctx, field)
  7168  	if err != nil {
  7169  		return graphql.Null
  7170  	}
  7171  	ctx = graphql.WithFieldContext(ctx, fc)
  7172  	defer func() {
  7173  		if r := recover(); r != nil {
  7174  			ec.Error(ctx, ec.Recover(ctx, r))
  7175  			ret = graphql.Null
  7176  		}
  7177  	}()
  7178  	resTmp := ec._fieldMiddleware(ctx, obj, func(rctx context.Context) (interface{}, error) {
  7179  		ctx = rctx // use context from middleware stack in children
  7180  		return obj.Value, nil
  7181  	})
  7182  
  7183  	if resTmp == nil {
  7184  		if !graphql.HasFieldError(ctx, fc) {
  7185  			ec.Errorf(ctx, "must not be null")
  7186  		}
  7187  		return graphql.Null
  7188  	}
  7189  	res := resTmp.(string)
  7190  	fc.Result = res
  7191  	return ec.marshalNString2string(ctx, field.Selections, res)
  7192  }
  7193  
  7194  func (ec *executionContext) fieldContext_PtrToPtrInner_value(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
  7195  	fc = &graphql.FieldContext{
  7196  		Object:     "PtrToPtrInner",
  7197  		Field:      field,
  7198  		IsMethod:   false,
  7199  		IsResolver: false,
  7200  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
  7201  			return nil, errors.New("field of type String does not have child fields")
  7202  		},
  7203  	}
  7204  	return fc, nil
  7205  }
  7206  
  7207  func (ec *executionContext) _PtrToPtrOuter_name(ctx context.Context, field graphql.CollectedField, obj *PtrToPtrOuter) (ret graphql.Marshaler) {
  7208  	fc, err := ec.fieldContext_PtrToPtrOuter_name(ctx, field)
  7209  	if err != nil {
  7210  		return graphql.Null
  7211  	}
  7212  	ctx = graphql.WithFieldContext(ctx, fc)
  7213  	defer func() {
  7214  		if r := recover(); r != nil {
  7215  			ec.Error(ctx, ec.Recover(ctx, r))
  7216  			ret = graphql.Null
  7217  		}
  7218  	}()
  7219  	resTmp := ec._fieldMiddleware(ctx, obj, func(rctx context.Context) (interface{}, error) {
  7220  		ctx = rctx // use context from middleware stack in children
  7221  		return obj.Name, nil
  7222  	})
  7223  
  7224  	if resTmp == nil {
  7225  		if !graphql.HasFieldError(ctx, fc) {
  7226  			ec.Errorf(ctx, "must not be null")
  7227  		}
  7228  		return graphql.Null
  7229  	}
  7230  	res := resTmp.(string)
  7231  	fc.Result = res
  7232  	return ec.marshalNString2string(ctx, field.Selections, res)
  7233  }
  7234  
  7235  func (ec *executionContext) fieldContext_PtrToPtrOuter_name(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
  7236  	fc = &graphql.FieldContext{
  7237  		Object:     "PtrToPtrOuter",
  7238  		Field:      field,
  7239  		IsMethod:   false,
  7240  		IsResolver: false,
  7241  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
  7242  			return nil, errors.New("field of type String does not have child fields")
  7243  		},
  7244  	}
  7245  	return fc, nil
  7246  }
  7247  
  7248  func (ec *executionContext) _PtrToPtrOuter_inner(ctx context.Context, field graphql.CollectedField, obj *PtrToPtrOuter) (ret graphql.Marshaler) {
  7249  	fc, err := ec.fieldContext_PtrToPtrOuter_inner(ctx, field)
  7250  	if err != nil {
  7251  		return graphql.Null
  7252  	}
  7253  	ctx = graphql.WithFieldContext(ctx, fc)
  7254  	defer func() {
  7255  		if r := recover(); r != nil {
  7256  			ec.Error(ctx, ec.Recover(ctx, r))
  7257  			ret = graphql.Null
  7258  		}
  7259  	}()
  7260  	resTmp := ec._fieldMiddleware(ctx, obj, func(rctx context.Context) (interface{}, error) {
  7261  		ctx = rctx // use context from middleware stack in children
  7262  		return obj.Inner, nil
  7263  	})
  7264  
  7265  	if resTmp == nil {
  7266  		return graphql.Null
  7267  	}
  7268  	res := resTmp.(*PtrToPtrInner)
  7269  	fc.Result = res
  7270  	return ec.marshalOPtrToPtrInner2ᚖgithubᚗcomᚋ99designsᚋgqlgenᚋcodegenᚋtestserverᚋsinglefileᚐPtrToPtrInner(ctx, field.Selections, res)
  7271  }
  7272  
  7273  func (ec *executionContext) fieldContext_PtrToPtrOuter_inner(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
  7274  	fc = &graphql.FieldContext{
  7275  		Object:     "PtrToPtrOuter",
  7276  		Field:      field,
  7277  		IsMethod:   false,
  7278  		IsResolver: false,
  7279  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
  7280  			switch field.Name {
  7281  			case "key":
  7282  				return ec.fieldContext_PtrToPtrInner_key(ctx, field)
  7283  			case "value":
  7284  				return ec.fieldContext_PtrToPtrInner_value(ctx, field)
  7285  			}
  7286  			return nil, fmt.Errorf("no field named %q was found under type PtrToPtrInner", field.Name)
  7287  		},
  7288  	}
  7289  	return fc, nil
  7290  }
  7291  
  7292  func (ec *executionContext) _PtrToPtrOuter_stupidInner(ctx context.Context, field graphql.CollectedField, obj *PtrToPtrOuter) (ret graphql.Marshaler) {
  7293  	fc, err := ec.fieldContext_PtrToPtrOuter_stupidInner(ctx, field)
  7294  	if err != nil {
  7295  		return graphql.Null
  7296  	}
  7297  	ctx = graphql.WithFieldContext(ctx, fc)
  7298  	defer func() {
  7299  		if r := recover(); r != nil {
  7300  			ec.Error(ctx, ec.Recover(ctx, r))
  7301  			ret = graphql.Null
  7302  		}
  7303  	}()
  7304  	resTmp := ec._fieldMiddleware(ctx, obj, func(rctx context.Context) (interface{}, error) {
  7305  		ctx = rctx // use context from middleware stack in children
  7306  		return obj.StupidInner, nil
  7307  	})
  7308  
  7309  	if resTmp == nil {
  7310  		return graphql.Null
  7311  	}
  7312  	res := resTmp.(*******PtrToPtrInner)
  7313  	fc.Result = res
  7314  	return ec.marshalOPtrToPtrInner2ᚖᚖᚖᚖᚖᚖᚖgithubᚗcomᚋ99designsᚋgqlgenᚋcodegenᚋtestserverᚋsinglefileᚐPtrToPtrInner(ctx, field.Selections, res)
  7315  }
  7316  
  7317  func (ec *executionContext) fieldContext_PtrToPtrOuter_stupidInner(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
  7318  	fc = &graphql.FieldContext{
  7319  		Object:     "PtrToPtrOuter",
  7320  		Field:      field,
  7321  		IsMethod:   false,
  7322  		IsResolver: false,
  7323  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
  7324  			switch field.Name {
  7325  			case "key":
  7326  				return ec.fieldContext_PtrToPtrInner_key(ctx, field)
  7327  			case "value":
  7328  				return ec.fieldContext_PtrToPtrInner_value(ctx, field)
  7329  			}
  7330  			return nil, fmt.Errorf("no field named %q was found under type PtrToPtrInner", field.Name)
  7331  		},
  7332  	}
  7333  	return fc, nil
  7334  }
  7335  
  7336  func (ec *executionContext) _PtrToSliceContainer_ptrToSlice(ctx context.Context, field graphql.CollectedField, obj *PtrToSliceContainer) (ret graphql.Marshaler) {
  7337  	fc, err := ec.fieldContext_PtrToSliceContainer_ptrToSlice(ctx, field)
  7338  	if err != nil {
  7339  		return graphql.Null
  7340  	}
  7341  	ctx = graphql.WithFieldContext(ctx, fc)
  7342  	defer func() {
  7343  		if r := recover(); r != nil {
  7344  			ec.Error(ctx, ec.Recover(ctx, r))
  7345  			ret = graphql.Null
  7346  		}
  7347  	}()
  7348  	resTmp := ec._fieldMiddleware(ctx, obj, func(rctx context.Context) (interface{}, error) {
  7349  		ctx = rctx // use context from middleware stack in children
  7350  		return obj.PtrToSlice, nil
  7351  	})
  7352  
  7353  	if resTmp == nil {
  7354  		return graphql.Null
  7355  	}
  7356  	res := resTmp.(*[]string)
  7357  	fc.Result = res
  7358  	return ec.marshalOString2ᚖᚕstringᚄ(ctx, field.Selections, res)
  7359  }
  7360  
  7361  func (ec *executionContext) fieldContext_PtrToSliceContainer_ptrToSlice(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
  7362  	fc = &graphql.FieldContext{
  7363  		Object:     "PtrToSliceContainer",
  7364  		Field:      field,
  7365  		IsMethod:   false,
  7366  		IsResolver: false,
  7367  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
  7368  			return nil, errors.New("field of type String does not have child fields")
  7369  		},
  7370  	}
  7371  	return fc, nil
  7372  }
  7373  
  7374  func (ec *executionContext) _Query_invalidIdentifier(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) {
  7375  	fc, err := ec.fieldContext_Query_invalidIdentifier(ctx, field)
  7376  	if err != nil {
  7377  		return graphql.Null
  7378  	}
  7379  	ctx = graphql.WithFieldContext(ctx, fc)
  7380  	defer func() {
  7381  		if r := recover(); r != nil {
  7382  			ec.Error(ctx, ec.Recover(ctx, r))
  7383  			ret = graphql.Null
  7384  		}
  7385  	}()
  7386  	resTmp := ec._fieldMiddleware(ctx, nil, func(rctx context.Context) (interface{}, error) {
  7387  		ctx = rctx // use context from middleware stack in children
  7388  		return ec.resolvers.Query().InvalidIdentifier(rctx)
  7389  	})
  7390  
  7391  	if resTmp == nil {
  7392  		return graphql.Null
  7393  	}
  7394  	res := resTmp.(*invalid_packagename.InvalidIdentifier)
  7395  	fc.Result = res
  7396  	return ec.marshalOInvalidIdentifier2ᚖgithubᚗcomᚋ99designsᚋgqlgenᚋcodegenᚋtestserverᚋsinglefileᚋinvalidᚑpackagenameᚐInvalidIdentifier(ctx, field.Selections, res)
  7397  }
  7398  
  7399  func (ec *executionContext) fieldContext_Query_invalidIdentifier(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
  7400  	fc = &graphql.FieldContext{
  7401  		Object:     "Query",
  7402  		Field:      field,
  7403  		IsMethod:   true,
  7404  		IsResolver: true,
  7405  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
  7406  			switch field.Name {
  7407  			case "id":
  7408  				return ec.fieldContext_InvalidIdentifier_id(ctx, field)
  7409  			}
  7410  			return nil, fmt.Errorf("no field named %q was found under type InvalidIdentifier", field.Name)
  7411  		},
  7412  	}
  7413  	return fc, nil
  7414  }
  7415  
  7416  func (ec *executionContext) _Query_collision(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) {
  7417  	fc, err := ec.fieldContext_Query_collision(ctx, field)
  7418  	if err != nil {
  7419  		return graphql.Null
  7420  	}
  7421  	ctx = graphql.WithFieldContext(ctx, fc)
  7422  	defer func() {
  7423  		if r := recover(); r != nil {
  7424  			ec.Error(ctx, ec.Recover(ctx, r))
  7425  			ret = graphql.Null
  7426  		}
  7427  	}()
  7428  	resTmp := ec._fieldMiddleware(ctx, nil, func(rctx context.Context) (interface{}, error) {
  7429  		ctx = rctx // use context from middleware stack in children
  7430  		return ec.resolvers.Query().Collision(rctx)
  7431  	})
  7432  
  7433  	if resTmp == nil {
  7434  		return graphql.Null
  7435  	}
  7436  	res := resTmp.(*introspection1.It)
  7437  	fc.Result = res
  7438  	return ec.marshalOIt2ᚖgithubᚗcomᚋ99designsᚋgqlgenᚋcodegenᚋtestserverᚋsinglefileᚋintrospectionᚐIt(ctx, field.Selections, res)
  7439  }
  7440  
  7441  func (ec *executionContext) fieldContext_Query_collision(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
  7442  	fc = &graphql.FieldContext{
  7443  		Object:     "Query",
  7444  		Field:      field,
  7445  		IsMethod:   true,
  7446  		IsResolver: true,
  7447  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
  7448  			switch field.Name {
  7449  			case "id":
  7450  				return ec.fieldContext_It_id(ctx, field)
  7451  			}
  7452  			return nil, fmt.Errorf("no field named %q was found under type It", field.Name)
  7453  		},
  7454  	}
  7455  	return fc, nil
  7456  }
  7457  
  7458  func (ec *executionContext) _Query_mapInput(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) {
  7459  	fc, err := ec.fieldContext_Query_mapInput(ctx, field)
  7460  	if err != nil {
  7461  		return graphql.Null
  7462  	}
  7463  	ctx = graphql.WithFieldContext(ctx, fc)
  7464  	defer func() {
  7465  		if r := recover(); r != nil {
  7466  			ec.Error(ctx, ec.Recover(ctx, r))
  7467  			ret = graphql.Null
  7468  		}
  7469  	}()
  7470  	resTmp := ec._fieldMiddleware(ctx, nil, func(rctx context.Context) (interface{}, error) {
  7471  		ctx = rctx // use context from middleware stack in children
  7472  		return ec.resolvers.Query().MapInput(rctx, fc.Args["input"].(map[string]interface{}))
  7473  	})
  7474  
  7475  	if resTmp == nil {
  7476  		return graphql.Null
  7477  	}
  7478  	res := resTmp.(*bool)
  7479  	fc.Result = res
  7480  	return ec.marshalOBoolean2ᚖbool(ctx, field.Selections, res)
  7481  }
  7482  
  7483  func (ec *executionContext) fieldContext_Query_mapInput(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
  7484  	fc = &graphql.FieldContext{
  7485  		Object:     "Query",
  7486  		Field:      field,
  7487  		IsMethod:   true,
  7488  		IsResolver: true,
  7489  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
  7490  			return nil, errors.New("field of type Boolean does not have child fields")
  7491  		},
  7492  	}
  7493  	defer func() {
  7494  		if r := recover(); r != nil {
  7495  			err = ec.Recover(ctx, r)
  7496  			ec.Error(ctx, err)
  7497  		}
  7498  	}()
  7499  	ctx = graphql.WithFieldContext(ctx, fc)
  7500  	if fc.Args, err = ec.field_Query_mapInput_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
  7501  		ec.Error(ctx, err)
  7502  		return
  7503  	}
  7504  	return fc, nil
  7505  }
  7506  
  7507  func (ec *executionContext) _Query_recursive(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) {
  7508  	fc, err := ec.fieldContext_Query_recursive(ctx, field)
  7509  	if err != nil {
  7510  		return graphql.Null
  7511  	}
  7512  	ctx = graphql.WithFieldContext(ctx, fc)
  7513  	defer func() {
  7514  		if r := recover(); r != nil {
  7515  			ec.Error(ctx, ec.Recover(ctx, r))
  7516  			ret = graphql.Null
  7517  		}
  7518  	}()
  7519  	resTmp := ec._fieldMiddleware(ctx, nil, func(rctx context.Context) (interface{}, error) {
  7520  		ctx = rctx // use context from middleware stack in children
  7521  		return ec.resolvers.Query().Recursive(rctx, fc.Args["input"].(*RecursiveInputSlice))
  7522  	})
  7523  
  7524  	if resTmp == nil {
  7525  		return graphql.Null
  7526  	}
  7527  	res := resTmp.(*bool)
  7528  	fc.Result = res
  7529  	return ec.marshalOBoolean2ᚖbool(ctx, field.Selections, res)
  7530  }
  7531  
  7532  func (ec *executionContext) fieldContext_Query_recursive(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
  7533  	fc = &graphql.FieldContext{
  7534  		Object:     "Query",
  7535  		Field:      field,
  7536  		IsMethod:   true,
  7537  		IsResolver: true,
  7538  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
  7539  			return nil, errors.New("field of type Boolean does not have child fields")
  7540  		},
  7541  	}
  7542  	defer func() {
  7543  		if r := recover(); r != nil {
  7544  			err = ec.Recover(ctx, r)
  7545  			ec.Error(ctx, err)
  7546  		}
  7547  	}()
  7548  	ctx = graphql.WithFieldContext(ctx, fc)
  7549  	if fc.Args, err = ec.field_Query_recursive_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
  7550  		ec.Error(ctx, err)
  7551  		return
  7552  	}
  7553  	return fc, nil
  7554  }
  7555  
  7556  func (ec *executionContext) _Query_nestedInputs(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) {
  7557  	fc, err := ec.fieldContext_Query_nestedInputs(ctx, field)
  7558  	if err != nil {
  7559  		return graphql.Null
  7560  	}
  7561  	ctx = graphql.WithFieldContext(ctx, fc)
  7562  	defer func() {
  7563  		if r := recover(); r != nil {
  7564  			ec.Error(ctx, ec.Recover(ctx, r))
  7565  			ret = graphql.Null
  7566  		}
  7567  	}()
  7568  	resTmp := ec._fieldMiddleware(ctx, nil, func(rctx context.Context) (interface{}, error) {
  7569  		ctx = rctx // use context from middleware stack in children
  7570  		return ec.resolvers.Query().NestedInputs(rctx, fc.Args["input"].([][]*OuterInput))
  7571  	})
  7572  
  7573  	if resTmp == nil {
  7574  		return graphql.Null
  7575  	}
  7576  	res := resTmp.(*bool)
  7577  	fc.Result = res
  7578  	return ec.marshalOBoolean2ᚖbool(ctx, field.Selections, res)
  7579  }
  7580  
  7581  func (ec *executionContext) fieldContext_Query_nestedInputs(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
  7582  	fc = &graphql.FieldContext{
  7583  		Object:     "Query",
  7584  		Field:      field,
  7585  		IsMethod:   true,
  7586  		IsResolver: true,
  7587  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
  7588  			return nil, errors.New("field of type Boolean does not have child fields")
  7589  		},
  7590  	}
  7591  	defer func() {
  7592  		if r := recover(); r != nil {
  7593  			err = ec.Recover(ctx, r)
  7594  			ec.Error(ctx, err)
  7595  		}
  7596  	}()
  7597  	ctx = graphql.WithFieldContext(ctx, fc)
  7598  	if fc.Args, err = ec.field_Query_nestedInputs_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
  7599  		ec.Error(ctx, err)
  7600  		return
  7601  	}
  7602  	return fc, nil
  7603  }
  7604  
  7605  func (ec *executionContext) _Query_nestedOutputs(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) {
  7606  	fc, err := ec.fieldContext_Query_nestedOutputs(ctx, field)
  7607  	if err != nil {
  7608  		return graphql.Null
  7609  	}
  7610  	ctx = graphql.WithFieldContext(ctx, fc)
  7611  	defer func() {
  7612  		if r := recover(); r != nil {
  7613  			ec.Error(ctx, ec.Recover(ctx, r))
  7614  			ret = graphql.Null
  7615  		}
  7616  	}()
  7617  	resTmp := ec._fieldMiddleware(ctx, nil, func(rctx context.Context) (interface{}, error) {
  7618  		ctx = rctx // use context from middleware stack in children
  7619  		return ec.resolvers.Query().NestedOutputs(rctx)
  7620  	})
  7621  
  7622  	if resTmp == nil {
  7623  		return graphql.Null
  7624  	}
  7625  	res := resTmp.([][]*OuterObject)
  7626  	fc.Result = res
  7627  	return ec.marshalOOuterObject2ᚕᚕᚖgithubᚗcomᚋ99designsᚋgqlgenᚋcodegenᚋtestserverᚋsinglefileᚐOuterObject(ctx, field.Selections, res)
  7628  }
  7629  
  7630  func (ec *executionContext) fieldContext_Query_nestedOutputs(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
  7631  	fc = &graphql.FieldContext{
  7632  		Object:     "Query",
  7633  		Field:      field,
  7634  		IsMethod:   true,
  7635  		IsResolver: true,
  7636  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
  7637  			switch field.Name {
  7638  			case "inner":
  7639  				return ec.fieldContext_OuterObject_inner(ctx, field)
  7640  			}
  7641  			return nil, fmt.Errorf("no field named %q was found under type OuterObject", field.Name)
  7642  		},
  7643  	}
  7644  	return fc, nil
  7645  }
  7646  
  7647  func (ec *executionContext) _Query_modelMethods(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) {
  7648  	fc, err := ec.fieldContext_Query_modelMethods(ctx, field)
  7649  	if err != nil {
  7650  		return graphql.Null
  7651  	}
  7652  	ctx = graphql.WithFieldContext(ctx, fc)
  7653  	defer func() {
  7654  		if r := recover(); r != nil {
  7655  			ec.Error(ctx, ec.Recover(ctx, r))
  7656  			ret = graphql.Null
  7657  		}
  7658  	}()
  7659  	resTmp := ec._fieldMiddleware(ctx, nil, func(rctx context.Context) (interface{}, error) {
  7660  		ctx = rctx // use context from middleware stack in children
  7661  		return ec.resolvers.Query().ModelMethods(rctx)
  7662  	})
  7663  
  7664  	if resTmp == nil {
  7665  		return graphql.Null
  7666  	}
  7667  	res := resTmp.(*ModelMethods)
  7668  	fc.Result = res
  7669  	return ec.marshalOModelMethods2ᚖgithubᚗcomᚋ99designsᚋgqlgenᚋcodegenᚋtestserverᚋsinglefileᚐModelMethods(ctx, field.Selections, res)
  7670  }
  7671  
  7672  func (ec *executionContext) fieldContext_Query_modelMethods(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
  7673  	fc = &graphql.FieldContext{
  7674  		Object:     "Query",
  7675  		Field:      field,
  7676  		IsMethod:   true,
  7677  		IsResolver: true,
  7678  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
  7679  			switch field.Name {
  7680  			case "resolverField":
  7681  				return ec.fieldContext_ModelMethods_resolverField(ctx, field)
  7682  			case "noContext":
  7683  				return ec.fieldContext_ModelMethods_noContext(ctx, field)
  7684  			case "withContext":
  7685  				return ec.fieldContext_ModelMethods_withContext(ctx, field)
  7686  			}
  7687  			return nil, fmt.Errorf("no field named %q was found under type ModelMethods", field.Name)
  7688  		},
  7689  	}
  7690  	return fc, nil
  7691  }
  7692  
  7693  func (ec *executionContext) _Query_user(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) {
  7694  	fc, err := ec.fieldContext_Query_user(ctx, field)
  7695  	if err != nil {
  7696  		return graphql.Null
  7697  	}
  7698  	ctx = graphql.WithFieldContext(ctx, fc)
  7699  	defer func() {
  7700  		if r := recover(); r != nil {
  7701  			ec.Error(ctx, ec.Recover(ctx, r))
  7702  			ret = graphql.Null
  7703  		}
  7704  	}()
  7705  	resTmp := ec._fieldMiddleware(ctx, nil, func(rctx context.Context) (interface{}, error) {
  7706  		ctx = rctx // use context from middleware stack in children
  7707  		return ec.resolvers.Query().User(rctx, fc.Args["id"].(int))
  7708  	})
  7709  
  7710  	if resTmp == nil {
  7711  		if !graphql.HasFieldError(ctx, fc) {
  7712  			ec.Errorf(ctx, "must not be null")
  7713  		}
  7714  		return graphql.Null
  7715  	}
  7716  	res := resTmp.(*User)
  7717  	fc.Result = res
  7718  	return ec.marshalNUser2ᚖgithubᚗcomᚋ99designsᚋgqlgenᚋcodegenᚋtestserverᚋsinglefileᚐUser(ctx, field.Selections, res)
  7719  }
  7720  
  7721  func (ec *executionContext) fieldContext_Query_user(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
  7722  	fc = &graphql.FieldContext{
  7723  		Object:     "Query",
  7724  		Field:      field,
  7725  		IsMethod:   true,
  7726  		IsResolver: true,
  7727  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
  7728  			switch field.Name {
  7729  			case "id":
  7730  				return ec.fieldContext_User_id(ctx, field)
  7731  			case "friends":
  7732  				return ec.fieldContext_User_friends(ctx, field)
  7733  			case "created":
  7734  				return ec.fieldContext_User_created(ctx, field)
  7735  			case "updated":
  7736  				return ec.fieldContext_User_updated(ctx, field)
  7737  			case "pets":
  7738  				return ec.fieldContext_User_pets(ctx, field)
  7739  			}
  7740  			return nil, fmt.Errorf("no field named %q was found under type User", field.Name)
  7741  		},
  7742  	}
  7743  	defer func() {
  7744  		if r := recover(); r != nil {
  7745  			err = ec.Recover(ctx, r)
  7746  			ec.Error(ctx, err)
  7747  		}
  7748  	}()
  7749  	ctx = graphql.WithFieldContext(ctx, fc)
  7750  	if fc.Args, err = ec.field_Query_user_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
  7751  		ec.Error(ctx, err)
  7752  		return
  7753  	}
  7754  	return fc, nil
  7755  }
  7756  
  7757  func (ec *executionContext) _Query_nullableArg(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) {
  7758  	fc, err := ec.fieldContext_Query_nullableArg(ctx, field)
  7759  	if err != nil {
  7760  		return graphql.Null
  7761  	}
  7762  	ctx = graphql.WithFieldContext(ctx, fc)
  7763  	defer func() {
  7764  		if r := recover(); r != nil {
  7765  			ec.Error(ctx, ec.Recover(ctx, r))
  7766  			ret = graphql.Null
  7767  		}
  7768  	}()
  7769  	resTmp := ec._fieldMiddleware(ctx, nil, func(rctx context.Context) (interface{}, error) {
  7770  		ctx = rctx // use context from middleware stack in children
  7771  		return ec.resolvers.Query().NullableArg(rctx, fc.Args["arg"].(*int))
  7772  	})
  7773  
  7774  	if resTmp == nil {
  7775  		return graphql.Null
  7776  	}
  7777  	res := resTmp.(*string)
  7778  	fc.Result = res
  7779  	return ec.marshalOString2ᚖstring(ctx, field.Selections, res)
  7780  }
  7781  
  7782  func (ec *executionContext) fieldContext_Query_nullableArg(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
  7783  	fc = &graphql.FieldContext{
  7784  		Object:     "Query",
  7785  		Field:      field,
  7786  		IsMethod:   true,
  7787  		IsResolver: true,
  7788  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
  7789  			return nil, errors.New("field of type String does not have child fields")
  7790  		},
  7791  	}
  7792  	defer func() {
  7793  		if r := recover(); r != nil {
  7794  			err = ec.Recover(ctx, r)
  7795  			ec.Error(ctx, err)
  7796  		}
  7797  	}()
  7798  	ctx = graphql.WithFieldContext(ctx, fc)
  7799  	if fc.Args, err = ec.field_Query_nullableArg_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
  7800  		ec.Error(ctx, err)
  7801  		return
  7802  	}
  7803  	return fc, nil
  7804  }
  7805  
  7806  func (ec *executionContext) _Query_inputSlice(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) {
  7807  	fc, err := ec.fieldContext_Query_inputSlice(ctx, field)
  7808  	if err != nil {
  7809  		return graphql.Null
  7810  	}
  7811  	ctx = graphql.WithFieldContext(ctx, fc)
  7812  	defer func() {
  7813  		if r := recover(); r != nil {
  7814  			ec.Error(ctx, ec.Recover(ctx, r))
  7815  			ret = graphql.Null
  7816  		}
  7817  	}()
  7818  	resTmp := ec._fieldMiddleware(ctx, nil, func(rctx context.Context) (interface{}, error) {
  7819  		ctx = rctx // use context from middleware stack in children
  7820  		return ec.resolvers.Query().InputSlice(rctx, fc.Args["arg"].([]string))
  7821  	})
  7822  
  7823  	if resTmp == nil {
  7824  		if !graphql.HasFieldError(ctx, fc) {
  7825  			ec.Errorf(ctx, "must not be null")
  7826  		}
  7827  		return graphql.Null
  7828  	}
  7829  	res := resTmp.(bool)
  7830  	fc.Result = res
  7831  	return ec.marshalNBoolean2bool(ctx, field.Selections, res)
  7832  }
  7833  
  7834  func (ec *executionContext) fieldContext_Query_inputSlice(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
  7835  	fc = &graphql.FieldContext{
  7836  		Object:     "Query",
  7837  		Field:      field,
  7838  		IsMethod:   true,
  7839  		IsResolver: true,
  7840  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
  7841  			return nil, errors.New("field of type Boolean does not have child fields")
  7842  		},
  7843  	}
  7844  	defer func() {
  7845  		if r := recover(); r != nil {
  7846  			err = ec.Recover(ctx, r)
  7847  			ec.Error(ctx, err)
  7848  		}
  7849  	}()
  7850  	ctx = graphql.WithFieldContext(ctx, fc)
  7851  	if fc.Args, err = ec.field_Query_inputSlice_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
  7852  		ec.Error(ctx, err)
  7853  		return
  7854  	}
  7855  	return fc, nil
  7856  }
  7857  
  7858  func (ec *executionContext) _Query_inputNullableSlice(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) {
  7859  	fc, err := ec.fieldContext_Query_inputNullableSlice(ctx, field)
  7860  	if err != nil {
  7861  		return graphql.Null
  7862  	}
  7863  	ctx = graphql.WithFieldContext(ctx, fc)
  7864  	defer func() {
  7865  		if r := recover(); r != nil {
  7866  			ec.Error(ctx, ec.Recover(ctx, r))
  7867  			ret = graphql.Null
  7868  		}
  7869  	}()
  7870  	resTmp := ec._fieldMiddleware(ctx, nil, func(rctx context.Context) (interface{}, error) {
  7871  		ctx = rctx // use context from middleware stack in children
  7872  		return ec.resolvers.Query().InputNullableSlice(rctx, fc.Args["arg"].([]string))
  7873  	})
  7874  
  7875  	if resTmp == nil {
  7876  		if !graphql.HasFieldError(ctx, fc) {
  7877  			ec.Errorf(ctx, "must not be null")
  7878  		}
  7879  		return graphql.Null
  7880  	}
  7881  	res := resTmp.(bool)
  7882  	fc.Result = res
  7883  	return ec.marshalNBoolean2bool(ctx, field.Selections, res)
  7884  }
  7885  
  7886  func (ec *executionContext) fieldContext_Query_inputNullableSlice(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
  7887  	fc = &graphql.FieldContext{
  7888  		Object:     "Query",
  7889  		Field:      field,
  7890  		IsMethod:   true,
  7891  		IsResolver: true,
  7892  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
  7893  			return nil, errors.New("field of type Boolean does not have child fields")
  7894  		},
  7895  	}
  7896  	defer func() {
  7897  		if r := recover(); r != nil {
  7898  			err = ec.Recover(ctx, r)
  7899  			ec.Error(ctx, err)
  7900  		}
  7901  	}()
  7902  	ctx = graphql.WithFieldContext(ctx, fc)
  7903  	if fc.Args, err = ec.field_Query_inputNullableSlice_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
  7904  		ec.Error(ctx, err)
  7905  		return
  7906  	}
  7907  	return fc, nil
  7908  }
  7909  
  7910  func (ec *executionContext) _Query_shapeUnion(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) {
  7911  	fc, err := ec.fieldContext_Query_shapeUnion(ctx, field)
  7912  	if err != nil {
  7913  		return graphql.Null
  7914  	}
  7915  	ctx = graphql.WithFieldContext(ctx, fc)
  7916  	defer func() {
  7917  		if r := recover(); r != nil {
  7918  			ec.Error(ctx, ec.Recover(ctx, r))
  7919  			ret = graphql.Null
  7920  		}
  7921  	}()
  7922  	resTmp := ec._fieldMiddleware(ctx, nil, func(rctx context.Context) (interface{}, error) {
  7923  		ctx = rctx // use context from middleware stack in children
  7924  		return ec.resolvers.Query().ShapeUnion(rctx)
  7925  	})
  7926  
  7927  	if resTmp == nil {
  7928  		if !graphql.HasFieldError(ctx, fc) {
  7929  			ec.Errorf(ctx, "must not be null")
  7930  		}
  7931  		return graphql.Null
  7932  	}
  7933  	res := resTmp.(ShapeUnion)
  7934  	fc.Result = res
  7935  	return ec.marshalNShapeUnion2githubᚗcomᚋ99designsᚋgqlgenᚋcodegenᚋtestserverᚋsinglefileᚐShapeUnion(ctx, field.Selections, res)
  7936  }
  7937  
  7938  func (ec *executionContext) fieldContext_Query_shapeUnion(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
  7939  	fc = &graphql.FieldContext{
  7940  		Object:     "Query",
  7941  		Field:      field,
  7942  		IsMethod:   true,
  7943  		IsResolver: true,
  7944  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
  7945  			return nil, errors.New("field of type ShapeUnion does not have child fields")
  7946  		},
  7947  	}
  7948  	return fc, nil
  7949  }
  7950  
  7951  func (ec *executionContext) _Query_autobind(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) {
  7952  	fc, err := ec.fieldContext_Query_autobind(ctx, field)
  7953  	if err != nil {
  7954  		return graphql.Null
  7955  	}
  7956  	ctx = graphql.WithFieldContext(ctx, fc)
  7957  	defer func() {
  7958  		if r := recover(); r != nil {
  7959  			ec.Error(ctx, ec.Recover(ctx, r))
  7960  			ret = graphql.Null
  7961  		}
  7962  	}()
  7963  	resTmp := ec._fieldMiddleware(ctx, nil, func(rctx context.Context) (interface{}, error) {
  7964  		ctx = rctx // use context from middleware stack in children
  7965  		return ec.resolvers.Query().Autobind(rctx)
  7966  	})
  7967  
  7968  	if resTmp == nil {
  7969  		return graphql.Null
  7970  	}
  7971  	res := resTmp.(*Autobind)
  7972  	fc.Result = res
  7973  	return ec.marshalOAutobind2ᚖgithubᚗcomᚋ99designsᚋgqlgenᚋcodegenᚋtestserverᚋsinglefileᚐAutobind(ctx, field.Selections, res)
  7974  }
  7975  
  7976  func (ec *executionContext) fieldContext_Query_autobind(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
  7977  	fc = &graphql.FieldContext{
  7978  		Object:     "Query",
  7979  		Field:      field,
  7980  		IsMethod:   true,
  7981  		IsResolver: true,
  7982  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
  7983  			switch field.Name {
  7984  			case "int":
  7985  				return ec.fieldContext_Autobind_int(ctx, field)
  7986  			case "int32":
  7987  				return ec.fieldContext_Autobind_int32(ctx, field)
  7988  			case "int64":
  7989  				return ec.fieldContext_Autobind_int64(ctx, field)
  7990  			case "idStr":
  7991  				return ec.fieldContext_Autobind_idStr(ctx, field)
  7992  			case "idInt":
  7993  				return ec.fieldContext_Autobind_idInt(ctx, field)
  7994  			}
  7995  			return nil, fmt.Errorf("no field named %q was found under type Autobind", field.Name)
  7996  		},
  7997  	}
  7998  	return fc, nil
  7999  }
  8000  
  8001  func (ec *executionContext) _Query_deprecatedField(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) {
  8002  	fc, err := ec.fieldContext_Query_deprecatedField(ctx, field)
  8003  	if err != nil {
  8004  		return graphql.Null
  8005  	}
  8006  	ctx = graphql.WithFieldContext(ctx, fc)
  8007  	defer func() {
  8008  		if r := recover(); r != nil {
  8009  			ec.Error(ctx, ec.Recover(ctx, r))
  8010  			ret = graphql.Null
  8011  		}
  8012  	}()
  8013  	resTmp := ec._fieldMiddleware(ctx, nil, func(rctx context.Context) (interface{}, error) {
  8014  		ctx = rctx // use context from middleware stack in children
  8015  		return ec.resolvers.Query().DeprecatedField(rctx)
  8016  	})
  8017  
  8018  	if resTmp == nil {
  8019  		if !graphql.HasFieldError(ctx, fc) {
  8020  			ec.Errorf(ctx, "must not be null")
  8021  		}
  8022  		return graphql.Null
  8023  	}
  8024  	res := resTmp.(string)
  8025  	fc.Result = res
  8026  	return ec.marshalNString2string(ctx, field.Selections, res)
  8027  }
  8028  
  8029  func (ec *executionContext) fieldContext_Query_deprecatedField(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
  8030  	fc = &graphql.FieldContext{
  8031  		Object:     "Query",
  8032  		Field:      field,
  8033  		IsMethod:   true,
  8034  		IsResolver: true,
  8035  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
  8036  			return nil, errors.New("field of type String does not have child fields")
  8037  		},
  8038  	}
  8039  	return fc, nil
  8040  }
  8041  
  8042  func (ec *executionContext) _Query_overlapping(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) {
  8043  	fc, err := ec.fieldContext_Query_overlapping(ctx, field)
  8044  	if err != nil {
  8045  		return graphql.Null
  8046  	}
  8047  	ctx = graphql.WithFieldContext(ctx, fc)
  8048  	defer func() {
  8049  		if r := recover(); r != nil {
  8050  			ec.Error(ctx, ec.Recover(ctx, r))
  8051  			ret = graphql.Null
  8052  		}
  8053  	}()
  8054  	resTmp := ec._fieldMiddleware(ctx, nil, func(rctx context.Context) (interface{}, error) {
  8055  		ctx = rctx // use context from middleware stack in children
  8056  		return ec.resolvers.Query().Overlapping(rctx)
  8057  	})
  8058  
  8059  	if resTmp == nil {
  8060  		return graphql.Null
  8061  	}
  8062  	res := resTmp.(*OverlappingFields)
  8063  	fc.Result = res
  8064  	return ec.marshalOOverlappingFields2ᚖgithubᚗcomᚋ99designsᚋgqlgenᚋcodegenᚋtestserverᚋsinglefileᚐOverlappingFields(ctx, field.Selections, res)
  8065  }
  8066  
  8067  func (ec *executionContext) fieldContext_Query_overlapping(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
  8068  	fc = &graphql.FieldContext{
  8069  		Object:     "Query",
  8070  		Field:      field,
  8071  		IsMethod:   true,
  8072  		IsResolver: true,
  8073  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
  8074  			switch field.Name {
  8075  			case "oneFoo":
  8076  				return ec.fieldContext_OverlappingFields_oneFoo(ctx, field)
  8077  			case "twoFoo":
  8078  				return ec.fieldContext_OverlappingFields_twoFoo(ctx, field)
  8079  			case "oldFoo":
  8080  				return ec.fieldContext_OverlappingFields_oldFoo(ctx, field)
  8081  			case "newFoo":
  8082  				return ec.fieldContext_OverlappingFields_newFoo(ctx, field)
  8083  			case "new_foo":
  8084  				return ec.fieldContext_OverlappingFields_new_foo(ctx, field)
  8085  			}
  8086  			return nil, fmt.Errorf("no field named %q was found under type OverlappingFields", field.Name)
  8087  		},
  8088  	}
  8089  	return fc, nil
  8090  }
  8091  
  8092  func (ec *executionContext) _Query_defaultParameters(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) {
  8093  	fc, err := ec.fieldContext_Query_defaultParameters(ctx, field)
  8094  	if err != nil {
  8095  		return graphql.Null
  8096  	}
  8097  	ctx = graphql.WithFieldContext(ctx, fc)
  8098  	defer func() {
  8099  		if r := recover(); r != nil {
  8100  			ec.Error(ctx, ec.Recover(ctx, r))
  8101  			ret = graphql.Null
  8102  		}
  8103  	}()
  8104  	resTmp := ec._fieldMiddleware(ctx, nil, func(rctx context.Context) (interface{}, error) {
  8105  		ctx = rctx // use context from middleware stack in children
  8106  		return ec.resolvers.Query().DefaultParameters(rctx, fc.Args["falsyBoolean"].(*bool), fc.Args["truthyBoolean"].(*bool))
  8107  	})
  8108  
  8109  	if resTmp == nil {
  8110  		if !graphql.HasFieldError(ctx, fc) {
  8111  			ec.Errorf(ctx, "must not be null")
  8112  		}
  8113  		return graphql.Null
  8114  	}
  8115  	res := resTmp.(*DefaultParametersMirror)
  8116  	fc.Result = res
  8117  	return ec.marshalNDefaultParametersMirror2ᚖgithubᚗcomᚋ99designsᚋgqlgenᚋcodegenᚋtestserverᚋsinglefileᚐDefaultParametersMirror(ctx, field.Selections, res)
  8118  }
  8119  
  8120  func (ec *executionContext) fieldContext_Query_defaultParameters(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
  8121  	fc = &graphql.FieldContext{
  8122  		Object:     "Query",
  8123  		Field:      field,
  8124  		IsMethod:   true,
  8125  		IsResolver: true,
  8126  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
  8127  			switch field.Name {
  8128  			case "falsyBoolean":
  8129  				return ec.fieldContext_DefaultParametersMirror_falsyBoolean(ctx, field)
  8130  			case "truthyBoolean":
  8131  				return ec.fieldContext_DefaultParametersMirror_truthyBoolean(ctx, field)
  8132  			}
  8133  			return nil, fmt.Errorf("no field named %q was found under type DefaultParametersMirror", field.Name)
  8134  		},
  8135  	}
  8136  	defer func() {
  8137  		if r := recover(); r != nil {
  8138  			err = ec.Recover(ctx, r)
  8139  			ec.Error(ctx, err)
  8140  		}
  8141  	}()
  8142  	ctx = graphql.WithFieldContext(ctx, fc)
  8143  	if fc.Args, err = ec.field_Query_defaultParameters_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
  8144  		ec.Error(ctx, err)
  8145  		return
  8146  	}
  8147  	return fc, nil
  8148  }
  8149  
  8150  func (ec *executionContext) _Query_directiveArg(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) {
  8151  	fc, err := ec.fieldContext_Query_directiveArg(ctx, field)
  8152  	if err != nil {
  8153  		return graphql.Null
  8154  	}
  8155  	ctx = graphql.WithFieldContext(ctx, fc)
  8156  	defer func() {
  8157  		if r := recover(); r != nil {
  8158  			ec.Error(ctx, ec.Recover(ctx, r))
  8159  			ret = graphql.Null
  8160  		}
  8161  	}()
  8162  	resTmp := ec._fieldMiddleware(ctx, nil, func(rctx context.Context) (interface{}, error) {
  8163  		ctx = rctx // use context from middleware stack in children
  8164  		return ec.resolvers.Query().DirectiveArg(rctx, fc.Args["arg"].(string))
  8165  	})
  8166  
  8167  	if resTmp == nil {
  8168  		return graphql.Null
  8169  	}
  8170  	res := resTmp.(*string)
  8171  	fc.Result = res
  8172  	return ec.marshalOString2ᚖstring(ctx, field.Selections, res)
  8173  }
  8174  
  8175  func (ec *executionContext) fieldContext_Query_directiveArg(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
  8176  	fc = &graphql.FieldContext{
  8177  		Object:     "Query",
  8178  		Field:      field,
  8179  		IsMethod:   true,
  8180  		IsResolver: true,
  8181  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
  8182  			return nil, errors.New("field of type String does not have child fields")
  8183  		},
  8184  	}
  8185  	defer func() {
  8186  		if r := recover(); r != nil {
  8187  			err = ec.Recover(ctx, r)
  8188  			ec.Error(ctx, err)
  8189  		}
  8190  	}()
  8191  	ctx = graphql.WithFieldContext(ctx, fc)
  8192  	if fc.Args, err = ec.field_Query_directiveArg_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
  8193  		ec.Error(ctx, err)
  8194  		return
  8195  	}
  8196  	return fc, nil
  8197  }
  8198  
  8199  func (ec *executionContext) _Query_directiveNullableArg(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) {
  8200  	fc, err := ec.fieldContext_Query_directiveNullableArg(ctx, field)
  8201  	if err != nil {
  8202  		return graphql.Null
  8203  	}
  8204  	ctx = graphql.WithFieldContext(ctx, fc)
  8205  	defer func() {
  8206  		if r := recover(); r != nil {
  8207  			ec.Error(ctx, ec.Recover(ctx, r))
  8208  			ret = graphql.Null
  8209  		}
  8210  	}()
  8211  	resTmp := ec._fieldMiddleware(ctx, nil, func(rctx context.Context) (interface{}, error) {
  8212  		ctx = rctx // use context from middleware stack in children
  8213  		return ec.resolvers.Query().DirectiveNullableArg(rctx, fc.Args["arg"].(*int), fc.Args["arg2"].(*int), fc.Args["arg3"].(*string))
  8214  	})
  8215  
  8216  	if resTmp == nil {
  8217  		return graphql.Null
  8218  	}
  8219  	res := resTmp.(*string)
  8220  	fc.Result = res
  8221  	return ec.marshalOString2ᚖstring(ctx, field.Selections, res)
  8222  }
  8223  
  8224  func (ec *executionContext) fieldContext_Query_directiveNullableArg(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
  8225  	fc = &graphql.FieldContext{
  8226  		Object:     "Query",
  8227  		Field:      field,
  8228  		IsMethod:   true,
  8229  		IsResolver: true,
  8230  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
  8231  			return nil, errors.New("field of type String does not have child fields")
  8232  		},
  8233  	}
  8234  	defer func() {
  8235  		if r := recover(); r != nil {
  8236  			err = ec.Recover(ctx, r)
  8237  			ec.Error(ctx, err)
  8238  		}
  8239  	}()
  8240  	ctx = graphql.WithFieldContext(ctx, fc)
  8241  	if fc.Args, err = ec.field_Query_directiveNullableArg_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
  8242  		ec.Error(ctx, err)
  8243  		return
  8244  	}
  8245  	return fc, nil
  8246  }
  8247  
  8248  func (ec *executionContext) _Query_directiveInputNullable(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) {
  8249  	fc, err := ec.fieldContext_Query_directiveInputNullable(ctx, field)
  8250  	if err != nil {
  8251  		return graphql.Null
  8252  	}
  8253  	ctx = graphql.WithFieldContext(ctx, fc)
  8254  	defer func() {
  8255  		if r := recover(); r != nil {
  8256  			ec.Error(ctx, ec.Recover(ctx, r))
  8257  			ret = graphql.Null
  8258  		}
  8259  	}()
  8260  	resTmp := ec._fieldMiddleware(ctx, nil, func(rctx context.Context) (interface{}, error) {
  8261  		ctx = rctx // use context from middleware stack in children
  8262  		return ec.resolvers.Query().DirectiveInputNullable(rctx, fc.Args["arg"].(*InputDirectives))
  8263  	})
  8264  
  8265  	if resTmp == nil {
  8266  		return graphql.Null
  8267  	}
  8268  	res := resTmp.(*string)
  8269  	fc.Result = res
  8270  	return ec.marshalOString2ᚖstring(ctx, field.Selections, res)
  8271  }
  8272  
  8273  func (ec *executionContext) fieldContext_Query_directiveInputNullable(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
  8274  	fc = &graphql.FieldContext{
  8275  		Object:     "Query",
  8276  		Field:      field,
  8277  		IsMethod:   true,
  8278  		IsResolver: true,
  8279  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
  8280  			return nil, errors.New("field of type String does not have child fields")
  8281  		},
  8282  	}
  8283  	defer func() {
  8284  		if r := recover(); r != nil {
  8285  			err = ec.Recover(ctx, r)
  8286  			ec.Error(ctx, err)
  8287  		}
  8288  	}()
  8289  	ctx = graphql.WithFieldContext(ctx, fc)
  8290  	if fc.Args, err = ec.field_Query_directiveInputNullable_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
  8291  		ec.Error(ctx, err)
  8292  		return
  8293  	}
  8294  	return fc, nil
  8295  }
  8296  
  8297  func (ec *executionContext) _Query_directiveInput(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) {
  8298  	fc, err := ec.fieldContext_Query_directiveInput(ctx, field)
  8299  	if err != nil {
  8300  		return graphql.Null
  8301  	}
  8302  	ctx = graphql.WithFieldContext(ctx, fc)
  8303  	defer func() {
  8304  		if r := recover(); r != nil {
  8305  			ec.Error(ctx, ec.Recover(ctx, r))
  8306  			ret = graphql.Null
  8307  		}
  8308  	}()
  8309  	resTmp := ec._fieldMiddleware(ctx, nil, func(rctx context.Context) (interface{}, error) {
  8310  		ctx = rctx // use context from middleware stack in children
  8311  		return ec.resolvers.Query().DirectiveInput(rctx, fc.Args["arg"].(InputDirectives))
  8312  	})
  8313  
  8314  	if resTmp == nil {
  8315  		return graphql.Null
  8316  	}
  8317  	res := resTmp.(*string)
  8318  	fc.Result = res
  8319  	return ec.marshalOString2ᚖstring(ctx, field.Selections, res)
  8320  }
  8321  
  8322  func (ec *executionContext) fieldContext_Query_directiveInput(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
  8323  	fc = &graphql.FieldContext{
  8324  		Object:     "Query",
  8325  		Field:      field,
  8326  		IsMethod:   true,
  8327  		IsResolver: true,
  8328  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
  8329  			return nil, errors.New("field of type String does not have child fields")
  8330  		},
  8331  	}
  8332  	defer func() {
  8333  		if r := recover(); r != nil {
  8334  			err = ec.Recover(ctx, r)
  8335  			ec.Error(ctx, err)
  8336  		}
  8337  	}()
  8338  	ctx = graphql.WithFieldContext(ctx, fc)
  8339  	if fc.Args, err = ec.field_Query_directiveInput_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
  8340  		ec.Error(ctx, err)
  8341  		return
  8342  	}
  8343  	return fc, nil
  8344  }
  8345  
  8346  func (ec *executionContext) _Query_directiveInputType(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) {
  8347  	fc, err := ec.fieldContext_Query_directiveInputType(ctx, field)
  8348  	if err != nil {
  8349  		return graphql.Null
  8350  	}
  8351  	ctx = graphql.WithFieldContext(ctx, fc)
  8352  	defer func() {
  8353  		if r := recover(); r != nil {
  8354  			ec.Error(ctx, ec.Recover(ctx, r))
  8355  			ret = graphql.Null
  8356  		}
  8357  	}()
  8358  	resTmp := ec._fieldMiddleware(ctx, nil, func(rctx context.Context) (interface{}, error) {
  8359  		ctx = rctx // use context from middleware stack in children
  8360  		return ec.resolvers.Query().DirectiveInputType(rctx, fc.Args["arg"].(InnerInput))
  8361  	})
  8362  
  8363  	if resTmp == nil {
  8364  		return graphql.Null
  8365  	}
  8366  	res := resTmp.(*string)
  8367  	fc.Result = res
  8368  	return ec.marshalOString2ᚖstring(ctx, field.Selections, res)
  8369  }
  8370  
  8371  func (ec *executionContext) fieldContext_Query_directiveInputType(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
  8372  	fc = &graphql.FieldContext{
  8373  		Object:     "Query",
  8374  		Field:      field,
  8375  		IsMethod:   true,
  8376  		IsResolver: true,
  8377  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
  8378  			return nil, errors.New("field of type String does not have child fields")
  8379  		},
  8380  	}
  8381  	defer func() {
  8382  		if r := recover(); r != nil {
  8383  			err = ec.Recover(ctx, r)
  8384  			ec.Error(ctx, err)
  8385  		}
  8386  	}()
  8387  	ctx = graphql.WithFieldContext(ctx, fc)
  8388  	if fc.Args, err = ec.field_Query_directiveInputType_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
  8389  		ec.Error(ctx, err)
  8390  		return
  8391  	}
  8392  	return fc, nil
  8393  }
  8394  
  8395  func (ec *executionContext) _Query_directiveObject(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) {
  8396  	fc, err := ec.fieldContext_Query_directiveObject(ctx, field)
  8397  	if err != nil {
  8398  		return graphql.Null
  8399  	}
  8400  	ctx = graphql.WithFieldContext(ctx, fc)
  8401  	defer func() {
  8402  		if r := recover(); r != nil {
  8403  			ec.Error(ctx, ec.Recover(ctx, r))
  8404  			ret = graphql.Null
  8405  		}
  8406  	}()
  8407  	resTmp := ec._fieldMiddleware(ctx, nil, func(rctx context.Context) (interface{}, error) {
  8408  		directive0 := func(rctx context.Context) (interface{}, error) {
  8409  			ctx = rctx // use context from middleware stack in children
  8410  			return ec.resolvers.Query().DirectiveObject(rctx)
  8411  		}
  8412  		directive1 := func(ctx context.Context) (interface{}, error) {
  8413  			location, err := ec.unmarshalNString2string(ctx, "order1_1")
  8414  			if err != nil {
  8415  				return nil, err
  8416  			}
  8417  			if ec.directives.Order1 == nil {
  8418  				return nil, errors.New("directive order1 is not implemented")
  8419  			}
  8420  			return ec.directives.Order1(ctx, nil, directive0, location)
  8421  		}
  8422  		directive2 := func(ctx context.Context) (interface{}, error) {
  8423  			location, err := ec.unmarshalNString2string(ctx, "order1_2")
  8424  			if err != nil {
  8425  				return nil, err
  8426  			}
  8427  			if ec.directives.Order1 == nil {
  8428  				return nil, errors.New("directive order1 is not implemented")
  8429  			}
  8430  			return ec.directives.Order1(ctx, nil, directive1, location)
  8431  		}
  8432  		directive3 := func(ctx context.Context) (interface{}, error) {
  8433  			location, err := ec.unmarshalNString2string(ctx, "order2_1")
  8434  			if err != nil {
  8435  				return nil, err
  8436  			}
  8437  			if ec.directives.Order2 == nil {
  8438  				return nil, errors.New("directive order2 is not implemented")
  8439  			}
  8440  			return ec.directives.Order2(ctx, nil, directive2, location)
  8441  		}
  8442  		directive4 := func(ctx context.Context) (interface{}, error) {
  8443  			location, err := ec.unmarshalNString2string(ctx, "Query_field")
  8444  			if err != nil {
  8445  				return nil, err
  8446  			}
  8447  			if ec.directives.Order1 == nil {
  8448  				return nil, errors.New("directive order1 is not implemented")
  8449  			}
  8450  			return ec.directives.Order1(ctx, nil, directive3, location)
  8451  		}
  8452  
  8453  		tmp, err := directive4(rctx)
  8454  		if err != nil {
  8455  			return nil, graphql.ErrorOnPath(ctx, err)
  8456  		}
  8457  		if tmp == nil {
  8458  			return nil, nil
  8459  		}
  8460  		if data, ok := tmp.(*ObjectDirectives); ok {
  8461  			return data, nil
  8462  		}
  8463  		return nil, fmt.Errorf(`unexpected type %T from directive, should be *github.com/99designs/gqlgen/codegen/testserver/singlefile.ObjectDirectives`, tmp)
  8464  	})
  8465  
  8466  	if resTmp == nil {
  8467  		return graphql.Null
  8468  	}
  8469  	res := resTmp.(*ObjectDirectives)
  8470  	fc.Result = res
  8471  	return ec.marshalOObjectDirectives2ᚖgithubᚗcomᚋ99designsᚋgqlgenᚋcodegenᚋtestserverᚋsinglefileᚐObjectDirectives(ctx, field.Selections, res)
  8472  }
  8473  
  8474  func (ec *executionContext) fieldContext_Query_directiveObject(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
  8475  	fc = &graphql.FieldContext{
  8476  		Object:     "Query",
  8477  		Field:      field,
  8478  		IsMethod:   true,
  8479  		IsResolver: true,
  8480  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
  8481  			switch field.Name {
  8482  			case "text":
  8483  				return ec.fieldContext_ObjectDirectives_text(ctx, field)
  8484  			case "nullableText":
  8485  				return ec.fieldContext_ObjectDirectives_nullableText(ctx, field)
  8486  			case "order":
  8487  				return ec.fieldContext_ObjectDirectives_order(ctx, field)
  8488  			}
  8489  			return nil, fmt.Errorf("no field named %q was found under type ObjectDirectives", field.Name)
  8490  		},
  8491  	}
  8492  	return fc, nil
  8493  }
  8494  
  8495  func (ec *executionContext) _Query_directiveObjectWithCustomGoModel(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) {
  8496  	fc, err := ec.fieldContext_Query_directiveObjectWithCustomGoModel(ctx, field)
  8497  	if err != nil {
  8498  		return graphql.Null
  8499  	}
  8500  	ctx = graphql.WithFieldContext(ctx, fc)
  8501  	defer func() {
  8502  		if r := recover(); r != nil {
  8503  			ec.Error(ctx, ec.Recover(ctx, r))
  8504  			ret = graphql.Null
  8505  		}
  8506  	}()
  8507  	resTmp := ec._fieldMiddleware(ctx, nil, func(rctx context.Context) (interface{}, error) {
  8508  		ctx = rctx // use context from middleware stack in children
  8509  		return ec.resolvers.Query().DirectiveObjectWithCustomGoModel(rctx)
  8510  	})
  8511  
  8512  	if resTmp == nil {
  8513  		return graphql.Null
  8514  	}
  8515  	res := resTmp.(*ObjectDirectivesWithCustomGoModel)
  8516  	fc.Result = res
  8517  	return ec.marshalOObjectDirectivesWithCustomGoModel2ᚖgithubᚗcomᚋ99designsᚋgqlgenᚋcodegenᚋtestserverᚋsinglefileᚐObjectDirectivesWithCustomGoModel(ctx, field.Selections, res)
  8518  }
  8519  
  8520  func (ec *executionContext) fieldContext_Query_directiveObjectWithCustomGoModel(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
  8521  	fc = &graphql.FieldContext{
  8522  		Object:     "Query",
  8523  		Field:      field,
  8524  		IsMethod:   true,
  8525  		IsResolver: true,
  8526  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
  8527  			switch field.Name {
  8528  			case "nullableText":
  8529  				return ec.fieldContext_ObjectDirectivesWithCustomGoModel_nullableText(ctx, field)
  8530  			}
  8531  			return nil, fmt.Errorf("no field named %q was found under type ObjectDirectivesWithCustomGoModel", field.Name)
  8532  		},
  8533  	}
  8534  	return fc, nil
  8535  }
  8536  
  8537  func (ec *executionContext) _Query_directiveFieldDef(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) {
  8538  	fc, err := ec.fieldContext_Query_directiveFieldDef(ctx, field)
  8539  	if err != nil {
  8540  		return graphql.Null
  8541  	}
  8542  	ctx = graphql.WithFieldContext(ctx, fc)
  8543  	defer func() {
  8544  		if r := recover(); r != nil {
  8545  			ec.Error(ctx, ec.Recover(ctx, r))
  8546  			ret = graphql.Null
  8547  		}
  8548  	}()
  8549  	resTmp := ec._fieldMiddleware(ctx, nil, func(rctx context.Context) (interface{}, error) {
  8550  		directive0 := func(rctx context.Context) (interface{}, error) {
  8551  			ctx = rctx // use context from middleware stack in children
  8552  			return ec.resolvers.Query().DirectiveFieldDef(rctx, fc.Args["ret"].(string))
  8553  		}
  8554  		directive1 := func(ctx context.Context) (interface{}, error) {
  8555  			min, err := ec.unmarshalNInt2int(ctx, 1)
  8556  			if err != nil {
  8557  				return nil, err
  8558  			}
  8559  			message, err := ec.unmarshalOString2ᚖstring(ctx, "not valid")
  8560  			if err != nil {
  8561  				return nil, err
  8562  			}
  8563  			if ec.directives.Length == nil {
  8564  				return nil, errors.New("directive length is not implemented")
  8565  			}
  8566  			return ec.directives.Length(ctx, nil, directive0, min, nil, message)
  8567  		}
  8568  
  8569  		tmp, err := directive1(rctx)
  8570  		if err != nil {
  8571  			return nil, graphql.ErrorOnPath(ctx, err)
  8572  		}
  8573  		if tmp == nil {
  8574  			return nil, nil
  8575  		}
  8576  		if data, ok := tmp.(string); ok {
  8577  			return data, nil
  8578  		}
  8579  		return nil, fmt.Errorf(`unexpected type %T from directive, should be string`, tmp)
  8580  	})
  8581  
  8582  	if resTmp == nil {
  8583  		if !graphql.HasFieldError(ctx, fc) {
  8584  			ec.Errorf(ctx, "must not be null")
  8585  		}
  8586  		return graphql.Null
  8587  	}
  8588  	res := resTmp.(string)
  8589  	fc.Result = res
  8590  	return ec.marshalNString2string(ctx, field.Selections, res)
  8591  }
  8592  
  8593  func (ec *executionContext) fieldContext_Query_directiveFieldDef(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
  8594  	fc = &graphql.FieldContext{
  8595  		Object:     "Query",
  8596  		Field:      field,
  8597  		IsMethod:   true,
  8598  		IsResolver: true,
  8599  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
  8600  			return nil, errors.New("field of type String does not have child fields")
  8601  		},
  8602  	}
  8603  	defer func() {
  8604  		if r := recover(); r != nil {
  8605  			err = ec.Recover(ctx, r)
  8606  			ec.Error(ctx, err)
  8607  		}
  8608  	}()
  8609  	ctx = graphql.WithFieldContext(ctx, fc)
  8610  	if fc.Args, err = ec.field_Query_directiveFieldDef_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
  8611  		ec.Error(ctx, err)
  8612  		return
  8613  	}
  8614  	return fc, nil
  8615  }
  8616  
  8617  func (ec *executionContext) _Query_directiveField(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) {
  8618  	fc, err := ec.fieldContext_Query_directiveField(ctx, field)
  8619  	if err != nil {
  8620  		return graphql.Null
  8621  	}
  8622  	ctx = graphql.WithFieldContext(ctx, fc)
  8623  	defer func() {
  8624  		if r := recover(); r != nil {
  8625  			ec.Error(ctx, ec.Recover(ctx, r))
  8626  			ret = graphql.Null
  8627  		}
  8628  	}()
  8629  	resTmp := ec._fieldMiddleware(ctx, nil, func(rctx context.Context) (interface{}, error) {
  8630  		ctx = rctx // use context from middleware stack in children
  8631  		return ec.resolvers.Query().DirectiveField(rctx)
  8632  	})
  8633  
  8634  	if resTmp == nil {
  8635  		return graphql.Null
  8636  	}
  8637  	res := resTmp.(*string)
  8638  	fc.Result = res
  8639  	return ec.marshalOString2ᚖstring(ctx, field.Selections, res)
  8640  }
  8641  
  8642  func (ec *executionContext) fieldContext_Query_directiveField(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
  8643  	fc = &graphql.FieldContext{
  8644  		Object:     "Query",
  8645  		Field:      field,
  8646  		IsMethod:   true,
  8647  		IsResolver: true,
  8648  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
  8649  			return nil, errors.New("field of type String does not have child fields")
  8650  		},
  8651  	}
  8652  	return fc, nil
  8653  }
  8654  
  8655  func (ec *executionContext) _Query_directiveDouble(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) {
  8656  	fc, err := ec.fieldContext_Query_directiveDouble(ctx, field)
  8657  	if err != nil {
  8658  		return graphql.Null
  8659  	}
  8660  	ctx = graphql.WithFieldContext(ctx, fc)
  8661  	defer func() {
  8662  		if r := recover(); r != nil {
  8663  			ec.Error(ctx, ec.Recover(ctx, r))
  8664  			ret = graphql.Null
  8665  		}
  8666  	}()
  8667  	resTmp := ec._fieldMiddleware(ctx, nil, func(rctx context.Context) (interface{}, error) {
  8668  		directive0 := func(rctx context.Context) (interface{}, error) {
  8669  			ctx = rctx // use context from middleware stack in children
  8670  			return ec.resolvers.Query().DirectiveDouble(rctx)
  8671  		}
  8672  		directive1 := func(ctx context.Context) (interface{}, error) {
  8673  			if ec.directives.Directive1 == nil {
  8674  				return nil, errors.New("directive directive1 is not implemented")
  8675  			}
  8676  			return ec.directives.Directive1(ctx, nil, directive0)
  8677  		}
  8678  		directive2 := func(ctx context.Context) (interface{}, error) {
  8679  			if ec.directives.Directive2 == nil {
  8680  				return nil, errors.New("directive directive2 is not implemented")
  8681  			}
  8682  			return ec.directives.Directive2(ctx, nil, directive1)
  8683  		}
  8684  
  8685  		tmp, err := directive2(rctx)
  8686  		if err != nil {
  8687  			return nil, graphql.ErrorOnPath(ctx, err)
  8688  		}
  8689  		if tmp == nil {
  8690  			return nil, nil
  8691  		}
  8692  		if data, ok := tmp.(*string); ok {
  8693  			return data, nil
  8694  		}
  8695  		return nil, fmt.Errorf(`unexpected type %T from directive, should be *string`, tmp)
  8696  	})
  8697  
  8698  	if resTmp == nil {
  8699  		return graphql.Null
  8700  	}
  8701  	res := resTmp.(*string)
  8702  	fc.Result = res
  8703  	return ec.marshalOString2ᚖstring(ctx, field.Selections, res)
  8704  }
  8705  
  8706  func (ec *executionContext) fieldContext_Query_directiveDouble(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
  8707  	fc = &graphql.FieldContext{
  8708  		Object:     "Query",
  8709  		Field:      field,
  8710  		IsMethod:   true,
  8711  		IsResolver: true,
  8712  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
  8713  			return nil, errors.New("field of type String does not have child fields")
  8714  		},
  8715  	}
  8716  	return fc, nil
  8717  }
  8718  
  8719  func (ec *executionContext) _Query_directiveUnimplemented(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) {
  8720  	fc, err := ec.fieldContext_Query_directiveUnimplemented(ctx, field)
  8721  	if err != nil {
  8722  		return graphql.Null
  8723  	}
  8724  	ctx = graphql.WithFieldContext(ctx, fc)
  8725  	defer func() {
  8726  		if r := recover(); r != nil {
  8727  			ec.Error(ctx, ec.Recover(ctx, r))
  8728  			ret = graphql.Null
  8729  		}
  8730  	}()
  8731  	resTmp := ec._fieldMiddleware(ctx, nil, func(rctx context.Context) (interface{}, error) {
  8732  		directive0 := func(rctx context.Context) (interface{}, error) {
  8733  			ctx = rctx // use context from middleware stack in children
  8734  			return ec.resolvers.Query().DirectiveUnimplemented(rctx)
  8735  		}
  8736  		directive1 := func(ctx context.Context) (interface{}, error) {
  8737  			if ec.directives.Unimplemented == nil {
  8738  				return nil, errors.New("directive unimplemented is not implemented")
  8739  			}
  8740  			return ec.directives.Unimplemented(ctx, nil, directive0)
  8741  		}
  8742  
  8743  		tmp, err := directive1(rctx)
  8744  		if err != nil {
  8745  			return nil, graphql.ErrorOnPath(ctx, err)
  8746  		}
  8747  		if tmp == nil {
  8748  			return nil, nil
  8749  		}
  8750  		if data, ok := tmp.(*string); ok {
  8751  			return data, nil
  8752  		}
  8753  		return nil, fmt.Errorf(`unexpected type %T from directive, should be *string`, tmp)
  8754  	})
  8755  
  8756  	if resTmp == nil {
  8757  		return graphql.Null
  8758  	}
  8759  	res := resTmp.(*string)
  8760  	fc.Result = res
  8761  	return ec.marshalOString2ᚖstring(ctx, field.Selections, res)
  8762  }
  8763  
  8764  func (ec *executionContext) fieldContext_Query_directiveUnimplemented(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
  8765  	fc = &graphql.FieldContext{
  8766  		Object:     "Query",
  8767  		Field:      field,
  8768  		IsMethod:   true,
  8769  		IsResolver: true,
  8770  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
  8771  			return nil, errors.New("field of type String does not have child fields")
  8772  		},
  8773  	}
  8774  	return fc, nil
  8775  }
  8776  
  8777  func (ec *executionContext) _Query_embeddedCase1(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) {
  8778  	fc, err := ec.fieldContext_Query_embeddedCase1(ctx, field)
  8779  	if err != nil {
  8780  		return graphql.Null
  8781  	}
  8782  	ctx = graphql.WithFieldContext(ctx, fc)
  8783  	defer func() {
  8784  		if r := recover(); r != nil {
  8785  			ec.Error(ctx, ec.Recover(ctx, r))
  8786  			ret = graphql.Null
  8787  		}
  8788  	}()
  8789  	resTmp := ec._fieldMiddleware(ctx, nil, func(rctx context.Context) (interface{}, error) {
  8790  		ctx = rctx // use context from middleware stack in children
  8791  		return ec.resolvers.Query().EmbeddedCase1(rctx)
  8792  	})
  8793  
  8794  	if resTmp == nil {
  8795  		return graphql.Null
  8796  	}
  8797  	res := resTmp.(*EmbeddedCase1)
  8798  	fc.Result = res
  8799  	return ec.marshalOEmbeddedCase12ᚖgithubᚗcomᚋ99designsᚋgqlgenᚋcodegenᚋtestserverᚋsinglefileᚐEmbeddedCase1(ctx, field.Selections, res)
  8800  }
  8801  
  8802  func (ec *executionContext) fieldContext_Query_embeddedCase1(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
  8803  	fc = &graphql.FieldContext{
  8804  		Object:     "Query",
  8805  		Field:      field,
  8806  		IsMethod:   true,
  8807  		IsResolver: true,
  8808  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
  8809  			switch field.Name {
  8810  			case "exportedEmbeddedPointerExportedMethod":
  8811  				return ec.fieldContext_EmbeddedCase1_exportedEmbeddedPointerExportedMethod(ctx, field)
  8812  			}
  8813  			return nil, fmt.Errorf("no field named %q was found under type EmbeddedCase1", field.Name)
  8814  		},
  8815  	}
  8816  	return fc, nil
  8817  }
  8818  
  8819  func (ec *executionContext) _Query_embeddedCase2(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) {
  8820  	fc, err := ec.fieldContext_Query_embeddedCase2(ctx, field)
  8821  	if err != nil {
  8822  		return graphql.Null
  8823  	}
  8824  	ctx = graphql.WithFieldContext(ctx, fc)
  8825  	defer func() {
  8826  		if r := recover(); r != nil {
  8827  			ec.Error(ctx, ec.Recover(ctx, r))
  8828  			ret = graphql.Null
  8829  		}
  8830  	}()
  8831  	resTmp := ec._fieldMiddleware(ctx, nil, func(rctx context.Context) (interface{}, error) {
  8832  		ctx = rctx // use context from middleware stack in children
  8833  		return ec.resolvers.Query().EmbeddedCase2(rctx)
  8834  	})
  8835  
  8836  	if resTmp == nil {
  8837  		return graphql.Null
  8838  	}
  8839  	res := resTmp.(*EmbeddedCase2)
  8840  	fc.Result = res
  8841  	return ec.marshalOEmbeddedCase22ᚖgithubᚗcomᚋ99designsᚋgqlgenᚋcodegenᚋtestserverᚋsinglefileᚐEmbeddedCase2(ctx, field.Selections, res)
  8842  }
  8843  
  8844  func (ec *executionContext) fieldContext_Query_embeddedCase2(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
  8845  	fc = &graphql.FieldContext{
  8846  		Object:     "Query",
  8847  		Field:      field,
  8848  		IsMethod:   true,
  8849  		IsResolver: true,
  8850  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
  8851  			switch field.Name {
  8852  			case "unexportedEmbeddedPointerExportedMethod":
  8853  				return ec.fieldContext_EmbeddedCase2_unexportedEmbeddedPointerExportedMethod(ctx, field)
  8854  			}
  8855  			return nil, fmt.Errorf("no field named %q was found under type EmbeddedCase2", field.Name)
  8856  		},
  8857  	}
  8858  	return fc, nil
  8859  }
  8860  
  8861  func (ec *executionContext) _Query_embeddedCase3(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) {
  8862  	fc, err := ec.fieldContext_Query_embeddedCase3(ctx, field)
  8863  	if err != nil {
  8864  		return graphql.Null
  8865  	}
  8866  	ctx = graphql.WithFieldContext(ctx, fc)
  8867  	defer func() {
  8868  		if r := recover(); r != nil {
  8869  			ec.Error(ctx, ec.Recover(ctx, r))
  8870  			ret = graphql.Null
  8871  		}
  8872  	}()
  8873  	resTmp := ec._fieldMiddleware(ctx, nil, func(rctx context.Context) (interface{}, error) {
  8874  		ctx = rctx // use context from middleware stack in children
  8875  		return ec.resolvers.Query().EmbeddedCase3(rctx)
  8876  	})
  8877  
  8878  	if resTmp == nil {
  8879  		return graphql.Null
  8880  	}
  8881  	res := resTmp.(*EmbeddedCase3)
  8882  	fc.Result = res
  8883  	return ec.marshalOEmbeddedCase32ᚖgithubᚗcomᚋ99designsᚋgqlgenᚋcodegenᚋtestserverᚋsinglefileᚐEmbeddedCase3(ctx, field.Selections, res)
  8884  }
  8885  
  8886  func (ec *executionContext) fieldContext_Query_embeddedCase3(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
  8887  	fc = &graphql.FieldContext{
  8888  		Object:     "Query",
  8889  		Field:      field,
  8890  		IsMethod:   true,
  8891  		IsResolver: true,
  8892  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
  8893  			switch field.Name {
  8894  			case "unexportedEmbeddedInterfaceExportedMethod":
  8895  				return ec.fieldContext_EmbeddedCase3_unexportedEmbeddedInterfaceExportedMethod(ctx, field)
  8896  			}
  8897  			return nil, fmt.Errorf("no field named %q was found under type EmbeddedCase3", field.Name)
  8898  		},
  8899  	}
  8900  	return fc, nil
  8901  }
  8902  
  8903  func (ec *executionContext) _Query_enumInInput(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) {
  8904  	fc, err := ec.fieldContext_Query_enumInInput(ctx, field)
  8905  	if err != nil {
  8906  		return graphql.Null
  8907  	}
  8908  	ctx = graphql.WithFieldContext(ctx, fc)
  8909  	defer func() {
  8910  		if r := recover(); r != nil {
  8911  			ec.Error(ctx, ec.Recover(ctx, r))
  8912  			ret = graphql.Null
  8913  		}
  8914  	}()
  8915  	resTmp := ec._fieldMiddleware(ctx, nil, func(rctx context.Context) (interface{}, error) {
  8916  		ctx = rctx // use context from middleware stack in children
  8917  		return ec.resolvers.Query().EnumInInput(rctx, fc.Args["input"].(*InputWithEnumValue))
  8918  	})
  8919  
  8920  	if resTmp == nil {
  8921  		if !graphql.HasFieldError(ctx, fc) {
  8922  			ec.Errorf(ctx, "must not be null")
  8923  		}
  8924  		return graphql.Null
  8925  	}
  8926  	res := resTmp.(EnumTest)
  8927  	fc.Result = res
  8928  	return ec.marshalNEnumTest2githubᚗcomᚋ99designsᚋgqlgenᚋcodegenᚋtestserverᚋsinglefileᚐEnumTest(ctx, field.Selections, res)
  8929  }
  8930  
  8931  func (ec *executionContext) fieldContext_Query_enumInInput(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
  8932  	fc = &graphql.FieldContext{
  8933  		Object:     "Query",
  8934  		Field:      field,
  8935  		IsMethod:   true,
  8936  		IsResolver: true,
  8937  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
  8938  			return nil, errors.New("field of type EnumTest does not have child fields")
  8939  		},
  8940  	}
  8941  	defer func() {
  8942  		if r := recover(); r != nil {
  8943  			err = ec.Recover(ctx, r)
  8944  			ec.Error(ctx, err)
  8945  		}
  8946  	}()
  8947  	ctx = graphql.WithFieldContext(ctx, fc)
  8948  	if fc.Args, err = ec.field_Query_enumInInput_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
  8949  		ec.Error(ctx, err)
  8950  		return
  8951  	}
  8952  	return fc, nil
  8953  }
  8954  
  8955  func (ec *executionContext) _Query_shapes(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) {
  8956  	fc, err := ec.fieldContext_Query_shapes(ctx, field)
  8957  	if err != nil {
  8958  		return graphql.Null
  8959  	}
  8960  	ctx = graphql.WithFieldContext(ctx, fc)
  8961  	defer func() {
  8962  		if r := recover(); r != nil {
  8963  			ec.Error(ctx, ec.Recover(ctx, r))
  8964  			ret = graphql.Null
  8965  		}
  8966  	}()
  8967  	resTmp := ec._fieldMiddleware(ctx, nil, func(rctx context.Context) (interface{}, error) {
  8968  		ctx = rctx // use context from middleware stack in children
  8969  		return ec.resolvers.Query().Shapes(rctx)
  8970  	})
  8971  
  8972  	if resTmp == nil {
  8973  		return graphql.Null
  8974  	}
  8975  	res := resTmp.([]Shape)
  8976  	fc.Result = res
  8977  	return ec.marshalOShape2ᚕgithubᚗcomᚋ99designsᚋgqlgenᚋcodegenᚋtestserverᚋsinglefileᚐShape(ctx, field.Selections, res)
  8978  }
  8979  
  8980  func (ec *executionContext) fieldContext_Query_shapes(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
  8981  	fc = &graphql.FieldContext{
  8982  		Object:     "Query",
  8983  		Field:      field,
  8984  		IsMethod:   true,
  8985  		IsResolver: true,
  8986  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
  8987  			return nil, errors.New("FieldContext.Child cannot be called on type INTERFACE")
  8988  		},
  8989  	}
  8990  	return fc, nil
  8991  }
  8992  
  8993  func (ec *executionContext) _Query_noShape(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) {
  8994  	fc, err := ec.fieldContext_Query_noShape(ctx, field)
  8995  	if err != nil {
  8996  		return graphql.Null
  8997  	}
  8998  	ctx = graphql.WithFieldContext(ctx, fc)
  8999  	defer func() {
  9000  		if r := recover(); r != nil {
  9001  			ec.Error(ctx, ec.Recover(ctx, r))
  9002  			ret = graphql.Null
  9003  		}
  9004  	}()
  9005  	resTmp := ec._fieldMiddleware(ctx, nil, func(rctx context.Context) (interface{}, error) {
  9006  		directive0 := func(rctx context.Context) (interface{}, error) {
  9007  			ctx = rctx // use context from middleware stack in children
  9008  			return ec.resolvers.Query().NoShape(rctx)
  9009  		}
  9010  		directive1 := func(ctx context.Context) (interface{}, error) {
  9011  			if ec.directives.MakeNil == nil {
  9012  				return nil, errors.New("directive makeNil is not implemented")
  9013  			}
  9014  			return ec.directives.MakeNil(ctx, nil, directive0)
  9015  		}
  9016  
  9017  		tmp, err := directive1(rctx)
  9018  		if err != nil {
  9019  			return nil, graphql.ErrorOnPath(ctx, err)
  9020  		}
  9021  		if tmp == nil {
  9022  			return nil, nil
  9023  		}
  9024  		if data, ok := tmp.(Shape); ok {
  9025  			return data, nil
  9026  		}
  9027  		return nil, fmt.Errorf(`unexpected type %T from directive, should be github.com/99designs/gqlgen/codegen/testserver/singlefile.Shape`, tmp)
  9028  	})
  9029  
  9030  	if resTmp == nil {
  9031  		return graphql.Null
  9032  	}
  9033  	res := resTmp.(Shape)
  9034  	fc.Result = res
  9035  	return ec.marshalOShape2githubᚗcomᚋ99designsᚋgqlgenᚋcodegenᚋtestserverᚋsinglefileᚐShape(ctx, field.Selections, res)
  9036  }
  9037  
  9038  func (ec *executionContext) fieldContext_Query_noShape(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
  9039  	fc = &graphql.FieldContext{
  9040  		Object:     "Query",
  9041  		Field:      field,
  9042  		IsMethod:   true,
  9043  		IsResolver: true,
  9044  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
  9045  			return nil, errors.New("FieldContext.Child cannot be called on type INTERFACE")
  9046  		},
  9047  	}
  9048  	return fc, nil
  9049  }
  9050  
  9051  func (ec *executionContext) _Query_node(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) {
  9052  	fc, err := ec.fieldContext_Query_node(ctx, field)
  9053  	if err != nil {
  9054  		return graphql.Null
  9055  	}
  9056  	ctx = graphql.WithFieldContext(ctx, fc)
  9057  	defer func() {
  9058  		if r := recover(); r != nil {
  9059  			ec.Error(ctx, ec.Recover(ctx, r))
  9060  			ret = graphql.Null
  9061  		}
  9062  	}()
  9063  	resTmp := ec._fieldMiddleware(ctx, nil, func(rctx context.Context) (interface{}, error) {
  9064  		ctx = rctx // use context from middleware stack in children
  9065  		return ec.resolvers.Query().Node(rctx)
  9066  	})
  9067  
  9068  	if resTmp == nil {
  9069  		if !graphql.HasFieldError(ctx, fc) {
  9070  			ec.Errorf(ctx, "must not be null")
  9071  		}
  9072  		return graphql.Null
  9073  	}
  9074  	res := resTmp.(Node)
  9075  	fc.Result = res
  9076  	return ec.marshalNNode2githubᚗcomᚋ99designsᚋgqlgenᚋcodegenᚋtestserverᚋsinglefileᚐNode(ctx, field.Selections, res)
  9077  }
  9078  
  9079  func (ec *executionContext) fieldContext_Query_node(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
  9080  	fc = &graphql.FieldContext{
  9081  		Object:     "Query",
  9082  		Field:      field,
  9083  		IsMethod:   true,
  9084  		IsResolver: true,
  9085  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
  9086  			return nil, errors.New("FieldContext.Child cannot be called on type INTERFACE")
  9087  		},
  9088  	}
  9089  	return fc, nil
  9090  }
  9091  
  9092  func (ec *executionContext) _Query_noShapeTypedNil(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) {
  9093  	fc, err := ec.fieldContext_Query_noShapeTypedNil(ctx, field)
  9094  	if err != nil {
  9095  		return graphql.Null
  9096  	}
  9097  	ctx = graphql.WithFieldContext(ctx, fc)
  9098  	defer func() {
  9099  		if r := recover(); r != nil {
  9100  			ec.Error(ctx, ec.Recover(ctx, r))
  9101  			ret = graphql.Null
  9102  		}
  9103  	}()
  9104  	resTmp := ec._fieldMiddleware(ctx, nil, func(rctx context.Context) (interface{}, error) {
  9105  		directive0 := func(rctx context.Context) (interface{}, error) {
  9106  			ctx = rctx // use context from middleware stack in children
  9107  			return ec.resolvers.Query().NoShapeTypedNil(rctx)
  9108  		}
  9109  		directive1 := func(ctx context.Context) (interface{}, error) {
  9110  			if ec.directives.MakeTypedNil == nil {
  9111  				return nil, errors.New("directive makeTypedNil is not implemented")
  9112  			}
  9113  			return ec.directives.MakeTypedNil(ctx, nil, directive0)
  9114  		}
  9115  
  9116  		tmp, err := directive1(rctx)
  9117  		if err != nil {
  9118  			return nil, graphql.ErrorOnPath(ctx, err)
  9119  		}
  9120  		if tmp == nil {
  9121  			return nil, nil
  9122  		}
  9123  		if data, ok := tmp.(Shape); ok {
  9124  			return data, nil
  9125  		}
  9126  		return nil, fmt.Errorf(`unexpected type %T from directive, should be github.com/99designs/gqlgen/codegen/testserver/singlefile.Shape`, tmp)
  9127  	})
  9128  
  9129  	if resTmp == nil {
  9130  		return graphql.Null
  9131  	}
  9132  	res := resTmp.(Shape)
  9133  	fc.Result = res
  9134  	return ec.marshalOShape2githubᚗcomᚋ99designsᚋgqlgenᚋcodegenᚋtestserverᚋsinglefileᚐShape(ctx, field.Selections, res)
  9135  }
  9136  
  9137  func (ec *executionContext) fieldContext_Query_noShapeTypedNil(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
  9138  	fc = &graphql.FieldContext{
  9139  		Object:     "Query",
  9140  		Field:      field,
  9141  		IsMethod:   true,
  9142  		IsResolver: true,
  9143  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
  9144  			return nil, errors.New("FieldContext.Child cannot be called on type INTERFACE")
  9145  		},
  9146  	}
  9147  	return fc, nil
  9148  }
  9149  
  9150  func (ec *executionContext) _Query_animal(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) {
  9151  	fc, err := ec.fieldContext_Query_animal(ctx, field)
  9152  	if err != nil {
  9153  		return graphql.Null
  9154  	}
  9155  	ctx = graphql.WithFieldContext(ctx, fc)
  9156  	defer func() {
  9157  		if r := recover(); r != nil {
  9158  			ec.Error(ctx, ec.Recover(ctx, r))
  9159  			ret = graphql.Null
  9160  		}
  9161  	}()
  9162  	resTmp := ec._fieldMiddleware(ctx, nil, func(rctx context.Context) (interface{}, error) {
  9163  		directive0 := func(rctx context.Context) (interface{}, error) {
  9164  			ctx = rctx // use context from middleware stack in children
  9165  			return ec.resolvers.Query().Animal(rctx)
  9166  		}
  9167  		directive1 := func(ctx context.Context) (interface{}, error) {
  9168  			if ec.directives.MakeTypedNil == nil {
  9169  				return nil, errors.New("directive makeTypedNil is not implemented")
  9170  			}
  9171  			return ec.directives.MakeTypedNil(ctx, nil, directive0)
  9172  		}
  9173  
  9174  		tmp, err := directive1(rctx)
  9175  		if err != nil {
  9176  			return nil, graphql.ErrorOnPath(ctx, err)
  9177  		}
  9178  		if tmp == nil {
  9179  			return nil, nil
  9180  		}
  9181  		if data, ok := tmp.(Animal); ok {
  9182  			return data, nil
  9183  		}
  9184  		return nil, fmt.Errorf(`unexpected type %T from directive, should be github.com/99designs/gqlgen/codegen/testserver/singlefile.Animal`, tmp)
  9185  	})
  9186  
  9187  	if resTmp == nil {
  9188  		return graphql.Null
  9189  	}
  9190  	res := resTmp.(Animal)
  9191  	fc.Result = res
  9192  	return ec.marshalOAnimal2githubᚗcomᚋ99designsᚋgqlgenᚋcodegenᚋtestserverᚋsinglefileᚐAnimal(ctx, field.Selections, res)
  9193  }
  9194  
  9195  func (ec *executionContext) fieldContext_Query_animal(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
  9196  	fc = &graphql.FieldContext{
  9197  		Object:     "Query",
  9198  		Field:      field,
  9199  		IsMethod:   true,
  9200  		IsResolver: true,
  9201  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
  9202  			return nil, errors.New("FieldContext.Child cannot be called on type INTERFACE")
  9203  		},
  9204  	}
  9205  	return fc, nil
  9206  }
  9207  
  9208  func (ec *executionContext) _Query_notAnInterface(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) {
  9209  	fc, err := ec.fieldContext_Query_notAnInterface(ctx, field)
  9210  	if err != nil {
  9211  		return graphql.Null
  9212  	}
  9213  	ctx = graphql.WithFieldContext(ctx, fc)
  9214  	defer func() {
  9215  		if r := recover(); r != nil {
  9216  			ec.Error(ctx, ec.Recover(ctx, r))
  9217  			ret = graphql.Null
  9218  		}
  9219  	}()
  9220  	resTmp := ec._fieldMiddleware(ctx, nil, func(rctx context.Context) (interface{}, error) {
  9221  		ctx = rctx // use context from middleware stack in children
  9222  		return ec.resolvers.Query().NotAnInterface(rctx)
  9223  	})
  9224  
  9225  	if resTmp == nil {
  9226  		return graphql.Null
  9227  	}
  9228  	res := resTmp.(BackedByInterface)
  9229  	fc.Result = res
  9230  	return ec.marshalOBackedByInterface2githubᚗcomᚋ99designsᚋgqlgenᚋcodegenᚋtestserverᚋsinglefileᚐBackedByInterface(ctx, field.Selections, res)
  9231  }
  9232  
  9233  func (ec *executionContext) fieldContext_Query_notAnInterface(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
  9234  	fc = &graphql.FieldContext{
  9235  		Object:     "Query",
  9236  		Field:      field,
  9237  		IsMethod:   true,
  9238  		IsResolver: true,
  9239  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
  9240  			switch field.Name {
  9241  			case "id":
  9242  				return ec.fieldContext_BackedByInterface_id(ctx, field)
  9243  			case "thisShouldBind":
  9244  				return ec.fieldContext_BackedByInterface_thisShouldBind(ctx, field)
  9245  			case "thisShouldBindWithError":
  9246  				return ec.fieldContext_BackedByInterface_thisShouldBindWithError(ctx, field)
  9247  			}
  9248  			return nil, fmt.Errorf("no field named %q was found under type BackedByInterface", field.Name)
  9249  		},
  9250  	}
  9251  	return fc, nil
  9252  }
  9253  
  9254  func (ec *executionContext) _Query_dog(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) {
  9255  	fc, err := ec.fieldContext_Query_dog(ctx, field)
  9256  	if err != nil {
  9257  		return graphql.Null
  9258  	}
  9259  	ctx = graphql.WithFieldContext(ctx, fc)
  9260  	defer func() {
  9261  		if r := recover(); r != nil {
  9262  			ec.Error(ctx, ec.Recover(ctx, r))
  9263  			ret = graphql.Null
  9264  		}
  9265  	}()
  9266  	resTmp := ec._fieldMiddleware(ctx, nil, func(rctx context.Context) (interface{}, error) {
  9267  		ctx = rctx // use context from middleware stack in children
  9268  		return ec.resolvers.Query().Dog(rctx)
  9269  	})
  9270  
  9271  	if resTmp == nil {
  9272  		return graphql.Null
  9273  	}
  9274  	res := resTmp.(*Dog)
  9275  	fc.Result = res
  9276  	return ec.marshalODog2ᚖgithubᚗcomᚋ99designsᚋgqlgenᚋcodegenᚋtestserverᚋsinglefileᚐDog(ctx, field.Selections, res)
  9277  }
  9278  
  9279  func (ec *executionContext) fieldContext_Query_dog(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
  9280  	fc = &graphql.FieldContext{
  9281  		Object:     "Query",
  9282  		Field:      field,
  9283  		IsMethod:   true,
  9284  		IsResolver: true,
  9285  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
  9286  			switch field.Name {
  9287  			case "species":
  9288  				return ec.fieldContext_Dog_species(ctx, field)
  9289  			case "size":
  9290  				return ec.fieldContext_Dog_size(ctx, field)
  9291  			case "dogBreed":
  9292  				return ec.fieldContext_Dog_dogBreed(ctx, field)
  9293  			}
  9294  			return nil, fmt.Errorf("no field named %q was found under type Dog", field.Name)
  9295  		},
  9296  	}
  9297  	return fc, nil
  9298  }
  9299  
  9300  func (ec *executionContext) _Query_issue896a(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) {
  9301  	fc, err := ec.fieldContext_Query_issue896a(ctx, field)
  9302  	if err != nil {
  9303  		return graphql.Null
  9304  	}
  9305  	ctx = graphql.WithFieldContext(ctx, fc)
  9306  	defer func() {
  9307  		if r := recover(); r != nil {
  9308  			ec.Error(ctx, ec.Recover(ctx, r))
  9309  			ret = graphql.Null
  9310  		}
  9311  	}()
  9312  	resTmp := ec._fieldMiddleware(ctx, nil, func(rctx context.Context) (interface{}, error) {
  9313  		ctx = rctx // use context from middleware stack in children
  9314  		return ec.resolvers.Query().Issue896a(rctx)
  9315  	})
  9316  
  9317  	if resTmp == nil {
  9318  		return graphql.Null
  9319  	}
  9320  	res := resTmp.([]*CheckIssue896)
  9321  	fc.Result = res
  9322  	return ec.marshalOCheckIssue8962ᚕᚖgithubᚗcomᚋ99designsᚋgqlgenᚋcodegenᚋtestserverᚋsinglefileᚐCheckIssue896ᚄ(ctx, field.Selections, res)
  9323  }
  9324  
  9325  func (ec *executionContext) fieldContext_Query_issue896a(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
  9326  	fc = &graphql.FieldContext{
  9327  		Object:     "Query",
  9328  		Field:      field,
  9329  		IsMethod:   true,
  9330  		IsResolver: true,
  9331  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
  9332  			switch field.Name {
  9333  			case "id":
  9334  				return ec.fieldContext_CheckIssue896_id(ctx, field)
  9335  			}
  9336  			return nil, fmt.Errorf("no field named %q was found under type CheckIssue896", field.Name)
  9337  		},
  9338  	}
  9339  	return fc, nil
  9340  }
  9341  
  9342  func (ec *executionContext) _Query_mapStringInterface(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) {
  9343  	fc, err := ec.fieldContext_Query_mapStringInterface(ctx, field)
  9344  	if err != nil {
  9345  		return graphql.Null
  9346  	}
  9347  	ctx = graphql.WithFieldContext(ctx, fc)
  9348  	defer func() {
  9349  		if r := recover(); r != nil {
  9350  			ec.Error(ctx, ec.Recover(ctx, r))
  9351  			ret = graphql.Null
  9352  		}
  9353  	}()
  9354  	resTmp := ec._fieldMiddleware(ctx, nil, func(rctx context.Context) (interface{}, error) {
  9355  		ctx = rctx // use context from middleware stack in children
  9356  		return ec.resolvers.Query().MapStringInterface(rctx, fc.Args["in"].(map[string]interface{}))
  9357  	})
  9358  
  9359  	if resTmp == nil {
  9360  		return graphql.Null
  9361  	}
  9362  	res := resTmp.(map[string]interface{})
  9363  	fc.Result = res
  9364  	return ec.marshalOMapStringInterfaceType2map(ctx, field.Selections, res)
  9365  }
  9366  
  9367  func (ec *executionContext) fieldContext_Query_mapStringInterface(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
  9368  	fc = &graphql.FieldContext{
  9369  		Object:     "Query",
  9370  		Field:      field,
  9371  		IsMethod:   true,
  9372  		IsResolver: true,
  9373  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
  9374  			switch field.Name {
  9375  			case "a":
  9376  				return ec.fieldContext_MapStringInterfaceType_a(ctx, field)
  9377  			case "b":
  9378  				return ec.fieldContext_MapStringInterfaceType_b(ctx, field)
  9379  			}
  9380  			return nil, fmt.Errorf("no field named %q was found under type MapStringInterfaceType", field.Name)
  9381  		},
  9382  	}
  9383  	defer func() {
  9384  		if r := recover(); r != nil {
  9385  			err = ec.Recover(ctx, r)
  9386  			ec.Error(ctx, err)
  9387  		}
  9388  	}()
  9389  	ctx = graphql.WithFieldContext(ctx, fc)
  9390  	if fc.Args, err = ec.field_Query_mapStringInterface_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
  9391  		ec.Error(ctx, err)
  9392  		return
  9393  	}
  9394  	return fc, nil
  9395  }
  9396  
  9397  func (ec *executionContext) _Query_mapNestedStringInterface(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) {
  9398  	fc, err := ec.fieldContext_Query_mapNestedStringInterface(ctx, field)
  9399  	if err != nil {
  9400  		return graphql.Null
  9401  	}
  9402  	ctx = graphql.WithFieldContext(ctx, fc)
  9403  	defer func() {
  9404  		if r := recover(); r != nil {
  9405  			ec.Error(ctx, ec.Recover(ctx, r))
  9406  			ret = graphql.Null
  9407  		}
  9408  	}()
  9409  	resTmp := ec._fieldMiddleware(ctx, nil, func(rctx context.Context) (interface{}, error) {
  9410  		ctx = rctx // use context from middleware stack in children
  9411  		return ec.resolvers.Query().MapNestedStringInterface(rctx, fc.Args["in"].(*NestedMapInput))
  9412  	})
  9413  
  9414  	if resTmp == nil {
  9415  		return graphql.Null
  9416  	}
  9417  	res := resTmp.(map[string]interface{})
  9418  	fc.Result = res
  9419  	return ec.marshalOMapStringInterfaceType2map(ctx, field.Selections, res)
  9420  }
  9421  
  9422  func (ec *executionContext) fieldContext_Query_mapNestedStringInterface(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
  9423  	fc = &graphql.FieldContext{
  9424  		Object:     "Query",
  9425  		Field:      field,
  9426  		IsMethod:   true,
  9427  		IsResolver: true,
  9428  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
  9429  			switch field.Name {
  9430  			case "a":
  9431  				return ec.fieldContext_MapStringInterfaceType_a(ctx, field)
  9432  			case "b":
  9433  				return ec.fieldContext_MapStringInterfaceType_b(ctx, field)
  9434  			}
  9435  			return nil, fmt.Errorf("no field named %q was found under type MapStringInterfaceType", field.Name)
  9436  		},
  9437  	}
  9438  	defer func() {
  9439  		if r := recover(); r != nil {
  9440  			err = ec.Recover(ctx, r)
  9441  			ec.Error(ctx, err)
  9442  		}
  9443  	}()
  9444  	ctx = graphql.WithFieldContext(ctx, fc)
  9445  	if fc.Args, err = ec.field_Query_mapNestedStringInterface_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
  9446  		ec.Error(ctx, err)
  9447  		return
  9448  	}
  9449  	return fc, nil
  9450  }
  9451  
  9452  func (ec *executionContext) _Query_errorBubble(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) {
  9453  	fc, err := ec.fieldContext_Query_errorBubble(ctx, field)
  9454  	if err != nil {
  9455  		return graphql.Null
  9456  	}
  9457  	ctx = graphql.WithFieldContext(ctx, fc)
  9458  	defer func() {
  9459  		if r := recover(); r != nil {
  9460  			ec.Error(ctx, ec.Recover(ctx, r))
  9461  			ret = graphql.Null
  9462  		}
  9463  	}()
  9464  	resTmp := ec._fieldMiddleware(ctx, nil, func(rctx context.Context) (interface{}, error) {
  9465  		ctx = rctx // use context from middleware stack in children
  9466  		return ec.resolvers.Query().ErrorBubble(rctx)
  9467  	})
  9468  
  9469  	if resTmp == nil {
  9470  		return graphql.Null
  9471  	}
  9472  	res := resTmp.(*Error)
  9473  	fc.Result = res
  9474  	return ec.marshalOError2ᚖgithubᚗcomᚋ99designsᚋgqlgenᚋcodegenᚋtestserverᚋsinglefileᚐError(ctx, field.Selections, res)
  9475  }
  9476  
  9477  func (ec *executionContext) fieldContext_Query_errorBubble(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
  9478  	fc = &graphql.FieldContext{
  9479  		Object:     "Query",
  9480  		Field:      field,
  9481  		IsMethod:   true,
  9482  		IsResolver: true,
  9483  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
  9484  			switch field.Name {
  9485  			case "id":
  9486  				return ec.fieldContext_Error_id(ctx, field)
  9487  			case "errorOnNonRequiredField":
  9488  				return ec.fieldContext_Error_errorOnNonRequiredField(ctx, field)
  9489  			case "errorOnRequiredField":
  9490  				return ec.fieldContext_Error_errorOnRequiredField(ctx, field)
  9491  			case "nilOnRequiredField":
  9492  				return ec.fieldContext_Error_nilOnRequiredField(ctx, field)
  9493  			}
  9494  			return nil, fmt.Errorf("no field named %q was found under type Error", field.Name)
  9495  		},
  9496  	}
  9497  	return fc, nil
  9498  }
  9499  
  9500  func (ec *executionContext) _Query_errorBubbleList(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) {
  9501  	fc, err := ec.fieldContext_Query_errorBubbleList(ctx, field)
  9502  	if err != nil {
  9503  		return graphql.Null
  9504  	}
  9505  	ctx = graphql.WithFieldContext(ctx, fc)
  9506  	defer func() {
  9507  		if r := recover(); r != nil {
  9508  			ec.Error(ctx, ec.Recover(ctx, r))
  9509  			ret = graphql.Null
  9510  		}
  9511  	}()
  9512  	resTmp := ec._fieldMiddleware(ctx, nil, func(rctx context.Context) (interface{}, error) {
  9513  		ctx = rctx // use context from middleware stack in children
  9514  		return ec.resolvers.Query().ErrorBubbleList(rctx)
  9515  	})
  9516  
  9517  	if resTmp == nil {
  9518  		return graphql.Null
  9519  	}
  9520  	res := resTmp.([]*Error)
  9521  	fc.Result = res
  9522  	return ec.marshalOError2ᚕᚖgithubᚗcomᚋ99designsᚋgqlgenᚋcodegenᚋtestserverᚋsinglefileᚐErrorᚄ(ctx, field.Selections, res)
  9523  }
  9524  
  9525  func (ec *executionContext) fieldContext_Query_errorBubbleList(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
  9526  	fc = &graphql.FieldContext{
  9527  		Object:     "Query",
  9528  		Field:      field,
  9529  		IsMethod:   true,
  9530  		IsResolver: true,
  9531  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
  9532  			switch field.Name {
  9533  			case "id":
  9534  				return ec.fieldContext_Error_id(ctx, field)
  9535  			case "errorOnNonRequiredField":
  9536  				return ec.fieldContext_Error_errorOnNonRequiredField(ctx, field)
  9537  			case "errorOnRequiredField":
  9538  				return ec.fieldContext_Error_errorOnRequiredField(ctx, field)
  9539  			case "nilOnRequiredField":
  9540  				return ec.fieldContext_Error_nilOnRequiredField(ctx, field)
  9541  			}
  9542  			return nil, fmt.Errorf("no field named %q was found under type Error", field.Name)
  9543  		},
  9544  	}
  9545  	return fc, nil
  9546  }
  9547  
  9548  func (ec *executionContext) _Query_errorList(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) {
  9549  	fc, err := ec.fieldContext_Query_errorList(ctx, field)
  9550  	if err != nil {
  9551  		return graphql.Null
  9552  	}
  9553  	ctx = graphql.WithFieldContext(ctx, fc)
  9554  	defer func() {
  9555  		if r := recover(); r != nil {
  9556  			ec.Error(ctx, ec.Recover(ctx, r))
  9557  			ret = graphql.Null
  9558  		}
  9559  	}()
  9560  	resTmp := ec._fieldMiddleware(ctx, nil, func(rctx context.Context) (interface{}, error) {
  9561  		ctx = rctx // use context from middleware stack in children
  9562  		return ec.resolvers.Query().ErrorList(rctx)
  9563  	})
  9564  
  9565  	if resTmp == nil {
  9566  		return graphql.Null
  9567  	}
  9568  	res := resTmp.([]*Error)
  9569  	fc.Result = res
  9570  	return ec.marshalOError2ᚕᚖgithubᚗcomᚋ99designsᚋgqlgenᚋcodegenᚋtestserverᚋsinglefileᚐError(ctx, field.Selections, res)
  9571  }
  9572  
  9573  func (ec *executionContext) fieldContext_Query_errorList(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
  9574  	fc = &graphql.FieldContext{
  9575  		Object:     "Query",
  9576  		Field:      field,
  9577  		IsMethod:   true,
  9578  		IsResolver: true,
  9579  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
  9580  			switch field.Name {
  9581  			case "id":
  9582  				return ec.fieldContext_Error_id(ctx, field)
  9583  			case "errorOnNonRequiredField":
  9584  				return ec.fieldContext_Error_errorOnNonRequiredField(ctx, field)
  9585  			case "errorOnRequiredField":
  9586  				return ec.fieldContext_Error_errorOnRequiredField(ctx, field)
  9587  			case "nilOnRequiredField":
  9588  				return ec.fieldContext_Error_nilOnRequiredField(ctx, field)
  9589  			}
  9590  			return nil, fmt.Errorf("no field named %q was found under type Error", field.Name)
  9591  		},
  9592  	}
  9593  	return fc, nil
  9594  }
  9595  
  9596  func (ec *executionContext) _Query_errors(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) {
  9597  	fc, err := ec.fieldContext_Query_errors(ctx, field)
  9598  	if err != nil {
  9599  		return graphql.Null
  9600  	}
  9601  	ctx = graphql.WithFieldContext(ctx, fc)
  9602  	defer func() {
  9603  		if r := recover(); r != nil {
  9604  			ec.Error(ctx, ec.Recover(ctx, r))
  9605  			ret = graphql.Null
  9606  		}
  9607  	}()
  9608  	resTmp := ec._fieldMiddleware(ctx, nil, func(rctx context.Context) (interface{}, error) {
  9609  		ctx = rctx // use context from middleware stack in children
  9610  		return ec.resolvers.Query().Errors(rctx)
  9611  	})
  9612  
  9613  	if resTmp == nil {
  9614  		return graphql.Null
  9615  	}
  9616  	res := resTmp.(*Errors)
  9617  	fc.Result = res
  9618  	return ec.marshalOErrors2ᚖgithubᚗcomᚋ99designsᚋgqlgenᚋcodegenᚋtestserverᚋsinglefileᚐErrors(ctx, field.Selections, res)
  9619  }
  9620  
  9621  func (ec *executionContext) fieldContext_Query_errors(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
  9622  	fc = &graphql.FieldContext{
  9623  		Object:     "Query",
  9624  		Field:      field,
  9625  		IsMethod:   true,
  9626  		IsResolver: true,
  9627  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
  9628  			switch field.Name {
  9629  			case "a":
  9630  				return ec.fieldContext_Errors_a(ctx, field)
  9631  			case "b":
  9632  				return ec.fieldContext_Errors_b(ctx, field)
  9633  			case "c":
  9634  				return ec.fieldContext_Errors_c(ctx, field)
  9635  			case "d":
  9636  				return ec.fieldContext_Errors_d(ctx, field)
  9637  			case "e":
  9638  				return ec.fieldContext_Errors_e(ctx, field)
  9639  			}
  9640  			return nil, fmt.Errorf("no field named %q was found under type Errors", field.Name)
  9641  		},
  9642  	}
  9643  	return fc, nil
  9644  }
  9645  
  9646  func (ec *executionContext) _Query_valid(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) {
  9647  	fc, err := ec.fieldContext_Query_valid(ctx, field)
  9648  	if err != nil {
  9649  		return graphql.Null
  9650  	}
  9651  	ctx = graphql.WithFieldContext(ctx, fc)
  9652  	defer func() {
  9653  		if r := recover(); r != nil {
  9654  			ec.Error(ctx, ec.Recover(ctx, r))
  9655  			ret = graphql.Null
  9656  		}
  9657  	}()
  9658  	resTmp := ec._fieldMiddleware(ctx, nil, func(rctx context.Context) (interface{}, error) {
  9659  		ctx = rctx // use context from middleware stack in children
  9660  		return ec.resolvers.Query().Valid(rctx)
  9661  	})
  9662  
  9663  	if resTmp == nil {
  9664  		if !graphql.HasFieldError(ctx, fc) {
  9665  			ec.Errorf(ctx, "must not be null")
  9666  		}
  9667  		return graphql.Null
  9668  	}
  9669  	res := resTmp.(string)
  9670  	fc.Result = res
  9671  	return ec.marshalNString2string(ctx, field.Selections, res)
  9672  }
  9673  
  9674  func (ec *executionContext) fieldContext_Query_valid(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
  9675  	fc = &graphql.FieldContext{
  9676  		Object:     "Query",
  9677  		Field:      field,
  9678  		IsMethod:   true,
  9679  		IsResolver: true,
  9680  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
  9681  			return nil, errors.New("field of type String does not have child fields")
  9682  		},
  9683  	}
  9684  	return fc, nil
  9685  }
  9686  
  9687  func (ec *executionContext) _Query_invalid(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) {
  9688  	fc, err := ec.fieldContext_Query_invalid(ctx, field)
  9689  	if err != nil {
  9690  		return graphql.Null
  9691  	}
  9692  	ctx = graphql.WithFieldContext(ctx, fc)
  9693  	defer func() {
  9694  		if r := recover(); r != nil {
  9695  			ec.Error(ctx, ec.Recover(ctx, r))
  9696  			ret = graphql.Null
  9697  		}
  9698  	}()
  9699  	resTmp := ec._fieldMiddleware(ctx, nil, func(rctx context.Context) (interface{}, error) {
  9700  		ctx = rctx // use context from middleware stack in children
  9701  		return ec.resolvers.Query().Invalid(rctx)
  9702  	})
  9703  
  9704  	if resTmp == nil {
  9705  		if !graphql.HasFieldError(ctx, fc) {
  9706  			ec.Errorf(ctx, "must not be null")
  9707  		}
  9708  		return graphql.Null
  9709  	}
  9710  	res := resTmp.(string)
  9711  	fc.Result = res
  9712  	return ec.marshalNString2string(ctx, field.Selections, res)
  9713  }
  9714  
  9715  func (ec *executionContext) fieldContext_Query_invalid(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
  9716  	fc = &graphql.FieldContext{
  9717  		Object:     "Query",
  9718  		Field:      field,
  9719  		IsMethod:   true,
  9720  		IsResolver: true,
  9721  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
  9722  			return nil, errors.New("field of type String does not have child fields")
  9723  		},
  9724  	}
  9725  	return fc, nil
  9726  }
  9727  
  9728  func (ec *executionContext) _Query_panics(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) {
  9729  	fc, err := ec.fieldContext_Query_panics(ctx, field)
  9730  	if err != nil {
  9731  		return graphql.Null
  9732  	}
  9733  	ctx = graphql.WithFieldContext(ctx, fc)
  9734  	defer func() {
  9735  		if r := recover(); r != nil {
  9736  			ec.Error(ctx, ec.Recover(ctx, r))
  9737  			ret = graphql.Null
  9738  		}
  9739  	}()
  9740  	resTmp := ec._fieldMiddleware(ctx, nil, func(rctx context.Context) (interface{}, error) {
  9741  		ctx = rctx // use context from middleware stack in children
  9742  		return ec.resolvers.Query().Panics(rctx)
  9743  	})
  9744  
  9745  	if resTmp == nil {
  9746  		return graphql.Null
  9747  	}
  9748  	res := resTmp.(*Panics)
  9749  	fc.Result = res
  9750  	return ec.marshalOPanics2ᚖgithubᚗcomᚋ99designsᚋgqlgenᚋcodegenᚋtestserverᚋsinglefileᚐPanics(ctx, field.Selections, res)
  9751  }
  9752  
  9753  func (ec *executionContext) fieldContext_Query_panics(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
  9754  	fc = &graphql.FieldContext{
  9755  		Object:     "Query",
  9756  		Field:      field,
  9757  		IsMethod:   true,
  9758  		IsResolver: true,
  9759  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
  9760  			switch field.Name {
  9761  			case "fieldScalarMarshal":
  9762  				return ec.fieldContext_Panics_fieldScalarMarshal(ctx, field)
  9763  			case "fieldFuncMarshal":
  9764  				return ec.fieldContext_Panics_fieldFuncMarshal(ctx, field)
  9765  			case "argUnmarshal":
  9766  				return ec.fieldContext_Panics_argUnmarshal(ctx, field)
  9767  			}
  9768  			return nil, fmt.Errorf("no field named %q was found under type Panics", field.Name)
  9769  		},
  9770  	}
  9771  	return fc, nil
  9772  }
  9773  
  9774  func (ec *executionContext) _Query_primitiveObject(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) {
  9775  	fc, err := ec.fieldContext_Query_primitiveObject(ctx, field)
  9776  	if err != nil {
  9777  		return graphql.Null
  9778  	}
  9779  	ctx = graphql.WithFieldContext(ctx, fc)
  9780  	defer func() {
  9781  		if r := recover(); r != nil {
  9782  			ec.Error(ctx, ec.Recover(ctx, r))
  9783  			ret = graphql.Null
  9784  		}
  9785  	}()
  9786  	resTmp := ec._fieldMiddleware(ctx, nil, func(rctx context.Context) (interface{}, error) {
  9787  		ctx = rctx // use context from middleware stack in children
  9788  		return ec.resolvers.Query().PrimitiveObject(rctx)
  9789  	})
  9790  
  9791  	if resTmp == nil {
  9792  		if !graphql.HasFieldError(ctx, fc) {
  9793  			ec.Errorf(ctx, "must not be null")
  9794  		}
  9795  		return graphql.Null
  9796  	}
  9797  	res := resTmp.([]Primitive)
  9798  	fc.Result = res
  9799  	return ec.marshalNPrimitive2ᚕgithubᚗcomᚋ99designsᚋgqlgenᚋcodegenᚋtestserverᚋsinglefileᚐPrimitiveᚄ(ctx, field.Selections, res)
  9800  }
  9801  
  9802  func (ec *executionContext) fieldContext_Query_primitiveObject(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
  9803  	fc = &graphql.FieldContext{
  9804  		Object:     "Query",
  9805  		Field:      field,
  9806  		IsMethod:   true,
  9807  		IsResolver: true,
  9808  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
  9809  			switch field.Name {
  9810  			case "value":
  9811  				return ec.fieldContext_Primitive_value(ctx, field)
  9812  			case "squared":
  9813  				return ec.fieldContext_Primitive_squared(ctx, field)
  9814  			}
  9815  			return nil, fmt.Errorf("no field named %q was found under type Primitive", field.Name)
  9816  		},
  9817  	}
  9818  	return fc, nil
  9819  }
  9820  
  9821  func (ec *executionContext) _Query_primitiveStringObject(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) {
  9822  	fc, err := ec.fieldContext_Query_primitiveStringObject(ctx, field)
  9823  	if err != nil {
  9824  		return graphql.Null
  9825  	}
  9826  	ctx = graphql.WithFieldContext(ctx, fc)
  9827  	defer func() {
  9828  		if r := recover(); r != nil {
  9829  			ec.Error(ctx, ec.Recover(ctx, r))
  9830  			ret = graphql.Null
  9831  		}
  9832  	}()
  9833  	resTmp := ec._fieldMiddleware(ctx, nil, func(rctx context.Context) (interface{}, error) {
  9834  		ctx = rctx // use context from middleware stack in children
  9835  		return ec.resolvers.Query().PrimitiveStringObject(rctx)
  9836  	})
  9837  
  9838  	if resTmp == nil {
  9839  		if !graphql.HasFieldError(ctx, fc) {
  9840  			ec.Errorf(ctx, "must not be null")
  9841  		}
  9842  		return graphql.Null
  9843  	}
  9844  	res := resTmp.([]PrimitiveString)
  9845  	fc.Result = res
  9846  	return ec.marshalNPrimitiveString2ᚕgithubᚗcomᚋ99designsᚋgqlgenᚋcodegenᚋtestserverᚋsinglefileᚐPrimitiveStringᚄ(ctx, field.Selections, res)
  9847  }
  9848  
  9849  func (ec *executionContext) fieldContext_Query_primitiveStringObject(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
  9850  	fc = &graphql.FieldContext{
  9851  		Object:     "Query",
  9852  		Field:      field,
  9853  		IsMethod:   true,
  9854  		IsResolver: true,
  9855  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
  9856  			switch field.Name {
  9857  			case "value":
  9858  				return ec.fieldContext_PrimitiveString_value(ctx, field)
  9859  			case "doubled":
  9860  				return ec.fieldContext_PrimitiveString_doubled(ctx, field)
  9861  			case "len":
  9862  				return ec.fieldContext_PrimitiveString_len(ctx, field)
  9863  			}
  9864  			return nil, fmt.Errorf("no field named %q was found under type PrimitiveString", field.Name)
  9865  		},
  9866  	}
  9867  	return fc, nil
  9868  }
  9869  
  9870  func (ec *executionContext) _Query_ptrToSliceContainer(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) {
  9871  	fc, err := ec.fieldContext_Query_ptrToSliceContainer(ctx, field)
  9872  	if err != nil {
  9873  		return graphql.Null
  9874  	}
  9875  	ctx = graphql.WithFieldContext(ctx, fc)
  9876  	defer func() {
  9877  		if r := recover(); r != nil {
  9878  			ec.Error(ctx, ec.Recover(ctx, r))
  9879  			ret = graphql.Null
  9880  		}
  9881  	}()
  9882  	resTmp := ec._fieldMiddleware(ctx, nil, func(rctx context.Context) (interface{}, error) {
  9883  		ctx = rctx // use context from middleware stack in children
  9884  		return ec.resolvers.Query().PtrToSliceContainer(rctx)
  9885  	})
  9886  
  9887  	if resTmp == nil {
  9888  		if !graphql.HasFieldError(ctx, fc) {
  9889  			ec.Errorf(ctx, "must not be null")
  9890  		}
  9891  		return graphql.Null
  9892  	}
  9893  	res := resTmp.(*PtrToSliceContainer)
  9894  	fc.Result = res
  9895  	return ec.marshalNPtrToSliceContainer2ᚖgithubᚗcomᚋ99designsᚋgqlgenᚋcodegenᚋtestserverᚋsinglefileᚐPtrToSliceContainer(ctx, field.Selections, res)
  9896  }
  9897  
  9898  func (ec *executionContext) fieldContext_Query_ptrToSliceContainer(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
  9899  	fc = &graphql.FieldContext{
  9900  		Object:     "Query",
  9901  		Field:      field,
  9902  		IsMethod:   true,
  9903  		IsResolver: true,
  9904  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
  9905  			switch field.Name {
  9906  			case "ptrToSlice":
  9907  				return ec.fieldContext_PtrToSliceContainer_ptrToSlice(ctx, field)
  9908  			}
  9909  			return nil, fmt.Errorf("no field named %q was found under type PtrToSliceContainer", field.Name)
  9910  		},
  9911  	}
  9912  	return fc, nil
  9913  }
  9914  
  9915  func (ec *executionContext) _Query_infinity(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) {
  9916  	fc, err := ec.fieldContext_Query_infinity(ctx, field)
  9917  	if err != nil {
  9918  		return graphql.Null
  9919  	}
  9920  	ctx = graphql.WithFieldContext(ctx, fc)
  9921  	defer func() {
  9922  		if r := recover(); r != nil {
  9923  			ec.Error(ctx, ec.Recover(ctx, r))
  9924  			ret = graphql.Null
  9925  		}
  9926  	}()
  9927  	resTmp := ec._fieldMiddleware(ctx, nil, func(rctx context.Context) (interface{}, error) {
  9928  		ctx = rctx // use context from middleware stack in children
  9929  		return ec.resolvers.Query().Infinity(rctx)
  9930  	})
  9931  
  9932  	if resTmp == nil {
  9933  		if !graphql.HasFieldError(ctx, fc) {
  9934  			ec.Errorf(ctx, "must not be null")
  9935  		}
  9936  		return graphql.Null
  9937  	}
  9938  	res := resTmp.(float64)
  9939  	fc.Result = res
  9940  	return ec.marshalNFloat2float64(ctx, field.Selections, res)
  9941  }
  9942  
  9943  func (ec *executionContext) fieldContext_Query_infinity(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
  9944  	fc = &graphql.FieldContext{
  9945  		Object:     "Query",
  9946  		Field:      field,
  9947  		IsMethod:   true,
  9948  		IsResolver: true,
  9949  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
  9950  			return nil, errors.New("field of type Float does not have child fields")
  9951  		},
  9952  	}
  9953  	return fc, nil
  9954  }
  9955  
  9956  func (ec *executionContext) _Query_stringFromContextInterface(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) {
  9957  	fc, err := ec.fieldContext_Query_stringFromContextInterface(ctx, field)
  9958  	if err != nil {
  9959  		return graphql.Null
  9960  	}
  9961  	ctx = graphql.WithFieldContext(ctx, fc)
  9962  	defer func() {
  9963  		if r := recover(); r != nil {
  9964  			ec.Error(ctx, ec.Recover(ctx, r))
  9965  			ret = graphql.Null
  9966  		}
  9967  	}()
  9968  	resTmp := ec._fieldMiddleware(ctx, nil, func(rctx context.Context) (interface{}, error) {
  9969  		ctx = rctx // use context from middleware stack in children
  9970  		return ec.resolvers.Query().StringFromContextInterface(rctx)
  9971  	})
  9972  
  9973  	if resTmp == nil {
  9974  		if !graphql.HasFieldError(ctx, fc) {
  9975  			ec.Errorf(ctx, "must not be null")
  9976  		}
  9977  		return graphql.Null
  9978  	}
  9979  	res := resTmp.(*StringFromContextInterface)
  9980  	fc.Result = res
  9981  	return ec.marshalNStringFromContextInterface2ᚖgithubᚗcomᚋ99designsᚋgqlgenᚋcodegenᚋtestserverᚋsinglefileᚐStringFromContextInterface(ctx, field.Selections, res)
  9982  }
  9983  
  9984  func (ec *executionContext) fieldContext_Query_stringFromContextInterface(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
  9985  	fc = &graphql.FieldContext{
  9986  		Object:     "Query",
  9987  		Field:      field,
  9988  		IsMethod:   true,
  9989  		IsResolver: true,
  9990  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
  9991  			return nil, errors.New("field of type StringFromContextInterface does not have child fields")
  9992  		},
  9993  	}
  9994  	return fc, nil
  9995  }
  9996  
  9997  func (ec *executionContext) _Query_stringFromContextFunction(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) {
  9998  	fc, err := ec.fieldContext_Query_stringFromContextFunction(ctx, field)
  9999  	if err != nil {
 10000  		return graphql.Null
 10001  	}
 10002  	ctx = graphql.WithFieldContext(ctx, fc)
 10003  	defer func() {
 10004  		if r := recover(); r != nil {
 10005  			ec.Error(ctx, ec.Recover(ctx, r))
 10006  			ret = graphql.Null
 10007  		}
 10008  	}()
 10009  	resTmp := ec._fieldMiddleware(ctx, nil, func(rctx context.Context) (interface{}, error) {
 10010  		ctx = rctx // use context from middleware stack in children
 10011  		return ec.resolvers.Query().StringFromContextFunction(rctx)
 10012  	})
 10013  
 10014  	if resTmp == nil {
 10015  		if !graphql.HasFieldError(ctx, fc) {
 10016  			ec.Errorf(ctx, "must not be null")
 10017  		}
 10018  		return graphql.Null
 10019  	}
 10020  	res := resTmp.(string)
 10021  	fc.Result = res
 10022  	return ec.marshalNStringFromContextFunction2string(ctx, field.Selections, res)
 10023  }
 10024  
 10025  func (ec *executionContext) fieldContext_Query_stringFromContextFunction(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
 10026  	fc = &graphql.FieldContext{
 10027  		Object:     "Query",
 10028  		Field:      field,
 10029  		IsMethod:   true,
 10030  		IsResolver: true,
 10031  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
 10032  			return nil, errors.New("field of type StringFromContextFunction does not have child fields")
 10033  		},
 10034  	}
 10035  	return fc, nil
 10036  }
 10037  
 10038  func (ec *executionContext) _Query_defaultScalar(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) {
 10039  	fc, err := ec.fieldContext_Query_defaultScalar(ctx, field)
 10040  	if err != nil {
 10041  		return graphql.Null
 10042  	}
 10043  	ctx = graphql.WithFieldContext(ctx, fc)
 10044  	defer func() {
 10045  		if r := recover(); r != nil {
 10046  			ec.Error(ctx, ec.Recover(ctx, r))
 10047  			ret = graphql.Null
 10048  		}
 10049  	}()
 10050  	resTmp := ec._fieldMiddleware(ctx, nil, func(rctx context.Context) (interface{}, error) {
 10051  		ctx = rctx // use context from middleware stack in children
 10052  		return ec.resolvers.Query().DefaultScalar(rctx, fc.Args["arg"].(string))
 10053  	})
 10054  
 10055  	if resTmp == nil {
 10056  		if !graphql.HasFieldError(ctx, fc) {
 10057  			ec.Errorf(ctx, "must not be null")
 10058  		}
 10059  		return graphql.Null
 10060  	}
 10061  	res := resTmp.(string)
 10062  	fc.Result = res
 10063  	return ec.marshalNDefaultScalarImplementation2string(ctx, field.Selections, res)
 10064  }
 10065  
 10066  func (ec *executionContext) fieldContext_Query_defaultScalar(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
 10067  	fc = &graphql.FieldContext{
 10068  		Object:     "Query",
 10069  		Field:      field,
 10070  		IsMethod:   true,
 10071  		IsResolver: true,
 10072  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
 10073  			return nil, errors.New("field of type DefaultScalarImplementation does not have child fields")
 10074  		},
 10075  	}
 10076  	defer func() {
 10077  		if r := recover(); r != nil {
 10078  			err = ec.Recover(ctx, r)
 10079  			ec.Error(ctx, err)
 10080  		}
 10081  	}()
 10082  	ctx = graphql.WithFieldContext(ctx, fc)
 10083  	if fc.Args, err = ec.field_Query_defaultScalar_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
 10084  		ec.Error(ctx, err)
 10085  		return
 10086  	}
 10087  	return fc, nil
 10088  }
 10089  
 10090  func (ec *executionContext) _Query_slices(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) {
 10091  	fc, err := ec.fieldContext_Query_slices(ctx, field)
 10092  	if err != nil {
 10093  		return graphql.Null
 10094  	}
 10095  	ctx = graphql.WithFieldContext(ctx, fc)
 10096  	defer func() {
 10097  		if r := recover(); r != nil {
 10098  			ec.Error(ctx, ec.Recover(ctx, r))
 10099  			ret = graphql.Null
 10100  		}
 10101  	}()
 10102  	resTmp := ec._fieldMiddleware(ctx, nil, func(rctx context.Context) (interface{}, error) {
 10103  		ctx = rctx // use context from middleware stack in children
 10104  		return ec.resolvers.Query().Slices(rctx)
 10105  	})
 10106  
 10107  	if resTmp == nil {
 10108  		return graphql.Null
 10109  	}
 10110  	res := resTmp.(*Slices)
 10111  	fc.Result = res
 10112  	return ec.marshalOSlices2ᚖgithubᚗcomᚋ99designsᚋgqlgenᚋcodegenᚋtestserverᚋsinglefileᚐSlices(ctx, field.Selections, res)
 10113  }
 10114  
 10115  func (ec *executionContext) fieldContext_Query_slices(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
 10116  	fc = &graphql.FieldContext{
 10117  		Object:     "Query",
 10118  		Field:      field,
 10119  		IsMethod:   true,
 10120  		IsResolver: true,
 10121  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
 10122  			switch field.Name {
 10123  			case "test1":
 10124  				return ec.fieldContext_Slices_test1(ctx, field)
 10125  			case "test2":
 10126  				return ec.fieldContext_Slices_test2(ctx, field)
 10127  			case "test3":
 10128  				return ec.fieldContext_Slices_test3(ctx, field)
 10129  			case "test4":
 10130  				return ec.fieldContext_Slices_test4(ctx, field)
 10131  			}
 10132  			return nil, fmt.Errorf("no field named %q was found under type Slices", field.Name)
 10133  		},
 10134  	}
 10135  	return fc, nil
 10136  }
 10137  
 10138  func (ec *executionContext) _Query_scalarSlice(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) {
 10139  	fc, err := ec.fieldContext_Query_scalarSlice(ctx, field)
 10140  	if err != nil {
 10141  		return graphql.Null
 10142  	}
 10143  	ctx = graphql.WithFieldContext(ctx, fc)
 10144  	defer func() {
 10145  		if r := recover(); r != nil {
 10146  			ec.Error(ctx, ec.Recover(ctx, r))
 10147  			ret = graphql.Null
 10148  		}
 10149  	}()
 10150  	resTmp := ec._fieldMiddleware(ctx, nil, func(rctx context.Context) (interface{}, error) {
 10151  		ctx = rctx // use context from middleware stack in children
 10152  		return ec.resolvers.Query().ScalarSlice(rctx)
 10153  	})
 10154  
 10155  	if resTmp == nil {
 10156  		if !graphql.HasFieldError(ctx, fc) {
 10157  			ec.Errorf(ctx, "must not be null")
 10158  		}
 10159  		return graphql.Null
 10160  	}
 10161  	res := resTmp.([]byte)
 10162  	fc.Result = res
 10163  	return ec.marshalNBytes2ᚕbyte(ctx, field.Selections, res)
 10164  }
 10165  
 10166  func (ec *executionContext) fieldContext_Query_scalarSlice(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
 10167  	fc = &graphql.FieldContext{
 10168  		Object:     "Query",
 10169  		Field:      field,
 10170  		IsMethod:   true,
 10171  		IsResolver: true,
 10172  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
 10173  			return nil, errors.New("field of type Bytes does not have child fields")
 10174  		},
 10175  	}
 10176  	return fc, nil
 10177  }
 10178  
 10179  func (ec *executionContext) _Query_fallback(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) {
 10180  	fc, err := ec.fieldContext_Query_fallback(ctx, field)
 10181  	if err != nil {
 10182  		return graphql.Null
 10183  	}
 10184  	ctx = graphql.WithFieldContext(ctx, fc)
 10185  	defer func() {
 10186  		if r := recover(); r != nil {
 10187  			ec.Error(ctx, ec.Recover(ctx, r))
 10188  			ret = graphql.Null
 10189  		}
 10190  	}()
 10191  	resTmp := ec._fieldMiddleware(ctx, nil, func(rctx context.Context) (interface{}, error) {
 10192  		ctx = rctx // use context from middleware stack in children
 10193  		return ec.resolvers.Query().Fallback(rctx, fc.Args["arg"].(FallbackToStringEncoding))
 10194  	})
 10195  
 10196  	if resTmp == nil {
 10197  		if !graphql.HasFieldError(ctx, fc) {
 10198  			ec.Errorf(ctx, "must not be null")
 10199  		}
 10200  		return graphql.Null
 10201  	}
 10202  	res := resTmp.(FallbackToStringEncoding)
 10203  	fc.Result = res
 10204  	return ec.marshalNFallbackToStringEncoding2githubᚗcomᚋ99designsᚋgqlgenᚋcodegenᚋtestserverᚋsinglefileᚐFallbackToStringEncoding(ctx, field.Selections, res)
 10205  }
 10206  
 10207  func (ec *executionContext) fieldContext_Query_fallback(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
 10208  	fc = &graphql.FieldContext{
 10209  		Object:     "Query",
 10210  		Field:      field,
 10211  		IsMethod:   true,
 10212  		IsResolver: true,
 10213  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
 10214  			return nil, errors.New("field of type FallbackToStringEncoding does not have child fields")
 10215  		},
 10216  	}
 10217  	defer func() {
 10218  		if r := recover(); r != nil {
 10219  			err = ec.Recover(ctx, r)
 10220  			ec.Error(ctx, err)
 10221  		}
 10222  	}()
 10223  	ctx = graphql.WithFieldContext(ctx, fc)
 10224  	if fc.Args, err = ec.field_Query_fallback_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
 10225  		ec.Error(ctx, err)
 10226  		return
 10227  	}
 10228  	return fc, nil
 10229  }
 10230  
 10231  func (ec *executionContext) _Query_optionalUnion(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) {
 10232  	fc, err := ec.fieldContext_Query_optionalUnion(ctx, field)
 10233  	if err != nil {
 10234  		return graphql.Null
 10235  	}
 10236  	ctx = graphql.WithFieldContext(ctx, fc)
 10237  	defer func() {
 10238  		if r := recover(); r != nil {
 10239  			ec.Error(ctx, ec.Recover(ctx, r))
 10240  			ret = graphql.Null
 10241  		}
 10242  	}()
 10243  	resTmp := ec._fieldMiddleware(ctx, nil, func(rctx context.Context) (interface{}, error) {
 10244  		ctx = rctx // use context from middleware stack in children
 10245  		return ec.resolvers.Query().OptionalUnion(rctx)
 10246  	})
 10247  
 10248  	if resTmp == nil {
 10249  		return graphql.Null
 10250  	}
 10251  	res := resTmp.(TestUnion)
 10252  	fc.Result = res
 10253  	return ec.marshalOTestUnion2githubᚗcomᚋ99designsᚋgqlgenᚋcodegenᚋtestserverᚋsinglefileᚐTestUnion(ctx, field.Selections, res)
 10254  }
 10255  
 10256  func (ec *executionContext) fieldContext_Query_optionalUnion(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
 10257  	fc = &graphql.FieldContext{
 10258  		Object:     "Query",
 10259  		Field:      field,
 10260  		IsMethod:   true,
 10261  		IsResolver: true,
 10262  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
 10263  			return nil, errors.New("field of type TestUnion does not have child fields")
 10264  		},
 10265  	}
 10266  	return fc, nil
 10267  }
 10268  
 10269  func (ec *executionContext) _Query_vOkCaseValue(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) {
 10270  	fc, err := ec.fieldContext_Query_vOkCaseValue(ctx, field)
 10271  	if err != nil {
 10272  		return graphql.Null
 10273  	}
 10274  	ctx = graphql.WithFieldContext(ctx, fc)
 10275  	defer func() {
 10276  		if r := recover(); r != nil {
 10277  			ec.Error(ctx, ec.Recover(ctx, r))
 10278  			ret = graphql.Null
 10279  		}
 10280  	}()
 10281  	resTmp := ec._fieldMiddleware(ctx, nil, func(rctx context.Context) (interface{}, error) {
 10282  		ctx = rctx // use context from middleware stack in children
 10283  		return ec.resolvers.Query().VOkCaseValue(rctx)
 10284  	})
 10285  
 10286  	if resTmp == nil {
 10287  		return graphql.Null
 10288  	}
 10289  	res := resTmp.(*VOkCaseValue)
 10290  	fc.Result = res
 10291  	return ec.marshalOVOkCaseValue2ᚖgithubᚗcomᚋ99designsᚋgqlgenᚋcodegenᚋtestserverᚋsinglefileᚐVOkCaseValue(ctx, field.Selections, res)
 10292  }
 10293  
 10294  func (ec *executionContext) fieldContext_Query_vOkCaseValue(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
 10295  	fc = &graphql.FieldContext{
 10296  		Object:     "Query",
 10297  		Field:      field,
 10298  		IsMethod:   true,
 10299  		IsResolver: true,
 10300  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
 10301  			switch field.Name {
 10302  			case "value":
 10303  				return ec.fieldContext_VOkCaseValue_value(ctx, field)
 10304  			}
 10305  			return nil, fmt.Errorf("no field named %q was found under type VOkCaseValue", field.Name)
 10306  		},
 10307  	}
 10308  	return fc, nil
 10309  }
 10310  
 10311  func (ec *executionContext) _Query_vOkCaseNil(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) {
 10312  	fc, err := ec.fieldContext_Query_vOkCaseNil(ctx, field)
 10313  	if err != nil {
 10314  		return graphql.Null
 10315  	}
 10316  	ctx = graphql.WithFieldContext(ctx, fc)
 10317  	defer func() {
 10318  		if r := recover(); r != nil {
 10319  			ec.Error(ctx, ec.Recover(ctx, r))
 10320  			ret = graphql.Null
 10321  		}
 10322  	}()
 10323  	resTmp := ec._fieldMiddleware(ctx, nil, func(rctx context.Context) (interface{}, error) {
 10324  		ctx = rctx // use context from middleware stack in children
 10325  		return ec.resolvers.Query().VOkCaseNil(rctx)
 10326  	})
 10327  
 10328  	if resTmp == nil {
 10329  		return graphql.Null
 10330  	}
 10331  	res := resTmp.(*VOkCaseNil)
 10332  	fc.Result = res
 10333  	return ec.marshalOVOkCaseNil2ᚖgithubᚗcomᚋ99designsᚋgqlgenᚋcodegenᚋtestserverᚋsinglefileᚐVOkCaseNil(ctx, field.Selections, res)
 10334  }
 10335  
 10336  func (ec *executionContext) fieldContext_Query_vOkCaseNil(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
 10337  	fc = &graphql.FieldContext{
 10338  		Object:     "Query",
 10339  		Field:      field,
 10340  		IsMethod:   true,
 10341  		IsResolver: true,
 10342  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
 10343  			switch field.Name {
 10344  			case "value":
 10345  				return ec.fieldContext_VOkCaseNil_value(ctx, field)
 10346  			}
 10347  			return nil, fmt.Errorf("no field named %q was found under type VOkCaseNil", field.Name)
 10348  		},
 10349  	}
 10350  	return fc, nil
 10351  }
 10352  
 10353  func (ec *executionContext) _Query_validType(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) {
 10354  	fc, err := ec.fieldContext_Query_validType(ctx, field)
 10355  	if err != nil {
 10356  		return graphql.Null
 10357  	}
 10358  	ctx = graphql.WithFieldContext(ctx, fc)
 10359  	defer func() {
 10360  		if r := recover(); r != nil {
 10361  			ec.Error(ctx, ec.Recover(ctx, r))
 10362  			ret = graphql.Null
 10363  		}
 10364  	}()
 10365  	resTmp := ec._fieldMiddleware(ctx, nil, func(rctx context.Context) (interface{}, error) {
 10366  		ctx = rctx // use context from middleware stack in children
 10367  		return ec.resolvers.Query().ValidType(rctx)
 10368  	})
 10369  
 10370  	if resTmp == nil {
 10371  		return graphql.Null
 10372  	}
 10373  	res := resTmp.(*ValidType)
 10374  	fc.Result = res
 10375  	return ec.marshalOValidType2ᚖgithubᚗcomᚋ99designsᚋgqlgenᚋcodegenᚋtestserverᚋsinglefileᚐValidType(ctx, field.Selections, res)
 10376  }
 10377  
 10378  func (ec *executionContext) fieldContext_Query_validType(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
 10379  	fc = &graphql.FieldContext{
 10380  		Object:     "Query",
 10381  		Field:      field,
 10382  		IsMethod:   true,
 10383  		IsResolver: true,
 10384  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
 10385  			switch field.Name {
 10386  			case "differentCase":
 10387  				return ec.fieldContext_ValidType_differentCase(ctx, field)
 10388  			case "different_case":
 10389  				return ec.fieldContext_ValidType_different_case(ctx, field)
 10390  			case "validInputKeywords":
 10391  				return ec.fieldContext_ValidType_validInputKeywords(ctx, field)
 10392  			case "validArgs":
 10393  				return ec.fieldContext_ValidType_validArgs(ctx, field)
 10394  			}
 10395  			return nil, fmt.Errorf("no field named %q was found under type ValidType", field.Name)
 10396  		},
 10397  	}
 10398  	return fc, nil
 10399  }
 10400  
 10401  func (ec *executionContext) _Query_variadicModel(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) {
 10402  	fc, err := ec.fieldContext_Query_variadicModel(ctx, field)
 10403  	if err != nil {
 10404  		return graphql.Null
 10405  	}
 10406  	ctx = graphql.WithFieldContext(ctx, fc)
 10407  	defer func() {
 10408  		if r := recover(); r != nil {
 10409  			ec.Error(ctx, ec.Recover(ctx, r))
 10410  			ret = graphql.Null
 10411  		}
 10412  	}()
 10413  	resTmp := ec._fieldMiddleware(ctx, nil, func(rctx context.Context) (interface{}, error) {
 10414  		ctx = rctx // use context from middleware stack in children
 10415  		return ec.resolvers.Query().VariadicModel(rctx)
 10416  	})
 10417  
 10418  	if resTmp == nil {
 10419  		return graphql.Null
 10420  	}
 10421  	res := resTmp.(*VariadicModel)
 10422  	fc.Result = res
 10423  	return ec.marshalOVariadicModel2ᚖgithubᚗcomᚋ99designsᚋgqlgenᚋcodegenᚋtestserverᚋsinglefileᚐVariadicModel(ctx, field.Selections, res)
 10424  }
 10425  
 10426  func (ec *executionContext) fieldContext_Query_variadicModel(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
 10427  	fc = &graphql.FieldContext{
 10428  		Object:     "Query",
 10429  		Field:      field,
 10430  		IsMethod:   true,
 10431  		IsResolver: true,
 10432  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
 10433  			switch field.Name {
 10434  			case "value":
 10435  				return ec.fieldContext_VariadicModel_value(ctx, field)
 10436  			}
 10437  			return nil, fmt.Errorf("no field named %q was found under type VariadicModel", field.Name)
 10438  		},
 10439  	}
 10440  	return fc, nil
 10441  }
 10442  
 10443  func (ec *executionContext) _Query_wrappedStruct(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) {
 10444  	fc, err := ec.fieldContext_Query_wrappedStruct(ctx, field)
 10445  	if err != nil {
 10446  		return graphql.Null
 10447  	}
 10448  	ctx = graphql.WithFieldContext(ctx, fc)
 10449  	defer func() {
 10450  		if r := recover(); r != nil {
 10451  			ec.Error(ctx, ec.Recover(ctx, r))
 10452  			ret = graphql.Null
 10453  		}
 10454  	}()
 10455  	resTmp := ec._fieldMiddleware(ctx, nil, func(rctx context.Context) (interface{}, error) {
 10456  		ctx = rctx // use context from middleware stack in children
 10457  		return ec.resolvers.Query().WrappedStruct(rctx)
 10458  	})
 10459  
 10460  	if resTmp == nil {
 10461  		if !graphql.HasFieldError(ctx, fc) {
 10462  			ec.Errorf(ctx, "must not be null")
 10463  		}
 10464  		return graphql.Null
 10465  	}
 10466  	res := resTmp.(*WrappedStruct)
 10467  	fc.Result = res
 10468  	return ec.marshalNWrappedStruct2ᚖgithubᚗcomᚋ99designsᚋgqlgenᚋcodegenᚋtestserverᚋsinglefileᚐWrappedStruct(ctx, field.Selections, res)
 10469  }
 10470  
 10471  func (ec *executionContext) fieldContext_Query_wrappedStruct(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
 10472  	fc = &graphql.FieldContext{
 10473  		Object:     "Query",
 10474  		Field:      field,
 10475  		IsMethod:   true,
 10476  		IsResolver: true,
 10477  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
 10478  			switch field.Name {
 10479  			case "name":
 10480  				return ec.fieldContext_WrappedStruct_name(ctx, field)
 10481  			case "desc":
 10482  				return ec.fieldContext_WrappedStruct_desc(ctx, field)
 10483  			}
 10484  			return nil, fmt.Errorf("no field named %q was found under type WrappedStruct", field.Name)
 10485  		},
 10486  	}
 10487  	return fc, nil
 10488  }
 10489  
 10490  func (ec *executionContext) _Query_wrappedScalar(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) {
 10491  	fc, err := ec.fieldContext_Query_wrappedScalar(ctx, field)
 10492  	if err != nil {
 10493  		return graphql.Null
 10494  	}
 10495  	ctx = graphql.WithFieldContext(ctx, fc)
 10496  	defer func() {
 10497  		if r := recover(); r != nil {
 10498  			ec.Error(ctx, ec.Recover(ctx, r))
 10499  			ret = graphql.Null
 10500  		}
 10501  	}()
 10502  	resTmp := ec._fieldMiddleware(ctx, nil, func(rctx context.Context) (interface{}, error) {
 10503  		ctx = rctx // use context from middleware stack in children
 10504  		return ec.resolvers.Query().WrappedScalar(rctx)
 10505  	})
 10506  
 10507  	if resTmp == nil {
 10508  		if !graphql.HasFieldError(ctx, fc) {
 10509  			ec.Errorf(ctx, "must not be null")
 10510  		}
 10511  		return graphql.Null
 10512  	}
 10513  	res := resTmp.(otherpkg.Scalar)
 10514  	fc.Result = res
 10515  	return ec.marshalNWrappedScalar2githubᚗcomᚋ99designsᚋgqlgenᚋcodegenᚋtestserverᚋsinglefileᚋotherpkgᚐScalar(ctx, field.Selections, res)
 10516  }
 10517  
 10518  func (ec *executionContext) fieldContext_Query_wrappedScalar(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
 10519  	fc = &graphql.FieldContext{
 10520  		Object:     "Query",
 10521  		Field:      field,
 10522  		IsMethod:   true,
 10523  		IsResolver: true,
 10524  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
 10525  			return nil, errors.New("field of type WrappedScalar does not have child fields")
 10526  		},
 10527  	}
 10528  	return fc, nil
 10529  }
 10530  
 10531  func (ec *executionContext) _Query_wrappedMap(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) {
 10532  	fc, err := ec.fieldContext_Query_wrappedMap(ctx, field)
 10533  	if err != nil {
 10534  		return graphql.Null
 10535  	}
 10536  	ctx = graphql.WithFieldContext(ctx, fc)
 10537  	defer func() {
 10538  		if r := recover(); r != nil {
 10539  			ec.Error(ctx, ec.Recover(ctx, r))
 10540  			ret = graphql.Null
 10541  		}
 10542  	}()
 10543  	resTmp := ec._fieldMiddleware(ctx, nil, func(rctx context.Context) (interface{}, error) {
 10544  		ctx = rctx // use context from middleware stack in children
 10545  		return ec.resolvers.Query().WrappedMap(rctx)
 10546  	})
 10547  
 10548  	if resTmp == nil {
 10549  		if !graphql.HasFieldError(ctx, fc) {
 10550  			ec.Errorf(ctx, "must not be null")
 10551  		}
 10552  		return graphql.Null
 10553  	}
 10554  	res := resTmp.(WrappedMap)
 10555  	fc.Result = res
 10556  	return ec.marshalNWrappedMap2githubᚗcomᚋ99designsᚋgqlgenᚋcodegenᚋtestserverᚋsinglefileᚐWrappedMap(ctx, field.Selections, res)
 10557  }
 10558  
 10559  func (ec *executionContext) fieldContext_Query_wrappedMap(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
 10560  	fc = &graphql.FieldContext{
 10561  		Object:     "Query",
 10562  		Field:      field,
 10563  		IsMethod:   true,
 10564  		IsResolver: true,
 10565  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
 10566  			switch field.Name {
 10567  			case "get":
 10568  				return ec.fieldContext_WrappedMap_get(ctx, field)
 10569  			}
 10570  			return nil, fmt.Errorf("no field named %q was found under type WrappedMap", field.Name)
 10571  		},
 10572  	}
 10573  	return fc, nil
 10574  }
 10575  
 10576  func (ec *executionContext) _Query_wrappedSlice(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) {
 10577  	fc, err := ec.fieldContext_Query_wrappedSlice(ctx, field)
 10578  	if err != nil {
 10579  		return graphql.Null
 10580  	}
 10581  	ctx = graphql.WithFieldContext(ctx, fc)
 10582  	defer func() {
 10583  		if r := recover(); r != nil {
 10584  			ec.Error(ctx, ec.Recover(ctx, r))
 10585  			ret = graphql.Null
 10586  		}
 10587  	}()
 10588  	resTmp := ec._fieldMiddleware(ctx, nil, func(rctx context.Context) (interface{}, error) {
 10589  		ctx = rctx // use context from middleware stack in children
 10590  		return ec.resolvers.Query().WrappedSlice(rctx)
 10591  	})
 10592  
 10593  	if resTmp == nil {
 10594  		if !graphql.HasFieldError(ctx, fc) {
 10595  			ec.Errorf(ctx, "must not be null")
 10596  		}
 10597  		return graphql.Null
 10598  	}
 10599  	res := resTmp.(WrappedSlice)
 10600  	fc.Result = res
 10601  	return ec.marshalNWrappedSlice2githubᚗcomᚋ99designsᚋgqlgenᚋcodegenᚋtestserverᚋsinglefileᚐWrappedSlice(ctx, field.Selections, res)
 10602  }
 10603  
 10604  func (ec *executionContext) fieldContext_Query_wrappedSlice(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
 10605  	fc = &graphql.FieldContext{
 10606  		Object:     "Query",
 10607  		Field:      field,
 10608  		IsMethod:   true,
 10609  		IsResolver: true,
 10610  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
 10611  			switch field.Name {
 10612  			case "get":
 10613  				return ec.fieldContext_WrappedSlice_get(ctx, field)
 10614  			}
 10615  			return nil, fmt.Errorf("no field named %q was found under type WrappedSlice", field.Name)
 10616  		},
 10617  	}
 10618  	return fc, nil
 10619  }
 10620  
 10621  func (ec *executionContext) _Query___type(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) {
 10622  	fc, err := ec.fieldContext_Query___type(ctx, field)
 10623  	if err != nil {
 10624  		return graphql.Null
 10625  	}
 10626  	ctx = graphql.WithFieldContext(ctx, fc)
 10627  	defer func() {
 10628  		if r := recover(); r != nil {
 10629  			ec.Error(ctx, ec.Recover(ctx, r))
 10630  			ret = graphql.Null
 10631  		}
 10632  	}()
 10633  	resTmp := ec._fieldMiddleware(ctx, nil, func(rctx context.Context) (interface{}, error) {
 10634  		ctx = rctx // use context from middleware stack in children
 10635  		return ec.introspectType(fc.Args["name"].(string))
 10636  	})
 10637  
 10638  	if resTmp == nil {
 10639  		return graphql.Null
 10640  	}
 10641  	res := resTmp.(*introspection.Type)
 10642  	fc.Result = res
 10643  	return ec.marshalO__Type2ᚖgithubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚋintrospectionᚐType(ctx, field.Selections, res)
 10644  }
 10645  
 10646  func (ec *executionContext) fieldContext_Query___type(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
 10647  	fc = &graphql.FieldContext{
 10648  		Object:     "Query",
 10649  		Field:      field,
 10650  		IsMethod:   true,
 10651  		IsResolver: false,
 10652  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
 10653  			switch field.Name {
 10654  			case "kind":
 10655  				return ec.fieldContext___Type_kind(ctx, field)
 10656  			case "name":
 10657  				return ec.fieldContext___Type_name(ctx, field)
 10658  			case "description":
 10659  				return ec.fieldContext___Type_description(ctx, field)
 10660  			case "fields":
 10661  				return ec.fieldContext___Type_fields(ctx, field)
 10662  			case "interfaces":
 10663  				return ec.fieldContext___Type_interfaces(ctx, field)
 10664  			case "possibleTypes":
 10665  				return ec.fieldContext___Type_possibleTypes(ctx, field)
 10666  			case "enumValues":
 10667  				return ec.fieldContext___Type_enumValues(ctx, field)
 10668  			case "inputFields":
 10669  				return ec.fieldContext___Type_inputFields(ctx, field)
 10670  			case "ofType":
 10671  				return ec.fieldContext___Type_ofType(ctx, field)
 10672  			case "specifiedByURL":
 10673  				return ec.fieldContext___Type_specifiedByURL(ctx, field)
 10674  			}
 10675  			return nil, fmt.Errorf("no field named %q was found under type __Type", field.Name)
 10676  		},
 10677  	}
 10678  	defer func() {
 10679  		if r := recover(); r != nil {
 10680  			err = ec.Recover(ctx, r)
 10681  			ec.Error(ctx, err)
 10682  		}
 10683  	}()
 10684  	ctx = graphql.WithFieldContext(ctx, fc)
 10685  	if fc.Args, err = ec.field_Query___type_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
 10686  		ec.Error(ctx, err)
 10687  		return
 10688  	}
 10689  	return fc, nil
 10690  }
 10691  
 10692  func (ec *executionContext) _Query___schema(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) {
 10693  	fc, err := ec.fieldContext_Query___schema(ctx, field)
 10694  	if err != nil {
 10695  		return graphql.Null
 10696  	}
 10697  	ctx = graphql.WithFieldContext(ctx, fc)
 10698  	defer func() {
 10699  		if r := recover(); r != nil {
 10700  			ec.Error(ctx, ec.Recover(ctx, r))
 10701  			ret = graphql.Null
 10702  		}
 10703  	}()
 10704  	resTmp := ec._fieldMiddleware(ctx, nil, func(rctx context.Context) (interface{}, error) {
 10705  		ctx = rctx // use context from middleware stack in children
 10706  		return ec.introspectSchema()
 10707  	})
 10708  
 10709  	if resTmp == nil {
 10710  		return graphql.Null
 10711  	}
 10712  	res := resTmp.(*introspection.Schema)
 10713  	fc.Result = res
 10714  	return ec.marshalO__Schema2ᚖgithubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚋintrospectionᚐSchema(ctx, field.Selections, res)
 10715  }
 10716  
 10717  func (ec *executionContext) fieldContext_Query___schema(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
 10718  	fc = &graphql.FieldContext{
 10719  		Object:     "Query",
 10720  		Field:      field,
 10721  		IsMethod:   true,
 10722  		IsResolver: false,
 10723  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
 10724  			switch field.Name {
 10725  			case "description":
 10726  				return ec.fieldContext___Schema_description(ctx, field)
 10727  			case "types":
 10728  				return ec.fieldContext___Schema_types(ctx, field)
 10729  			case "queryType":
 10730  				return ec.fieldContext___Schema_queryType(ctx, field)
 10731  			case "mutationType":
 10732  				return ec.fieldContext___Schema_mutationType(ctx, field)
 10733  			case "subscriptionType":
 10734  				return ec.fieldContext___Schema_subscriptionType(ctx, field)
 10735  			case "directives":
 10736  				return ec.fieldContext___Schema_directives(ctx, field)
 10737  			}
 10738  			return nil, fmt.Errorf("no field named %q was found under type __Schema", field.Name)
 10739  		},
 10740  	}
 10741  	return fc, nil
 10742  }
 10743  
 10744  func (ec *executionContext) _Rectangle_length(ctx context.Context, field graphql.CollectedField, obj *Rectangle) (ret graphql.Marshaler) {
 10745  	fc, err := ec.fieldContext_Rectangle_length(ctx, field)
 10746  	if err != nil {
 10747  		return graphql.Null
 10748  	}
 10749  	ctx = graphql.WithFieldContext(ctx, fc)
 10750  	defer func() {
 10751  		if r := recover(); r != nil {
 10752  			ec.Error(ctx, ec.Recover(ctx, r))
 10753  			ret = graphql.Null
 10754  		}
 10755  	}()
 10756  	resTmp := ec._fieldMiddleware(ctx, obj, func(rctx context.Context) (interface{}, error) {
 10757  		ctx = rctx // use context from middleware stack in children
 10758  		return obj.Length, nil
 10759  	})
 10760  
 10761  	if resTmp == nil {
 10762  		return graphql.Null
 10763  	}
 10764  	res := resTmp.(float64)
 10765  	fc.Result = res
 10766  	return ec.marshalOFloat2float64(ctx, field.Selections, res)
 10767  }
 10768  
 10769  func (ec *executionContext) fieldContext_Rectangle_length(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
 10770  	fc = &graphql.FieldContext{
 10771  		Object:     "Rectangle",
 10772  		Field:      field,
 10773  		IsMethod:   false,
 10774  		IsResolver: false,
 10775  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
 10776  			return nil, errors.New("field of type Float does not have child fields")
 10777  		},
 10778  	}
 10779  	return fc, nil
 10780  }
 10781  
 10782  func (ec *executionContext) _Rectangle_width(ctx context.Context, field graphql.CollectedField, obj *Rectangle) (ret graphql.Marshaler) {
 10783  	fc, err := ec.fieldContext_Rectangle_width(ctx, field)
 10784  	if err != nil {
 10785  		return graphql.Null
 10786  	}
 10787  	ctx = graphql.WithFieldContext(ctx, fc)
 10788  	defer func() {
 10789  		if r := recover(); r != nil {
 10790  			ec.Error(ctx, ec.Recover(ctx, r))
 10791  			ret = graphql.Null
 10792  		}
 10793  	}()
 10794  	resTmp := ec._fieldMiddleware(ctx, obj, func(rctx context.Context) (interface{}, error) {
 10795  		ctx = rctx // use context from middleware stack in children
 10796  		return obj.Width, nil
 10797  	})
 10798  
 10799  	if resTmp == nil {
 10800  		return graphql.Null
 10801  	}
 10802  	res := resTmp.(float64)
 10803  	fc.Result = res
 10804  	return ec.marshalOFloat2float64(ctx, field.Selections, res)
 10805  }
 10806  
 10807  func (ec *executionContext) fieldContext_Rectangle_width(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
 10808  	fc = &graphql.FieldContext{
 10809  		Object:     "Rectangle",
 10810  		Field:      field,
 10811  		IsMethod:   false,
 10812  		IsResolver: false,
 10813  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
 10814  			return nil, errors.New("field of type Float does not have child fields")
 10815  		},
 10816  	}
 10817  	return fc, nil
 10818  }
 10819  
 10820  func (ec *executionContext) _Rectangle_area(ctx context.Context, field graphql.CollectedField, obj *Rectangle) (ret graphql.Marshaler) {
 10821  	fc, err := ec.fieldContext_Rectangle_area(ctx, field)
 10822  	if err != nil {
 10823  		return graphql.Null
 10824  	}
 10825  	ctx = graphql.WithFieldContext(ctx, fc)
 10826  	defer func() {
 10827  		if r := recover(); r != nil {
 10828  			ec.Error(ctx, ec.Recover(ctx, r))
 10829  			ret = graphql.Null
 10830  		}
 10831  	}()
 10832  	resTmp := ec._fieldMiddleware(ctx, obj, func(rctx context.Context) (interface{}, error) {
 10833  		ctx = rctx // use context from middleware stack in children
 10834  		return obj.Area(), nil
 10835  	})
 10836  
 10837  	if resTmp == nil {
 10838  		return graphql.Null
 10839  	}
 10840  	res := resTmp.(float64)
 10841  	fc.Result = res
 10842  	return ec.marshalOFloat2float64(ctx, field.Selections, res)
 10843  }
 10844  
 10845  func (ec *executionContext) fieldContext_Rectangle_area(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
 10846  	fc = &graphql.FieldContext{
 10847  		Object:     "Rectangle",
 10848  		Field:      field,
 10849  		IsMethod:   true,
 10850  		IsResolver: false,
 10851  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
 10852  			return nil, errors.New("field of type Float does not have child fields")
 10853  		},
 10854  	}
 10855  	return fc, nil
 10856  }
 10857  
 10858  func (ec *executionContext) _Rectangle_coordinates(ctx context.Context, field graphql.CollectedField, obj *Rectangle) (ret graphql.Marshaler) {
 10859  	fc, err := ec.fieldContext_Rectangle_coordinates(ctx, field)
 10860  	if err != nil {
 10861  		return graphql.Null
 10862  	}
 10863  	ctx = graphql.WithFieldContext(ctx, fc)
 10864  	defer func() {
 10865  		if r := recover(); r != nil {
 10866  			ec.Error(ctx, ec.Recover(ctx, r))
 10867  			ret = graphql.Null
 10868  		}
 10869  	}()
 10870  	resTmp := ec._fieldMiddleware(ctx, obj, func(rctx context.Context) (interface{}, error) {
 10871  		ctx = rctx // use context from middleware stack in children
 10872  		return obj.Coordinates, nil
 10873  	})
 10874  
 10875  	if resTmp == nil {
 10876  		return graphql.Null
 10877  	}
 10878  	res := resTmp.(Coordinates)
 10879  	fc.Result = res
 10880  	return ec.marshalOCoordinates2githubᚗcomᚋ99designsᚋgqlgenᚋcodegenᚋtestserverᚋsinglefileᚐCoordinates(ctx, field.Selections, res)
 10881  }
 10882  
 10883  func (ec *executionContext) fieldContext_Rectangle_coordinates(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
 10884  	fc = &graphql.FieldContext{
 10885  		Object:     "Rectangle",
 10886  		Field:      field,
 10887  		IsMethod:   false,
 10888  		IsResolver: false,
 10889  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
 10890  			switch field.Name {
 10891  			case "x":
 10892  				return ec.fieldContext_Coordinates_x(ctx, field)
 10893  			case "y":
 10894  				return ec.fieldContext_Coordinates_y(ctx, field)
 10895  			}
 10896  			return nil, fmt.Errorf("no field named %q was found under type Coordinates", field.Name)
 10897  		},
 10898  	}
 10899  	return fc, nil
 10900  }
 10901  
 10902  func (ec *executionContext) _Size_height(ctx context.Context, field graphql.CollectedField, obj *Size) (ret graphql.Marshaler) {
 10903  	fc, err := ec.fieldContext_Size_height(ctx, field)
 10904  	if err != nil {
 10905  		return graphql.Null
 10906  	}
 10907  	ctx = graphql.WithFieldContext(ctx, fc)
 10908  	defer func() {
 10909  		if r := recover(); r != nil {
 10910  			ec.Error(ctx, ec.Recover(ctx, r))
 10911  			ret = graphql.Null
 10912  		}
 10913  	}()
 10914  	resTmp := ec._fieldMiddleware(ctx, obj, func(rctx context.Context) (interface{}, error) {
 10915  		ctx = rctx // use context from middleware stack in children
 10916  		return obj.Height, nil
 10917  	})
 10918  
 10919  	if resTmp == nil {
 10920  		if !graphql.HasFieldError(ctx, fc) {
 10921  			ec.Errorf(ctx, "must not be null")
 10922  		}
 10923  		return graphql.Null
 10924  	}
 10925  	res := resTmp.(int)
 10926  	fc.Result = res
 10927  	return ec.marshalNInt2int(ctx, field.Selections, res)
 10928  }
 10929  
 10930  func (ec *executionContext) fieldContext_Size_height(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
 10931  	fc = &graphql.FieldContext{
 10932  		Object:     "Size",
 10933  		Field:      field,
 10934  		IsMethod:   false,
 10935  		IsResolver: false,
 10936  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
 10937  			return nil, errors.New("field of type Int does not have child fields")
 10938  		},
 10939  	}
 10940  	return fc, nil
 10941  }
 10942  
 10943  func (ec *executionContext) _Size_weight(ctx context.Context, field graphql.CollectedField, obj *Size) (ret graphql.Marshaler) {
 10944  	fc, err := ec.fieldContext_Size_weight(ctx, field)
 10945  	if err != nil {
 10946  		return graphql.Null
 10947  	}
 10948  	ctx = graphql.WithFieldContext(ctx, fc)
 10949  	defer func() {
 10950  		if r := recover(); r != nil {
 10951  			ec.Error(ctx, ec.Recover(ctx, r))
 10952  			ret = graphql.Null
 10953  		}
 10954  	}()
 10955  	resTmp := ec._fieldMiddleware(ctx, obj, func(rctx context.Context) (interface{}, error) {
 10956  		ctx = rctx // use context from middleware stack in children
 10957  		return obj.Weight, nil
 10958  	})
 10959  
 10960  	if resTmp == nil {
 10961  		if !graphql.HasFieldError(ctx, fc) {
 10962  			ec.Errorf(ctx, "must not be null")
 10963  		}
 10964  		return graphql.Null
 10965  	}
 10966  	res := resTmp.(int)
 10967  	fc.Result = res
 10968  	return ec.marshalNInt2int(ctx, field.Selections, res)
 10969  }
 10970  
 10971  func (ec *executionContext) fieldContext_Size_weight(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
 10972  	fc = &graphql.FieldContext{
 10973  		Object:     "Size",
 10974  		Field:      field,
 10975  		IsMethod:   false,
 10976  		IsResolver: false,
 10977  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
 10978  			return nil, errors.New("field of type Int does not have child fields")
 10979  		},
 10980  	}
 10981  	return fc, nil
 10982  }
 10983  
 10984  func (ec *executionContext) _Slices_test1(ctx context.Context, field graphql.CollectedField, obj *Slices) (ret graphql.Marshaler) {
 10985  	fc, err := ec.fieldContext_Slices_test1(ctx, field)
 10986  	if err != nil {
 10987  		return graphql.Null
 10988  	}
 10989  	ctx = graphql.WithFieldContext(ctx, fc)
 10990  	defer func() {
 10991  		if r := recover(); r != nil {
 10992  			ec.Error(ctx, ec.Recover(ctx, r))
 10993  			ret = graphql.Null
 10994  		}
 10995  	}()
 10996  	resTmp := ec._fieldMiddleware(ctx, obj, func(rctx context.Context) (interface{}, error) {
 10997  		ctx = rctx // use context from middleware stack in children
 10998  		return obj.Test1, nil
 10999  	})
 11000  
 11001  	if resTmp == nil {
 11002  		return graphql.Null
 11003  	}
 11004  	res := resTmp.([]*string)
 11005  	fc.Result = res
 11006  	return ec.marshalOString2ᚕᚖstring(ctx, field.Selections, res)
 11007  }
 11008  
 11009  func (ec *executionContext) fieldContext_Slices_test1(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
 11010  	fc = &graphql.FieldContext{
 11011  		Object:     "Slices",
 11012  		Field:      field,
 11013  		IsMethod:   false,
 11014  		IsResolver: false,
 11015  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
 11016  			return nil, errors.New("field of type String does not have child fields")
 11017  		},
 11018  	}
 11019  	return fc, nil
 11020  }
 11021  
 11022  func (ec *executionContext) _Slices_test2(ctx context.Context, field graphql.CollectedField, obj *Slices) (ret graphql.Marshaler) {
 11023  	fc, err := ec.fieldContext_Slices_test2(ctx, field)
 11024  	if err != nil {
 11025  		return graphql.Null
 11026  	}
 11027  	ctx = graphql.WithFieldContext(ctx, fc)
 11028  	defer func() {
 11029  		if r := recover(); r != nil {
 11030  			ec.Error(ctx, ec.Recover(ctx, r))
 11031  			ret = graphql.Null
 11032  		}
 11033  	}()
 11034  	resTmp := ec._fieldMiddleware(ctx, obj, func(rctx context.Context) (interface{}, error) {
 11035  		ctx = rctx // use context from middleware stack in children
 11036  		return obj.Test2, nil
 11037  	})
 11038  
 11039  	if resTmp == nil {
 11040  		return graphql.Null
 11041  	}
 11042  	res := resTmp.([]string)
 11043  	fc.Result = res
 11044  	return ec.marshalOString2ᚕstringᚄ(ctx, field.Selections, res)
 11045  }
 11046  
 11047  func (ec *executionContext) fieldContext_Slices_test2(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
 11048  	fc = &graphql.FieldContext{
 11049  		Object:     "Slices",
 11050  		Field:      field,
 11051  		IsMethod:   false,
 11052  		IsResolver: false,
 11053  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
 11054  			return nil, errors.New("field of type String does not have child fields")
 11055  		},
 11056  	}
 11057  	return fc, nil
 11058  }
 11059  
 11060  func (ec *executionContext) _Slices_test3(ctx context.Context, field graphql.CollectedField, obj *Slices) (ret graphql.Marshaler) {
 11061  	fc, err := ec.fieldContext_Slices_test3(ctx, field)
 11062  	if err != nil {
 11063  		return graphql.Null
 11064  	}
 11065  	ctx = graphql.WithFieldContext(ctx, fc)
 11066  	defer func() {
 11067  		if r := recover(); r != nil {
 11068  			ec.Error(ctx, ec.Recover(ctx, r))
 11069  			ret = graphql.Null
 11070  		}
 11071  	}()
 11072  	resTmp := ec._fieldMiddleware(ctx, obj, func(rctx context.Context) (interface{}, error) {
 11073  		ctx = rctx // use context from middleware stack in children
 11074  		return obj.Test3, nil
 11075  	})
 11076  
 11077  	if resTmp == nil {
 11078  		if !graphql.HasFieldError(ctx, fc) {
 11079  			ec.Errorf(ctx, "must not be null")
 11080  		}
 11081  		return graphql.Null
 11082  	}
 11083  	res := resTmp.([]*string)
 11084  	fc.Result = res
 11085  	return ec.marshalNString2ᚕᚖstring(ctx, field.Selections, res)
 11086  }
 11087  
 11088  func (ec *executionContext) fieldContext_Slices_test3(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
 11089  	fc = &graphql.FieldContext{
 11090  		Object:     "Slices",
 11091  		Field:      field,
 11092  		IsMethod:   false,
 11093  		IsResolver: false,
 11094  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
 11095  			return nil, errors.New("field of type String does not have child fields")
 11096  		},
 11097  	}
 11098  	return fc, nil
 11099  }
 11100  
 11101  func (ec *executionContext) _Slices_test4(ctx context.Context, field graphql.CollectedField, obj *Slices) (ret graphql.Marshaler) {
 11102  	fc, err := ec.fieldContext_Slices_test4(ctx, field)
 11103  	if err != nil {
 11104  		return graphql.Null
 11105  	}
 11106  	ctx = graphql.WithFieldContext(ctx, fc)
 11107  	defer func() {
 11108  		if r := recover(); r != nil {
 11109  			ec.Error(ctx, ec.Recover(ctx, r))
 11110  			ret = graphql.Null
 11111  		}
 11112  	}()
 11113  	resTmp := ec._fieldMiddleware(ctx, obj, func(rctx context.Context) (interface{}, error) {
 11114  		ctx = rctx // use context from middleware stack in children
 11115  		return obj.Test4, nil
 11116  	})
 11117  
 11118  	if resTmp == nil {
 11119  		if !graphql.HasFieldError(ctx, fc) {
 11120  			ec.Errorf(ctx, "must not be null")
 11121  		}
 11122  		return graphql.Null
 11123  	}
 11124  	res := resTmp.([]string)
 11125  	fc.Result = res
 11126  	return ec.marshalNString2ᚕstringᚄ(ctx, field.Selections, res)
 11127  }
 11128  
 11129  func (ec *executionContext) fieldContext_Slices_test4(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
 11130  	fc = &graphql.FieldContext{
 11131  		Object:     "Slices",
 11132  		Field:      field,
 11133  		IsMethod:   false,
 11134  		IsResolver: false,
 11135  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
 11136  			return nil, errors.New("field of type String does not have child fields")
 11137  		},
 11138  	}
 11139  	return fc, nil
 11140  }
 11141  
 11142  func (ec *executionContext) _Subscription_updated(ctx context.Context, field graphql.CollectedField) (ret func(ctx context.Context) graphql.Marshaler) {
 11143  	fc, err := ec.fieldContext_Subscription_updated(ctx, field)
 11144  	if err != nil {
 11145  		return nil
 11146  	}
 11147  	ctx = graphql.WithFieldContext(ctx, fc)
 11148  	defer func() {
 11149  		if r := recover(); r != nil {
 11150  			ec.Error(ctx, ec.Recover(ctx, r))
 11151  			ret = nil
 11152  		}
 11153  	}()
 11154  	resTmp := ec._fieldMiddleware(ctx, nil, func(rctx context.Context) (interface{}, error) {
 11155  		ctx = rctx // use context from middleware stack in children
 11156  		return ec.resolvers.Subscription().Updated(rctx)
 11157  	})
 11158  
 11159  	if resTmp == nil {
 11160  		if !graphql.HasFieldError(ctx, fc) {
 11161  			ec.Errorf(ctx, "must not be null")
 11162  		}
 11163  		return nil
 11164  	}
 11165  	return func(ctx context.Context) graphql.Marshaler {
 11166  		select {
 11167  		case res, ok := <-resTmp.(<-chan string):
 11168  			if !ok {
 11169  				return nil
 11170  			}
 11171  			return graphql.WriterFunc(func(w io.Writer) {
 11172  				w.Write([]byte{'{'})
 11173  				graphql.MarshalString(field.Alias).MarshalGQL(w)
 11174  				w.Write([]byte{':'})
 11175  				ec.marshalNString2string(ctx, field.Selections, res).MarshalGQL(w)
 11176  				w.Write([]byte{'}'})
 11177  			})
 11178  		case <-ctx.Done():
 11179  			return nil
 11180  		}
 11181  	}
 11182  }
 11183  
 11184  func (ec *executionContext) fieldContext_Subscription_updated(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
 11185  	fc = &graphql.FieldContext{
 11186  		Object:     "Subscription",
 11187  		Field:      field,
 11188  		IsMethod:   true,
 11189  		IsResolver: true,
 11190  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
 11191  			return nil, errors.New("field of type String does not have child fields")
 11192  		},
 11193  	}
 11194  	return fc, nil
 11195  }
 11196  
 11197  func (ec *executionContext) _Subscription_initPayload(ctx context.Context, field graphql.CollectedField) (ret func(ctx context.Context) graphql.Marshaler) {
 11198  	fc, err := ec.fieldContext_Subscription_initPayload(ctx, field)
 11199  	if err != nil {
 11200  		return nil
 11201  	}
 11202  	ctx = graphql.WithFieldContext(ctx, fc)
 11203  	defer func() {
 11204  		if r := recover(); r != nil {
 11205  			ec.Error(ctx, ec.Recover(ctx, r))
 11206  			ret = nil
 11207  		}
 11208  	}()
 11209  	resTmp := ec._fieldMiddleware(ctx, nil, func(rctx context.Context) (interface{}, error) {
 11210  		ctx = rctx // use context from middleware stack in children
 11211  		return ec.resolvers.Subscription().InitPayload(rctx)
 11212  	})
 11213  
 11214  	if resTmp == nil {
 11215  		if !graphql.HasFieldError(ctx, fc) {
 11216  			ec.Errorf(ctx, "must not be null")
 11217  		}
 11218  		return nil
 11219  	}
 11220  	return func(ctx context.Context) graphql.Marshaler {
 11221  		select {
 11222  		case res, ok := <-resTmp.(<-chan string):
 11223  			if !ok {
 11224  				return nil
 11225  			}
 11226  			return graphql.WriterFunc(func(w io.Writer) {
 11227  				w.Write([]byte{'{'})
 11228  				graphql.MarshalString(field.Alias).MarshalGQL(w)
 11229  				w.Write([]byte{':'})
 11230  				ec.marshalNString2string(ctx, field.Selections, res).MarshalGQL(w)
 11231  				w.Write([]byte{'}'})
 11232  			})
 11233  		case <-ctx.Done():
 11234  			return nil
 11235  		}
 11236  	}
 11237  }
 11238  
 11239  func (ec *executionContext) fieldContext_Subscription_initPayload(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
 11240  	fc = &graphql.FieldContext{
 11241  		Object:     "Subscription",
 11242  		Field:      field,
 11243  		IsMethod:   true,
 11244  		IsResolver: true,
 11245  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
 11246  			return nil, errors.New("field of type String does not have child fields")
 11247  		},
 11248  	}
 11249  	return fc, nil
 11250  }
 11251  
 11252  func (ec *executionContext) _Subscription_directiveArg(ctx context.Context, field graphql.CollectedField) (ret func(ctx context.Context) graphql.Marshaler) {
 11253  	fc, err := ec.fieldContext_Subscription_directiveArg(ctx, field)
 11254  	if err != nil {
 11255  		return nil
 11256  	}
 11257  	ctx = graphql.WithFieldContext(ctx, fc)
 11258  	defer func() {
 11259  		if r := recover(); r != nil {
 11260  			ec.Error(ctx, ec.Recover(ctx, r))
 11261  			ret = nil
 11262  		}
 11263  	}()
 11264  	resTmp := ec._fieldMiddleware(ctx, nil, func(rctx context.Context) (interface{}, error) {
 11265  		ctx = rctx // use context from middleware stack in children
 11266  		return ec.resolvers.Subscription().DirectiveArg(rctx, fc.Args["arg"].(string))
 11267  	})
 11268  
 11269  	if resTmp == nil {
 11270  		return nil
 11271  	}
 11272  	return func(ctx context.Context) graphql.Marshaler {
 11273  		select {
 11274  		case res, ok := <-resTmp.(<-chan *string):
 11275  			if !ok {
 11276  				return nil
 11277  			}
 11278  			return graphql.WriterFunc(func(w io.Writer) {
 11279  				w.Write([]byte{'{'})
 11280  				graphql.MarshalString(field.Alias).MarshalGQL(w)
 11281  				w.Write([]byte{':'})
 11282  				ec.marshalOString2ᚖstring(ctx, field.Selections, res).MarshalGQL(w)
 11283  				w.Write([]byte{'}'})
 11284  			})
 11285  		case <-ctx.Done():
 11286  			return nil
 11287  		}
 11288  	}
 11289  }
 11290  
 11291  func (ec *executionContext) fieldContext_Subscription_directiveArg(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
 11292  	fc = &graphql.FieldContext{
 11293  		Object:     "Subscription",
 11294  		Field:      field,
 11295  		IsMethod:   true,
 11296  		IsResolver: true,
 11297  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
 11298  			return nil, errors.New("field of type String does not have child fields")
 11299  		},
 11300  	}
 11301  	defer func() {
 11302  		if r := recover(); r != nil {
 11303  			err = ec.Recover(ctx, r)
 11304  			ec.Error(ctx, err)
 11305  		}
 11306  	}()
 11307  	ctx = graphql.WithFieldContext(ctx, fc)
 11308  	if fc.Args, err = ec.field_Subscription_directiveArg_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
 11309  		ec.Error(ctx, err)
 11310  		return
 11311  	}
 11312  	return fc, nil
 11313  }
 11314  
 11315  func (ec *executionContext) _Subscription_directiveNullableArg(ctx context.Context, field graphql.CollectedField) (ret func(ctx context.Context) graphql.Marshaler) {
 11316  	fc, err := ec.fieldContext_Subscription_directiveNullableArg(ctx, field)
 11317  	if err != nil {
 11318  		return nil
 11319  	}
 11320  	ctx = graphql.WithFieldContext(ctx, fc)
 11321  	defer func() {
 11322  		if r := recover(); r != nil {
 11323  			ec.Error(ctx, ec.Recover(ctx, r))
 11324  			ret = nil
 11325  		}
 11326  	}()
 11327  	resTmp := ec._fieldMiddleware(ctx, nil, func(rctx context.Context) (interface{}, error) {
 11328  		ctx = rctx // use context from middleware stack in children
 11329  		return ec.resolvers.Subscription().DirectiveNullableArg(rctx, fc.Args["arg"].(*int), fc.Args["arg2"].(*int), fc.Args["arg3"].(*string))
 11330  	})
 11331  
 11332  	if resTmp == nil {
 11333  		return nil
 11334  	}
 11335  	return func(ctx context.Context) graphql.Marshaler {
 11336  		select {
 11337  		case res, ok := <-resTmp.(<-chan *string):
 11338  			if !ok {
 11339  				return nil
 11340  			}
 11341  			return graphql.WriterFunc(func(w io.Writer) {
 11342  				w.Write([]byte{'{'})
 11343  				graphql.MarshalString(field.Alias).MarshalGQL(w)
 11344  				w.Write([]byte{':'})
 11345  				ec.marshalOString2ᚖstring(ctx, field.Selections, res).MarshalGQL(w)
 11346  				w.Write([]byte{'}'})
 11347  			})
 11348  		case <-ctx.Done():
 11349  			return nil
 11350  		}
 11351  	}
 11352  }
 11353  
 11354  func (ec *executionContext) fieldContext_Subscription_directiveNullableArg(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
 11355  	fc = &graphql.FieldContext{
 11356  		Object:     "Subscription",
 11357  		Field:      field,
 11358  		IsMethod:   true,
 11359  		IsResolver: true,
 11360  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
 11361  			return nil, errors.New("field of type String does not have child fields")
 11362  		},
 11363  	}
 11364  	defer func() {
 11365  		if r := recover(); r != nil {
 11366  			err = ec.Recover(ctx, r)
 11367  			ec.Error(ctx, err)
 11368  		}
 11369  	}()
 11370  	ctx = graphql.WithFieldContext(ctx, fc)
 11371  	if fc.Args, err = ec.field_Subscription_directiveNullableArg_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
 11372  		ec.Error(ctx, err)
 11373  		return
 11374  	}
 11375  	return fc, nil
 11376  }
 11377  
 11378  func (ec *executionContext) _Subscription_directiveDouble(ctx context.Context, field graphql.CollectedField) (ret func(ctx context.Context) graphql.Marshaler) {
 11379  	fc, err := ec.fieldContext_Subscription_directiveDouble(ctx, field)
 11380  	if err != nil {
 11381  		return nil
 11382  	}
 11383  	ctx = graphql.WithFieldContext(ctx, fc)
 11384  	defer func() {
 11385  		if r := recover(); r != nil {
 11386  			ec.Error(ctx, ec.Recover(ctx, r))
 11387  			ret = nil
 11388  		}
 11389  	}()
 11390  	resTmp := ec._fieldMiddleware(ctx, nil, func(rctx context.Context) (interface{}, error) {
 11391  		directive0 := func(rctx context.Context) (interface{}, error) {
 11392  			ctx = rctx // use context from middleware stack in children
 11393  			return ec.resolvers.Subscription().DirectiveDouble(rctx)
 11394  		}
 11395  		directive1 := func(ctx context.Context) (interface{}, error) {
 11396  			if ec.directives.Directive1 == nil {
 11397  				return nil, errors.New("directive directive1 is not implemented")
 11398  			}
 11399  			return ec.directives.Directive1(ctx, nil, directive0)
 11400  		}
 11401  		directive2 := func(ctx context.Context) (interface{}, error) {
 11402  			if ec.directives.Directive2 == nil {
 11403  				return nil, errors.New("directive directive2 is not implemented")
 11404  			}
 11405  			return ec.directives.Directive2(ctx, nil, directive1)
 11406  		}
 11407  
 11408  		tmp, err := directive2(rctx)
 11409  		if err != nil {
 11410  			return nil, graphql.ErrorOnPath(ctx, err)
 11411  		}
 11412  		if tmp == nil {
 11413  			return nil, nil
 11414  		}
 11415  		if data, ok := tmp.(<-chan *string); ok {
 11416  			return data, nil
 11417  		}
 11418  		return nil, fmt.Errorf(`unexpected type %T from directive, should be <-chan *string`, tmp)
 11419  	})
 11420  
 11421  	if resTmp == nil {
 11422  		return nil
 11423  	}
 11424  	return func(ctx context.Context) graphql.Marshaler {
 11425  		select {
 11426  		case res, ok := <-resTmp.(<-chan *string):
 11427  			if !ok {
 11428  				return nil
 11429  			}
 11430  			return graphql.WriterFunc(func(w io.Writer) {
 11431  				w.Write([]byte{'{'})
 11432  				graphql.MarshalString(field.Alias).MarshalGQL(w)
 11433  				w.Write([]byte{':'})
 11434  				ec.marshalOString2ᚖstring(ctx, field.Selections, res).MarshalGQL(w)
 11435  				w.Write([]byte{'}'})
 11436  			})
 11437  		case <-ctx.Done():
 11438  			return nil
 11439  		}
 11440  	}
 11441  }
 11442  
 11443  func (ec *executionContext) fieldContext_Subscription_directiveDouble(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
 11444  	fc = &graphql.FieldContext{
 11445  		Object:     "Subscription",
 11446  		Field:      field,
 11447  		IsMethod:   true,
 11448  		IsResolver: true,
 11449  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
 11450  			return nil, errors.New("field of type String does not have child fields")
 11451  		},
 11452  	}
 11453  	return fc, nil
 11454  }
 11455  
 11456  func (ec *executionContext) _Subscription_directiveUnimplemented(ctx context.Context, field graphql.CollectedField) (ret func(ctx context.Context) graphql.Marshaler) {
 11457  	fc, err := ec.fieldContext_Subscription_directiveUnimplemented(ctx, field)
 11458  	if err != nil {
 11459  		return nil
 11460  	}
 11461  	ctx = graphql.WithFieldContext(ctx, fc)
 11462  	defer func() {
 11463  		if r := recover(); r != nil {
 11464  			ec.Error(ctx, ec.Recover(ctx, r))
 11465  			ret = nil
 11466  		}
 11467  	}()
 11468  	resTmp := ec._fieldMiddleware(ctx, nil, func(rctx context.Context) (interface{}, error) {
 11469  		directive0 := func(rctx context.Context) (interface{}, error) {
 11470  			ctx = rctx // use context from middleware stack in children
 11471  			return ec.resolvers.Subscription().DirectiveUnimplemented(rctx)
 11472  		}
 11473  		directive1 := func(ctx context.Context) (interface{}, error) {
 11474  			if ec.directives.Unimplemented == nil {
 11475  				return nil, errors.New("directive unimplemented is not implemented")
 11476  			}
 11477  			return ec.directives.Unimplemented(ctx, nil, directive0)
 11478  		}
 11479  
 11480  		tmp, err := directive1(rctx)
 11481  		if err != nil {
 11482  			return nil, graphql.ErrorOnPath(ctx, err)
 11483  		}
 11484  		if tmp == nil {
 11485  			return nil, nil
 11486  		}
 11487  		if data, ok := tmp.(<-chan *string); ok {
 11488  			return data, nil
 11489  		}
 11490  		return nil, fmt.Errorf(`unexpected type %T from directive, should be <-chan *string`, tmp)
 11491  	})
 11492  
 11493  	if resTmp == nil {
 11494  		return nil
 11495  	}
 11496  	return func(ctx context.Context) graphql.Marshaler {
 11497  		select {
 11498  		case res, ok := <-resTmp.(<-chan *string):
 11499  			if !ok {
 11500  				return nil
 11501  			}
 11502  			return graphql.WriterFunc(func(w io.Writer) {
 11503  				w.Write([]byte{'{'})
 11504  				graphql.MarshalString(field.Alias).MarshalGQL(w)
 11505  				w.Write([]byte{':'})
 11506  				ec.marshalOString2ᚖstring(ctx, field.Selections, res).MarshalGQL(w)
 11507  				w.Write([]byte{'}'})
 11508  			})
 11509  		case <-ctx.Done():
 11510  			return nil
 11511  		}
 11512  	}
 11513  }
 11514  
 11515  func (ec *executionContext) fieldContext_Subscription_directiveUnimplemented(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
 11516  	fc = &graphql.FieldContext{
 11517  		Object:     "Subscription",
 11518  		Field:      field,
 11519  		IsMethod:   true,
 11520  		IsResolver: true,
 11521  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
 11522  			return nil, errors.New("field of type String does not have child fields")
 11523  		},
 11524  	}
 11525  	return fc, nil
 11526  }
 11527  
 11528  func (ec *executionContext) _Subscription_issue896b(ctx context.Context, field graphql.CollectedField) (ret func(ctx context.Context) graphql.Marshaler) {
 11529  	fc, err := ec.fieldContext_Subscription_issue896b(ctx, field)
 11530  	if err != nil {
 11531  		return nil
 11532  	}
 11533  	ctx = graphql.WithFieldContext(ctx, fc)
 11534  	defer func() {
 11535  		if r := recover(); r != nil {
 11536  			ec.Error(ctx, ec.Recover(ctx, r))
 11537  			ret = nil
 11538  		}
 11539  	}()
 11540  	resTmp := ec._fieldMiddleware(ctx, nil, func(rctx context.Context) (interface{}, error) {
 11541  		ctx = rctx // use context from middleware stack in children
 11542  		return ec.resolvers.Subscription().Issue896b(rctx)
 11543  	})
 11544  
 11545  	if resTmp == nil {
 11546  		return nil
 11547  	}
 11548  	return func(ctx context.Context) graphql.Marshaler {
 11549  		select {
 11550  		case res, ok := <-resTmp.(<-chan []*CheckIssue896):
 11551  			if !ok {
 11552  				return nil
 11553  			}
 11554  			return graphql.WriterFunc(func(w io.Writer) {
 11555  				w.Write([]byte{'{'})
 11556  				graphql.MarshalString(field.Alias).MarshalGQL(w)
 11557  				w.Write([]byte{':'})
 11558  				ec.marshalOCheckIssue8962ᚕᚖgithubᚗcomᚋ99designsᚋgqlgenᚋcodegenᚋtestserverᚋsinglefileᚐCheckIssue896(ctx, field.Selections, res).MarshalGQL(w)
 11559  				w.Write([]byte{'}'})
 11560  			})
 11561  		case <-ctx.Done():
 11562  			return nil
 11563  		}
 11564  	}
 11565  }
 11566  
 11567  func (ec *executionContext) fieldContext_Subscription_issue896b(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
 11568  	fc = &graphql.FieldContext{
 11569  		Object:     "Subscription",
 11570  		Field:      field,
 11571  		IsMethod:   true,
 11572  		IsResolver: true,
 11573  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
 11574  			switch field.Name {
 11575  			case "id":
 11576  				return ec.fieldContext_CheckIssue896_id(ctx, field)
 11577  			}
 11578  			return nil, fmt.Errorf("no field named %q was found under type CheckIssue896", field.Name)
 11579  		},
 11580  	}
 11581  	return fc, nil
 11582  }
 11583  
 11584  func (ec *executionContext) _Subscription_errorRequired(ctx context.Context, field graphql.CollectedField) (ret func(ctx context.Context) graphql.Marshaler) {
 11585  	fc, err := ec.fieldContext_Subscription_errorRequired(ctx, field)
 11586  	if err != nil {
 11587  		return nil
 11588  	}
 11589  	ctx = graphql.WithFieldContext(ctx, fc)
 11590  	defer func() {
 11591  		if r := recover(); r != nil {
 11592  			ec.Error(ctx, ec.Recover(ctx, r))
 11593  			ret = nil
 11594  		}
 11595  	}()
 11596  	resTmp := ec._fieldMiddleware(ctx, nil, func(rctx context.Context) (interface{}, error) {
 11597  		ctx = rctx // use context from middleware stack in children
 11598  		return ec.resolvers.Subscription().ErrorRequired(rctx)
 11599  	})
 11600  
 11601  	if resTmp == nil {
 11602  		if !graphql.HasFieldError(ctx, fc) {
 11603  			ec.Errorf(ctx, "must not be null")
 11604  		}
 11605  		return nil
 11606  	}
 11607  	return func(ctx context.Context) graphql.Marshaler {
 11608  		select {
 11609  		case res, ok := <-resTmp.(<-chan *Error):
 11610  			if !ok {
 11611  				return nil
 11612  			}
 11613  			return graphql.WriterFunc(func(w io.Writer) {
 11614  				w.Write([]byte{'{'})
 11615  				graphql.MarshalString(field.Alias).MarshalGQL(w)
 11616  				w.Write([]byte{':'})
 11617  				ec.marshalNError2ᚖgithubᚗcomᚋ99designsᚋgqlgenᚋcodegenᚋtestserverᚋsinglefileᚐError(ctx, field.Selections, res).MarshalGQL(w)
 11618  				w.Write([]byte{'}'})
 11619  			})
 11620  		case <-ctx.Done():
 11621  			return nil
 11622  		}
 11623  	}
 11624  }
 11625  
 11626  func (ec *executionContext) fieldContext_Subscription_errorRequired(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
 11627  	fc = &graphql.FieldContext{
 11628  		Object:     "Subscription",
 11629  		Field:      field,
 11630  		IsMethod:   true,
 11631  		IsResolver: true,
 11632  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
 11633  			switch field.Name {
 11634  			case "id":
 11635  				return ec.fieldContext_Error_id(ctx, field)
 11636  			case "errorOnNonRequiredField":
 11637  				return ec.fieldContext_Error_errorOnNonRequiredField(ctx, field)
 11638  			case "errorOnRequiredField":
 11639  				return ec.fieldContext_Error_errorOnRequiredField(ctx, field)
 11640  			case "nilOnRequiredField":
 11641  				return ec.fieldContext_Error_nilOnRequiredField(ctx, field)
 11642  			}
 11643  			return nil, fmt.Errorf("no field named %q was found under type Error", field.Name)
 11644  		},
 11645  	}
 11646  	return fc, nil
 11647  }
 11648  
 11649  func (ec *executionContext) _User_id(ctx context.Context, field graphql.CollectedField, obj *User) (ret graphql.Marshaler) {
 11650  	fc, err := ec.fieldContext_User_id(ctx, field)
 11651  	if err != nil {
 11652  		return graphql.Null
 11653  	}
 11654  	ctx = graphql.WithFieldContext(ctx, fc)
 11655  	defer func() {
 11656  		if r := recover(); r != nil {
 11657  			ec.Error(ctx, ec.Recover(ctx, r))
 11658  			ret = graphql.Null
 11659  		}
 11660  	}()
 11661  	resTmp := ec._fieldMiddleware(ctx, obj, func(rctx context.Context) (interface{}, error) {
 11662  		ctx = rctx // use context from middleware stack in children
 11663  		return obj.ID, nil
 11664  	})
 11665  
 11666  	if resTmp == nil {
 11667  		if !graphql.HasFieldError(ctx, fc) {
 11668  			ec.Errorf(ctx, "must not be null")
 11669  		}
 11670  		return graphql.Null
 11671  	}
 11672  	res := resTmp.(int)
 11673  	fc.Result = res
 11674  	return ec.marshalNInt2int(ctx, field.Selections, res)
 11675  }
 11676  
 11677  func (ec *executionContext) fieldContext_User_id(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
 11678  	fc = &graphql.FieldContext{
 11679  		Object:     "User",
 11680  		Field:      field,
 11681  		IsMethod:   false,
 11682  		IsResolver: false,
 11683  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
 11684  			return nil, errors.New("field of type Int does not have child fields")
 11685  		},
 11686  	}
 11687  	return fc, nil
 11688  }
 11689  
 11690  func (ec *executionContext) _User_friends(ctx context.Context, field graphql.CollectedField, obj *User) (ret graphql.Marshaler) {
 11691  	fc, err := ec.fieldContext_User_friends(ctx, field)
 11692  	if err != nil {
 11693  		return graphql.Null
 11694  	}
 11695  	ctx = graphql.WithFieldContext(ctx, fc)
 11696  	defer func() {
 11697  		if r := recover(); r != nil {
 11698  			ec.Error(ctx, ec.Recover(ctx, r))
 11699  			ret = graphql.Null
 11700  		}
 11701  	}()
 11702  	resTmp := ec._fieldMiddleware(ctx, obj, func(rctx context.Context) (interface{}, error) {
 11703  		ctx = rctx // use context from middleware stack in children
 11704  		return ec.resolvers.User().Friends(rctx, obj)
 11705  	})
 11706  
 11707  	if resTmp == nil {
 11708  		if !graphql.HasFieldError(ctx, fc) {
 11709  			ec.Errorf(ctx, "must not be null")
 11710  		}
 11711  		return graphql.Null
 11712  	}
 11713  	res := resTmp.([]*User)
 11714  	fc.Result = res
 11715  	return ec.marshalNUser2ᚕᚖgithubᚗcomᚋ99designsᚋgqlgenᚋcodegenᚋtestserverᚋsinglefileᚐUserᚄ(ctx, field.Selections, res)
 11716  }
 11717  
 11718  func (ec *executionContext) fieldContext_User_friends(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
 11719  	fc = &graphql.FieldContext{
 11720  		Object:     "User",
 11721  		Field:      field,
 11722  		IsMethod:   true,
 11723  		IsResolver: true,
 11724  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
 11725  			switch field.Name {
 11726  			case "id":
 11727  				return ec.fieldContext_User_id(ctx, field)
 11728  			case "friends":
 11729  				return ec.fieldContext_User_friends(ctx, field)
 11730  			case "created":
 11731  				return ec.fieldContext_User_created(ctx, field)
 11732  			case "updated":
 11733  				return ec.fieldContext_User_updated(ctx, field)
 11734  			case "pets":
 11735  				return ec.fieldContext_User_pets(ctx, field)
 11736  			}
 11737  			return nil, fmt.Errorf("no field named %q was found under type User", field.Name)
 11738  		},
 11739  	}
 11740  	return fc, nil
 11741  }
 11742  
 11743  func (ec *executionContext) _User_created(ctx context.Context, field graphql.CollectedField, obj *User) (ret graphql.Marshaler) {
 11744  	fc, err := ec.fieldContext_User_created(ctx, field)
 11745  	if err != nil {
 11746  		return graphql.Null
 11747  	}
 11748  	ctx = graphql.WithFieldContext(ctx, fc)
 11749  	defer func() {
 11750  		if r := recover(); r != nil {
 11751  			ec.Error(ctx, ec.Recover(ctx, r))
 11752  			ret = graphql.Null
 11753  		}
 11754  	}()
 11755  	resTmp := ec._fieldMiddleware(ctx, obj, func(rctx context.Context) (interface{}, error) {
 11756  		ctx = rctx // use context from middleware stack in children
 11757  		return obj.Created, nil
 11758  	})
 11759  
 11760  	if resTmp == nil {
 11761  		if !graphql.HasFieldError(ctx, fc) {
 11762  			ec.Errorf(ctx, "must not be null")
 11763  		}
 11764  		return graphql.Null
 11765  	}
 11766  	res := resTmp.(time.Time)
 11767  	fc.Result = res
 11768  	return ec.marshalNTime2timeᚐTime(ctx, field.Selections, res)
 11769  }
 11770  
 11771  func (ec *executionContext) fieldContext_User_created(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
 11772  	fc = &graphql.FieldContext{
 11773  		Object:     "User",
 11774  		Field:      field,
 11775  		IsMethod:   false,
 11776  		IsResolver: false,
 11777  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
 11778  			return nil, errors.New("field of type Time does not have child fields")
 11779  		},
 11780  	}
 11781  	return fc, nil
 11782  }
 11783  
 11784  func (ec *executionContext) _User_updated(ctx context.Context, field graphql.CollectedField, obj *User) (ret graphql.Marshaler) {
 11785  	fc, err := ec.fieldContext_User_updated(ctx, field)
 11786  	if err != nil {
 11787  		return graphql.Null
 11788  	}
 11789  	ctx = graphql.WithFieldContext(ctx, fc)
 11790  	defer func() {
 11791  		if r := recover(); r != nil {
 11792  			ec.Error(ctx, ec.Recover(ctx, r))
 11793  			ret = graphql.Null
 11794  		}
 11795  	}()
 11796  	resTmp := ec._fieldMiddleware(ctx, obj, func(rctx context.Context) (interface{}, error) {
 11797  		ctx = rctx // use context from middleware stack in children
 11798  		return obj.Updated, nil
 11799  	})
 11800  
 11801  	if resTmp == nil {
 11802  		return graphql.Null
 11803  	}
 11804  	res := resTmp.(*time.Time)
 11805  	fc.Result = res
 11806  	return ec.marshalOTime2ᚖtimeᚐTime(ctx, field.Selections, res)
 11807  }
 11808  
 11809  func (ec *executionContext) fieldContext_User_updated(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
 11810  	fc = &graphql.FieldContext{
 11811  		Object:     "User",
 11812  		Field:      field,
 11813  		IsMethod:   false,
 11814  		IsResolver: false,
 11815  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
 11816  			return nil, errors.New("field of type Time does not have child fields")
 11817  		},
 11818  	}
 11819  	return fc, nil
 11820  }
 11821  
 11822  func (ec *executionContext) _User_pets(ctx context.Context, field graphql.CollectedField, obj *User) (ret graphql.Marshaler) {
 11823  	fc, err := ec.fieldContext_User_pets(ctx, field)
 11824  	if err != nil {
 11825  		return graphql.Null
 11826  	}
 11827  	ctx = graphql.WithFieldContext(ctx, fc)
 11828  	defer func() {
 11829  		if r := recover(); r != nil {
 11830  			ec.Error(ctx, ec.Recover(ctx, r))
 11831  			ret = graphql.Null
 11832  		}
 11833  	}()
 11834  	resTmp := ec._fieldMiddleware(ctx, obj, func(rctx context.Context) (interface{}, error) {
 11835  		ctx = rctx // use context from middleware stack in children
 11836  		return ec.resolvers.User().Pets(rctx, obj, fc.Args["limit"].(*int))
 11837  	})
 11838  
 11839  	if resTmp == nil {
 11840  		return graphql.Null
 11841  	}
 11842  	res := resTmp.([]*Pet)
 11843  	fc.Result = res
 11844  	return ec.marshalOPet2ᚕᚖgithubᚗcomᚋ99designsᚋgqlgenᚋcodegenᚋtestserverᚋsinglefileᚐPetᚄ(ctx, field.Selections, res)
 11845  }
 11846  
 11847  func (ec *executionContext) fieldContext_User_pets(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
 11848  	fc = &graphql.FieldContext{
 11849  		Object:     "User",
 11850  		Field:      field,
 11851  		IsMethod:   true,
 11852  		IsResolver: true,
 11853  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
 11854  			switch field.Name {
 11855  			case "id":
 11856  				return ec.fieldContext_Pet_id(ctx, field)
 11857  			case "friends":
 11858  				return ec.fieldContext_Pet_friends(ctx, field)
 11859  			}
 11860  			return nil, fmt.Errorf("no field named %q was found under type Pet", field.Name)
 11861  		},
 11862  	}
 11863  	defer func() {
 11864  		if r := recover(); r != nil {
 11865  			err = ec.Recover(ctx, r)
 11866  			ec.Error(ctx, err)
 11867  		}
 11868  	}()
 11869  	ctx = graphql.WithFieldContext(ctx, fc)
 11870  	if fc.Args, err = ec.field_User_pets_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
 11871  		ec.Error(ctx, err)
 11872  		return
 11873  	}
 11874  	return fc, nil
 11875  }
 11876  
 11877  func (ec *executionContext) _VOkCaseNil_value(ctx context.Context, field graphql.CollectedField, obj *VOkCaseNil) (ret graphql.Marshaler) {
 11878  	fc, err := ec.fieldContext_VOkCaseNil_value(ctx, field)
 11879  	if err != nil {
 11880  		return graphql.Null
 11881  	}
 11882  	ctx = graphql.WithFieldContext(ctx, fc)
 11883  	defer func() {
 11884  		if r := recover(); r != nil {
 11885  			ec.Error(ctx, ec.Recover(ctx, r))
 11886  			ret = graphql.Null
 11887  		}
 11888  	}()
 11889  	resTmp := ec._fieldMiddleware(ctx, obj, func(rctx context.Context) (interface{}, error) {
 11890  		ctx = rctx // use context from middleware stack in children
 11891  		v, ok := obj.Value()
 11892  		if !ok {
 11893  			return nil, nil
 11894  		}
 11895  		return v, nil
 11896  	})
 11897  
 11898  	if resTmp == nil {
 11899  		return graphql.Null
 11900  	}
 11901  	res := resTmp.(string)
 11902  	fc.Result = res
 11903  	return ec.marshalOString2string(ctx, field.Selections, res)
 11904  }
 11905  
 11906  func (ec *executionContext) fieldContext_VOkCaseNil_value(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
 11907  	fc = &graphql.FieldContext{
 11908  		Object:     "VOkCaseNil",
 11909  		Field:      field,
 11910  		IsMethod:   true,
 11911  		IsResolver: false,
 11912  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
 11913  			return nil, errors.New("field of type String does not have child fields")
 11914  		},
 11915  	}
 11916  	return fc, nil
 11917  }
 11918  
 11919  func (ec *executionContext) _VOkCaseValue_value(ctx context.Context, field graphql.CollectedField, obj *VOkCaseValue) (ret graphql.Marshaler) {
 11920  	fc, err := ec.fieldContext_VOkCaseValue_value(ctx, field)
 11921  	if err != nil {
 11922  		return graphql.Null
 11923  	}
 11924  	ctx = graphql.WithFieldContext(ctx, fc)
 11925  	defer func() {
 11926  		if r := recover(); r != nil {
 11927  			ec.Error(ctx, ec.Recover(ctx, r))
 11928  			ret = graphql.Null
 11929  		}
 11930  	}()
 11931  	resTmp := ec._fieldMiddleware(ctx, obj, func(rctx context.Context) (interface{}, error) {
 11932  		ctx = rctx // use context from middleware stack in children
 11933  		v, ok := obj.Value()
 11934  		if !ok {
 11935  			return nil, nil
 11936  		}
 11937  		return v, nil
 11938  	})
 11939  
 11940  	if resTmp == nil {
 11941  		return graphql.Null
 11942  	}
 11943  	res := resTmp.(string)
 11944  	fc.Result = res
 11945  	return ec.marshalOString2string(ctx, field.Selections, res)
 11946  }
 11947  
 11948  func (ec *executionContext) fieldContext_VOkCaseValue_value(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
 11949  	fc = &graphql.FieldContext{
 11950  		Object:     "VOkCaseValue",
 11951  		Field:      field,
 11952  		IsMethod:   true,
 11953  		IsResolver: false,
 11954  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
 11955  			return nil, errors.New("field of type String does not have child fields")
 11956  		},
 11957  	}
 11958  	return fc, nil
 11959  }
 11960  
 11961  func (ec *executionContext) _ValidType_differentCase(ctx context.Context, field graphql.CollectedField, obj *ValidType) (ret graphql.Marshaler) {
 11962  	fc, err := ec.fieldContext_ValidType_differentCase(ctx, field)
 11963  	if err != nil {
 11964  		return graphql.Null
 11965  	}
 11966  	ctx = graphql.WithFieldContext(ctx, fc)
 11967  	defer func() {
 11968  		if r := recover(); r != nil {
 11969  			ec.Error(ctx, ec.Recover(ctx, r))
 11970  			ret = graphql.Null
 11971  		}
 11972  	}()
 11973  	resTmp := ec._fieldMiddleware(ctx, obj, func(rctx context.Context) (interface{}, error) {
 11974  		ctx = rctx // use context from middleware stack in children
 11975  		return obj.DifferentCase, nil
 11976  	})
 11977  
 11978  	if resTmp == nil {
 11979  		if !graphql.HasFieldError(ctx, fc) {
 11980  			ec.Errorf(ctx, "must not be null")
 11981  		}
 11982  		return graphql.Null
 11983  	}
 11984  	res := resTmp.(string)
 11985  	fc.Result = res
 11986  	return ec.marshalNString2string(ctx, field.Selections, res)
 11987  }
 11988  
 11989  func (ec *executionContext) fieldContext_ValidType_differentCase(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
 11990  	fc = &graphql.FieldContext{
 11991  		Object:     "ValidType",
 11992  		Field:      field,
 11993  		IsMethod:   false,
 11994  		IsResolver: false,
 11995  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
 11996  			return nil, errors.New("field of type String does not have child fields")
 11997  		},
 11998  	}
 11999  	return fc, nil
 12000  }
 12001  
 12002  func (ec *executionContext) _ValidType_different_case(ctx context.Context, field graphql.CollectedField, obj *ValidType) (ret graphql.Marshaler) {
 12003  	fc, err := ec.fieldContext_ValidType_different_case(ctx, field)
 12004  	if err != nil {
 12005  		return graphql.Null
 12006  	}
 12007  	ctx = graphql.WithFieldContext(ctx, fc)
 12008  	defer func() {
 12009  		if r := recover(); r != nil {
 12010  			ec.Error(ctx, ec.Recover(ctx, r))
 12011  			ret = graphql.Null
 12012  		}
 12013  	}()
 12014  	resTmp := ec._fieldMiddleware(ctx, obj, func(rctx context.Context) (interface{}, error) {
 12015  		ctx = rctx // use context from middleware stack in children
 12016  		return obj.DifferentCaseOld, nil
 12017  	})
 12018  
 12019  	if resTmp == nil {
 12020  		if !graphql.HasFieldError(ctx, fc) {
 12021  			ec.Errorf(ctx, "must not be null")
 12022  		}
 12023  		return graphql.Null
 12024  	}
 12025  	res := resTmp.(string)
 12026  	fc.Result = res
 12027  	return ec.marshalNString2string(ctx, field.Selections, res)
 12028  }
 12029  
 12030  func (ec *executionContext) fieldContext_ValidType_different_case(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
 12031  	fc = &graphql.FieldContext{
 12032  		Object:     "ValidType",
 12033  		Field:      field,
 12034  		IsMethod:   false,
 12035  		IsResolver: false,
 12036  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
 12037  			return nil, errors.New("field of type String does not have child fields")
 12038  		},
 12039  	}
 12040  	return fc, nil
 12041  }
 12042  
 12043  func (ec *executionContext) _ValidType_validInputKeywords(ctx context.Context, field graphql.CollectedField, obj *ValidType) (ret graphql.Marshaler) {
 12044  	fc, err := ec.fieldContext_ValidType_validInputKeywords(ctx, field)
 12045  	if err != nil {
 12046  		return graphql.Null
 12047  	}
 12048  	ctx = graphql.WithFieldContext(ctx, fc)
 12049  	defer func() {
 12050  		if r := recover(); r != nil {
 12051  			ec.Error(ctx, ec.Recover(ctx, r))
 12052  			ret = graphql.Null
 12053  		}
 12054  	}()
 12055  	resTmp := ec._fieldMiddleware(ctx, obj, func(rctx context.Context) (interface{}, error) {
 12056  		ctx = rctx // use context from middleware stack in children
 12057  		return obj.ValidInputKeywords, nil
 12058  	})
 12059  
 12060  	if resTmp == nil {
 12061  		if !graphql.HasFieldError(ctx, fc) {
 12062  			ec.Errorf(ctx, "must not be null")
 12063  		}
 12064  		return graphql.Null
 12065  	}
 12066  	res := resTmp.(bool)
 12067  	fc.Result = res
 12068  	return ec.marshalNBoolean2bool(ctx, field.Selections, res)
 12069  }
 12070  
 12071  func (ec *executionContext) fieldContext_ValidType_validInputKeywords(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
 12072  	fc = &graphql.FieldContext{
 12073  		Object:     "ValidType",
 12074  		Field:      field,
 12075  		IsMethod:   false,
 12076  		IsResolver: false,
 12077  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
 12078  			return nil, errors.New("field of type Boolean does not have child fields")
 12079  		},
 12080  	}
 12081  	defer func() {
 12082  		if r := recover(); r != nil {
 12083  			err = ec.Recover(ctx, r)
 12084  			ec.Error(ctx, err)
 12085  		}
 12086  	}()
 12087  	ctx = graphql.WithFieldContext(ctx, fc)
 12088  	if fc.Args, err = ec.field_ValidType_validInputKeywords_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
 12089  		ec.Error(ctx, err)
 12090  		return
 12091  	}
 12092  	return fc, nil
 12093  }
 12094  
 12095  func (ec *executionContext) _ValidType_validArgs(ctx context.Context, field graphql.CollectedField, obj *ValidType) (ret graphql.Marshaler) {
 12096  	fc, err := ec.fieldContext_ValidType_validArgs(ctx, field)
 12097  	if err != nil {
 12098  		return graphql.Null
 12099  	}
 12100  	ctx = graphql.WithFieldContext(ctx, fc)
 12101  	defer func() {
 12102  		if r := recover(); r != nil {
 12103  			ec.Error(ctx, ec.Recover(ctx, r))
 12104  			ret = graphql.Null
 12105  		}
 12106  	}()
 12107  	resTmp := ec._fieldMiddleware(ctx, obj, func(rctx context.Context) (interface{}, error) {
 12108  		ctx = rctx // use context from middleware stack in children
 12109  		return obj.ValidArgs, nil
 12110  	})
 12111  
 12112  	if resTmp == nil {
 12113  		if !graphql.HasFieldError(ctx, fc) {
 12114  			ec.Errorf(ctx, "must not be null")
 12115  		}
 12116  		return graphql.Null
 12117  	}
 12118  	res := resTmp.(bool)
 12119  	fc.Result = res
 12120  	return ec.marshalNBoolean2bool(ctx, field.Selections, res)
 12121  }
 12122  
 12123  func (ec *executionContext) fieldContext_ValidType_validArgs(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
 12124  	fc = &graphql.FieldContext{
 12125  		Object:     "ValidType",
 12126  		Field:      field,
 12127  		IsMethod:   false,
 12128  		IsResolver: false,
 12129  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
 12130  			return nil, errors.New("field of type Boolean does not have child fields")
 12131  		},
 12132  	}
 12133  	defer func() {
 12134  		if r := recover(); r != nil {
 12135  			err = ec.Recover(ctx, r)
 12136  			ec.Error(ctx, err)
 12137  		}
 12138  	}()
 12139  	ctx = graphql.WithFieldContext(ctx, fc)
 12140  	if fc.Args, err = ec.field_ValidType_validArgs_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
 12141  		ec.Error(ctx, err)
 12142  		return
 12143  	}
 12144  	return fc, nil
 12145  }
 12146  
 12147  func (ec *executionContext) _VariadicModel_value(ctx context.Context, field graphql.CollectedField, obj *VariadicModel) (ret graphql.Marshaler) {
 12148  	fc, err := ec.fieldContext_VariadicModel_value(ctx, field)
 12149  	if err != nil {
 12150  		return graphql.Null
 12151  	}
 12152  	ctx = graphql.WithFieldContext(ctx, fc)
 12153  	defer func() {
 12154  		if r := recover(); r != nil {
 12155  			ec.Error(ctx, ec.Recover(ctx, r))
 12156  			ret = graphql.Null
 12157  		}
 12158  	}()
 12159  	resTmp := ec._fieldMiddleware(ctx, obj, func(rctx context.Context) (interface{}, error) {
 12160  		ctx = rctx // use context from middleware stack in children
 12161  		return obj.Value(ctx, fc.Args["rank"].(int))
 12162  	})
 12163  
 12164  	if resTmp == nil {
 12165  		return graphql.Null
 12166  	}
 12167  	res := resTmp.(string)
 12168  	fc.Result = res
 12169  	return ec.marshalOString2string(ctx, field.Selections, res)
 12170  }
 12171  
 12172  func (ec *executionContext) fieldContext_VariadicModel_value(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
 12173  	fc = &graphql.FieldContext{
 12174  		Object:     "VariadicModel",
 12175  		Field:      field,
 12176  		IsMethod:   true,
 12177  		IsResolver: false,
 12178  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
 12179  			return nil, errors.New("field of type String does not have child fields")
 12180  		},
 12181  	}
 12182  	defer func() {
 12183  		if r := recover(); r != nil {
 12184  			err = ec.Recover(ctx, r)
 12185  			ec.Error(ctx, err)
 12186  		}
 12187  	}()
 12188  	ctx = graphql.WithFieldContext(ctx, fc)
 12189  	if fc.Args, err = ec.field_VariadicModel_value_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
 12190  		ec.Error(ctx, err)
 12191  		return
 12192  	}
 12193  	return fc, nil
 12194  }
 12195  
 12196  func (ec *executionContext) _WrappedMap_get(ctx context.Context, field graphql.CollectedField, obj WrappedMap) (ret graphql.Marshaler) {
 12197  	fc, err := ec.fieldContext_WrappedMap_get(ctx, field)
 12198  	if err != nil {
 12199  		return graphql.Null
 12200  	}
 12201  	ctx = graphql.WithFieldContext(ctx, fc)
 12202  	defer func() {
 12203  		if r := recover(); r != nil {
 12204  			ec.Error(ctx, ec.Recover(ctx, r))
 12205  			ret = graphql.Null
 12206  		}
 12207  	}()
 12208  	resTmp := ec._fieldMiddleware(ctx, obj, func(rctx context.Context) (interface{}, error) {
 12209  		ctx = rctx // use context from middleware stack in children
 12210  		return ec.resolvers.WrappedMap().Get(rctx, obj, fc.Args["key"].(string))
 12211  	})
 12212  
 12213  	if resTmp == nil {
 12214  		if !graphql.HasFieldError(ctx, fc) {
 12215  			ec.Errorf(ctx, "must not be null")
 12216  		}
 12217  		return graphql.Null
 12218  	}
 12219  	res := resTmp.(string)
 12220  	fc.Result = res
 12221  	return ec.marshalNString2string(ctx, field.Selections, res)
 12222  }
 12223  
 12224  func (ec *executionContext) fieldContext_WrappedMap_get(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
 12225  	fc = &graphql.FieldContext{
 12226  		Object:     "WrappedMap",
 12227  		Field:      field,
 12228  		IsMethod:   true,
 12229  		IsResolver: true,
 12230  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
 12231  			return nil, errors.New("field of type String does not have child fields")
 12232  		},
 12233  	}
 12234  	defer func() {
 12235  		if r := recover(); r != nil {
 12236  			err = ec.Recover(ctx, r)
 12237  			ec.Error(ctx, err)
 12238  		}
 12239  	}()
 12240  	ctx = graphql.WithFieldContext(ctx, fc)
 12241  	if fc.Args, err = ec.field_WrappedMap_get_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
 12242  		ec.Error(ctx, err)
 12243  		return
 12244  	}
 12245  	return fc, nil
 12246  }
 12247  
 12248  func (ec *executionContext) _WrappedSlice_get(ctx context.Context, field graphql.CollectedField, obj WrappedSlice) (ret graphql.Marshaler) {
 12249  	fc, err := ec.fieldContext_WrappedSlice_get(ctx, field)
 12250  	if err != nil {
 12251  		return graphql.Null
 12252  	}
 12253  	ctx = graphql.WithFieldContext(ctx, fc)
 12254  	defer func() {
 12255  		if r := recover(); r != nil {
 12256  			ec.Error(ctx, ec.Recover(ctx, r))
 12257  			ret = graphql.Null
 12258  		}
 12259  	}()
 12260  	resTmp := ec._fieldMiddleware(ctx, obj, func(rctx context.Context) (interface{}, error) {
 12261  		ctx = rctx // use context from middleware stack in children
 12262  		return ec.resolvers.WrappedSlice().Get(rctx, obj, fc.Args["idx"].(int))
 12263  	})
 12264  
 12265  	if resTmp == nil {
 12266  		if !graphql.HasFieldError(ctx, fc) {
 12267  			ec.Errorf(ctx, "must not be null")
 12268  		}
 12269  		return graphql.Null
 12270  	}
 12271  	res := resTmp.(string)
 12272  	fc.Result = res
 12273  	return ec.marshalNString2string(ctx, field.Selections, res)
 12274  }
 12275  
 12276  func (ec *executionContext) fieldContext_WrappedSlice_get(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
 12277  	fc = &graphql.FieldContext{
 12278  		Object:     "WrappedSlice",
 12279  		Field:      field,
 12280  		IsMethod:   true,
 12281  		IsResolver: true,
 12282  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
 12283  			return nil, errors.New("field of type String does not have child fields")
 12284  		},
 12285  	}
 12286  	defer func() {
 12287  		if r := recover(); r != nil {
 12288  			err = ec.Recover(ctx, r)
 12289  			ec.Error(ctx, err)
 12290  		}
 12291  	}()
 12292  	ctx = graphql.WithFieldContext(ctx, fc)
 12293  	if fc.Args, err = ec.field_WrappedSlice_get_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
 12294  		ec.Error(ctx, err)
 12295  		return
 12296  	}
 12297  	return fc, nil
 12298  }
 12299  
 12300  func (ec *executionContext) _WrappedStruct_name(ctx context.Context, field graphql.CollectedField, obj *WrappedStruct) (ret graphql.Marshaler) {
 12301  	fc, err := ec.fieldContext_WrappedStruct_name(ctx, field)
 12302  	if err != nil {
 12303  		return graphql.Null
 12304  	}
 12305  	ctx = graphql.WithFieldContext(ctx, fc)
 12306  	defer func() {
 12307  		if r := recover(); r != nil {
 12308  			ec.Error(ctx, ec.Recover(ctx, r))
 12309  			ret = graphql.Null
 12310  		}
 12311  	}()
 12312  	resTmp := ec._fieldMiddleware(ctx, obj, func(rctx context.Context) (interface{}, error) {
 12313  		ctx = rctx // use context from middleware stack in children
 12314  		return obj.Name, nil
 12315  	})
 12316  
 12317  	if resTmp == nil {
 12318  		if !graphql.HasFieldError(ctx, fc) {
 12319  			ec.Errorf(ctx, "must not be null")
 12320  		}
 12321  		return graphql.Null
 12322  	}
 12323  	res := resTmp.(otherpkg.Scalar)
 12324  	fc.Result = res
 12325  	return ec.marshalNWrappedScalar2githubᚗcomᚋ99designsᚋgqlgenᚋcodegenᚋtestserverᚋsinglefileᚋotherpkgᚐScalar(ctx, field.Selections, res)
 12326  }
 12327  
 12328  func (ec *executionContext) fieldContext_WrappedStruct_name(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
 12329  	fc = &graphql.FieldContext{
 12330  		Object:     "WrappedStruct",
 12331  		Field:      field,
 12332  		IsMethod:   false,
 12333  		IsResolver: false,
 12334  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
 12335  			return nil, errors.New("field of type WrappedScalar does not have child fields")
 12336  		},
 12337  	}
 12338  	return fc, nil
 12339  }
 12340  
 12341  func (ec *executionContext) _WrappedStruct_desc(ctx context.Context, field graphql.CollectedField, obj *WrappedStruct) (ret graphql.Marshaler) {
 12342  	fc, err := ec.fieldContext_WrappedStruct_desc(ctx, field)
 12343  	if err != nil {
 12344  		return graphql.Null
 12345  	}
 12346  	ctx = graphql.WithFieldContext(ctx, fc)
 12347  	defer func() {
 12348  		if r := recover(); r != nil {
 12349  			ec.Error(ctx, ec.Recover(ctx, r))
 12350  			ret = graphql.Null
 12351  		}
 12352  	}()
 12353  	resTmp := ec._fieldMiddleware(ctx, obj, func(rctx context.Context) (interface{}, error) {
 12354  		ctx = rctx // use context from middleware stack in children
 12355  		return obj.Desc, nil
 12356  	})
 12357  
 12358  	if resTmp == nil {
 12359  		return graphql.Null
 12360  	}
 12361  	res := resTmp.(*otherpkg.Scalar)
 12362  	fc.Result = res
 12363  	return ec.marshalOWrappedScalar2ᚖgithubᚗcomᚋ99designsᚋgqlgenᚋcodegenᚋtestserverᚋsinglefileᚋotherpkgᚐScalar(ctx, field.Selections, res)
 12364  }
 12365  
 12366  func (ec *executionContext) fieldContext_WrappedStruct_desc(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
 12367  	fc = &graphql.FieldContext{
 12368  		Object:     "WrappedStruct",
 12369  		Field:      field,
 12370  		IsMethod:   false,
 12371  		IsResolver: false,
 12372  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
 12373  			return nil, errors.New("field of type WrappedScalar does not have child fields")
 12374  		},
 12375  	}
 12376  	return fc, nil
 12377  }
 12378  
 12379  func (ec *executionContext) _XXIt_id(ctx context.Context, field graphql.CollectedField, obj *XXIt) (ret graphql.Marshaler) {
 12380  	fc, err := ec.fieldContext_XXIt_id(ctx, field)
 12381  	if err != nil {
 12382  		return graphql.Null
 12383  	}
 12384  	ctx = graphql.WithFieldContext(ctx, fc)
 12385  	defer func() {
 12386  		if r := recover(); r != nil {
 12387  			ec.Error(ctx, ec.Recover(ctx, r))
 12388  			ret = graphql.Null
 12389  		}
 12390  	}()
 12391  	resTmp := ec._fieldMiddleware(ctx, obj, func(rctx context.Context) (interface{}, error) {
 12392  		ctx = rctx // use context from middleware stack in children
 12393  		return obj.ID, nil
 12394  	})
 12395  
 12396  	if resTmp == nil {
 12397  		if !graphql.HasFieldError(ctx, fc) {
 12398  			ec.Errorf(ctx, "must not be null")
 12399  		}
 12400  		return graphql.Null
 12401  	}
 12402  	res := resTmp.(string)
 12403  	fc.Result = res
 12404  	return ec.marshalNID2string(ctx, field.Selections, res)
 12405  }
 12406  
 12407  func (ec *executionContext) fieldContext_XXIt_id(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
 12408  	fc = &graphql.FieldContext{
 12409  		Object:     "XXIt",
 12410  		Field:      field,
 12411  		IsMethod:   false,
 12412  		IsResolver: false,
 12413  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
 12414  			return nil, errors.New("field of type ID does not have child fields")
 12415  		},
 12416  	}
 12417  	return fc, nil
 12418  }
 12419  
 12420  func (ec *executionContext) _XxIt_id(ctx context.Context, field graphql.CollectedField, obj *XxIt) (ret graphql.Marshaler) {
 12421  	fc, err := ec.fieldContext_XxIt_id(ctx, field)
 12422  	if err != nil {
 12423  		return graphql.Null
 12424  	}
 12425  	ctx = graphql.WithFieldContext(ctx, fc)
 12426  	defer func() {
 12427  		if r := recover(); r != nil {
 12428  			ec.Error(ctx, ec.Recover(ctx, r))
 12429  			ret = graphql.Null
 12430  		}
 12431  	}()
 12432  	resTmp := ec._fieldMiddleware(ctx, obj, func(rctx context.Context) (interface{}, error) {
 12433  		ctx = rctx // use context from middleware stack in children
 12434  		return obj.ID, nil
 12435  	})
 12436  
 12437  	if resTmp == nil {
 12438  		if !graphql.HasFieldError(ctx, fc) {
 12439  			ec.Errorf(ctx, "must not be null")
 12440  		}
 12441  		return graphql.Null
 12442  	}
 12443  	res := resTmp.(string)
 12444  	fc.Result = res
 12445  	return ec.marshalNID2string(ctx, field.Selections, res)
 12446  }
 12447  
 12448  func (ec *executionContext) fieldContext_XxIt_id(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
 12449  	fc = &graphql.FieldContext{
 12450  		Object:     "XxIt",
 12451  		Field:      field,
 12452  		IsMethod:   false,
 12453  		IsResolver: false,
 12454  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
 12455  			return nil, errors.New("field of type ID does not have child fields")
 12456  		},
 12457  	}
 12458  	return fc, nil
 12459  }
 12460  
 12461  func (ec *executionContext) ___Directive_name(ctx context.Context, field graphql.CollectedField, obj *introspection.Directive) (ret graphql.Marshaler) {
 12462  	fc, err := ec.fieldContext___Directive_name(ctx, field)
 12463  	if err != nil {
 12464  		return graphql.Null
 12465  	}
 12466  	ctx = graphql.WithFieldContext(ctx, fc)
 12467  	defer func() {
 12468  		if r := recover(); r != nil {
 12469  			ec.Error(ctx, ec.Recover(ctx, r))
 12470  			ret = graphql.Null
 12471  		}
 12472  	}()
 12473  	resTmp := ec._fieldMiddleware(ctx, obj, func(rctx context.Context) (interface{}, error) {
 12474  		ctx = rctx // use context from middleware stack in children
 12475  		return obj.Name, nil
 12476  	})
 12477  
 12478  	if resTmp == nil {
 12479  		if !graphql.HasFieldError(ctx, fc) {
 12480  			ec.Errorf(ctx, "must not be null")
 12481  		}
 12482  		return graphql.Null
 12483  	}
 12484  	res := resTmp.(string)
 12485  	fc.Result = res
 12486  	return ec.marshalNString2string(ctx, field.Selections, res)
 12487  }
 12488  
 12489  func (ec *executionContext) fieldContext___Directive_name(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
 12490  	fc = &graphql.FieldContext{
 12491  		Object:     "__Directive",
 12492  		Field:      field,
 12493  		IsMethod:   false,
 12494  		IsResolver: false,
 12495  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
 12496  			return nil, errors.New("field of type String does not have child fields")
 12497  		},
 12498  	}
 12499  	return fc, nil
 12500  }
 12501  
 12502  func (ec *executionContext) ___Directive_description(ctx context.Context, field graphql.CollectedField, obj *introspection.Directive) (ret graphql.Marshaler) {
 12503  	fc, err := ec.fieldContext___Directive_description(ctx, field)
 12504  	if err != nil {
 12505  		return graphql.Null
 12506  	}
 12507  	ctx = graphql.WithFieldContext(ctx, fc)
 12508  	defer func() {
 12509  		if r := recover(); r != nil {
 12510  			ec.Error(ctx, ec.Recover(ctx, r))
 12511  			ret = graphql.Null
 12512  		}
 12513  	}()
 12514  	resTmp := ec._fieldMiddleware(ctx, obj, func(rctx context.Context) (interface{}, error) {
 12515  		ctx = rctx // use context from middleware stack in children
 12516  		return obj.Description(), nil
 12517  	})
 12518  
 12519  	if resTmp == nil {
 12520  		return graphql.Null
 12521  	}
 12522  	res := resTmp.(*string)
 12523  	fc.Result = res
 12524  	return ec.marshalOString2ᚖstring(ctx, field.Selections, res)
 12525  }
 12526  
 12527  func (ec *executionContext) fieldContext___Directive_description(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
 12528  	fc = &graphql.FieldContext{
 12529  		Object:     "__Directive",
 12530  		Field:      field,
 12531  		IsMethod:   true,
 12532  		IsResolver: false,
 12533  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
 12534  			return nil, errors.New("field of type String does not have child fields")
 12535  		},
 12536  	}
 12537  	return fc, nil
 12538  }
 12539  
 12540  func (ec *executionContext) ___Directive_locations(ctx context.Context, field graphql.CollectedField, obj *introspection.Directive) (ret graphql.Marshaler) {
 12541  	fc, err := ec.fieldContext___Directive_locations(ctx, field)
 12542  	if err != nil {
 12543  		return graphql.Null
 12544  	}
 12545  	ctx = graphql.WithFieldContext(ctx, fc)
 12546  	defer func() {
 12547  		if r := recover(); r != nil {
 12548  			ec.Error(ctx, ec.Recover(ctx, r))
 12549  			ret = graphql.Null
 12550  		}
 12551  	}()
 12552  	resTmp := ec._fieldMiddleware(ctx, obj, func(rctx context.Context) (interface{}, error) {
 12553  		ctx = rctx // use context from middleware stack in children
 12554  		return obj.Locations, nil
 12555  	})
 12556  
 12557  	if resTmp == nil {
 12558  		if !graphql.HasFieldError(ctx, fc) {
 12559  			ec.Errorf(ctx, "must not be null")
 12560  		}
 12561  		return graphql.Null
 12562  	}
 12563  	res := resTmp.([]string)
 12564  	fc.Result = res
 12565  	return ec.marshalN__DirectiveLocation2ᚕstringᚄ(ctx, field.Selections, res)
 12566  }
 12567  
 12568  func (ec *executionContext) fieldContext___Directive_locations(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
 12569  	fc = &graphql.FieldContext{
 12570  		Object:     "__Directive",
 12571  		Field:      field,
 12572  		IsMethod:   false,
 12573  		IsResolver: false,
 12574  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
 12575  			return nil, errors.New("field of type __DirectiveLocation does not have child fields")
 12576  		},
 12577  	}
 12578  	return fc, nil
 12579  }
 12580  
 12581  func (ec *executionContext) ___Directive_args(ctx context.Context, field graphql.CollectedField, obj *introspection.Directive) (ret graphql.Marshaler) {
 12582  	fc, err := ec.fieldContext___Directive_args(ctx, field)
 12583  	if err != nil {
 12584  		return graphql.Null
 12585  	}
 12586  	ctx = graphql.WithFieldContext(ctx, fc)
 12587  	defer func() {
 12588  		if r := recover(); r != nil {
 12589  			ec.Error(ctx, ec.Recover(ctx, r))
 12590  			ret = graphql.Null
 12591  		}
 12592  	}()
 12593  	resTmp := ec._fieldMiddleware(ctx, obj, func(rctx context.Context) (interface{}, error) {
 12594  		ctx = rctx // use context from middleware stack in children
 12595  		return obj.Args, nil
 12596  	})
 12597  
 12598  	if resTmp == nil {
 12599  		if !graphql.HasFieldError(ctx, fc) {
 12600  			ec.Errorf(ctx, "must not be null")
 12601  		}
 12602  		return graphql.Null
 12603  	}
 12604  	res := resTmp.([]introspection.InputValue)
 12605  	fc.Result = res
 12606  	return ec.marshalN__InputValue2ᚕgithubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚋintrospectionᚐInputValueᚄ(ctx, field.Selections, res)
 12607  }
 12608  
 12609  func (ec *executionContext) fieldContext___Directive_args(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
 12610  	fc = &graphql.FieldContext{
 12611  		Object:     "__Directive",
 12612  		Field:      field,
 12613  		IsMethod:   false,
 12614  		IsResolver: false,
 12615  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
 12616  			switch field.Name {
 12617  			case "name":
 12618  				return ec.fieldContext___InputValue_name(ctx, field)
 12619  			case "description":
 12620  				return ec.fieldContext___InputValue_description(ctx, field)
 12621  			case "type":
 12622  				return ec.fieldContext___InputValue_type(ctx, field)
 12623  			case "defaultValue":
 12624  				return ec.fieldContext___InputValue_defaultValue(ctx, field)
 12625  			}
 12626  			return nil, fmt.Errorf("no field named %q was found under type __InputValue", field.Name)
 12627  		},
 12628  	}
 12629  	return fc, nil
 12630  }
 12631  
 12632  func (ec *executionContext) ___Directive_isRepeatable(ctx context.Context, field graphql.CollectedField, obj *introspection.Directive) (ret graphql.Marshaler) {
 12633  	fc, err := ec.fieldContext___Directive_isRepeatable(ctx, field)
 12634  	if err != nil {
 12635  		return graphql.Null
 12636  	}
 12637  	ctx = graphql.WithFieldContext(ctx, fc)
 12638  	defer func() {
 12639  		if r := recover(); r != nil {
 12640  			ec.Error(ctx, ec.Recover(ctx, r))
 12641  			ret = graphql.Null
 12642  		}
 12643  	}()
 12644  	resTmp := ec._fieldMiddleware(ctx, obj, func(rctx context.Context) (interface{}, error) {
 12645  		ctx = rctx // use context from middleware stack in children
 12646  		return obj.IsRepeatable, nil
 12647  	})
 12648  
 12649  	if resTmp == nil {
 12650  		if !graphql.HasFieldError(ctx, fc) {
 12651  			ec.Errorf(ctx, "must not be null")
 12652  		}
 12653  		return graphql.Null
 12654  	}
 12655  	res := resTmp.(bool)
 12656  	fc.Result = res
 12657  	return ec.marshalNBoolean2bool(ctx, field.Selections, res)
 12658  }
 12659  
 12660  func (ec *executionContext) fieldContext___Directive_isRepeatable(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
 12661  	fc = &graphql.FieldContext{
 12662  		Object:     "__Directive",
 12663  		Field:      field,
 12664  		IsMethod:   false,
 12665  		IsResolver: false,
 12666  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
 12667  			return nil, errors.New("field of type Boolean does not have child fields")
 12668  		},
 12669  	}
 12670  	return fc, nil
 12671  }
 12672  
 12673  func (ec *executionContext) ___EnumValue_name(ctx context.Context, field graphql.CollectedField, obj *introspection.EnumValue) (ret graphql.Marshaler) {
 12674  	fc, err := ec.fieldContext___EnumValue_name(ctx, field)
 12675  	if err != nil {
 12676  		return graphql.Null
 12677  	}
 12678  	ctx = graphql.WithFieldContext(ctx, fc)
 12679  	defer func() {
 12680  		if r := recover(); r != nil {
 12681  			ec.Error(ctx, ec.Recover(ctx, r))
 12682  			ret = graphql.Null
 12683  		}
 12684  	}()
 12685  	resTmp := ec._fieldMiddleware(ctx, obj, func(rctx context.Context) (interface{}, error) {
 12686  		ctx = rctx // use context from middleware stack in children
 12687  		return obj.Name, nil
 12688  	})
 12689  
 12690  	if resTmp == nil {
 12691  		if !graphql.HasFieldError(ctx, fc) {
 12692  			ec.Errorf(ctx, "must not be null")
 12693  		}
 12694  		return graphql.Null
 12695  	}
 12696  	res := resTmp.(string)
 12697  	fc.Result = res
 12698  	return ec.marshalNString2string(ctx, field.Selections, res)
 12699  }
 12700  
 12701  func (ec *executionContext) fieldContext___EnumValue_name(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
 12702  	fc = &graphql.FieldContext{
 12703  		Object:     "__EnumValue",
 12704  		Field:      field,
 12705  		IsMethod:   false,
 12706  		IsResolver: false,
 12707  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
 12708  			return nil, errors.New("field of type String does not have child fields")
 12709  		},
 12710  	}
 12711  	return fc, nil
 12712  }
 12713  
 12714  func (ec *executionContext) ___EnumValue_description(ctx context.Context, field graphql.CollectedField, obj *introspection.EnumValue) (ret graphql.Marshaler) {
 12715  	fc, err := ec.fieldContext___EnumValue_description(ctx, field)
 12716  	if err != nil {
 12717  		return graphql.Null
 12718  	}
 12719  	ctx = graphql.WithFieldContext(ctx, fc)
 12720  	defer func() {
 12721  		if r := recover(); r != nil {
 12722  			ec.Error(ctx, ec.Recover(ctx, r))
 12723  			ret = graphql.Null
 12724  		}
 12725  	}()
 12726  	resTmp := ec._fieldMiddleware(ctx, obj, func(rctx context.Context) (interface{}, error) {
 12727  		ctx = rctx // use context from middleware stack in children
 12728  		return obj.Description(), nil
 12729  	})
 12730  
 12731  	if resTmp == nil {
 12732  		return graphql.Null
 12733  	}
 12734  	res := resTmp.(*string)
 12735  	fc.Result = res
 12736  	return ec.marshalOString2ᚖstring(ctx, field.Selections, res)
 12737  }
 12738  
 12739  func (ec *executionContext) fieldContext___EnumValue_description(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
 12740  	fc = &graphql.FieldContext{
 12741  		Object:     "__EnumValue",
 12742  		Field:      field,
 12743  		IsMethod:   true,
 12744  		IsResolver: false,
 12745  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
 12746  			return nil, errors.New("field of type String does not have child fields")
 12747  		},
 12748  	}
 12749  	return fc, nil
 12750  }
 12751  
 12752  func (ec *executionContext) ___EnumValue_isDeprecated(ctx context.Context, field graphql.CollectedField, obj *introspection.EnumValue) (ret graphql.Marshaler) {
 12753  	fc, err := ec.fieldContext___EnumValue_isDeprecated(ctx, field)
 12754  	if err != nil {
 12755  		return graphql.Null
 12756  	}
 12757  	ctx = graphql.WithFieldContext(ctx, fc)
 12758  	defer func() {
 12759  		if r := recover(); r != nil {
 12760  			ec.Error(ctx, ec.Recover(ctx, r))
 12761  			ret = graphql.Null
 12762  		}
 12763  	}()
 12764  	resTmp := ec._fieldMiddleware(ctx, obj, func(rctx context.Context) (interface{}, error) {
 12765  		ctx = rctx // use context from middleware stack in children
 12766  		return obj.IsDeprecated(), nil
 12767  	})
 12768  
 12769  	if resTmp == nil {
 12770  		if !graphql.HasFieldError(ctx, fc) {
 12771  			ec.Errorf(ctx, "must not be null")
 12772  		}
 12773  		return graphql.Null
 12774  	}
 12775  	res := resTmp.(bool)
 12776  	fc.Result = res
 12777  	return ec.marshalNBoolean2bool(ctx, field.Selections, res)
 12778  }
 12779  
 12780  func (ec *executionContext) fieldContext___EnumValue_isDeprecated(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
 12781  	fc = &graphql.FieldContext{
 12782  		Object:     "__EnumValue",
 12783  		Field:      field,
 12784  		IsMethod:   true,
 12785  		IsResolver: false,
 12786  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
 12787  			return nil, errors.New("field of type Boolean does not have child fields")
 12788  		},
 12789  	}
 12790  	return fc, nil
 12791  }
 12792  
 12793  func (ec *executionContext) ___EnumValue_deprecationReason(ctx context.Context, field graphql.CollectedField, obj *introspection.EnumValue) (ret graphql.Marshaler) {
 12794  	fc, err := ec.fieldContext___EnumValue_deprecationReason(ctx, field)
 12795  	if err != nil {
 12796  		return graphql.Null
 12797  	}
 12798  	ctx = graphql.WithFieldContext(ctx, fc)
 12799  	defer func() {
 12800  		if r := recover(); r != nil {
 12801  			ec.Error(ctx, ec.Recover(ctx, r))
 12802  			ret = graphql.Null
 12803  		}
 12804  	}()
 12805  	resTmp := ec._fieldMiddleware(ctx, obj, func(rctx context.Context) (interface{}, error) {
 12806  		ctx = rctx // use context from middleware stack in children
 12807  		return obj.DeprecationReason(), nil
 12808  	})
 12809  
 12810  	if resTmp == nil {
 12811  		return graphql.Null
 12812  	}
 12813  	res := resTmp.(*string)
 12814  	fc.Result = res
 12815  	return ec.marshalOString2ᚖstring(ctx, field.Selections, res)
 12816  }
 12817  
 12818  func (ec *executionContext) fieldContext___EnumValue_deprecationReason(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
 12819  	fc = &graphql.FieldContext{
 12820  		Object:     "__EnumValue",
 12821  		Field:      field,
 12822  		IsMethod:   true,
 12823  		IsResolver: false,
 12824  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
 12825  			return nil, errors.New("field of type String does not have child fields")
 12826  		},
 12827  	}
 12828  	return fc, nil
 12829  }
 12830  
 12831  func (ec *executionContext) ___Field_name(ctx context.Context, field graphql.CollectedField, obj *introspection.Field) (ret graphql.Marshaler) {
 12832  	fc, err := ec.fieldContext___Field_name(ctx, field)
 12833  	if err != nil {
 12834  		return graphql.Null
 12835  	}
 12836  	ctx = graphql.WithFieldContext(ctx, fc)
 12837  	defer func() {
 12838  		if r := recover(); r != nil {
 12839  			ec.Error(ctx, ec.Recover(ctx, r))
 12840  			ret = graphql.Null
 12841  		}
 12842  	}()
 12843  	resTmp := ec._fieldMiddleware(ctx, obj, func(rctx context.Context) (interface{}, error) {
 12844  		ctx = rctx // use context from middleware stack in children
 12845  		return obj.Name, nil
 12846  	})
 12847  
 12848  	if resTmp == nil {
 12849  		if !graphql.HasFieldError(ctx, fc) {
 12850  			ec.Errorf(ctx, "must not be null")
 12851  		}
 12852  		return graphql.Null
 12853  	}
 12854  	res := resTmp.(string)
 12855  	fc.Result = res
 12856  	return ec.marshalNString2string(ctx, field.Selections, res)
 12857  }
 12858  
 12859  func (ec *executionContext) fieldContext___Field_name(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
 12860  	fc = &graphql.FieldContext{
 12861  		Object:     "__Field",
 12862  		Field:      field,
 12863  		IsMethod:   false,
 12864  		IsResolver: false,
 12865  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
 12866  			return nil, errors.New("field of type String does not have child fields")
 12867  		},
 12868  	}
 12869  	return fc, nil
 12870  }
 12871  
 12872  func (ec *executionContext) ___Field_description(ctx context.Context, field graphql.CollectedField, obj *introspection.Field) (ret graphql.Marshaler) {
 12873  	fc, err := ec.fieldContext___Field_description(ctx, field)
 12874  	if err != nil {
 12875  		return graphql.Null
 12876  	}
 12877  	ctx = graphql.WithFieldContext(ctx, fc)
 12878  	defer func() {
 12879  		if r := recover(); r != nil {
 12880  			ec.Error(ctx, ec.Recover(ctx, r))
 12881  			ret = graphql.Null
 12882  		}
 12883  	}()
 12884  	resTmp := ec._fieldMiddleware(ctx, obj, func(rctx context.Context) (interface{}, error) {
 12885  		ctx = rctx // use context from middleware stack in children
 12886  		return obj.Description(), nil
 12887  	})
 12888  
 12889  	if resTmp == nil {
 12890  		return graphql.Null
 12891  	}
 12892  	res := resTmp.(*string)
 12893  	fc.Result = res
 12894  	return ec.marshalOString2ᚖstring(ctx, field.Selections, res)
 12895  }
 12896  
 12897  func (ec *executionContext) fieldContext___Field_description(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
 12898  	fc = &graphql.FieldContext{
 12899  		Object:     "__Field",
 12900  		Field:      field,
 12901  		IsMethod:   true,
 12902  		IsResolver: false,
 12903  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
 12904  			return nil, errors.New("field of type String does not have child fields")
 12905  		},
 12906  	}
 12907  	return fc, nil
 12908  }
 12909  
 12910  func (ec *executionContext) ___Field_args(ctx context.Context, field graphql.CollectedField, obj *introspection.Field) (ret graphql.Marshaler) {
 12911  	fc, err := ec.fieldContext___Field_args(ctx, field)
 12912  	if err != nil {
 12913  		return graphql.Null
 12914  	}
 12915  	ctx = graphql.WithFieldContext(ctx, fc)
 12916  	defer func() {
 12917  		if r := recover(); r != nil {
 12918  			ec.Error(ctx, ec.Recover(ctx, r))
 12919  			ret = graphql.Null
 12920  		}
 12921  	}()
 12922  	resTmp := ec._fieldMiddleware(ctx, obj, func(rctx context.Context) (interface{}, error) {
 12923  		ctx = rctx // use context from middleware stack in children
 12924  		return obj.Args, nil
 12925  	})
 12926  
 12927  	if resTmp == nil {
 12928  		if !graphql.HasFieldError(ctx, fc) {
 12929  			ec.Errorf(ctx, "must not be null")
 12930  		}
 12931  		return graphql.Null
 12932  	}
 12933  	res := resTmp.([]introspection.InputValue)
 12934  	fc.Result = res
 12935  	return ec.marshalN__InputValue2ᚕgithubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚋintrospectionᚐInputValueᚄ(ctx, field.Selections, res)
 12936  }
 12937  
 12938  func (ec *executionContext) fieldContext___Field_args(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
 12939  	fc = &graphql.FieldContext{
 12940  		Object:     "__Field",
 12941  		Field:      field,
 12942  		IsMethod:   false,
 12943  		IsResolver: false,
 12944  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
 12945  			switch field.Name {
 12946  			case "name":
 12947  				return ec.fieldContext___InputValue_name(ctx, field)
 12948  			case "description":
 12949  				return ec.fieldContext___InputValue_description(ctx, field)
 12950  			case "type":
 12951  				return ec.fieldContext___InputValue_type(ctx, field)
 12952  			case "defaultValue":
 12953  				return ec.fieldContext___InputValue_defaultValue(ctx, field)
 12954  			}
 12955  			return nil, fmt.Errorf("no field named %q was found under type __InputValue", field.Name)
 12956  		},
 12957  	}
 12958  	return fc, nil
 12959  }
 12960  
 12961  func (ec *executionContext) ___Field_type(ctx context.Context, field graphql.CollectedField, obj *introspection.Field) (ret graphql.Marshaler) {
 12962  	fc, err := ec.fieldContext___Field_type(ctx, field)
 12963  	if err != nil {
 12964  		return graphql.Null
 12965  	}
 12966  	ctx = graphql.WithFieldContext(ctx, fc)
 12967  	defer func() {
 12968  		if r := recover(); r != nil {
 12969  			ec.Error(ctx, ec.Recover(ctx, r))
 12970  			ret = graphql.Null
 12971  		}
 12972  	}()
 12973  	resTmp := ec._fieldMiddleware(ctx, obj, func(rctx context.Context) (interface{}, error) {
 12974  		ctx = rctx // use context from middleware stack in children
 12975  		return obj.Type, nil
 12976  	})
 12977  
 12978  	if resTmp == nil {
 12979  		if !graphql.HasFieldError(ctx, fc) {
 12980  			ec.Errorf(ctx, "must not be null")
 12981  		}
 12982  		return graphql.Null
 12983  	}
 12984  	res := resTmp.(*introspection.Type)
 12985  	fc.Result = res
 12986  	return ec.marshalN__Type2ᚖgithubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚋintrospectionᚐType(ctx, field.Selections, res)
 12987  }
 12988  
 12989  func (ec *executionContext) fieldContext___Field_type(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
 12990  	fc = &graphql.FieldContext{
 12991  		Object:     "__Field",
 12992  		Field:      field,
 12993  		IsMethod:   false,
 12994  		IsResolver: false,
 12995  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
 12996  			switch field.Name {
 12997  			case "kind":
 12998  				return ec.fieldContext___Type_kind(ctx, field)
 12999  			case "name":
 13000  				return ec.fieldContext___Type_name(ctx, field)
 13001  			case "description":
 13002  				return ec.fieldContext___Type_description(ctx, field)
 13003  			case "fields":
 13004  				return ec.fieldContext___Type_fields(ctx, field)
 13005  			case "interfaces":
 13006  				return ec.fieldContext___Type_interfaces(ctx, field)
 13007  			case "possibleTypes":
 13008  				return ec.fieldContext___Type_possibleTypes(ctx, field)
 13009  			case "enumValues":
 13010  				return ec.fieldContext___Type_enumValues(ctx, field)
 13011  			case "inputFields":
 13012  				return ec.fieldContext___Type_inputFields(ctx, field)
 13013  			case "ofType":
 13014  				return ec.fieldContext___Type_ofType(ctx, field)
 13015  			case "specifiedByURL":
 13016  				return ec.fieldContext___Type_specifiedByURL(ctx, field)
 13017  			}
 13018  			return nil, fmt.Errorf("no field named %q was found under type __Type", field.Name)
 13019  		},
 13020  	}
 13021  	return fc, nil
 13022  }
 13023  
 13024  func (ec *executionContext) ___Field_isDeprecated(ctx context.Context, field graphql.CollectedField, obj *introspection.Field) (ret graphql.Marshaler) {
 13025  	fc, err := ec.fieldContext___Field_isDeprecated(ctx, field)
 13026  	if err != nil {
 13027  		return graphql.Null
 13028  	}
 13029  	ctx = graphql.WithFieldContext(ctx, fc)
 13030  	defer func() {
 13031  		if r := recover(); r != nil {
 13032  			ec.Error(ctx, ec.Recover(ctx, r))
 13033  			ret = graphql.Null
 13034  		}
 13035  	}()
 13036  	resTmp := ec._fieldMiddleware(ctx, obj, func(rctx context.Context) (interface{}, error) {
 13037  		ctx = rctx // use context from middleware stack in children
 13038  		return obj.IsDeprecated(), nil
 13039  	})
 13040  
 13041  	if resTmp == nil {
 13042  		if !graphql.HasFieldError(ctx, fc) {
 13043  			ec.Errorf(ctx, "must not be null")
 13044  		}
 13045  		return graphql.Null
 13046  	}
 13047  	res := resTmp.(bool)
 13048  	fc.Result = res
 13049  	return ec.marshalNBoolean2bool(ctx, field.Selections, res)
 13050  }
 13051  
 13052  func (ec *executionContext) fieldContext___Field_isDeprecated(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
 13053  	fc = &graphql.FieldContext{
 13054  		Object:     "__Field",
 13055  		Field:      field,
 13056  		IsMethod:   true,
 13057  		IsResolver: false,
 13058  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
 13059  			return nil, errors.New("field of type Boolean does not have child fields")
 13060  		},
 13061  	}
 13062  	return fc, nil
 13063  }
 13064  
 13065  func (ec *executionContext) ___Field_deprecationReason(ctx context.Context, field graphql.CollectedField, obj *introspection.Field) (ret graphql.Marshaler) {
 13066  	fc, err := ec.fieldContext___Field_deprecationReason(ctx, field)
 13067  	if err != nil {
 13068  		return graphql.Null
 13069  	}
 13070  	ctx = graphql.WithFieldContext(ctx, fc)
 13071  	defer func() {
 13072  		if r := recover(); r != nil {
 13073  			ec.Error(ctx, ec.Recover(ctx, r))
 13074  			ret = graphql.Null
 13075  		}
 13076  	}()
 13077  	resTmp := ec._fieldMiddleware(ctx, obj, func(rctx context.Context) (interface{}, error) {
 13078  		ctx = rctx // use context from middleware stack in children
 13079  		return obj.DeprecationReason(), nil
 13080  	})
 13081  
 13082  	if resTmp == nil {
 13083  		return graphql.Null
 13084  	}
 13085  	res := resTmp.(*string)
 13086  	fc.Result = res
 13087  	return ec.marshalOString2ᚖstring(ctx, field.Selections, res)
 13088  }
 13089  
 13090  func (ec *executionContext) fieldContext___Field_deprecationReason(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
 13091  	fc = &graphql.FieldContext{
 13092  		Object:     "__Field",
 13093  		Field:      field,
 13094  		IsMethod:   true,
 13095  		IsResolver: false,
 13096  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
 13097  			return nil, errors.New("field of type String does not have child fields")
 13098  		},
 13099  	}
 13100  	return fc, nil
 13101  }
 13102  
 13103  func (ec *executionContext) ___InputValue_name(ctx context.Context, field graphql.CollectedField, obj *introspection.InputValue) (ret graphql.Marshaler) {
 13104  	fc, err := ec.fieldContext___InputValue_name(ctx, field)
 13105  	if err != nil {
 13106  		return graphql.Null
 13107  	}
 13108  	ctx = graphql.WithFieldContext(ctx, fc)
 13109  	defer func() {
 13110  		if r := recover(); r != nil {
 13111  			ec.Error(ctx, ec.Recover(ctx, r))
 13112  			ret = graphql.Null
 13113  		}
 13114  	}()
 13115  	resTmp := ec._fieldMiddleware(ctx, obj, func(rctx context.Context) (interface{}, error) {
 13116  		ctx = rctx // use context from middleware stack in children
 13117  		return obj.Name, nil
 13118  	})
 13119  
 13120  	if resTmp == nil {
 13121  		if !graphql.HasFieldError(ctx, fc) {
 13122  			ec.Errorf(ctx, "must not be null")
 13123  		}
 13124  		return graphql.Null
 13125  	}
 13126  	res := resTmp.(string)
 13127  	fc.Result = res
 13128  	return ec.marshalNString2string(ctx, field.Selections, res)
 13129  }
 13130  
 13131  func (ec *executionContext) fieldContext___InputValue_name(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
 13132  	fc = &graphql.FieldContext{
 13133  		Object:     "__InputValue",
 13134  		Field:      field,
 13135  		IsMethod:   false,
 13136  		IsResolver: false,
 13137  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
 13138  			return nil, errors.New("field of type String does not have child fields")
 13139  		},
 13140  	}
 13141  	return fc, nil
 13142  }
 13143  
 13144  func (ec *executionContext) ___InputValue_description(ctx context.Context, field graphql.CollectedField, obj *introspection.InputValue) (ret graphql.Marshaler) {
 13145  	fc, err := ec.fieldContext___InputValue_description(ctx, field)
 13146  	if err != nil {
 13147  		return graphql.Null
 13148  	}
 13149  	ctx = graphql.WithFieldContext(ctx, fc)
 13150  	defer func() {
 13151  		if r := recover(); r != nil {
 13152  			ec.Error(ctx, ec.Recover(ctx, r))
 13153  			ret = graphql.Null
 13154  		}
 13155  	}()
 13156  	resTmp := ec._fieldMiddleware(ctx, obj, func(rctx context.Context) (interface{}, error) {
 13157  		ctx = rctx // use context from middleware stack in children
 13158  		return obj.Description(), nil
 13159  	})
 13160  
 13161  	if resTmp == nil {
 13162  		return graphql.Null
 13163  	}
 13164  	res := resTmp.(*string)
 13165  	fc.Result = res
 13166  	return ec.marshalOString2ᚖstring(ctx, field.Selections, res)
 13167  }
 13168  
 13169  func (ec *executionContext) fieldContext___InputValue_description(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
 13170  	fc = &graphql.FieldContext{
 13171  		Object:     "__InputValue",
 13172  		Field:      field,
 13173  		IsMethod:   true,
 13174  		IsResolver: false,
 13175  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
 13176  			return nil, errors.New("field of type String does not have child fields")
 13177  		},
 13178  	}
 13179  	return fc, nil
 13180  }
 13181  
 13182  func (ec *executionContext) ___InputValue_type(ctx context.Context, field graphql.CollectedField, obj *introspection.InputValue) (ret graphql.Marshaler) {
 13183  	fc, err := ec.fieldContext___InputValue_type(ctx, field)
 13184  	if err != nil {
 13185  		return graphql.Null
 13186  	}
 13187  	ctx = graphql.WithFieldContext(ctx, fc)
 13188  	defer func() {
 13189  		if r := recover(); r != nil {
 13190  			ec.Error(ctx, ec.Recover(ctx, r))
 13191  			ret = graphql.Null
 13192  		}
 13193  	}()
 13194  	resTmp := ec._fieldMiddleware(ctx, obj, func(rctx context.Context) (interface{}, error) {
 13195  		ctx = rctx // use context from middleware stack in children
 13196  		return obj.Type, nil
 13197  	})
 13198  
 13199  	if resTmp == nil {
 13200  		if !graphql.HasFieldError(ctx, fc) {
 13201  			ec.Errorf(ctx, "must not be null")
 13202  		}
 13203  		return graphql.Null
 13204  	}
 13205  	res := resTmp.(*introspection.Type)
 13206  	fc.Result = res
 13207  	return ec.marshalN__Type2ᚖgithubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚋintrospectionᚐType(ctx, field.Selections, res)
 13208  }
 13209  
 13210  func (ec *executionContext) fieldContext___InputValue_type(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
 13211  	fc = &graphql.FieldContext{
 13212  		Object:     "__InputValue",
 13213  		Field:      field,
 13214  		IsMethod:   false,
 13215  		IsResolver: false,
 13216  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
 13217  			switch field.Name {
 13218  			case "kind":
 13219  				return ec.fieldContext___Type_kind(ctx, field)
 13220  			case "name":
 13221  				return ec.fieldContext___Type_name(ctx, field)
 13222  			case "description":
 13223  				return ec.fieldContext___Type_description(ctx, field)
 13224  			case "fields":
 13225  				return ec.fieldContext___Type_fields(ctx, field)
 13226  			case "interfaces":
 13227  				return ec.fieldContext___Type_interfaces(ctx, field)
 13228  			case "possibleTypes":
 13229  				return ec.fieldContext___Type_possibleTypes(ctx, field)
 13230  			case "enumValues":
 13231  				return ec.fieldContext___Type_enumValues(ctx, field)
 13232  			case "inputFields":
 13233  				return ec.fieldContext___Type_inputFields(ctx, field)
 13234  			case "ofType":
 13235  				return ec.fieldContext___Type_ofType(ctx, field)
 13236  			case "specifiedByURL":
 13237  				return ec.fieldContext___Type_specifiedByURL(ctx, field)
 13238  			}
 13239  			return nil, fmt.Errorf("no field named %q was found under type __Type", field.Name)
 13240  		},
 13241  	}
 13242  	return fc, nil
 13243  }
 13244  
 13245  func (ec *executionContext) ___InputValue_defaultValue(ctx context.Context, field graphql.CollectedField, obj *introspection.InputValue) (ret graphql.Marshaler) {
 13246  	fc, err := ec.fieldContext___InputValue_defaultValue(ctx, field)
 13247  	if err != nil {
 13248  		return graphql.Null
 13249  	}
 13250  	ctx = graphql.WithFieldContext(ctx, fc)
 13251  	defer func() {
 13252  		if r := recover(); r != nil {
 13253  			ec.Error(ctx, ec.Recover(ctx, r))
 13254  			ret = graphql.Null
 13255  		}
 13256  	}()
 13257  	resTmp := ec._fieldMiddleware(ctx, obj, func(rctx context.Context) (interface{}, error) {
 13258  		ctx = rctx // use context from middleware stack in children
 13259  		return obj.DefaultValue, nil
 13260  	})
 13261  
 13262  	if resTmp == nil {
 13263  		return graphql.Null
 13264  	}
 13265  	res := resTmp.(*string)
 13266  	fc.Result = res
 13267  	return ec.marshalOString2ᚖstring(ctx, field.Selections, res)
 13268  }
 13269  
 13270  func (ec *executionContext) fieldContext___InputValue_defaultValue(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
 13271  	fc = &graphql.FieldContext{
 13272  		Object:     "__InputValue",
 13273  		Field:      field,
 13274  		IsMethod:   false,
 13275  		IsResolver: false,
 13276  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
 13277  			return nil, errors.New("field of type String does not have child fields")
 13278  		},
 13279  	}
 13280  	return fc, nil
 13281  }
 13282  
 13283  func (ec *executionContext) ___Schema_description(ctx context.Context, field graphql.CollectedField, obj *introspection.Schema) (ret graphql.Marshaler) {
 13284  	fc, err := ec.fieldContext___Schema_description(ctx, field)
 13285  	if err != nil {
 13286  		return graphql.Null
 13287  	}
 13288  	ctx = graphql.WithFieldContext(ctx, fc)
 13289  	defer func() {
 13290  		if r := recover(); r != nil {
 13291  			ec.Error(ctx, ec.Recover(ctx, r))
 13292  			ret = graphql.Null
 13293  		}
 13294  	}()
 13295  	resTmp := ec._fieldMiddleware(ctx, obj, func(rctx context.Context) (interface{}, error) {
 13296  		ctx = rctx // use context from middleware stack in children
 13297  		return obj.Description(), nil
 13298  	})
 13299  
 13300  	if resTmp == nil {
 13301  		return graphql.Null
 13302  	}
 13303  	res := resTmp.(*string)
 13304  	fc.Result = res
 13305  	return ec.marshalOString2ᚖstring(ctx, field.Selections, res)
 13306  }
 13307  
 13308  func (ec *executionContext) fieldContext___Schema_description(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
 13309  	fc = &graphql.FieldContext{
 13310  		Object:     "__Schema",
 13311  		Field:      field,
 13312  		IsMethod:   true,
 13313  		IsResolver: false,
 13314  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
 13315  			return nil, errors.New("field of type String does not have child fields")
 13316  		},
 13317  	}
 13318  	return fc, nil
 13319  }
 13320  
 13321  func (ec *executionContext) ___Schema_types(ctx context.Context, field graphql.CollectedField, obj *introspection.Schema) (ret graphql.Marshaler) {
 13322  	fc, err := ec.fieldContext___Schema_types(ctx, field)
 13323  	if err != nil {
 13324  		return graphql.Null
 13325  	}
 13326  	ctx = graphql.WithFieldContext(ctx, fc)
 13327  	defer func() {
 13328  		if r := recover(); r != nil {
 13329  			ec.Error(ctx, ec.Recover(ctx, r))
 13330  			ret = graphql.Null
 13331  		}
 13332  	}()
 13333  	resTmp := ec._fieldMiddleware(ctx, obj, func(rctx context.Context) (interface{}, error) {
 13334  		ctx = rctx // use context from middleware stack in children
 13335  		return obj.Types(), nil
 13336  	})
 13337  
 13338  	if resTmp == nil {
 13339  		if !graphql.HasFieldError(ctx, fc) {
 13340  			ec.Errorf(ctx, "must not be null")
 13341  		}
 13342  		return graphql.Null
 13343  	}
 13344  	res := resTmp.([]introspection.Type)
 13345  	fc.Result = res
 13346  	return ec.marshalN__Type2ᚕgithubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚋintrospectionᚐTypeᚄ(ctx, field.Selections, res)
 13347  }
 13348  
 13349  func (ec *executionContext) fieldContext___Schema_types(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
 13350  	fc = &graphql.FieldContext{
 13351  		Object:     "__Schema",
 13352  		Field:      field,
 13353  		IsMethod:   true,
 13354  		IsResolver: false,
 13355  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
 13356  			switch field.Name {
 13357  			case "kind":
 13358  				return ec.fieldContext___Type_kind(ctx, field)
 13359  			case "name":
 13360  				return ec.fieldContext___Type_name(ctx, field)
 13361  			case "description":
 13362  				return ec.fieldContext___Type_description(ctx, field)
 13363  			case "fields":
 13364  				return ec.fieldContext___Type_fields(ctx, field)
 13365  			case "interfaces":
 13366  				return ec.fieldContext___Type_interfaces(ctx, field)
 13367  			case "possibleTypes":
 13368  				return ec.fieldContext___Type_possibleTypes(ctx, field)
 13369  			case "enumValues":
 13370  				return ec.fieldContext___Type_enumValues(ctx, field)
 13371  			case "inputFields":
 13372  				return ec.fieldContext___Type_inputFields(ctx, field)
 13373  			case "ofType":
 13374  				return ec.fieldContext___Type_ofType(ctx, field)
 13375  			case "specifiedByURL":
 13376  				return ec.fieldContext___Type_specifiedByURL(ctx, field)
 13377  			}
 13378  			return nil, fmt.Errorf("no field named %q was found under type __Type", field.Name)
 13379  		},
 13380  	}
 13381  	return fc, nil
 13382  }
 13383  
 13384  func (ec *executionContext) ___Schema_queryType(ctx context.Context, field graphql.CollectedField, obj *introspection.Schema) (ret graphql.Marshaler) {
 13385  	fc, err := ec.fieldContext___Schema_queryType(ctx, field)
 13386  	if err != nil {
 13387  		return graphql.Null
 13388  	}
 13389  	ctx = graphql.WithFieldContext(ctx, fc)
 13390  	defer func() {
 13391  		if r := recover(); r != nil {
 13392  			ec.Error(ctx, ec.Recover(ctx, r))
 13393  			ret = graphql.Null
 13394  		}
 13395  	}()
 13396  	resTmp := ec._fieldMiddleware(ctx, obj, func(rctx context.Context) (interface{}, error) {
 13397  		ctx = rctx // use context from middleware stack in children
 13398  		return obj.QueryType(), nil
 13399  	})
 13400  
 13401  	if resTmp == nil {
 13402  		if !graphql.HasFieldError(ctx, fc) {
 13403  			ec.Errorf(ctx, "must not be null")
 13404  		}
 13405  		return graphql.Null
 13406  	}
 13407  	res := resTmp.(*introspection.Type)
 13408  	fc.Result = res
 13409  	return ec.marshalN__Type2ᚖgithubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚋintrospectionᚐType(ctx, field.Selections, res)
 13410  }
 13411  
 13412  func (ec *executionContext) fieldContext___Schema_queryType(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
 13413  	fc = &graphql.FieldContext{
 13414  		Object:     "__Schema",
 13415  		Field:      field,
 13416  		IsMethod:   true,
 13417  		IsResolver: false,
 13418  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
 13419  			switch field.Name {
 13420  			case "kind":
 13421  				return ec.fieldContext___Type_kind(ctx, field)
 13422  			case "name":
 13423  				return ec.fieldContext___Type_name(ctx, field)
 13424  			case "description":
 13425  				return ec.fieldContext___Type_description(ctx, field)
 13426  			case "fields":
 13427  				return ec.fieldContext___Type_fields(ctx, field)
 13428  			case "interfaces":
 13429  				return ec.fieldContext___Type_interfaces(ctx, field)
 13430  			case "possibleTypes":
 13431  				return ec.fieldContext___Type_possibleTypes(ctx, field)
 13432  			case "enumValues":
 13433  				return ec.fieldContext___Type_enumValues(ctx, field)
 13434  			case "inputFields":
 13435  				return ec.fieldContext___Type_inputFields(ctx, field)
 13436  			case "ofType":
 13437  				return ec.fieldContext___Type_ofType(ctx, field)
 13438  			case "specifiedByURL":
 13439  				return ec.fieldContext___Type_specifiedByURL(ctx, field)
 13440  			}
 13441  			return nil, fmt.Errorf("no field named %q was found under type __Type", field.Name)
 13442  		},
 13443  	}
 13444  	return fc, nil
 13445  }
 13446  
 13447  func (ec *executionContext) ___Schema_mutationType(ctx context.Context, field graphql.CollectedField, obj *introspection.Schema) (ret graphql.Marshaler) {
 13448  	fc, err := ec.fieldContext___Schema_mutationType(ctx, field)
 13449  	if err != nil {
 13450  		return graphql.Null
 13451  	}
 13452  	ctx = graphql.WithFieldContext(ctx, fc)
 13453  	defer func() {
 13454  		if r := recover(); r != nil {
 13455  			ec.Error(ctx, ec.Recover(ctx, r))
 13456  			ret = graphql.Null
 13457  		}
 13458  	}()
 13459  	resTmp := ec._fieldMiddleware(ctx, obj, func(rctx context.Context) (interface{}, error) {
 13460  		ctx = rctx // use context from middleware stack in children
 13461  		return obj.MutationType(), nil
 13462  	})
 13463  
 13464  	if resTmp == nil {
 13465  		return graphql.Null
 13466  	}
 13467  	res := resTmp.(*introspection.Type)
 13468  	fc.Result = res
 13469  	return ec.marshalO__Type2ᚖgithubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚋintrospectionᚐType(ctx, field.Selections, res)
 13470  }
 13471  
 13472  func (ec *executionContext) fieldContext___Schema_mutationType(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
 13473  	fc = &graphql.FieldContext{
 13474  		Object:     "__Schema",
 13475  		Field:      field,
 13476  		IsMethod:   true,
 13477  		IsResolver: false,
 13478  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
 13479  			switch field.Name {
 13480  			case "kind":
 13481  				return ec.fieldContext___Type_kind(ctx, field)
 13482  			case "name":
 13483  				return ec.fieldContext___Type_name(ctx, field)
 13484  			case "description":
 13485  				return ec.fieldContext___Type_description(ctx, field)
 13486  			case "fields":
 13487  				return ec.fieldContext___Type_fields(ctx, field)
 13488  			case "interfaces":
 13489  				return ec.fieldContext___Type_interfaces(ctx, field)
 13490  			case "possibleTypes":
 13491  				return ec.fieldContext___Type_possibleTypes(ctx, field)
 13492  			case "enumValues":
 13493  				return ec.fieldContext___Type_enumValues(ctx, field)
 13494  			case "inputFields":
 13495  				return ec.fieldContext___Type_inputFields(ctx, field)
 13496  			case "ofType":
 13497  				return ec.fieldContext___Type_ofType(ctx, field)
 13498  			case "specifiedByURL":
 13499  				return ec.fieldContext___Type_specifiedByURL(ctx, field)
 13500  			}
 13501  			return nil, fmt.Errorf("no field named %q was found under type __Type", field.Name)
 13502  		},
 13503  	}
 13504  	return fc, nil
 13505  }
 13506  
 13507  func (ec *executionContext) ___Schema_subscriptionType(ctx context.Context, field graphql.CollectedField, obj *introspection.Schema) (ret graphql.Marshaler) {
 13508  	fc, err := ec.fieldContext___Schema_subscriptionType(ctx, field)
 13509  	if err != nil {
 13510  		return graphql.Null
 13511  	}
 13512  	ctx = graphql.WithFieldContext(ctx, fc)
 13513  	defer func() {
 13514  		if r := recover(); r != nil {
 13515  			ec.Error(ctx, ec.Recover(ctx, r))
 13516  			ret = graphql.Null
 13517  		}
 13518  	}()
 13519  	resTmp := ec._fieldMiddleware(ctx, obj, func(rctx context.Context) (interface{}, error) {
 13520  		ctx = rctx // use context from middleware stack in children
 13521  		return obj.SubscriptionType(), nil
 13522  	})
 13523  
 13524  	if resTmp == nil {
 13525  		return graphql.Null
 13526  	}
 13527  	res := resTmp.(*introspection.Type)
 13528  	fc.Result = res
 13529  	return ec.marshalO__Type2ᚖgithubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚋintrospectionᚐType(ctx, field.Selections, res)
 13530  }
 13531  
 13532  func (ec *executionContext) fieldContext___Schema_subscriptionType(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
 13533  	fc = &graphql.FieldContext{
 13534  		Object:     "__Schema",
 13535  		Field:      field,
 13536  		IsMethod:   true,
 13537  		IsResolver: false,
 13538  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
 13539  			switch field.Name {
 13540  			case "kind":
 13541  				return ec.fieldContext___Type_kind(ctx, field)
 13542  			case "name":
 13543  				return ec.fieldContext___Type_name(ctx, field)
 13544  			case "description":
 13545  				return ec.fieldContext___Type_description(ctx, field)
 13546  			case "fields":
 13547  				return ec.fieldContext___Type_fields(ctx, field)
 13548  			case "interfaces":
 13549  				return ec.fieldContext___Type_interfaces(ctx, field)
 13550  			case "possibleTypes":
 13551  				return ec.fieldContext___Type_possibleTypes(ctx, field)
 13552  			case "enumValues":
 13553  				return ec.fieldContext___Type_enumValues(ctx, field)
 13554  			case "inputFields":
 13555  				return ec.fieldContext___Type_inputFields(ctx, field)
 13556  			case "ofType":
 13557  				return ec.fieldContext___Type_ofType(ctx, field)
 13558  			case "specifiedByURL":
 13559  				return ec.fieldContext___Type_specifiedByURL(ctx, field)
 13560  			}
 13561  			return nil, fmt.Errorf("no field named %q was found under type __Type", field.Name)
 13562  		},
 13563  	}
 13564  	return fc, nil
 13565  }
 13566  
 13567  func (ec *executionContext) ___Schema_directives(ctx context.Context, field graphql.CollectedField, obj *introspection.Schema) (ret graphql.Marshaler) {
 13568  	fc, err := ec.fieldContext___Schema_directives(ctx, field)
 13569  	if err != nil {
 13570  		return graphql.Null
 13571  	}
 13572  	ctx = graphql.WithFieldContext(ctx, fc)
 13573  	defer func() {
 13574  		if r := recover(); r != nil {
 13575  			ec.Error(ctx, ec.Recover(ctx, r))
 13576  			ret = graphql.Null
 13577  		}
 13578  	}()
 13579  	resTmp := ec._fieldMiddleware(ctx, obj, func(rctx context.Context) (interface{}, error) {
 13580  		ctx = rctx // use context from middleware stack in children
 13581  		return obj.Directives(), nil
 13582  	})
 13583  
 13584  	if resTmp == nil {
 13585  		if !graphql.HasFieldError(ctx, fc) {
 13586  			ec.Errorf(ctx, "must not be null")
 13587  		}
 13588  		return graphql.Null
 13589  	}
 13590  	res := resTmp.([]introspection.Directive)
 13591  	fc.Result = res
 13592  	return ec.marshalN__Directive2ᚕgithubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚋintrospectionᚐDirectiveᚄ(ctx, field.Selections, res)
 13593  }
 13594  
 13595  func (ec *executionContext) fieldContext___Schema_directives(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
 13596  	fc = &graphql.FieldContext{
 13597  		Object:     "__Schema",
 13598  		Field:      field,
 13599  		IsMethod:   true,
 13600  		IsResolver: false,
 13601  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
 13602  			switch field.Name {
 13603  			case "name":
 13604  				return ec.fieldContext___Directive_name(ctx, field)
 13605  			case "description":
 13606  				return ec.fieldContext___Directive_description(ctx, field)
 13607  			case "locations":
 13608  				return ec.fieldContext___Directive_locations(ctx, field)
 13609  			case "args":
 13610  				return ec.fieldContext___Directive_args(ctx, field)
 13611  			case "isRepeatable":
 13612  				return ec.fieldContext___Directive_isRepeatable(ctx, field)
 13613  			}
 13614  			return nil, fmt.Errorf("no field named %q was found under type __Directive", field.Name)
 13615  		},
 13616  	}
 13617  	return fc, nil
 13618  }
 13619  
 13620  func (ec *executionContext) ___Type_kind(ctx context.Context, field graphql.CollectedField, obj *introspection.Type) (ret graphql.Marshaler) {
 13621  	fc, err := ec.fieldContext___Type_kind(ctx, field)
 13622  	if err != nil {
 13623  		return graphql.Null
 13624  	}
 13625  	ctx = graphql.WithFieldContext(ctx, fc)
 13626  	defer func() {
 13627  		if r := recover(); r != nil {
 13628  			ec.Error(ctx, ec.Recover(ctx, r))
 13629  			ret = graphql.Null
 13630  		}
 13631  	}()
 13632  	resTmp := ec._fieldMiddleware(ctx, obj, func(rctx context.Context) (interface{}, error) {
 13633  		ctx = rctx // use context from middleware stack in children
 13634  		return obj.Kind(), nil
 13635  	})
 13636  
 13637  	if resTmp == nil {
 13638  		if !graphql.HasFieldError(ctx, fc) {
 13639  			ec.Errorf(ctx, "must not be null")
 13640  		}
 13641  		return graphql.Null
 13642  	}
 13643  	res := resTmp.(string)
 13644  	fc.Result = res
 13645  	return ec.marshalN__TypeKind2string(ctx, field.Selections, res)
 13646  }
 13647  
 13648  func (ec *executionContext) fieldContext___Type_kind(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
 13649  	fc = &graphql.FieldContext{
 13650  		Object:     "__Type",
 13651  		Field:      field,
 13652  		IsMethod:   true,
 13653  		IsResolver: false,
 13654  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
 13655  			return nil, errors.New("field of type __TypeKind does not have child fields")
 13656  		},
 13657  	}
 13658  	return fc, nil
 13659  }
 13660  
 13661  func (ec *executionContext) ___Type_name(ctx context.Context, field graphql.CollectedField, obj *introspection.Type) (ret graphql.Marshaler) {
 13662  	fc, err := ec.fieldContext___Type_name(ctx, field)
 13663  	if err != nil {
 13664  		return graphql.Null
 13665  	}
 13666  	ctx = graphql.WithFieldContext(ctx, fc)
 13667  	defer func() {
 13668  		if r := recover(); r != nil {
 13669  			ec.Error(ctx, ec.Recover(ctx, r))
 13670  			ret = graphql.Null
 13671  		}
 13672  	}()
 13673  	resTmp := ec._fieldMiddleware(ctx, obj, func(rctx context.Context) (interface{}, error) {
 13674  		ctx = rctx // use context from middleware stack in children
 13675  		return obj.Name(), nil
 13676  	})
 13677  
 13678  	if resTmp == nil {
 13679  		return graphql.Null
 13680  	}
 13681  	res := resTmp.(*string)
 13682  	fc.Result = res
 13683  	return ec.marshalOString2ᚖstring(ctx, field.Selections, res)
 13684  }
 13685  
 13686  func (ec *executionContext) fieldContext___Type_name(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
 13687  	fc = &graphql.FieldContext{
 13688  		Object:     "__Type",
 13689  		Field:      field,
 13690  		IsMethod:   true,
 13691  		IsResolver: false,
 13692  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
 13693  			return nil, errors.New("field of type String does not have child fields")
 13694  		},
 13695  	}
 13696  	return fc, nil
 13697  }
 13698  
 13699  func (ec *executionContext) ___Type_description(ctx context.Context, field graphql.CollectedField, obj *introspection.Type) (ret graphql.Marshaler) {
 13700  	fc, err := ec.fieldContext___Type_description(ctx, field)
 13701  	if err != nil {
 13702  		return graphql.Null
 13703  	}
 13704  	ctx = graphql.WithFieldContext(ctx, fc)
 13705  	defer func() {
 13706  		if r := recover(); r != nil {
 13707  			ec.Error(ctx, ec.Recover(ctx, r))
 13708  			ret = graphql.Null
 13709  		}
 13710  	}()
 13711  	resTmp := ec._fieldMiddleware(ctx, obj, func(rctx context.Context) (interface{}, error) {
 13712  		ctx = rctx // use context from middleware stack in children
 13713  		return obj.Description(), nil
 13714  	})
 13715  
 13716  	if resTmp == nil {
 13717  		return graphql.Null
 13718  	}
 13719  	res := resTmp.(*string)
 13720  	fc.Result = res
 13721  	return ec.marshalOString2ᚖstring(ctx, field.Selections, res)
 13722  }
 13723  
 13724  func (ec *executionContext) fieldContext___Type_description(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
 13725  	fc = &graphql.FieldContext{
 13726  		Object:     "__Type",
 13727  		Field:      field,
 13728  		IsMethod:   true,
 13729  		IsResolver: false,
 13730  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
 13731  			return nil, errors.New("field of type String does not have child fields")
 13732  		},
 13733  	}
 13734  	return fc, nil
 13735  }
 13736  
 13737  func (ec *executionContext) ___Type_fields(ctx context.Context, field graphql.CollectedField, obj *introspection.Type) (ret graphql.Marshaler) {
 13738  	fc, err := ec.fieldContext___Type_fields(ctx, field)
 13739  	if err != nil {
 13740  		return graphql.Null
 13741  	}
 13742  	ctx = graphql.WithFieldContext(ctx, fc)
 13743  	defer func() {
 13744  		if r := recover(); r != nil {
 13745  			ec.Error(ctx, ec.Recover(ctx, r))
 13746  			ret = graphql.Null
 13747  		}
 13748  	}()
 13749  	resTmp := ec._fieldMiddleware(ctx, obj, func(rctx context.Context) (interface{}, error) {
 13750  		ctx = rctx // use context from middleware stack in children
 13751  		return obj.Fields(fc.Args["includeDeprecated"].(bool)), nil
 13752  	})
 13753  
 13754  	if resTmp == nil {
 13755  		return graphql.Null
 13756  	}
 13757  	res := resTmp.([]introspection.Field)
 13758  	fc.Result = res
 13759  	return ec.marshalO__Field2ᚕgithubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚋintrospectionᚐFieldᚄ(ctx, field.Selections, res)
 13760  }
 13761  
 13762  func (ec *executionContext) fieldContext___Type_fields(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
 13763  	fc = &graphql.FieldContext{
 13764  		Object:     "__Type",
 13765  		Field:      field,
 13766  		IsMethod:   true,
 13767  		IsResolver: false,
 13768  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
 13769  			switch field.Name {
 13770  			case "name":
 13771  				return ec.fieldContext___Field_name(ctx, field)
 13772  			case "description":
 13773  				return ec.fieldContext___Field_description(ctx, field)
 13774  			case "args":
 13775  				return ec.fieldContext___Field_args(ctx, field)
 13776  			case "type":
 13777  				return ec.fieldContext___Field_type(ctx, field)
 13778  			case "isDeprecated":
 13779  				return ec.fieldContext___Field_isDeprecated(ctx, field)
 13780  			case "deprecationReason":
 13781  				return ec.fieldContext___Field_deprecationReason(ctx, field)
 13782  			}
 13783  			return nil, fmt.Errorf("no field named %q was found under type __Field", field.Name)
 13784  		},
 13785  	}
 13786  	defer func() {
 13787  		if r := recover(); r != nil {
 13788  			err = ec.Recover(ctx, r)
 13789  			ec.Error(ctx, err)
 13790  		}
 13791  	}()
 13792  	ctx = graphql.WithFieldContext(ctx, fc)
 13793  	if fc.Args, err = ec.field___Type_fields_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
 13794  		ec.Error(ctx, err)
 13795  		return
 13796  	}
 13797  	return fc, nil
 13798  }
 13799  
 13800  func (ec *executionContext) ___Type_interfaces(ctx context.Context, field graphql.CollectedField, obj *introspection.Type) (ret graphql.Marshaler) {
 13801  	fc, err := ec.fieldContext___Type_interfaces(ctx, field)
 13802  	if err != nil {
 13803  		return graphql.Null
 13804  	}
 13805  	ctx = graphql.WithFieldContext(ctx, fc)
 13806  	defer func() {
 13807  		if r := recover(); r != nil {
 13808  			ec.Error(ctx, ec.Recover(ctx, r))
 13809  			ret = graphql.Null
 13810  		}
 13811  	}()
 13812  	resTmp := ec._fieldMiddleware(ctx, obj, func(rctx context.Context) (interface{}, error) {
 13813  		ctx = rctx // use context from middleware stack in children
 13814  		return obj.Interfaces(), nil
 13815  	})
 13816  
 13817  	if resTmp == nil {
 13818  		return graphql.Null
 13819  	}
 13820  	res := resTmp.([]introspection.Type)
 13821  	fc.Result = res
 13822  	return ec.marshalO__Type2ᚕgithubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚋintrospectionᚐTypeᚄ(ctx, field.Selections, res)
 13823  }
 13824  
 13825  func (ec *executionContext) fieldContext___Type_interfaces(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
 13826  	fc = &graphql.FieldContext{
 13827  		Object:     "__Type",
 13828  		Field:      field,
 13829  		IsMethod:   true,
 13830  		IsResolver: false,
 13831  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
 13832  			switch field.Name {
 13833  			case "kind":
 13834  				return ec.fieldContext___Type_kind(ctx, field)
 13835  			case "name":
 13836  				return ec.fieldContext___Type_name(ctx, field)
 13837  			case "description":
 13838  				return ec.fieldContext___Type_description(ctx, field)
 13839  			case "fields":
 13840  				return ec.fieldContext___Type_fields(ctx, field)
 13841  			case "interfaces":
 13842  				return ec.fieldContext___Type_interfaces(ctx, field)
 13843  			case "possibleTypes":
 13844  				return ec.fieldContext___Type_possibleTypes(ctx, field)
 13845  			case "enumValues":
 13846  				return ec.fieldContext___Type_enumValues(ctx, field)
 13847  			case "inputFields":
 13848  				return ec.fieldContext___Type_inputFields(ctx, field)
 13849  			case "ofType":
 13850  				return ec.fieldContext___Type_ofType(ctx, field)
 13851  			case "specifiedByURL":
 13852  				return ec.fieldContext___Type_specifiedByURL(ctx, field)
 13853  			}
 13854  			return nil, fmt.Errorf("no field named %q was found under type __Type", field.Name)
 13855  		},
 13856  	}
 13857  	return fc, nil
 13858  }
 13859  
 13860  func (ec *executionContext) ___Type_possibleTypes(ctx context.Context, field graphql.CollectedField, obj *introspection.Type) (ret graphql.Marshaler) {
 13861  	fc, err := ec.fieldContext___Type_possibleTypes(ctx, field)
 13862  	if err != nil {
 13863  		return graphql.Null
 13864  	}
 13865  	ctx = graphql.WithFieldContext(ctx, fc)
 13866  	defer func() {
 13867  		if r := recover(); r != nil {
 13868  			ec.Error(ctx, ec.Recover(ctx, r))
 13869  			ret = graphql.Null
 13870  		}
 13871  	}()
 13872  	resTmp := ec._fieldMiddleware(ctx, obj, func(rctx context.Context) (interface{}, error) {
 13873  		ctx = rctx // use context from middleware stack in children
 13874  		return obj.PossibleTypes(), nil
 13875  	})
 13876  
 13877  	if resTmp == nil {
 13878  		return graphql.Null
 13879  	}
 13880  	res := resTmp.([]introspection.Type)
 13881  	fc.Result = res
 13882  	return ec.marshalO__Type2ᚕgithubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚋintrospectionᚐTypeᚄ(ctx, field.Selections, res)
 13883  }
 13884  
 13885  func (ec *executionContext) fieldContext___Type_possibleTypes(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
 13886  	fc = &graphql.FieldContext{
 13887  		Object:     "__Type",
 13888  		Field:      field,
 13889  		IsMethod:   true,
 13890  		IsResolver: false,
 13891  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
 13892  			switch field.Name {
 13893  			case "kind":
 13894  				return ec.fieldContext___Type_kind(ctx, field)
 13895  			case "name":
 13896  				return ec.fieldContext___Type_name(ctx, field)
 13897  			case "description":
 13898  				return ec.fieldContext___Type_description(ctx, field)
 13899  			case "fields":
 13900  				return ec.fieldContext___Type_fields(ctx, field)
 13901  			case "interfaces":
 13902  				return ec.fieldContext___Type_interfaces(ctx, field)
 13903  			case "possibleTypes":
 13904  				return ec.fieldContext___Type_possibleTypes(ctx, field)
 13905  			case "enumValues":
 13906  				return ec.fieldContext___Type_enumValues(ctx, field)
 13907  			case "inputFields":
 13908  				return ec.fieldContext___Type_inputFields(ctx, field)
 13909  			case "ofType":
 13910  				return ec.fieldContext___Type_ofType(ctx, field)
 13911  			case "specifiedByURL":
 13912  				return ec.fieldContext___Type_specifiedByURL(ctx, field)
 13913  			}
 13914  			return nil, fmt.Errorf("no field named %q was found under type __Type", field.Name)
 13915  		},
 13916  	}
 13917  	return fc, nil
 13918  }
 13919  
 13920  func (ec *executionContext) ___Type_enumValues(ctx context.Context, field graphql.CollectedField, obj *introspection.Type) (ret graphql.Marshaler) {
 13921  	fc, err := ec.fieldContext___Type_enumValues(ctx, field)
 13922  	if err != nil {
 13923  		return graphql.Null
 13924  	}
 13925  	ctx = graphql.WithFieldContext(ctx, fc)
 13926  	defer func() {
 13927  		if r := recover(); r != nil {
 13928  			ec.Error(ctx, ec.Recover(ctx, r))
 13929  			ret = graphql.Null
 13930  		}
 13931  	}()
 13932  	resTmp := ec._fieldMiddleware(ctx, obj, func(rctx context.Context) (interface{}, error) {
 13933  		ctx = rctx // use context from middleware stack in children
 13934  		return obj.EnumValues(fc.Args["includeDeprecated"].(bool)), nil
 13935  	})
 13936  
 13937  	if resTmp == nil {
 13938  		return graphql.Null
 13939  	}
 13940  	res := resTmp.([]introspection.EnumValue)
 13941  	fc.Result = res
 13942  	return ec.marshalO__EnumValue2ᚕgithubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚋintrospectionᚐEnumValueᚄ(ctx, field.Selections, res)
 13943  }
 13944  
 13945  func (ec *executionContext) fieldContext___Type_enumValues(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
 13946  	fc = &graphql.FieldContext{
 13947  		Object:     "__Type",
 13948  		Field:      field,
 13949  		IsMethod:   true,
 13950  		IsResolver: false,
 13951  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
 13952  			switch field.Name {
 13953  			case "name":
 13954  				return ec.fieldContext___EnumValue_name(ctx, field)
 13955  			case "description":
 13956  				return ec.fieldContext___EnumValue_description(ctx, field)
 13957  			case "isDeprecated":
 13958  				return ec.fieldContext___EnumValue_isDeprecated(ctx, field)
 13959  			case "deprecationReason":
 13960  				return ec.fieldContext___EnumValue_deprecationReason(ctx, field)
 13961  			}
 13962  			return nil, fmt.Errorf("no field named %q was found under type __EnumValue", field.Name)
 13963  		},
 13964  	}
 13965  	defer func() {
 13966  		if r := recover(); r != nil {
 13967  			err = ec.Recover(ctx, r)
 13968  			ec.Error(ctx, err)
 13969  		}
 13970  	}()
 13971  	ctx = graphql.WithFieldContext(ctx, fc)
 13972  	if fc.Args, err = ec.field___Type_enumValues_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
 13973  		ec.Error(ctx, err)
 13974  		return
 13975  	}
 13976  	return fc, nil
 13977  }
 13978  
 13979  func (ec *executionContext) ___Type_inputFields(ctx context.Context, field graphql.CollectedField, obj *introspection.Type) (ret graphql.Marshaler) {
 13980  	fc, err := ec.fieldContext___Type_inputFields(ctx, field)
 13981  	if err != nil {
 13982  		return graphql.Null
 13983  	}
 13984  	ctx = graphql.WithFieldContext(ctx, fc)
 13985  	defer func() {
 13986  		if r := recover(); r != nil {
 13987  			ec.Error(ctx, ec.Recover(ctx, r))
 13988  			ret = graphql.Null
 13989  		}
 13990  	}()
 13991  	resTmp := ec._fieldMiddleware(ctx, obj, func(rctx context.Context) (interface{}, error) {
 13992  		ctx = rctx // use context from middleware stack in children
 13993  		return obj.InputFields(), nil
 13994  	})
 13995  
 13996  	if resTmp == nil {
 13997  		return graphql.Null
 13998  	}
 13999  	res := resTmp.([]introspection.InputValue)
 14000  	fc.Result = res
 14001  	return ec.marshalO__InputValue2ᚕgithubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚋintrospectionᚐInputValueᚄ(ctx, field.Selections, res)
 14002  }
 14003  
 14004  func (ec *executionContext) fieldContext___Type_inputFields(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
 14005  	fc = &graphql.FieldContext{
 14006  		Object:     "__Type",
 14007  		Field:      field,
 14008  		IsMethod:   true,
 14009  		IsResolver: false,
 14010  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
 14011  			switch field.Name {
 14012  			case "name":
 14013  				return ec.fieldContext___InputValue_name(ctx, field)
 14014  			case "description":
 14015  				return ec.fieldContext___InputValue_description(ctx, field)
 14016  			case "type":
 14017  				return ec.fieldContext___InputValue_type(ctx, field)
 14018  			case "defaultValue":
 14019  				return ec.fieldContext___InputValue_defaultValue(ctx, field)
 14020  			}
 14021  			return nil, fmt.Errorf("no field named %q was found under type __InputValue", field.Name)
 14022  		},
 14023  	}
 14024  	return fc, nil
 14025  }
 14026  
 14027  func (ec *executionContext) ___Type_ofType(ctx context.Context, field graphql.CollectedField, obj *introspection.Type) (ret graphql.Marshaler) {
 14028  	fc, err := ec.fieldContext___Type_ofType(ctx, field)
 14029  	if err != nil {
 14030  		return graphql.Null
 14031  	}
 14032  	ctx = graphql.WithFieldContext(ctx, fc)
 14033  	defer func() {
 14034  		if r := recover(); r != nil {
 14035  			ec.Error(ctx, ec.Recover(ctx, r))
 14036  			ret = graphql.Null
 14037  		}
 14038  	}()
 14039  	resTmp := ec._fieldMiddleware(ctx, obj, func(rctx context.Context) (interface{}, error) {
 14040  		ctx = rctx // use context from middleware stack in children
 14041  		return obj.OfType(), nil
 14042  	})
 14043  
 14044  	if resTmp == nil {
 14045  		return graphql.Null
 14046  	}
 14047  	res := resTmp.(*introspection.Type)
 14048  	fc.Result = res
 14049  	return ec.marshalO__Type2ᚖgithubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚋintrospectionᚐType(ctx, field.Selections, res)
 14050  }
 14051  
 14052  func (ec *executionContext) fieldContext___Type_ofType(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
 14053  	fc = &graphql.FieldContext{
 14054  		Object:     "__Type",
 14055  		Field:      field,
 14056  		IsMethod:   true,
 14057  		IsResolver: false,
 14058  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
 14059  			switch field.Name {
 14060  			case "kind":
 14061  				return ec.fieldContext___Type_kind(ctx, field)
 14062  			case "name":
 14063  				return ec.fieldContext___Type_name(ctx, field)
 14064  			case "description":
 14065  				return ec.fieldContext___Type_description(ctx, field)
 14066  			case "fields":
 14067  				return ec.fieldContext___Type_fields(ctx, field)
 14068  			case "interfaces":
 14069  				return ec.fieldContext___Type_interfaces(ctx, field)
 14070  			case "possibleTypes":
 14071  				return ec.fieldContext___Type_possibleTypes(ctx, field)
 14072  			case "enumValues":
 14073  				return ec.fieldContext___Type_enumValues(ctx, field)
 14074  			case "inputFields":
 14075  				return ec.fieldContext___Type_inputFields(ctx, field)
 14076  			case "ofType":
 14077  				return ec.fieldContext___Type_ofType(ctx, field)
 14078  			case "specifiedByURL":
 14079  				return ec.fieldContext___Type_specifiedByURL(ctx, field)
 14080  			}
 14081  			return nil, fmt.Errorf("no field named %q was found under type __Type", field.Name)
 14082  		},
 14083  	}
 14084  	return fc, nil
 14085  }
 14086  
 14087  func (ec *executionContext) ___Type_specifiedByURL(ctx context.Context, field graphql.CollectedField, obj *introspection.Type) (ret graphql.Marshaler) {
 14088  	fc, err := ec.fieldContext___Type_specifiedByURL(ctx, field)
 14089  	if err != nil {
 14090  		return graphql.Null
 14091  	}
 14092  	ctx = graphql.WithFieldContext(ctx, fc)
 14093  	defer func() {
 14094  		if r := recover(); r != nil {
 14095  			ec.Error(ctx, ec.Recover(ctx, r))
 14096  			ret = graphql.Null
 14097  		}
 14098  	}()
 14099  	resTmp := ec._fieldMiddleware(ctx, obj, func(rctx context.Context) (interface{}, error) {
 14100  		ctx = rctx // use context from middleware stack in children
 14101  		return obj.SpecifiedByURL(), nil
 14102  	})
 14103  
 14104  	if resTmp == nil {
 14105  		return graphql.Null
 14106  	}
 14107  	res := resTmp.(*string)
 14108  	fc.Result = res
 14109  	return ec.marshalOString2ᚖstring(ctx, field.Selections, res)
 14110  }
 14111  
 14112  func (ec *executionContext) fieldContext___Type_specifiedByURL(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
 14113  	fc = &graphql.FieldContext{
 14114  		Object:     "__Type",
 14115  		Field:      field,
 14116  		IsMethod:   true,
 14117  		IsResolver: false,
 14118  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
 14119  			return nil, errors.New("field of type String does not have child fields")
 14120  		},
 14121  	}
 14122  	return fc, nil
 14123  }
 14124  
 14125  func (ec *executionContext) _asdfIt_id(ctx context.Context, field graphql.CollectedField, obj *AsdfIt) (ret graphql.Marshaler) {
 14126  	fc, err := ec.fieldContext_asdfIt_id(ctx, field)
 14127  	if err != nil {
 14128  		return graphql.Null
 14129  	}
 14130  	ctx = graphql.WithFieldContext(ctx, fc)
 14131  	defer func() {
 14132  		if r := recover(); r != nil {
 14133  			ec.Error(ctx, ec.Recover(ctx, r))
 14134  			ret = graphql.Null
 14135  		}
 14136  	}()
 14137  	resTmp := ec._fieldMiddleware(ctx, obj, func(rctx context.Context) (interface{}, error) {
 14138  		ctx = rctx // use context from middleware stack in children
 14139  		return obj.ID, nil
 14140  	})
 14141  
 14142  	if resTmp == nil {
 14143  		if !graphql.HasFieldError(ctx, fc) {
 14144  			ec.Errorf(ctx, "must not be null")
 14145  		}
 14146  		return graphql.Null
 14147  	}
 14148  	res := resTmp.(string)
 14149  	fc.Result = res
 14150  	return ec.marshalNID2string(ctx, field.Selections, res)
 14151  }
 14152  
 14153  func (ec *executionContext) fieldContext_asdfIt_id(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
 14154  	fc = &graphql.FieldContext{
 14155  		Object:     "asdfIt",
 14156  		Field:      field,
 14157  		IsMethod:   false,
 14158  		IsResolver: false,
 14159  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
 14160  			return nil, errors.New("field of type ID does not have child fields")
 14161  		},
 14162  	}
 14163  	return fc, nil
 14164  }
 14165  
 14166  func (ec *executionContext) _iIt_id(ctx context.Context, field graphql.CollectedField, obj *IIt) (ret graphql.Marshaler) {
 14167  	fc, err := ec.fieldContext_iIt_id(ctx, field)
 14168  	if err != nil {
 14169  		return graphql.Null
 14170  	}
 14171  	ctx = graphql.WithFieldContext(ctx, fc)
 14172  	defer func() {
 14173  		if r := recover(); r != nil {
 14174  			ec.Error(ctx, ec.Recover(ctx, r))
 14175  			ret = graphql.Null
 14176  		}
 14177  	}()
 14178  	resTmp := ec._fieldMiddleware(ctx, obj, func(rctx context.Context) (interface{}, error) {
 14179  		ctx = rctx // use context from middleware stack in children
 14180  		return obj.ID, nil
 14181  	})
 14182  
 14183  	if resTmp == nil {
 14184  		if !graphql.HasFieldError(ctx, fc) {
 14185  			ec.Errorf(ctx, "must not be null")
 14186  		}
 14187  		return graphql.Null
 14188  	}
 14189  	res := resTmp.(string)
 14190  	fc.Result = res
 14191  	return ec.marshalNID2string(ctx, field.Selections, res)
 14192  }
 14193  
 14194  func (ec *executionContext) fieldContext_iIt_id(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
 14195  	fc = &graphql.FieldContext{
 14196  		Object:     "iIt",
 14197  		Field:      field,
 14198  		IsMethod:   false,
 14199  		IsResolver: false,
 14200  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
 14201  			return nil, errors.New("field of type ID does not have child fields")
 14202  		},
 14203  	}
 14204  	return fc, nil
 14205  }
 14206  
 14207  // endregion **************************** field.gotpl *****************************
 14208  
 14209  // region    **************************** input.gotpl *****************************
 14210  
 14211  func (ec *executionContext) unmarshalInputDefaultInput(ctx context.Context, obj interface{}) (DefaultInput, error) {
 14212  	var it DefaultInput
 14213  	asMap := map[string]interface{}{}
 14214  	for k, v := range obj.(map[string]interface{}) {
 14215  		asMap[k] = v
 14216  	}
 14217  
 14218  	if _, present := asMap["falsyBoolean"]; !present {
 14219  		asMap["falsyBoolean"] = false
 14220  	}
 14221  	if _, present := asMap["truthyBoolean"]; !present {
 14222  		asMap["truthyBoolean"] = true
 14223  	}
 14224  
 14225  	fieldsInOrder := [...]string{"falsyBoolean", "truthyBoolean"}
 14226  	for _, k := range fieldsInOrder {
 14227  		v, ok := asMap[k]
 14228  		if !ok {
 14229  			continue
 14230  		}
 14231  		switch k {
 14232  		case "falsyBoolean":
 14233  			var err error
 14234  
 14235  			ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("falsyBoolean"))
 14236  			it.FalsyBoolean, err = ec.unmarshalOBoolean2ᚖbool(ctx, v)
 14237  			if err != nil {
 14238  				return it, err
 14239  			}
 14240  		case "truthyBoolean":
 14241  			var err error
 14242  
 14243  			ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("truthyBoolean"))
 14244  			it.TruthyBoolean, err = ec.unmarshalOBoolean2ᚖbool(ctx, v)
 14245  			if err != nil {
 14246  				return it, err
 14247  			}
 14248  		}
 14249  	}
 14250  
 14251  	return it, nil
 14252  }
 14253  
 14254  func (ec *executionContext) unmarshalInputFieldsOrderInput(ctx context.Context, obj interface{}) (FieldsOrderInput, error) {
 14255  	var it FieldsOrderInput
 14256  	asMap := map[string]interface{}{}
 14257  	for k, v := range obj.(map[string]interface{}) {
 14258  		asMap[k] = v
 14259  	}
 14260  
 14261  	fieldsInOrder := [...]string{"firstField", "overrideFirstField"}
 14262  	for _, k := range fieldsInOrder {
 14263  		v, ok := asMap[k]
 14264  		if !ok {
 14265  			continue
 14266  		}
 14267  		switch k {
 14268  		case "firstField":
 14269  			var err error
 14270  
 14271  			ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("firstField"))
 14272  			it.FirstField, err = ec.unmarshalOString2ᚖstring(ctx, v)
 14273  			if err != nil {
 14274  				return it, err
 14275  			}
 14276  		case "overrideFirstField":
 14277  			var err error
 14278  
 14279  			ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("overrideFirstField"))
 14280  			data, err := ec.unmarshalOString2ᚖstring(ctx, v)
 14281  			if err != nil {
 14282  				return it, err
 14283  			}
 14284  			if err = ec.resolvers.FieldsOrderInput().OverrideFirstField(ctx, &it, data); err != nil {
 14285  				return it, err
 14286  			}
 14287  		}
 14288  	}
 14289  
 14290  	return it, nil
 14291  }
 14292  
 14293  func (ec *executionContext) unmarshalInputInnerDirectives(ctx context.Context, obj interface{}) (InnerDirectives, error) {
 14294  	var it InnerDirectives
 14295  	asMap := map[string]interface{}{}
 14296  	for k, v := range obj.(map[string]interface{}) {
 14297  		asMap[k] = v
 14298  	}
 14299  
 14300  	fieldsInOrder := [...]string{"message"}
 14301  	for _, k := range fieldsInOrder {
 14302  		v, ok := asMap[k]
 14303  		if !ok {
 14304  			continue
 14305  		}
 14306  		switch k {
 14307  		case "message":
 14308  			var err error
 14309  
 14310  			ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("message"))
 14311  			directive0 := func(ctx context.Context) (interface{}, error) { return ec.unmarshalNString2string(ctx, v) }
 14312  			directive1 := func(ctx context.Context) (interface{}, error) {
 14313  				min, err := ec.unmarshalNInt2int(ctx, 1)
 14314  				if err != nil {
 14315  					return nil, err
 14316  				}
 14317  				message, err := ec.unmarshalOString2ᚖstring(ctx, "not valid")
 14318  				if err != nil {
 14319  					return nil, err
 14320  				}
 14321  				if ec.directives.Length == nil {
 14322  					return nil, errors.New("directive length is not implemented")
 14323  				}
 14324  				return ec.directives.Length(ctx, obj, directive0, min, nil, message)
 14325  			}
 14326  
 14327  			tmp, err := directive1(ctx)
 14328  			if err != nil {
 14329  				return it, graphql.ErrorOnPath(ctx, err)
 14330  			}
 14331  			if data, ok := tmp.(string); ok {
 14332  				it.Message = data
 14333  			} else {
 14334  				err := fmt.Errorf(`unexpected type %T from directive, should be string`, tmp)
 14335  				return it, graphql.ErrorOnPath(ctx, err)
 14336  			}
 14337  		}
 14338  	}
 14339  
 14340  	return it, nil
 14341  }
 14342  
 14343  func (ec *executionContext) unmarshalInputInnerInput(ctx context.Context, obj interface{}) (InnerInput, error) {
 14344  	var it InnerInput
 14345  	asMap := map[string]interface{}{}
 14346  	for k, v := range obj.(map[string]interface{}) {
 14347  		asMap[k] = v
 14348  	}
 14349  
 14350  	fieldsInOrder := [...]string{"id"}
 14351  	for _, k := range fieldsInOrder {
 14352  		v, ok := asMap[k]
 14353  		if !ok {
 14354  			continue
 14355  		}
 14356  		switch k {
 14357  		case "id":
 14358  			var err error
 14359  
 14360  			ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("id"))
 14361  			it.ID, err = ec.unmarshalNInt2int(ctx, v)
 14362  			if err != nil {
 14363  				return it, err
 14364  			}
 14365  		}
 14366  	}
 14367  
 14368  	return it, nil
 14369  }
 14370  
 14371  func (ec *executionContext) unmarshalInputInputDirectives(ctx context.Context, obj interface{}) (InputDirectives, error) {
 14372  	var it InputDirectives
 14373  	asMap := map[string]interface{}{}
 14374  	for k, v := range obj.(map[string]interface{}) {
 14375  		asMap[k] = v
 14376  	}
 14377  
 14378  	fieldsInOrder := [...]string{"text", "nullableText", "inner", "innerNullable", "thirdParty"}
 14379  	for _, k := range fieldsInOrder {
 14380  		v, ok := asMap[k]
 14381  		if !ok {
 14382  			continue
 14383  		}
 14384  		switch k {
 14385  		case "text":
 14386  			var err error
 14387  
 14388  			ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("text"))
 14389  			directive0 := func(ctx context.Context) (interface{}, error) { return ec.unmarshalNString2string(ctx, v) }
 14390  			directive1 := func(ctx context.Context) (interface{}, error) {
 14391  				if ec.directives.Directive3 == nil {
 14392  					return nil, errors.New("directive directive3 is not implemented")
 14393  				}
 14394  				return ec.directives.Directive3(ctx, obj, directive0)
 14395  			}
 14396  			directive2 := func(ctx context.Context) (interface{}, error) {
 14397  				min, err := ec.unmarshalNInt2int(ctx, 0)
 14398  				if err != nil {
 14399  					return nil, err
 14400  				}
 14401  				max, err := ec.unmarshalOInt2ᚖint(ctx, 7)
 14402  				if err != nil {
 14403  					return nil, err
 14404  				}
 14405  				message, err := ec.unmarshalOString2ᚖstring(ctx, "not valid")
 14406  				if err != nil {
 14407  					return nil, err
 14408  				}
 14409  				if ec.directives.Length == nil {
 14410  					return nil, errors.New("directive length is not implemented")
 14411  				}
 14412  				return ec.directives.Length(ctx, obj, directive1, min, max, message)
 14413  			}
 14414  
 14415  			tmp, err := directive2(ctx)
 14416  			if err != nil {
 14417  				return it, graphql.ErrorOnPath(ctx, err)
 14418  			}
 14419  			if data, ok := tmp.(string); ok {
 14420  				it.Text = data
 14421  			} else {
 14422  				err := fmt.Errorf(`unexpected type %T from directive, should be string`, tmp)
 14423  				return it, graphql.ErrorOnPath(ctx, err)
 14424  			}
 14425  		case "nullableText":
 14426  			var err error
 14427  
 14428  			ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("nullableText"))
 14429  			directive0 := func(ctx context.Context) (interface{}, error) { return ec.unmarshalOString2ᚖstring(ctx, v) }
 14430  			directive1 := func(ctx context.Context) (interface{}, error) {
 14431  				if ec.directives.Directive3 == nil {
 14432  					return nil, errors.New("directive directive3 is not implemented")
 14433  				}
 14434  				return ec.directives.Directive3(ctx, obj, directive0)
 14435  			}
 14436  			directive2 := func(ctx context.Context) (interface{}, error) {
 14437  				if ec.directives.ToNull == nil {
 14438  					return nil, errors.New("directive toNull is not implemented")
 14439  				}
 14440  				return ec.directives.ToNull(ctx, obj, directive1)
 14441  			}
 14442  
 14443  			tmp, err := directive2(ctx)
 14444  			if err != nil {
 14445  				return it, graphql.ErrorOnPath(ctx, err)
 14446  			}
 14447  			if data, ok := tmp.(*string); ok {
 14448  				it.NullableText = data
 14449  			} else if tmp == nil {
 14450  				it.NullableText = nil
 14451  			} else {
 14452  				err := fmt.Errorf(`unexpected type %T from directive, should be *string`, tmp)
 14453  				return it, graphql.ErrorOnPath(ctx, err)
 14454  			}
 14455  		case "inner":
 14456  			var err error
 14457  
 14458  			ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("inner"))
 14459  			directive0 := func(ctx context.Context) (interface{}, error) {
 14460  				return ec.unmarshalNInnerDirectives2ᚖgithubᚗcomᚋ99designsᚋgqlgenᚋcodegenᚋtestserverᚋsinglefileᚐInnerDirectives(ctx, v)
 14461  			}
 14462  			directive1 := func(ctx context.Context) (interface{}, error) {
 14463  				if ec.directives.Directive3 == nil {
 14464  					return nil, errors.New("directive directive3 is not implemented")
 14465  				}
 14466  				return ec.directives.Directive3(ctx, obj, directive0)
 14467  			}
 14468  
 14469  			tmp, err := directive1(ctx)
 14470  			if err != nil {
 14471  				return it, graphql.ErrorOnPath(ctx, err)
 14472  			}
 14473  			if data, ok := tmp.(*InnerDirectives); ok {
 14474  				it.Inner = data
 14475  			} else if tmp == nil {
 14476  				it.Inner = nil
 14477  			} else {
 14478  				err := fmt.Errorf(`unexpected type %T from directive, should be *github.com/99designs/gqlgen/codegen/testserver/singlefile.InnerDirectives`, tmp)
 14479  				return it, graphql.ErrorOnPath(ctx, err)
 14480  			}
 14481  		case "innerNullable":
 14482  			var err error
 14483  
 14484  			ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("innerNullable"))
 14485  			directive0 := func(ctx context.Context) (interface{}, error) {
 14486  				return ec.unmarshalOInnerDirectives2ᚖgithubᚗcomᚋ99designsᚋgqlgenᚋcodegenᚋtestserverᚋsinglefileᚐInnerDirectives(ctx, v)
 14487  			}
 14488  			directive1 := func(ctx context.Context) (interface{}, error) {
 14489  				if ec.directives.Directive3 == nil {
 14490  					return nil, errors.New("directive directive3 is not implemented")
 14491  				}
 14492  				return ec.directives.Directive3(ctx, obj, directive0)
 14493  			}
 14494  
 14495  			tmp, err := directive1(ctx)
 14496  			if err != nil {
 14497  				return it, graphql.ErrorOnPath(ctx, err)
 14498  			}
 14499  			if data, ok := tmp.(*InnerDirectives); ok {
 14500  				it.InnerNullable = data
 14501  			} else if tmp == nil {
 14502  				it.InnerNullable = nil
 14503  			} else {
 14504  				err := fmt.Errorf(`unexpected type %T from directive, should be *github.com/99designs/gqlgen/codegen/testserver/singlefile.InnerDirectives`, tmp)
 14505  				return it, graphql.ErrorOnPath(ctx, err)
 14506  			}
 14507  		case "thirdParty":
 14508  			var err error
 14509  
 14510  			ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("thirdParty"))
 14511  			directive0 := func(ctx context.Context) (interface{}, error) {
 14512  				return ec.unmarshalOThirdParty2ᚖgithubᚗcomᚋ99designsᚋgqlgenᚋcodegenᚋtestserverᚋsinglefileᚐThirdParty(ctx, v)
 14513  			}
 14514  			directive1 := func(ctx context.Context) (interface{}, error) {
 14515  				if ec.directives.Directive3 == nil {
 14516  					return nil, errors.New("directive directive3 is not implemented")
 14517  				}
 14518  				return ec.directives.Directive3(ctx, obj, directive0)
 14519  			}
 14520  			directive2 := func(ctx context.Context) (interface{}, error) {
 14521  				min, err := ec.unmarshalNInt2int(ctx, 0)
 14522  				if err != nil {
 14523  					return nil, err
 14524  				}
 14525  				max, err := ec.unmarshalOInt2ᚖint(ctx, 7)
 14526  				if err != nil {
 14527  					return nil, err
 14528  				}
 14529  				if ec.directives.Length == nil {
 14530  					return nil, errors.New("directive length is not implemented")
 14531  				}
 14532  				return ec.directives.Length(ctx, obj, directive1, min, max, nil)
 14533  			}
 14534  
 14535  			tmp, err := directive2(ctx)
 14536  			if err != nil {
 14537  				return it, graphql.ErrorOnPath(ctx, err)
 14538  			}
 14539  			if data, ok := tmp.(*ThirdParty); ok {
 14540  				it.ThirdParty = data
 14541  			} else if tmp == nil {
 14542  				it.ThirdParty = nil
 14543  			} else {
 14544  				err := fmt.Errorf(`unexpected type %T from directive, should be *github.com/99designs/gqlgen/codegen/testserver/singlefile.ThirdParty`, tmp)
 14545  				return it, graphql.ErrorOnPath(ctx, err)
 14546  			}
 14547  		}
 14548  	}
 14549  
 14550  	return it, nil
 14551  }
 14552  
 14553  func (ec *executionContext) unmarshalInputInputWithEnumValue(ctx context.Context, obj interface{}) (InputWithEnumValue, error) {
 14554  	var it InputWithEnumValue
 14555  	asMap := map[string]interface{}{}
 14556  	for k, v := range obj.(map[string]interface{}) {
 14557  		asMap[k] = v
 14558  	}
 14559  
 14560  	fieldsInOrder := [...]string{"enum"}
 14561  	for _, k := range fieldsInOrder {
 14562  		v, ok := asMap[k]
 14563  		if !ok {
 14564  			continue
 14565  		}
 14566  		switch k {
 14567  		case "enum":
 14568  			var err error
 14569  
 14570  			ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("enum"))
 14571  			it.Enum, err = ec.unmarshalNEnumTest2githubᚗcomᚋ99designsᚋgqlgenᚋcodegenᚋtestserverᚋsinglefileᚐEnumTest(ctx, v)
 14572  			if err != nil {
 14573  				return it, err
 14574  			}
 14575  		}
 14576  	}
 14577  
 14578  	return it, nil
 14579  }
 14580  
 14581  func (ec *executionContext) unmarshalInputNestedInput(ctx context.Context, obj interface{}) (NestedInput, error) {
 14582  	var it NestedInput
 14583  	asMap := map[string]interface{}{}
 14584  	for k, v := range obj.(map[string]interface{}) {
 14585  		asMap[k] = v
 14586  	}
 14587  
 14588  	fieldsInOrder := [...]string{"field"}
 14589  	for _, k := range fieldsInOrder {
 14590  		v, ok := asMap[k]
 14591  		if !ok {
 14592  			continue
 14593  		}
 14594  		switch k {
 14595  		case "field":
 14596  			var err error
 14597  
 14598  			ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("field"))
 14599  			it.Field, err = ec.unmarshalNEmail2githubᚗcomᚋ99designsᚋgqlgenᚋcodegenᚋtestserverᚋsinglefileᚐEmail(ctx, v)
 14600  			if err != nil {
 14601  				return it, err
 14602  			}
 14603  		}
 14604  	}
 14605  
 14606  	return it, nil
 14607  }
 14608  
 14609  func (ec *executionContext) unmarshalInputNestedMapInput(ctx context.Context, obj interface{}) (NestedMapInput, error) {
 14610  	var it NestedMapInput
 14611  	asMap := map[string]interface{}{}
 14612  	for k, v := range obj.(map[string]interface{}) {
 14613  		asMap[k] = v
 14614  	}
 14615  
 14616  	fieldsInOrder := [...]string{"map"}
 14617  	for _, k := range fieldsInOrder {
 14618  		v, ok := asMap[k]
 14619  		if !ok {
 14620  			continue
 14621  		}
 14622  		switch k {
 14623  		case "map":
 14624  			var err error
 14625  
 14626  			ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("map"))
 14627  			it.Map, err = ec.unmarshalOMapStringInterfaceInput2map(ctx, v)
 14628  			if err != nil {
 14629  				return it, err
 14630  			}
 14631  		}
 14632  	}
 14633  
 14634  	return it, nil
 14635  }
 14636  
 14637  func (ec *executionContext) unmarshalInputOuterInput(ctx context.Context, obj interface{}) (OuterInput, error) {
 14638  	var it OuterInput
 14639  	asMap := map[string]interface{}{}
 14640  	for k, v := range obj.(map[string]interface{}) {
 14641  		asMap[k] = v
 14642  	}
 14643  
 14644  	fieldsInOrder := [...]string{"inner"}
 14645  	for _, k := range fieldsInOrder {
 14646  		v, ok := asMap[k]
 14647  		if !ok {
 14648  			continue
 14649  		}
 14650  		switch k {
 14651  		case "inner":
 14652  			var err error
 14653  
 14654  			ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("inner"))
 14655  			it.Inner, err = ec.unmarshalNInnerInput2ᚖgithubᚗcomᚋ99designsᚋgqlgenᚋcodegenᚋtestserverᚋsinglefileᚐInnerInput(ctx, v)
 14656  			if err != nil {
 14657  				return it, err
 14658  			}
 14659  		}
 14660  	}
 14661  
 14662  	return it, nil
 14663  }
 14664  
 14665  func (ec *executionContext) unmarshalInputRecursiveInputSlice(ctx context.Context, obj interface{}) (RecursiveInputSlice, error) {
 14666  	var it RecursiveInputSlice
 14667  	asMap := map[string]interface{}{}
 14668  	for k, v := range obj.(map[string]interface{}) {
 14669  		asMap[k] = v
 14670  	}
 14671  
 14672  	fieldsInOrder := [...]string{"self"}
 14673  	for _, k := range fieldsInOrder {
 14674  		v, ok := asMap[k]
 14675  		if !ok {
 14676  			continue
 14677  		}
 14678  		switch k {
 14679  		case "self":
 14680  			var err error
 14681  
 14682  			ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("self"))
 14683  			it.Self, err = ec.unmarshalORecursiveInputSlice2ᚕgithubᚗcomᚋ99designsᚋgqlgenᚋcodegenᚋtestserverᚋsinglefileᚐRecursiveInputSliceᚄ(ctx, v)
 14684  			if err != nil {
 14685  				return it, err
 14686  			}
 14687  		}
 14688  	}
 14689  
 14690  	return it, nil
 14691  }
 14692  
 14693  func (ec *executionContext) unmarshalInputSpecialInput(ctx context.Context, obj interface{}) (SpecialInput, error) {
 14694  	var it SpecialInput
 14695  	asMap := map[string]interface{}{}
 14696  	for k, v := range obj.(map[string]interface{}) {
 14697  		asMap[k] = v
 14698  	}
 14699  
 14700  	fieldsInOrder := [...]string{"nesting"}
 14701  	for _, k := range fieldsInOrder {
 14702  		v, ok := asMap[k]
 14703  		if !ok {
 14704  			continue
 14705  		}
 14706  		switch k {
 14707  		case "nesting":
 14708  			var err error
 14709  
 14710  			ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("nesting"))
 14711  			it.Nesting, err = ec.unmarshalNNestedInput2ᚖgithubᚗcomᚋ99designsᚋgqlgenᚋcodegenᚋtestserverᚋsinglefileᚐNestedInput(ctx, v)
 14712  			if err != nil {
 14713  				return it, err
 14714  			}
 14715  		}
 14716  	}
 14717  
 14718  	return it, nil
 14719  }
 14720  
 14721  func (ec *executionContext) unmarshalInputUpdatePtrToPtrInner(ctx context.Context, obj interface{}) (UpdatePtrToPtrInner, error) {
 14722  	var it UpdatePtrToPtrInner
 14723  	asMap := map[string]interface{}{}
 14724  	for k, v := range obj.(map[string]interface{}) {
 14725  		asMap[k] = v
 14726  	}
 14727  
 14728  	fieldsInOrder := [...]string{"key", "value"}
 14729  	for _, k := range fieldsInOrder {
 14730  		v, ok := asMap[k]
 14731  		if !ok {
 14732  			continue
 14733  		}
 14734  		switch k {
 14735  		case "key":
 14736  			var err error
 14737  
 14738  			ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("key"))
 14739  			it.Key, err = ec.unmarshalOString2ᚖstring(ctx, v)
 14740  			if err != nil {
 14741  				return it, err
 14742  			}
 14743  		case "value":
 14744  			var err error
 14745  
 14746  			ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("value"))
 14747  			it.Value, err = ec.unmarshalOString2ᚖstring(ctx, v)
 14748  			if err != nil {
 14749  				return it, err
 14750  			}
 14751  		}
 14752  	}
 14753  
 14754  	return it, nil
 14755  }
 14756  
 14757  func (ec *executionContext) unmarshalInputUpdatePtrToPtrOuter(ctx context.Context, obj interface{}) (UpdatePtrToPtrOuter, error) {
 14758  	var it UpdatePtrToPtrOuter
 14759  	asMap := map[string]interface{}{}
 14760  	for k, v := range obj.(map[string]interface{}) {
 14761  		asMap[k] = v
 14762  	}
 14763  
 14764  	fieldsInOrder := [...]string{"name", "inner", "stupidInner"}
 14765  	for _, k := range fieldsInOrder {
 14766  		v, ok := asMap[k]
 14767  		if !ok {
 14768  			continue
 14769  		}
 14770  		switch k {
 14771  		case "name":
 14772  			var err error
 14773  
 14774  			ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("name"))
 14775  			it.Name, err = ec.unmarshalOString2ᚖstring(ctx, v)
 14776  			if err != nil {
 14777  				return it, err
 14778  			}
 14779  		case "inner":
 14780  			var err error
 14781  
 14782  			ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("inner"))
 14783  			it.Inner, err = ec.unmarshalOUpdatePtrToPtrInner2ᚖᚖgithubᚗcomᚋ99designsᚋgqlgenᚋcodegenᚋtestserverᚋsinglefileᚐUpdatePtrToPtrInner(ctx, v)
 14784  			if err != nil {
 14785  				return it, err
 14786  			}
 14787  		case "stupidInner":
 14788  			var err error
 14789  
 14790  			ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("stupidInner"))
 14791  			it.StupidInner, err = ec.unmarshalOUpdatePtrToPtrInner2ᚖᚖᚖᚖᚖᚖᚖᚖgithubᚗcomᚋ99designsᚋgqlgenᚋcodegenᚋtestserverᚋsinglefileᚐUpdatePtrToPtrInner(ctx, v)
 14792  			if err != nil {
 14793  				return it, err
 14794  			}
 14795  		}
 14796  	}
 14797  
 14798  	return it, nil
 14799  }
 14800  
 14801  func (ec *executionContext) unmarshalInputValidInput(ctx context.Context, obj interface{}) (ValidInput, error) {
 14802  	var it ValidInput
 14803  	asMap := map[string]interface{}{}
 14804  	for k, v := range obj.(map[string]interface{}) {
 14805  		asMap[k] = v
 14806  	}
 14807  
 14808  	fieldsInOrder := [...]string{"break", "default", "func", "interface", "select", "case", "defer", "go", "map", "struct", "chan", "else", "goto", "package", "switch", "const", "fallthrough", "if", "range", "type", "continue", "for", "import", "return", "var", "_"}
 14809  	for _, k := range fieldsInOrder {
 14810  		v, ok := asMap[k]
 14811  		if !ok {
 14812  			continue
 14813  		}
 14814  		switch k {
 14815  		case "break":
 14816  			var err error
 14817  
 14818  			ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("break"))
 14819  			it.Break, err = ec.unmarshalNString2string(ctx, v)
 14820  			if err != nil {
 14821  				return it, err
 14822  			}
 14823  		case "default":
 14824  			var err error
 14825  
 14826  			ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("default"))
 14827  			it.Default, err = ec.unmarshalNString2string(ctx, v)
 14828  			if err != nil {
 14829  				return it, err
 14830  			}
 14831  		case "func":
 14832  			var err error
 14833  
 14834  			ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("func"))
 14835  			it.Func, err = ec.unmarshalNString2string(ctx, v)
 14836  			if err != nil {
 14837  				return it, err
 14838  			}
 14839  		case "interface":
 14840  			var err error
 14841  
 14842  			ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("interface"))
 14843  			it.Interface, err = ec.unmarshalNString2string(ctx, v)
 14844  			if err != nil {
 14845  				return it, err
 14846  			}
 14847  		case "select":
 14848  			var err error
 14849  
 14850  			ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("select"))
 14851  			it.Select, err = ec.unmarshalNString2string(ctx, v)
 14852  			if err != nil {
 14853  				return it, err
 14854  			}
 14855  		case "case":
 14856  			var err error
 14857  
 14858  			ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("case"))
 14859  			it.Case, err = ec.unmarshalNString2string(ctx, v)
 14860  			if err != nil {
 14861  				return it, err
 14862  			}
 14863  		case "defer":
 14864  			var err error
 14865  
 14866  			ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("defer"))
 14867  			it.Defer, err = ec.unmarshalNString2string(ctx, v)
 14868  			if err != nil {
 14869  				return it, err
 14870  			}
 14871  		case "go":
 14872  			var err error
 14873  
 14874  			ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("go"))
 14875  			it.Go, err = ec.unmarshalNString2string(ctx, v)
 14876  			if err != nil {
 14877  				return it, err
 14878  			}
 14879  		case "map":
 14880  			var err error
 14881  
 14882  			ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("map"))
 14883  			it.Map, err = ec.unmarshalNString2string(ctx, v)
 14884  			if err != nil {
 14885  				return it, err
 14886  			}
 14887  		case "struct":
 14888  			var err error
 14889  
 14890  			ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("struct"))
 14891  			it.Struct, err = ec.unmarshalNString2string(ctx, v)
 14892  			if err != nil {
 14893  				return it, err
 14894  			}
 14895  		case "chan":
 14896  			var err error
 14897  
 14898  			ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("chan"))
 14899  			it.Chan, err = ec.unmarshalNString2string(ctx, v)
 14900  			if err != nil {
 14901  				return it, err
 14902  			}
 14903  		case "else":
 14904  			var err error
 14905  
 14906  			ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("else"))
 14907  			it.Else, err = ec.unmarshalNString2string(ctx, v)
 14908  			if err != nil {
 14909  				return it, err
 14910  			}
 14911  		case "goto":
 14912  			var err error
 14913  
 14914  			ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("goto"))
 14915  			it.Goto, err = ec.unmarshalNString2string(ctx, v)
 14916  			if err != nil {
 14917  				return it, err
 14918  			}
 14919  		case "package":
 14920  			var err error
 14921  
 14922  			ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("package"))
 14923  			it.Package, err = ec.unmarshalNString2string(ctx, v)
 14924  			if err != nil {
 14925  				return it, err
 14926  			}
 14927  		case "switch":
 14928  			var err error
 14929  
 14930  			ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("switch"))
 14931  			it.Switch, err = ec.unmarshalNString2string(ctx, v)
 14932  			if err != nil {
 14933  				return it, err
 14934  			}
 14935  		case "const":
 14936  			var err error
 14937  
 14938  			ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("const"))
 14939  			it.Const, err = ec.unmarshalNString2string(ctx, v)
 14940  			if err != nil {
 14941  				return it, err
 14942  			}
 14943  		case "fallthrough":
 14944  			var err error
 14945  
 14946  			ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("fallthrough"))
 14947  			it.Fallthrough, err = ec.unmarshalNString2string(ctx, v)
 14948  			if err != nil {
 14949  				return it, err
 14950  			}
 14951  		case "if":
 14952  			var err error
 14953  
 14954  			ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("if"))
 14955  			it.If, err = ec.unmarshalNString2string(ctx, v)
 14956  			if err != nil {
 14957  				return it, err
 14958  			}
 14959  		case "range":
 14960  			var err error
 14961  
 14962  			ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("range"))
 14963  			it.Range, err = ec.unmarshalNString2string(ctx, v)
 14964  			if err != nil {
 14965  				return it, err
 14966  			}
 14967  		case "type":
 14968  			var err error
 14969  
 14970  			ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("type"))
 14971  			it.Type, err = ec.unmarshalNString2string(ctx, v)
 14972  			if err != nil {
 14973  				return it, err
 14974  			}
 14975  		case "continue":
 14976  			var err error
 14977  
 14978  			ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("continue"))
 14979  			it.Continue, err = ec.unmarshalNString2string(ctx, v)
 14980  			if err != nil {
 14981  				return it, err
 14982  			}
 14983  		case "for":
 14984  			var err error
 14985  
 14986  			ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("for"))
 14987  			it.For, err = ec.unmarshalNString2string(ctx, v)
 14988  			if err != nil {
 14989  				return it, err
 14990  			}
 14991  		case "import":
 14992  			var err error
 14993  
 14994  			ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("import"))
 14995  			it.Import, err = ec.unmarshalNString2string(ctx, v)
 14996  			if err != nil {
 14997  				return it, err
 14998  			}
 14999  		case "return":
 15000  			var err error
 15001  
 15002  			ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("return"))
 15003  			it.Return, err = ec.unmarshalNString2string(ctx, v)
 15004  			if err != nil {
 15005  				return it, err
 15006  			}
 15007  		case "var":
 15008  			var err error
 15009  
 15010  			ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("var"))
 15011  			it.Var, err = ec.unmarshalNString2string(ctx, v)
 15012  			if err != nil {
 15013  				return it, err
 15014  			}
 15015  		case "_":
 15016  			var err error
 15017  
 15018  			ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("_"))
 15019  			it.Underscore, err = ec.unmarshalNString2string(ctx, v)
 15020  			if err != nil {
 15021  				return it, err
 15022  			}
 15023  		}
 15024  	}
 15025  
 15026  	return it, nil
 15027  }
 15028  
 15029  // endregion **************************** input.gotpl *****************************
 15030  
 15031  // region    ************************** interface.gotpl ***************************
 15032  
 15033  func (ec *executionContext) _Animal(ctx context.Context, sel ast.SelectionSet, obj Animal) graphql.Marshaler {
 15034  	switch obj := (obj).(type) {
 15035  	case nil:
 15036  		return graphql.Null
 15037  	case Dog:
 15038  		return ec._Dog(ctx, sel, &obj)
 15039  	case *Dog:
 15040  		if obj == nil {
 15041  			return graphql.Null
 15042  		}
 15043  		return ec._Dog(ctx, sel, obj)
 15044  	case Cat:
 15045  		return ec._Cat(ctx, sel, &obj)
 15046  	case *Cat:
 15047  		if obj == nil {
 15048  			return graphql.Null
 15049  		}
 15050  		return ec._Cat(ctx, sel, obj)
 15051  	default:
 15052  		panic(fmt.Errorf("unexpected type %T", obj))
 15053  	}
 15054  }
 15055  
 15056  func (ec *executionContext) _Content_Child(ctx context.Context, sel ast.SelectionSet, obj ContentChild) graphql.Marshaler {
 15057  	switch obj := (obj).(type) {
 15058  	case nil:
 15059  		return graphql.Null
 15060  	case ContentUser:
 15061  		return ec._Content_User(ctx, sel, &obj)
 15062  	case *ContentUser:
 15063  		if obj == nil {
 15064  			return graphql.Null
 15065  		}
 15066  		return ec._Content_User(ctx, sel, obj)
 15067  	case ContentPost:
 15068  		return ec._Content_Post(ctx, sel, &obj)
 15069  	case *ContentPost:
 15070  		if obj == nil {
 15071  			return graphql.Null
 15072  		}
 15073  		return ec._Content_Post(ctx, sel, obj)
 15074  	default:
 15075  		panic(fmt.Errorf("unexpected type %T", obj))
 15076  	}
 15077  }
 15078  
 15079  func (ec *executionContext) _Node(ctx context.Context, sel ast.SelectionSet, obj Node) graphql.Marshaler {
 15080  	switch obj := (obj).(type) {
 15081  	case nil:
 15082  		return graphql.Null
 15083  	case *ConcreteNodeA:
 15084  		if obj == nil {
 15085  			return graphql.Null
 15086  		}
 15087  		return ec._ConcreteNodeA(ctx, sel, obj)
 15088  	case ConcreteNodeInterface:
 15089  		if obj == nil {
 15090  			return graphql.Null
 15091  		}
 15092  		return ec._ConcreteNodeInterface(ctx, sel, obj)
 15093  	default:
 15094  		panic(fmt.Errorf("unexpected type %T", obj))
 15095  	}
 15096  }
 15097  
 15098  func (ec *executionContext) _Shape(ctx context.Context, sel ast.SelectionSet, obj Shape) graphql.Marshaler {
 15099  	switch obj := (obj).(type) {
 15100  	case nil:
 15101  		return graphql.Null
 15102  	case *Circle:
 15103  		if obj == nil {
 15104  			return graphql.Null
 15105  		}
 15106  		return ec._Circle(ctx, sel, obj)
 15107  	case *Rectangle:
 15108  		if obj == nil {
 15109  			return graphql.Null
 15110  		}
 15111  		return ec._Rectangle(ctx, sel, obj)
 15112  	default:
 15113  		panic(fmt.Errorf("unexpected type %T", obj))
 15114  	}
 15115  }
 15116  
 15117  func (ec *executionContext) _ShapeUnion(ctx context.Context, sel ast.SelectionSet, obj ShapeUnion) graphql.Marshaler {
 15118  	switch obj := (obj).(type) {
 15119  	case nil:
 15120  		return graphql.Null
 15121  	case *Circle:
 15122  		if obj == nil {
 15123  			return graphql.Null
 15124  		}
 15125  		return ec._Circle(ctx, sel, obj)
 15126  	case *Rectangle:
 15127  		if obj == nil {
 15128  			return graphql.Null
 15129  		}
 15130  		return ec._Rectangle(ctx, sel, obj)
 15131  	default:
 15132  		panic(fmt.Errorf("unexpected type %T", obj))
 15133  	}
 15134  }
 15135  
 15136  func (ec *executionContext) _TestUnion(ctx context.Context, sel ast.SelectionSet, obj TestUnion) graphql.Marshaler {
 15137  	switch obj := (obj).(type) {
 15138  	case nil:
 15139  		return graphql.Null
 15140  	case A:
 15141  		return ec._A(ctx, sel, &obj)
 15142  	case *A:
 15143  		if obj == nil {
 15144  			return graphql.Null
 15145  		}
 15146  		return ec._A(ctx, sel, obj)
 15147  	case B:
 15148  		return ec._B(ctx, sel, &obj)
 15149  	case *B:
 15150  		if obj == nil {
 15151  			return graphql.Null
 15152  		}
 15153  		return ec._B(ctx, sel, obj)
 15154  	default:
 15155  		panic(fmt.Errorf("unexpected type %T", obj))
 15156  	}
 15157  }
 15158  
 15159  // endregion ************************** interface.gotpl ***************************
 15160  
 15161  // region    **************************** object.gotpl ****************************
 15162  
 15163  var aImplementors = []string{"A", "TestUnion"}
 15164  
 15165  func (ec *executionContext) _A(ctx context.Context, sel ast.SelectionSet, obj *A) graphql.Marshaler {
 15166  	fields := graphql.CollectFields(ec.OperationContext, sel, aImplementors)
 15167  	out := graphql.NewFieldSet(fields)
 15168  	var invalids uint32
 15169  	for i, field := range fields {
 15170  		switch field.Name {
 15171  		case "__typename":
 15172  			out.Values[i] = graphql.MarshalString("A")
 15173  		case "id":
 15174  
 15175  			out.Values[i] = ec._A_id(ctx, field, obj)
 15176  
 15177  			if out.Values[i] == graphql.Null {
 15178  				invalids++
 15179  			}
 15180  		default:
 15181  			panic("unknown field " + strconv.Quote(field.Name))
 15182  		}
 15183  	}
 15184  	out.Dispatch()
 15185  	if invalids > 0 {
 15186  		return graphql.Null
 15187  	}
 15188  	return out
 15189  }
 15190  
 15191  var aItImplementors = []string{"AIt"}
 15192  
 15193  func (ec *executionContext) _AIt(ctx context.Context, sel ast.SelectionSet, obj *AIt) graphql.Marshaler {
 15194  	fields := graphql.CollectFields(ec.OperationContext, sel, aItImplementors)
 15195  	out := graphql.NewFieldSet(fields)
 15196  	var invalids uint32
 15197  	for i, field := range fields {
 15198  		switch field.Name {
 15199  		case "__typename":
 15200  			out.Values[i] = graphql.MarshalString("AIt")
 15201  		case "id":
 15202  
 15203  			out.Values[i] = ec._AIt_id(ctx, field, obj)
 15204  
 15205  			if out.Values[i] == graphql.Null {
 15206  				invalids++
 15207  			}
 15208  		default:
 15209  			panic("unknown field " + strconv.Quote(field.Name))
 15210  		}
 15211  	}
 15212  	out.Dispatch()
 15213  	if invalids > 0 {
 15214  		return graphql.Null
 15215  	}
 15216  	return out
 15217  }
 15218  
 15219  var abItImplementors = []string{"AbIt"}
 15220  
 15221  func (ec *executionContext) _AbIt(ctx context.Context, sel ast.SelectionSet, obj *AbIt) graphql.Marshaler {
 15222  	fields := graphql.CollectFields(ec.OperationContext, sel, abItImplementors)
 15223  	out := graphql.NewFieldSet(fields)
 15224  	var invalids uint32
 15225  	for i, field := range fields {
 15226  		switch field.Name {
 15227  		case "__typename":
 15228  			out.Values[i] = graphql.MarshalString("AbIt")
 15229  		case "id":
 15230  
 15231  			out.Values[i] = ec._AbIt_id(ctx, field, obj)
 15232  
 15233  			if out.Values[i] == graphql.Null {
 15234  				invalids++
 15235  			}
 15236  		default:
 15237  			panic("unknown field " + strconv.Quote(field.Name))
 15238  		}
 15239  	}
 15240  	out.Dispatch()
 15241  	if invalids > 0 {
 15242  		return graphql.Null
 15243  	}
 15244  	return out
 15245  }
 15246  
 15247  var autobindImplementors = []string{"Autobind"}
 15248  
 15249  func (ec *executionContext) _Autobind(ctx context.Context, sel ast.SelectionSet, obj *Autobind) graphql.Marshaler {
 15250  	fields := graphql.CollectFields(ec.OperationContext, sel, autobindImplementors)
 15251  	out := graphql.NewFieldSet(fields)
 15252  	var invalids uint32
 15253  	for i, field := range fields {
 15254  		switch field.Name {
 15255  		case "__typename":
 15256  			out.Values[i] = graphql.MarshalString("Autobind")
 15257  		case "int":
 15258  
 15259  			out.Values[i] = ec._Autobind_int(ctx, field, obj)
 15260  
 15261  			if out.Values[i] == graphql.Null {
 15262  				invalids++
 15263  			}
 15264  		case "int32":
 15265  
 15266  			out.Values[i] = ec._Autobind_int32(ctx, field, obj)
 15267  
 15268  			if out.Values[i] == graphql.Null {
 15269  				invalids++
 15270  			}
 15271  		case "int64":
 15272  
 15273  			out.Values[i] = ec._Autobind_int64(ctx, field, obj)
 15274  
 15275  			if out.Values[i] == graphql.Null {
 15276  				invalids++
 15277  			}
 15278  		case "idStr":
 15279  
 15280  			out.Values[i] = ec._Autobind_idStr(ctx, field, obj)
 15281  
 15282  			if out.Values[i] == graphql.Null {
 15283  				invalids++
 15284  			}
 15285  		case "idInt":
 15286  
 15287  			out.Values[i] = ec._Autobind_idInt(ctx, field, obj)
 15288  
 15289  			if out.Values[i] == graphql.Null {
 15290  				invalids++
 15291  			}
 15292  		default:
 15293  			panic("unknown field " + strconv.Quote(field.Name))
 15294  		}
 15295  	}
 15296  	out.Dispatch()
 15297  	if invalids > 0 {
 15298  		return graphql.Null
 15299  	}
 15300  	return out
 15301  }
 15302  
 15303  var bImplementors = []string{"B", "TestUnion"}
 15304  
 15305  func (ec *executionContext) _B(ctx context.Context, sel ast.SelectionSet, obj *B) graphql.Marshaler {
 15306  	fields := graphql.CollectFields(ec.OperationContext, sel, bImplementors)
 15307  	out := graphql.NewFieldSet(fields)
 15308  	var invalids uint32
 15309  	for i, field := range fields {
 15310  		switch field.Name {
 15311  		case "__typename":
 15312  			out.Values[i] = graphql.MarshalString("B")
 15313  		case "id":
 15314  
 15315  			out.Values[i] = ec._B_id(ctx, field, obj)
 15316  
 15317  			if out.Values[i] == graphql.Null {
 15318  				invalids++
 15319  			}
 15320  		default:
 15321  			panic("unknown field " + strconv.Quote(field.Name))
 15322  		}
 15323  	}
 15324  	out.Dispatch()
 15325  	if invalids > 0 {
 15326  		return graphql.Null
 15327  	}
 15328  	return out
 15329  }
 15330  
 15331  var backedByInterfaceImplementors = []string{"BackedByInterface"}
 15332  
 15333  func (ec *executionContext) _BackedByInterface(ctx context.Context, sel ast.SelectionSet, obj BackedByInterface) graphql.Marshaler {
 15334  	fields := graphql.CollectFields(ec.OperationContext, sel, backedByInterfaceImplementors)
 15335  	out := graphql.NewFieldSet(fields)
 15336  	var invalids uint32
 15337  	for i, field := range fields {
 15338  		switch field.Name {
 15339  		case "__typename":
 15340  			out.Values[i] = graphql.MarshalString("BackedByInterface")
 15341  		case "id":
 15342  			field := field
 15343  
 15344  			innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
 15345  				defer func() {
 15346  					if r := recover(); r != nil {
 15347  						ec.Error(ctx, ec.Recover(ctx, r))
 15348  					}
 15349  				}()
 15350  				res = ec._BackedByInterface_id(ctx, field, obj)
 15351  				if res == graphql.Null {
 15352  					atomic.AddUint32(&invalids, 1)
 15353  				}
 15354  				return res
 15355  			}
 15356  
 15357  			out.Concurrently(i, func() graphql.Marshaler {
 15358  				return innerFunc(ctx)
 15359  
 15360  			})
 15361  		case "thisShouldBind":
 15362  
 15363  			out.Values[i] = ec._BackedByInterface_thisShouldBind(ctx, field, obj)
 15364  
 15365  			if out.Values[i] == graphql.Null {
 15366  				atomic.AddUint32(&invalids, 1)
 15367  			}
 15368  		case "thisShouldBindWithError":
 15369  
 15370  			out.Values[i] = ec._BackedByInterface_thisShouldBindWithError(ctx, field, obj)
 15371  
 15372  			if out.Values[i] == graphql.Null {
 15373  				atomic.AddUint32(&invalids, 1)
 15374  			}
 15375  		default:
 15376  			panic("unknown field " + strconv.Quote(field.Name))
 15377  		}
 15378  	}
 15379  	out.Dispatch()
 15380  	if invalids > 0 {
 15381  		return graphql.Null
 15382  	}
 15383  	return out
 15384  }
 15385  
 15386  var catImplementors = []string{"Cat", "Animal"}
 15387  
 15388  func (ec *executionContext) _Cat(ctx context.Context, sel ast.SelectionSet, obj *Cat) graphql.Marshaler {
 15389  	fields := graphql.CollectFields(ec.OperationContext, sel, catImplementors)
 15390  	out := graphql.NewFieldSet(fields)
 15391  	var invalids uint32
 15392  	for i, field := range fields {
 15393  		switch field.Name {
 15394  		case "__typename":
 15395  			out.Values[i] = graphql.MarshalString("Cat")
 15396  		case "species":
 15397  
 15398  			out.Values[i] = ec._Cat_species(ctx, field, obj)
 15399  
 15400  			if out.Values[i] == graphql.Null {
 15401  				invalids++
 15402  			}
 15403  		case "size":
 15404  
 15405  			out.Values[i] = ec._Cat_size(ctx, field, obj)
 15406  
 15407  			if out.Values[i] == graphql.Null {
 15408  				invalids++
 15409  			}
 15410  		case "catBreed":
 15411  
 15412  			out.Values[i] = ec._Cat_catBreed(ctx, field, obj)
 15413  
 15414  			if out.Values[i] == graphql.Null {
 15415  				invalids++
 15416  			}
 15417  		default:
 15418  			panic("unknown field " + strconv.Quote(field.Name))
 15419  		}
 15420  	}
 15421  	out.Dispatch()
 15422  	if invalids > 0 {
 15423  		return graphql.Null
 15424  	}
 15425  	return out
 15426  }
 15427  
 15428  var checkIssue896Implementors = []string{"CheckIssue896"}
 15429  
 15430  func (ec *executionContext) _CheckIssue896(ctx context.Context, sel ast.SelectionSet, obj *CheckIssue896) graphql.Marshaler {
 15431  	fields := graphql.CollectFields(ec.OperationContext, sel, checkIssue896Implementors)
 15432  	out := graphql.NewFieldSet(fields)
 15433  	var invalids uint32
 15434  	for i, field := range fields {
 15435  		switch field.Name {
 15436  		case "__typename":
 15437  			out.Values[i] = graphql.MarshalString("CheckIssue896")
 15438  		case "id":
 15439  
 15440  			out.Values[i] = ec._CheckIssue896_id(ctx, field, obj)
 15441  
 15442  		default:
 15443  			panic("unknown field " + strconv.Quote(field.Name))
 15444  		}
 15445  	}
 15446  	out.Dispatch()
 15447  	if invalids > 0 {
 15448  		return graphql.Null
 15449  	}
 15450  	return out
 15451  }
 15452  
 15453  var circleImplementors = []string{"Circle", "Shape", "ShapeUnion"}
 15454  
 15455  func (ec *executionContext) _Circle(ctx context.Context, sel ast.SelectionSet, obj *Circle) graphql.Marshaler {
 15456  	fields := graphql.CollectFields(ec.OperationContext, sel, circleImplementors)
 15457  	out := graphql.NewFieldSet(fields)
 15458  	var invalids uint32
 15459  	for i, field := range fields {
 15460  		switch field.Name {
 15461  		case "__typename":
 15462  			out.Values[i] = graphql.MarshalString("Circle")
 15463  		case "radius":
 15464  
 15465  			out.Values[i] = ec._Circle_radius(ctx, field, obj)
 15466  
 15467  		case "area":
 15468  
 15469  			out.Values[i] = ec._Circle_area(ctx, field, obj)
 15470  
 15471  		case "coordinates":
 15472  
 15473  			out.Values[i] = ec._Circle_coordinates(ctx, field, obj)
 15474  
 15475  		default:
 15476  			panic("unknown field " + strconv.Quote(field.Name))
 15477  		}
 15478  	}
 15479  	out.Dispatch()
 15480  	if invalids > 0 {
 15481  		return graphql.Null
 15482  	}
 15483  	return out
 15484  }
 15485  
 15486  var concreteNodeAImplementors = []string{"ConcreteNodeA", "Node"}
 15487  
 15488  func (ec *executionContext) _ConcreteNodeA(ctx context.Context, sel ast.SelectionSet, obj *ConcreteNodeA) graphql.Marshaler {
 15489  	fields := graphql.CollectFields(ec.OperationContext, sel, concreteNodeAImplementors)
 15490  	out := graphql.NewFieldSet(fields)
 15491  	var invalids uint32
 15492  	for i, field := range fields {
 15493  		switch field.Name {
 15494  		case "__typename":
 15495  			out.Values[i] = graphql.MarshalString("ConcreteNodeA")
 15496  		case "id":
 15497  
 15498  			out.Values[i] = ec._ConcreteNodeA_id(ctx, field, obj)
 15499  
 15500  			if out.Values[i] == graphql.Null {
 15501  				invalids++
 15502  			}
 15503  		case "child":
 15504  
 15505  			out.Values[i] = ec._ConcreteNodeA_child(ctx, field, obj)
 15506  
 15507  			if out.Values[i] == graphql.Null {
 15508  				invalids++
 15509  			}
 15510  		case "name":
 15511  
 15512  			out.Values[i] = ec._ConcreteNodeA_name(ctx, field, obj)
 15513  
 15514  			if out.Values[i] == graphql.Null {
 15515  				invalids++
 15516  			}
 15517  		default:
 15518  			panic("unknown field " + strconv.Quote(field.Name))
 15519  		}
 15520  	}
 15521  	out.Dispatch()
 15522  	if invalids > 0 {
 15523  		return graphql.Null
 15524  	}
 15525  	return out
 15526  }
 15527  
 15528  var concreteNodeInterfaceImplementors = []string{"ConcreteNodeInterface", "Node"}
 15529  
 15530  func (ec *executionContext) _ConcreteNodeInterface(ctx context.Context, sel ast.SelectionSet, obj ConcreteNodeInterface) graphql.Marshaler {
 15531  	fields := graphql.CollectFields(ec.OperationContext, sel, concreteNodeInterfaceImplementors)
 15532  	out := graphql.NewFieldSet(fields)
 15533  	var invalids uint32
 15534  	for i, field := range fields {
 15535  		switch field.Name {
 15536  		case "__typename":
 15537  			out.Values[i] = graphql.MarshalString("ConcreteNodeInterface")
 15538  		case "id":
 15539  
 15540  			out.Values[i] = ec._ConcreteNodeInterface_id(ctx, field, obj)
 15541  
 15542  			if out.Values[i] == graphql.Null {
 15543  				invalids++
 15544  			}
 15545  		case "child":
 15546  
 15547  			out.Values[i] = ec._ConcreteNodeInterface_child(ctx, field, obj)
 15548  
 15549  			if out.Values[i] == graphql.Null {
 15550  				invalids++
 15551  			}
 15552  		default:
 15553  			panic("unknown field " + strconv.Quote(field.Name))
 15554  		}
 15555  	}
 15556  	out.Dispatch()
 15557  	if invalids > 0 {
 15558  		return graphql.Null
 15559  	}
 15560  	return out
 15561  }
 15562  
 15563  var content_PostImplementors = []string{"Content_Post", "Content_Child"}
 15564  
 15565  func (ec *executionContext) _Content_Post(ctx context.Context, sel ast.SelectionSet, obj *ContentPost) graphql.Marshaler {
 15566  	fields := graphql.CollectFields(ec.OperationContext, sel, content_PostImplementors)
 15567  	out := graphql.NewFieldSet(fields)
 15568  	var invalids uint32
 15569  	for i, field := range fields {
 15570  		switch field.Name {
 15571  		case "__typename":
 15572  			out.Values[i] = graphql.MarshalString("Content_Post")
 15573  		case "foo":
 15574  
 15575  			out.Values[i] = ec._Content_Post_foo(ctx, field, obj)
 15576  
 15577  		default:
 15578  			panic("unknown field " + strconv.Quote(field.Name))
 15579  		}
 15580  	}
 15581  	out.Dispatch()
 15582  	if invalids > 0 {
 15583  		return graphql.Null
 15584  	}
 15585  	return out
 15586  }
 15587  
 15588  var content_UserImplementors = []string{"Content_User", "Content_Child"}
 15589  
 15590  func (ec *executionContext) _Content_User(ctx context.Context, sel ast.SelectionSet, obj *ContentUser) graphql.Marshaler {
 15591  	fields := graphql.CollectFields(ec.OperationContext, sel, content_UserImplementors)
 15592  	out := graphql.NewFieldSet(fields)
 15593  	var invalids uint32
 15594  	for i, field := range fields {
 15595  		switch field.Name {
 15596  		case "__typename":
 15597  			out.Values[i] = graphql.MarshalString("Content_User")
 15598  		case "foo":
 15599  
 15600  			out.Values[i] = ec._Content_User_foo(ctx, field, obj)
 15601  
 15602  		default:
 15603  			panic("unknown field " + strconv.Quote(field.Name))
 15604  		}
 15605  	}
 15606  	out.Dispatch()
 15607  	if invalids > 0 {
 15608  		return graphql.Null
 15609  	}
 15610  	return out
 15611  }
 15612  
 15613  var coordinatesImplementors = []string{"Coordinates"}
 15614  
 15615  func (ec *executionContext) _Coordinates(ctx context.Context, sel ast.SelectionSet, obj *Coordinates) graphql.Marshaler {
 15616  	fields := graphql.CollectFields(ec.OperationContext, sel, coordinatesImplementors)
 15617  	out := graphql.NewFieldSet(fields)
 15618  	var invalids uint32
 15619  	for i, field := range fields {
 15620  		switch field.Name {
 15621  		case "__typename":
 15622  			out.Values[i] = graphql.MarshalString("Coordinates")
 15623  		case "x":
 15624  
 15625  			out.Values[i] = ec._Coordinates_x(ctx, field, obj)
 15626  
 15627  			if out.Values[i] == graphql.Null {
 15628  				invalids++
 15629  			}
 15630  		case "y":
 15631  
 15632  			out.Values[i] = ec._Coordinates_y(ctx, field, obj)
 15633  
 15634  			if out.Values[i] == graphql.Null {
 15635  				invalids++
 15636  			}
 15637  		default:
 15638  			panic("unknown field " + strconv.Quote(field.Name))
 15639  		}
 15640  	}
 15641  	out.Dispatch()
 15642  	if invalids > 0 {
 15643  		return graphql.Null
 15644  	}
 15645  	return out
 15646  }
 15647  
 15648  var defaultParametersMirrorImplementors = []string{"DefaultParametersMirror"}
 15649  
 15650  func (ec *executionContext) _DefaultParametersMirror(ctx context.Context, sel ast.SelectionSet, obj *DefaultParametersMirror) graphql.Marshaler {
 15651  	fields := graphql.CollectFields(ec.OperationContext, sel, defaultParametersMirrorImplementors)
 15652  	out := graphql.NewFieldSet(fields)
 15653  	var invalids uint32
 15654  	for i, field := range fields {
 15655  		switch field.Name {
 15656  		case "__typename":
 15657  			out.Values[i] = graphql.MarshalString("DefaultParametersMirror")
 15658  		case "falsyBoolean":
 15659  
 15660  			out.Values[i] = ec._DefaultParametersMirror_falsyBoolean(ctx, field, obj)
 15661  
 15662  		case "truthyBoolean":
 15663  
 15664  			out.Values[i] = ec._DefaultParametersMirror_truthyBoolean(ctx, field, obj)
 15665  
 15666  		default:
 15667  			panic("unknown field " + strconv.Quote(field.Name))
 15668  		}
 15669  	}
 15670  	out.Dispatch()
 15671  	if invalids > 0 {
 15672  		return graphql.Null
 15673  	}
 15674  	return out
 15675  }
 15676  
 15677  var dogImplementors = []string{"Dog", "Animal"}
 15678  
 15679  func (ec *executionContext) _Dog(ctx context.Context, sel ast.SelectionSet, obj *Dog) graphql.Marshaler {
 15680  	fields := graphql.CollectFields(ec.OperationContext, sel, dogImplementors)
 15681  	out := graphql.NewFieldSet(fields)
 15682  	var invalids uint32
 15683  	for i, field := range fields {
 15684  		switch field.Name {
 15685  		case "__typename":
 15686  			out.Values[i] = graphql.MarshalString("Dog")
 15687  		case "species":
 15688  
 15689  			out.Values[i] = ec._Dog_species(ctx, field, obj)
 15690  
 15691  			if out.Values[i] == graphql.Null {
 15692  				invalids++
 15693  			}
 15694  		case "size":
 15695  
 15696  			out.Values[i] = ec._Dog_size(ctx, field, obj)
 15697  
 15698  			if out.Values[i] == graphql.Null {
 15699  				invalids++
 15700  			}
 15701  		case "dogBreed":
 15702  
 15703  			out.Values[i] = ec._Dog_dogBreed(ctx, field, obj)
 15704  
 15705  			if out.Values[i] == graphql.Null {
 15706  				invalids++
 15707  			}
 15708  		default:
 15709  			panic("unknown field " + strconv.Quote(field.Name))
 15710  		}
 15711  	}
 15712  	out.Dispatch()
 15713  	if invalids > 0 {
 15714  		return graphql.Null
 15715  	}
 15716  	return out
 15717  }
 15718  
 15719  var embeddedCase1Implementors = []string{"EmbeddedCase1"}
 15720  
 15721  func (ec *executionContext) _EmbeddedCase1(ctx context.Context, sel ast.SelectionSet, obj *EmbeddedCase1) graphql.Marshaler {
 15722  	fields := graphql.CollectFields(ec.OperationContext, sel, embeddedCase1Implementors)
 15723  	out := graphql.NewFieldSet(fields)
 15724  	var invalids uint32
 15725  	for i, field := range fields {
 15726  		switch field.Name {
 15727  		case "__typename":
 15728  			out.Values[i] = graphql.MarshalString("EmbeddedCase1")
 15729  		case "exportedEmbeddedPointerExportedMethod":
 15730  
 15731  			out.Values[i] = ec._EmbeddedCase1_exportedEmbeddedPointerExportedMethod(ctx, field, obj)
 15732  
 15733  			if out.Values[i] == graphql.Null {
 15734  				invalids++
 15735  			}
 15736  		default:
 15737  			panic("unknown field " + strconv.Quote(field.Name))
 15738  		}
 15739  	}
 15740  	out.Dispatch()
 15741  	if invalids > 0 {
 15742  		return graphql.Null
 15743  	}
 15744  	return out
 15745  }
 15746  
 15747  var embeddedCase2Implementors = []string{"EmbeddedCase2"}
 15748  
 15749  func (ec *executionContext) _EmbeddedCase2(ctx context.Context, sel ast.SelectionSet, obj *EmbeddedCase2) graphql.Marshaler {
 15750  	fields := graphql.CollectFields(ec.OperationContext, sel, embeddedCase2Implementors)
 15751  	out := graphql.NewFieldSet(fields)
 15752  	var invalids uint32
 15753  	for i, field := range fields {
 15754  		switch field.Name {
 15755  		case "__typename":
 15756  			out.Values[i] = graphql.MarshalString("EmbeddedCase2")
 15757  		case "unexportedEmbeddedPointerExportedMethod":
 15758  
 15759  			out.Values[i] = ec._EmbeddedCase2_unexportedEmbeddedPointerExportedMethod(ctx, field, obj)
 15760  
 15761  			if out.Values[i] == graphql.Null {
 15762  				invalids++
 15763  			}
 15764  		default:
 15765  			panic("unknown field " + strconv.Quote(field.Name))
 15766  		}
 15767  	}
 15768  	out.Dispatch()
 15769  	if invalids > 0 {
 15770  		return graphql.Null
 15771  	}
 15772  	return out
 15773  }
 15774  
 15775  var embeddedCase3Implementors = []string{"EmbeddedCase3"}
 15776  
 15777  func (ec *executionContext) _EmbeddedCase3(ctx context.Context, sel ast.SelectionSet, obj *EmbeddedCase3) graphql.Marshaler {
 15778  	fields := graphql.CollectFields(ec.OperationContext, sel, embeddedCase3Implementors)
 15779  	out := graphql.NewFieldSet(fields)
 15780  	var invalids uint32
 15781  	for i, field := range fields {
 15782  		switch field.Name {
 15783  		case "__typename":
 15784  			out.Values[i] = graphql.MarshalString("EmbeddedCase3")
 15785  		case "unexportedEmbeddedInterfaceExportedMethod":
 15786  
 15787  			out.Values[i] = ec._EmbeddedCase3_unexportedEmbeddedInterfaceExportedMethod(ctx, field, obj)
 15788  
 15789  			if out.Values[i] == graphql.Null {
 15790  				invalids++
 15791  			}
 15792  		default:
 15793  			panic("unknown field " + strconv.Quote(field.Name))
 15794  		}
 15795  	}
 15796  	out.Dispatch()
 15797  	if invalids > 0 {
 15798  		return graphql.Null
 15799  	}
 15800  	return out
 15801  }
 15802  
 15803  var embeddedDefaultScalarImplementors = []string{"EmbeddedDefaultScalar"}
 15804  
 15805  func (ec *executionContext) _EmbeddedDefaultScalar(ctx context.Context, sel ast.SelectionSet, obj *EmbeddedDefaultScalar) graphql.Marshaler {
 15806  	fields := graphql.CollectFields(ec.OperationContext, sel, embeddedDefaultScalarImplementors)
 15807  	out := graphql.NewFieldSet(fields)
 15808  	var invalids uint32
 15809  	for i, field := range fields {
 15810  		switch field.Name {
 15811  		case "__typename":
 15812  			out.Values[i] = graphql.MarshalString("EmbeddedDefaultScalar")
 15813  		case "value":
 15814  
 15815  			out.Values[i] = ec._EmbeddedDefaultScalar_value(ctx, field, obj)
 15816  
 15817  		default:
 15818  			panic("unknown field " + strconv.Quote(field.Name))
 15819  		}
 15820  	}
 15821  	out.Dispatch()
 15822  	if invalids > 0 {
 15823  		return graphql.Null
 15824  	}
 15825  	return out
 15826  }
 15827  
 15828  var embeddedPointerImplementors = []string{"EmbeddedPointer"}
 15829  
 15830  func (ec *executionContext) _EmbeddedPointer(ctx context.Context, sel ast.SelectionSet, obj *EmbeddedPointerModel) graphql.Marshaler {
 15831  	fields := graphql.CollectFields(ec.OperationContext, sel, embeddedPointerImplementors)
 15832  	out := graphql.NewFieldSet(fields)
 15833  	var invalids uint32
 15834  	for i, field := range fields {
 15835  		switch field.Name {
 15836  		case "__typename":
 15837  			out.Values[i] = graphql.MarshalString("EmbeddedPointer")
 15838  		case "ID":
 15839  
 15840  			out.Values[i] = ec._EmbeddedPointer_ID(ctx, field, obj)
 15841  
 15842  		case "Title":
 15843  
 15844  			out.Values[i] = ec._EmbeddedPointer_Title(ctx, field, obj)
 15845  
 15846  		default:
 15847  			panic("unknown field " + strconv.Quote(field.Name))
 15848  		}
 15849  	}
 15850  	out.Dispatch()
 15851  	if invalids > 0 {
 15852  		return graphql.Null
 15853  	}
 15854  	return out
 15855  }
 15856  
 15857  var errorImplementors = []string{"Error"}
 15858  
 15859  func (ec *executionContext) _Error(ctx context.Context, sel ast.SelectionSet, obj *Error) graphql.Marshaler {
 15860  	fields := graphql.CollectFields(ec.OperationContext, sel, errorImplementors)
 15861  	out := graphql.NewFieldSet(fields)
 15862  	var invalids uint32
 15863  	for i, field := range fields {
 15864  		switch field.Name {
 15865  		case "__typename":
 15866  			out.Values[i] = graphql.MarshalString("Error")
 15867  		case "id":
 15868  
 15869  			out.Values[i] = ec._Error_id(ctx, field, obj)
 15870  
 15871  			if out.Values[i] == graphql.Null {
 15872  				invalids++
 15873  			}
 15874  		case "errorOnNonRequiredField":
 15875  
 15876  			out.Values[i] = ec._Error_errorOnNonRequiredField(ctx, field, obj)
 15877  
 15878  		case "errorOnRequiredField":
 15879  
 15880  			out.Values[i] = ec._Error_errorOnRequiredField(ctx, field, obj)
 15881  
 15882  			if out.Values[i] == graphql.Null {
 15883  				invalids++
 15884  			}
 15885  		case "nilOnRequiredField":
 15886  
 15887  			out.Values[i] = ec._Error_nilOnRequiredField(ctx, field, obj)
 15888  
 15889  			if out.Values[i] == graphql.Null {
 15890  				invalids++
 15891  			}
 15892  		default:
 15893  			panic("unknown field " + strconv.Quote(field.Name))
 15894  		}
 15895  	}
 15896  	out.Dispatch()
 15897  	if invalids > 0 {
 15898  		return graphql.Null
 15899  	}
 15900  	return out
 15901  }
 15902  
 15903  var errorsImplementors = []string{"Errors"}
 15904  
 15905  func (ec *executionContext) _Errors(ctx context.Context, sel ast.SelectionSet, obj *Errors) graphql.Marshaler {
 15906  	fields := graphql.CollectFields(ec.OperationContext, sel, errorsImplementors)
 15907  	out := graphql.NewFieldSet(fields)
 15908  	var invalids uint32
 15909  	for i, field := range fields {
 15910  		switch field.Name {
 15911  		case "__typename":
 15912  			out.Values[i] = graphql.MarshalString("Errors")
 15913  		case "a":
 15914  			field := field
 15915  
 15916  			innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
 15917  				defer func() {
 15918  					if r := recover(); r != nil {
 15919  						ec.Error(ctx, ec.Recover(ctx, r))
 15920  					}
 15921  				}()
 15922  				res = ec._Errors_a(ctx, field, obj)
 15923  				if res == graphql.Null {
 15924  					atomic.AddUint32(&invalids, 1)
 15925  				}
 15926  				return res
 15927  			}
 15928  
 15929  			out.Concurrently(i, func() graphql.Marshaler {
 15930  				return innerFunc(ctx)
 15931  
 15932  			})
 15933  		case "b":
 15934  			field := field
 15935  
 15936  			innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
 15937  				defer func() {
 15938  					if r := recover(); r != nil {
 15939  						ec.Error(ctx, ec.Recover(ctx, r))
 15940  					}
 15941  				}()
 15942  				res = ec._Errors_b(ctx, field, obj)
 15943  				if res == graphql.Null {
 15944  					atomic.AddUint32(&invalids, 1)
 15945  				}
 15946  				return res
 15947  			}
 15948  
 15949  			out.Concurrently(i, func() graphql.Marshaler {
 15950  				return innerFunc(ctx)
 15951  
 15952  			})
 15953  		case "c":
 15954  			field := field
 15955  
 15956  			innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
 15957  				defer func() {
 15958  					if r := recover(); r != nil {
 15959  						ec.Error(ctx, ec.Recover(ctx, r))
 15960  					}
 15961  				}()
 15962  				res = ec._Errors_c(ctx, field, obj)
 15963  				if res == graphql.Null {
 15964  					atomic.AddUint32(&invalids, 1)
 15965  				}
 15966  				return res
 15967  			}
 15968  
 15969  			out.Concurrently(i, func() graphql.Marshaler {
 15970  				return innerFunc(ctx)
 15971  
 15972  			})
 15973  		case "d":
 15974  			field := field
 15975  
 15976  			innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
 15977  				defer func() {
 15978  					if r := recover(); r != nil {
 15979  						ec.Error(ctx, ec.Recover(ctx, r))
 15980  					}
 15981  				}()
 15982  				res = ec._Errors_d(ctx, field, obj)
 15983  				if res == graphql.Null {
 15984  					atomic.AddUint32(&invalids, 1)
 15985  				}
 15986  				return res
 15987  			}
 15988  
 15989  			out.Concurrently(i, func() graphql.Marshaler {
 15990  				return innerFunc(ctx)
 15991  
 15992  			})
 15993  		case "e":
 15994  			field := field
 15995  
 15996  			innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
 15997  				defer func() {
 15998  					if r := recover(); r != nil {
 15999  						ec.Error(ctx, ec.Recover(ctx, r))
 16000  					}
 16001  				}()
 16002  				res = ec._Errors_e(ctx, field, obj)
 16003  				if res == graphql.Null {
 16004  					atomic.AddUint32(&invalids, 1)
 16005  				}
 16006  				return res
 16007  			}
 16008  
 16009  			out.Concurrently(i, func() graphql.Marshaler {
 16010  				return innerFunc(ctx)
 16011  
 16012  			})
 16013  		default:
 16014  			panic("unknown field " + strconv.Quote(field.Name))
 16015  		}
 16016  	}
 16017  	out.Dispatch()
 16018  	if invalids > 0 {
 16019  		return graphql.Null
 16020  	}
 16021  	return out
 16022  }
 16023  
 16024  var fieldsOrderPayloadImplementors = []string{"FieldsOrderPayload"}
 16025  
 16026  func (ec *executionContext) _FieldsOrderPayload(ctx context.Context, sel ast.SelectionSet, obj *FieldsOrderPayload) graphql.Marshaler {
 16027  	fields := graphql.CollectFields(ec.OperationContext, sel, fieldsOrderPayloadImplementors)
 16028  	out := graphql.NewFieldSet(fields)
 16029  	var invalids uint32
 16030  	for i, field := range fields {
 16031  		switch field.Name {
 16032  		case "__typename":
 16033  			out.Values[i] = graphql.MarshalString("FieldsOrderPayload")
 16034  		case "firstFieldValue":
 16035  
 16036  			out.Values[i] = ec._FieldsOrderPayload_firstFieldValue(ctx, field, obj)
 16037  
 16038  		default:
 16039  			panic("unknown field " + strconv.Quote(field.Name))
 16040  		}
 16041  	}
 16042  	out.Dispatch()
 16043  	if invalids > 0 {
 16044  		return graphql.Null
 16045  	}
 16046  	return out
 16047  }
 16048  
 16049  var forcedResolverImplementors = []string{"ForcedResolver"}
 16050  
 16051  func (ec *executionContext) _ForcedResolver(ctx context.Context, sel ast.SelectionSet, obj *ForcedResolver) graphql.Marshaler {
 16052  	fields := graphql.CollectFields(ec.OperationContext, sel, forcedResolverImplementors)
 16053  	out := graphql.NewFieldSet(fields)
 16054  	var invalids uint32
 16055  	for i, field := range fields {
 16056  		switch field.Name {
 16057  		case "__typename":
 16058  			out.Values[i] = graphql.MarshalString("ForcedResolver")
 16059  		case "field":
 16060  			field := field
 16061  
 16062  			innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
 16063  				defer func() {
 16064  					if r := recover(); r != nil {
 16065  						ec.Error(ctx, ec.Recover(ctx, r))
 16066  					}
 16067  				}()
 16068  				res = ec._ForcedResolver_field(ctx, field, obj)
 16069  				return res
 16070  			}
 16071  
 16072  			out.Concurrently(i, func() graphql.Marshaler {
 16073  				return innerFunc(ctx)
 16074  
 16075  			})
 16076  		default:
 16077  			panic("unknown field " + strconv.Quote(field.Name))
 16078  		}
 16079  	}
 16080  	out.Dispatch()
 16081  	if invalids > 0 {
 16082  		return graphql.Null
 16083  	}
 16084  	return out
 16085  }
 16086  
 16087  var innerObjectImplementors = []string{"InnerObject"}
 16088  
 16089  func (ec *executionContext) _InnerObject(ctx context.Context, sel ast.SelectionSet, obj *InnerObject) graphql.Marshaler {
 16090  	fields := graphql.CollectFields(ec.OperationContext, sel, innerObjectImplementors)
 16091  	out := graphql.NewFieldSet(fields)
 16092  	var invalids uint32
 16093  	for i, field := range fields {
 16094  		switch field.Name {
 16095  		case "__typename":
 16096  			out.Values[i] = graphql.MarshalString("InnerObject")
 16097  		case "id":
 16098  
 16099  			out.Values[i] = ec._InnerObject_id(ctx, field, obj)
 16100  
 16101  			if out.Values[i] == graphql.Null {
 16102  				invalids++
 16103  			}
 16104  		default:
 16105  			panic("unknown field " + strconv.Quote(field.Name))
 16106  		}
 16107  	}
 16108  	out.Dispatch()
 16109  	if invalids > 0 {
 16110  		return graphql.Null
 16111  	}
 16112  	return out
 16113  }
 16114  
 16115  var invalidIdentifierImplementors = []string{"InvalidIdentifier"}
 16116  
 16117  func (ec *executionContext) _InvalidIdentifier(ctx context.Context, sel ast.SelectionSet, obj *invalid_packagename.InvalidIdentifier) graphql.Marshaler {
 16118  	fields := graphql.CollectFields(ec.OperationContext, sel, invalidIdentifierImplementors)
 16119  	out := graphql.NewFieldSet(fields)
 16120  	var invalids uint32
 16121  	for i, field := range fields {
 16122  		switch field.Name {
 16123  		case "__typename":
 16124  			out.Values[i] = graphql.MarshalString("InvalidIdentifier")
 16125  		case "id":
 16126  
 16127  			out.Values[i] = ec._InvalidIdentifier_id(ctx, field, obj)
 16128  
 16129  			if out.Values[i] == graphql.Null {
 16130  				invalids++
 16131  			}
 16132  		default:
 16133  			panic("unknown field " + strconv.Quote(field.Name))
 16134  		}
 16135  	}
 16136  	out.Dispatch()
 16137  	if invalids > 0 {
 16138  		return graphql.Null
 16139  	}
 16140  	return out
 16141  }
 16142  
 16143  var itImplementors = []string{"It"}
 16144  
 16145  func (ec *executionContext) _It(ctx context.Context, sel ast.SelectionSet, obj *introspection1.It) graphql.Marshaler {
 16146  	fields := graphql.CollectFields(ec.OperationContext, sel, itImplementors)
 16147  	out := graphql.NewFieldSet(fields)
 16148  	var invalids uint32
 16149  	for i, field := range fields {
 16150  		switch field.Name {
 16151  		case "__typename":
 16152  			out.Values[i] = graphql.MarshalString("It")
 16153  		case "id":
 16154  
 16155  			out.Values[i] = ec._It_id(ctx, field, obj)
 16156  
 16157  			if out.Values[i] == graphql.Null {
 16158  				invalids++
 16159  			}
 16160  		default:
 16161  			panic("unknown field " + strconv.Quote(field.Name))
 16162  		}
 16163  	}
 16164  	out.Dispatch()
 16165  	if invalids > 0 {
 16166  		return graphql.Null
 16167  	}
 16168  	return out
 16169  }
 16170  
 16171  var loopAImplementors = []string{"LoopA"}
 16172  
 16173  func (ec *executionContext) _LoopA(ctx context.Context, sel ast.SelectionSet, obj *LoopA) graphql.Marshaler {
 16174  	fields := graphql.CollectFields(ec.OperationContext, sel, loopAImplementors)
 16175  	out := graphql.NewFieldSet(fields)
 16176  	var invalids uint32
 16177  	for i, field := range fields {
 16178  		switch field.Name {
 16179  		case "__typename":
 16180  			out.Values[i] = graphql.MarshalString("LoopA")
 16181  		case "b":
 16182  
 16183  			out.Values[i] = ec._LoopA_b(ctx, field, obj)
 16184  
 16185  			if out.Values[i] == graphql.Null {
 16186  				invalids++
 16187  			}
 16188  		default:
 16189  			panic("unknown field " + strconv.Quote(field.Name))
 16190  		}
 16191  	}
 16192  	out.Dispatch()
 16193  	if invalids > 0 {
 16194  		return graphql.Null
 16195  	}
 16196  	return out
 16197  }
 16198  
 16199  var loopBImplementors = []string{"LoopB"}
 16200  
 16201  func (ec *executionContext) _LoopB(ctx context.Context, sel ast.SelectionSet, obj *LoopB) graphql.Marshaler {
 16202  	fields := graphql.CollectFields(ec.OperationContext, sel, loopBImplementors)
 16203  	out := graphql.NewFieldSet(fields)
 16204  	var invalids uint32
 16205  	for i, field := range fields {
 16206  		switch field.Name {
 16207  		case "__typename":
 16208  			out.Values[i] = graphql.MarshalString("LoopB")
 16209  		case "a":
 16210  
 16211  			out.Values[i] = ec._LoopB_a(ctx, field, obj)
 16212  
 16213  			if out.Values[i] == graphql.Null {
 16214  				invalids++
 16215  			}
 16216  		default:
 16217  			panic("unknown field " + strconv.Quote(field.Name))
 16218  		}
 16219  	}
 16220  	out.Dispatch()
 16221  	if invalids > 0 {
 16222  		return graphql.Null
 16223  	}
 16224  	return out
 16225  }
 16226  
 16227  var mapImplementors = []string{"Map"}
 16228  
 16229  func (ec *executionContext) _Map(ctx context.Context, sel ast.SelectionSet, obj *Map) graphql.Marshaler {
 16230  	fields := graphql.CollectFields(ec.OperationContext, sel, mapImplementors)
 16231  	out := graphql.NewFieldSet(fields)
 16232  	var invalids uint32
 16233  	for i, field := range fields {
 16234  		switch field.Name {
 16235  		case "__typename":
 16236  			out.Values[i] = graphql.MarshalString("Map")
 16237  		case "id":
 16238  
 16239  			out.Values[i] = ec._Map_id(ctx, field, obj)
 16240  
 16241  			if out.Values[i] == graphql.Null {
 16242  				invalids++
 16243  			}
 16244  		default:
 16245  			panic("unknown field " + strconv.Quote(field.Name))
 16246  		}
 16247  	}
 16248  	out.Dispatch()
 16249  	if invalids > 0 {
 16250  		return graphql.Null
 16251  	}
 16252  	return out
 16253  }
 16254  
 16255  var mapStringInterfaceTypeImplementors = []string{"MapStringInterfaceType"}
 16256  
 16257  func (ec *executionContext) _MapStringInterfaceType(ctx context.Context, sel ast.SelectionSet, obj map[string]interface{}) graphql.Marshaler {
 16258  	fields := graphql.CollectFields(ec.OperationContext, sel, mapStringInterfaceTypeImplementors)
 16259  	out := graphql.NewFieldSet(fields)
 16260  	var invalids uint32
 16261  	for i, field := range fields {
 16262  		switch field.Name {
 16263  		case "__typename":
 16264  			out.Values[i] = graphql.MarshalString("MapStringInterfaceType")
 16265  		case "a":
 16266  
 16267  			out.Values[i] = ec._MapStringInterfaceType_a(ctx, field, obj)
 16268  
 16269  		case "b":
 16270  
 16271  			out.Values[i] = ec._MapStringInterfaceType_b(ctx, field, obj)
 16272  
 16273  		default:
 16274  			panic("unknown field " + strconv.Quote(field.Name))
 16275  		}
 16276  	}
 16277  	out.Dispatch()
 16278  	if invalids > 0 {
 16279  		return graphql.Null
 16280  	}
 16281  	return out
 16282  }
 16283  
 16284  var modelMethodsImplementors = []string{"ModelMethods"}
 16285  
 16286  func (ec *executionContext) _ModelMethods(ctx context.Context, sel ast.SelectionSet, obj *ModelMethods) graphql.Marshaler {
 16287  	fields := graphql.CollectFields(ec.OperationContext, sel, modelMethodsImplementors)
 16288  	out := graphql.NewFieldSet(fields)
 16289  	var invalids uint32
 16290  	for i, field := range fields {
 16291  		switch field.Name {
 16292  		case "__typename":
 16293  			out.Values[i] = graphql.MarshalString("ModelMethods")
 16294  		case "resolverField":
 16295  			field := field
 16296  
 16297  			innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
 16298  				defer func() {
 16299  					if r := recover(); r != nil {
 16300  						ec.Error(ctx, ec.Recover(ctx, r))
 16301  					}
 16302  				}()
 16303  				res = ec._ModelMethods_resolverField(ctx, field, obj)
 16304  				if res == graphql.Null {
 16305  					atomic.AddUint32(&invalids, 1)
 16306  				}
 16307  				return res
 16308  			}
 16309  
 16310  			out.Concurrently(i, func() graphql.Marshaler {
 16311  				return innerFunc(ctx)
 16312  
 16313  			})
 16314  		case "noContext":
 16315  
 16316  			out.Values[i] = ec._ModelMethods_noContext(ctx, field, obj)
 16317  
 16318  			if out.Values[i] == graphql.Null {
 16319  				atomic.AddUint32(&invalids, 1)
 16320  			}
 16321  		case "withContext":
 16322  			field := field
 16323  
 16324  			innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
 16325  				defer func() {
 16326  					if r := recover(); r != nil {
 16327  						ec.Error(ctx, ec.Recover(ctx, r))
 16328  					}
 16329  				}()
 16330  				res = ec._ModelMethods_withContext(ctx, field, obj)
 16331  				if res == graphql.Null {
 16332  					atomic.AddUint32(&invalids, 1)
 16333  				}
 16334  				return res
 16335  			}
 16336  
 16337  			out.Concurrently(i, func() graphql.Marshaler {
 16338  				return innerFunc(ctx)
 16339  
 16340  			})
 16341  		default:
 16342  			panic("unknown field " + strconv.Quote(field.Name))
 16343  		}
 16344  	}
 16345  	out.Dispatch()
 16346  	if invalids > 0 {
 16347  		return graphql.Null
 16348  	}
 16349  	return out
 16350  }
 16351  
 16352  var mutationImplementors = []string{"Mutation"}
 16353  
 16354  func (ec *executionContext) _Mutation(ctx context.Context, sel ast.SelectionSet) graphql.Marshaler {
 16355  	fields := graphql.CollectFields(ec.OperationContext, sel, mutationImplementors)
 16356  	ctx = graphql.WithFieldContext(ctx, &graphql.FieldContext{
 16357  		Object: "Mutation",
 16358  	})
 16359  
 16360  	out := graphql.NewFieldSet(fields)
 16361  	var invalids uint32
 16362  	for i, field := range fields {
 16363  		innerCtx := graphql.WithRootFieldContext(ctx, &graphql.RootFieldContext{
 16364  			Object: field.Name,
 16365  			Field:  field,
 16366  		})
 16367  
 16368  		switch field.Name {
 16369  		case "__typename":
 16370  			out.Values[i] = graphql.MarshalString("Mutation")
 16371  		case "defaultInput":
 16372  
 16373  			out.Values[i] = ec.OperationContext.RootResolverMiddleware(innerCtx, func(ctx context.Context) (res graphql.Marshaler) {
 16374  				return ec._Mutation_defaultInput(ctx, field)
 16375  			})
 16376  
 16377  			if out.Values[i] == graphql.Null {
 16378  				invalids++
 16379  			}
 16380  		case "overrideValueViaInput":
 16381  
 16382  			out.Values[i] = ec.OperationContext.RootResolverMiddleware(innerCtx, func(ctx context.Context) (res graphql.Marshaler) {
 16383  				return ec._Mutation_overrideValueViaInput(ctx, field)
 16384  			})
 16385  
 16386  			if out.Values[i] == graphql.Null {
 16387  				invalids++
 16388  			}
 16389  		case "updateSomething":
 16390  
 16391  			out.Values[i] = ec.OperationContext.RootResolverMiddleware(innerCtx, func(ctx context.Context) (res graphql.Marshaler) {
 16392  				return ec._Mutation_updateSomething(ctx, field)
 16393  			})
 16394  
 16395  			if out.Values[i] == graphql.Null {
 16396  				invalids++
 16397  			}
 16398  		case "updatePtrToPtr":
 16399  
 16400  			out.Values[i] = ec.OperationContext.RootResolverMiddleware(innerCtx, func(ctx context.Context) (res graphql.Marshaler) {
 16401  				return ec._Mutation_updatePtrToPtr(ctx, field)
 16402  			})
 16403  
 16404  			if out.Values[i] == graphql.Null {
 16405  				invalids++
 16406  			}
 16407  		default:
 16408  			panic("unknown field " + strconv.Quote(field.Name))
 16409  		}
 16410  	}
 16411  	out.Dispatch()
 16412  	if invalids > 0 {
 16413  		return graphql.Null
 16414  	}
 16415  	return out
 16416  }
 16417  
 16418  var objectDirectivesImplementors = []string{"ObjectDirectives"}
 16419  
 16420  func (ec *executionContext) _ObjectDirectives(ctx context.Context, sel ast.SelectionSet, obj *ObjectDirectives) graphql.Marshaler {
 16421  	fields := graphql.CollectFields(ec.OperationContext, sel, objectDirectivesImplementors)
 16422  	out := graphql.NewFieldSet(fields)
 16423  	var invalids uint32
 16424  	for i, field := range fields {
 16425  		switch field.Name {
 16426  		case "__typename":
 16427  			out.Values[i] = graphql.MarshalString("ObjectDirectives")
 16428  		case "text":
 16429  
 16430  			out.Values[i] = ec._ObjectDirectives_text(ctx, field, obj)
 16431  
 16432  			if out.Values[i] == graphql.Null {
 16433  				invalids++
 16434  			}
 16435  		case "nullableText":
 16436  
 16437  			out.Values[i] = ec._ObjectDirectives_nullableText(ctx, field, obj)
 16438  
 16439  		case "order":
 16440  
 16441  			out.Values[i] = ec._ObjectDirectives_order(ctx, field, obj)
 16442  
 16443  			if out.Values[i] == graphql.Null {
 16444  				invalids++
 16445  			}
 16446  		default:
 16447  			panic("unknown field " + strconv.Quote(field.Name))
 16448  		}
 16449  	}
 16450  	out.Dispatch()
 16451  	if invalids > 0 {
 16452  		return graphql.Null
 16453  	}
 16454  	return out
 16455  }
 16456  
 16457  var objectDirectivesWithCustomGoModelImplementors = []string{"ObjectDirectivesWithCustomGoModel"}
 16458  
 16459  func (ec *executionContext) _ObjectDirectivesWithCustomGoModel(ctx context.Context, sel ast.SelectionSet, obj *ObjectDirectivesWithCustomGoModel) graphql.Marshaler {
 16460  	fields := graphql.CollectFields(ec.OperationContext, sel, objectDirectivesWithCustomGoModelImplementors)
 16461  	out := graphql.NewFieldSet(fields)
 16462  	var invalids uint32
 16463  	for i, field := range fields {
 16464  		switch field.Name {
 16465  		case "__typename":
 16466  			out.Values[i] = graphql.MarshalString("ObjectDirectivesWithCustomGoModel")
 16467  		case "nullableText":
 16468  
 16469  			out.Values[i] = ec._ObjectDirectivesWithCustomGoModel_nullableText(ctx, field, obj)
 16470  
 16471  		default:
 16472  			panic("unknown field " + strconv.Quote(field.Name))
 16473  		}
 16474  	}
 16475  	out.Dispatch()
 16476  	if invalids > 0 {
 16477  		return graphql.Null
 16478  	}
 16479  	return out
 16480  }
 16481  
 16482  var outerObjectImplementors = []string{"OuterObject"}
 16483  
 16484  func (ec *executionContext) _OuterObject(ctx context.Context, sel ast.SelectionSet, obj *OuterObject) graphql.Marshaler {
 16485  	fields := graphql.CollectFields(ec.OperationContext, sel, outerObjectImplementors)
 16486  	out := graphql.NewFieldSet(fields)
 16487  	var invalids uint32
 16488  	for i, field := range fields {
 16489  		switch field.Name {
 16490  		case "__typename":
 16491  			out.Values[i] = graphql.MarshalString("OuterObject")
 16492  		case "inner":
 16493  
 16494  			out.Values[i] = ec._OuterObject_inner(ctx, field, obj)
 16495  
 16496  			if out.Values[i] == graphql.Null {
 16497  				invalids++
 16498  			}
 16499  		default:
 16500  			panic("unknown field " + strconv.Quote(field.Name))
 16501  		}
 16502  	}
 16503  	out.Dispatch()
 16504  	if invalids > 0 {
 16505  		return graphql.Null
 16506  	}
 16507  	return out
 16508  }
 16509  
 16510  var overlappingFieldsImplementors = []string{"OverlappingFields"}
 16511  
 16512  func (ec *executionContext) _OverlappingFields(ctx context.Context, sel ast.SelectionSet, obj *OverlappingFields) graphql.Marshaler {
 16513  	fields := graphql.CollectFields(ec.OperationContext, sel, overlappingFieldsImplementors)
 16514  	out := graphql.NewFieldSet(fields)
 16515  	var invalids uint32
 16516  	for i, field := range fields {
 16517  		switch field.Name {
 16518  		case "__typename":
 16519  			out.Values[i] = graphql.MarshalString("OverlappingFields")
 16520  		case "oneFoo":
 16521  
 16522  			out.Values[i] = ec._OverlappingFields_oneFoo(ctx, field, obj)
 16523  
 16524  			if out.Values[i] == graphql.Null {
 16525  				atomic.AddUint32(&invalids, 1)
 16526  			}
 16527  		case "twoFoo":
 16528  
 16529  			out.Values[i] = ec._OverlappingFields_twoFoo(ctx, field, obj)
 16530  
 16531  			if out.Values[i] == graphql.Null {
 16532  				atomic.AddUint32(&invalids, 1)
 16533  			}
 16534  		case "oldFoo":
 16535  			field := field
 16536  
 16537  			innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
 16538  				defer func() {
 16539  					if r := recover(); r != nil {
 16540  						ec.Error(ctx, ec.Recover(ctx, r))
 16541  					}
 16542  				}()
 16543  				res = ec._OverlappingFields_oldFoo(ctx, field, obj)
 16544  				if res == graphql.Null {
 16545  					atomic.AddUint32(&invalids, 1)
 16546  				}
 16547  				return res
 16548  			}
 16549  
 16550  			out.Concurrently(i, func() graphql.Marshaler {
 16551  				return innerFunc(ctx)
 16552  
 16553  			})
 16554  		case "newFoo":
 16555  
 16556  			out.Values[i] = ec._OverlappingFields_newFoo(ctx, field, obj)
 16557  
 16558  			if out.Values[i] == graphql.Null {
 16559  				atomic.AddUint32(&invalids, 1)
 16560  			}
 16561  		case "new_foo":
 16562  
 16563  			out.Values[i] = ec._OverlappingFields_new_foo(ctx, field, obj)
 16564  
 16565  			if out.Values[i] == graphql.Null {
 16566  				atomic.AddUint32(&invalids, 1)
 16567  			}
 16568  		default:
 16569  			panic("unknown field " + strconv.Quote(field.Name))
 16570  		}
 16571  	}
 16572  	out.Dispatch()
 16573  	if invalids > 0 {
 16574  		return graphql.Null
 16575  	}
 16576  	return out
 16577  }
 16578  
 16579  var panicsImplementors = []string{"Panics"}
 16580  
 16581  func (ec *executionContext) _Panics(ctx context.Context, sel ast.SelectionSet, obj *Panics) graphql.Marshaler {
 16582  	fields := graphql.CollectFields(ec.OperationContext, sel, panicsImplementors)
 16583  	out := graphql.NewFieldSet(fields)
 16584  	var invalids uint32
 16585  	for i, field := range fields {
 16586  		switch field.Name {
 16587  		case "__typename":
 16588  			out.Values[i] = graphql.MarshalString("Panics")
 16589  		case "fieldScalarMarshal":
 16590  			field := field
 16591  
 16592  			innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
 16593  				defer func() {
 16594  					if r := recover(); r != nil {
 16595  						ec.Error(ctx, ec.Recover(ctx, r))
 16596  					}
 16597  				}()
 16598  				res = ec._Panics_fieldScalarMarshal(ctx, field, obj)
 16599  				if res == graphql.Null {
 16600  					atomic.AddUint32(&invalids, 1)
 16601  				}
 16602  				return res
 16603  			}
 16604  
 16605  			out.Concurrently(i, func() graphql.Marshaler {
 16606  				return innerFunc(ctx)
 16607  
 16608  			})
 16609  		case "fieldFuncMarshal":
 16610  			field := field
 16611  
 16612  			innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
 16613  				defer func() {
 16614  					if r := recover(); r != nil {
 16615  						ec.Error(ctx, ec.Recover(ctx, r))
 16616  					}
 16617  				}()
 16618  				res = ec._Panics_fieldFuncMarshal(ctx, field, obj)
 16619  				if res == graphql.Null {
 16620  					atomic.AddUint32(&invalids, 1)
 16621  				}
 16622  				return res
 16623  			}
 16624  
 16625  			out.Concurrently(i, func() graphql.Marshaler {
 16626  				return innerFunc(ctx)
 16627  
 16628  			})
 16629  		case "argUnmarshal":
 16630  			field := field
 16631  
 16632  			innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
 16633  				defer func() {
 16634  					if r := recover(); r != nil {
 16635  						ec.Error(ctx, ec.Recover(ctx, r))
 16636  					}
 16637  				}()
 16638  				res = ec._Panics_argUnmarshal(ctx, field, obj)
 16639  				if res == graphql.Null {
 16640  					atomic.AddUint32(&invalids, 1)
 16641  				}
 16642  				return res
 16643  			}
 16644  
 16645  			out.Concurrently(i, func() graphql.Marshaler {
 16646  				return innerFunc(ctx)
 16647  
 16648  			})
 16649  		default:
 16650  			panic("unknown field " + strconv.Quote(field.Name))
 16651  		}
 16652  	}
 16653  	out.Dispatch()
 16654  	if invalids > 0 {
 16655  		return graphql.Null
 16656  	}
 16657  	return out
 16658  }
 16659  
 16660  var petImplementors = []string{"Pet"}
 16661  
 16662  func (ec *executionContext) _Pet(ctx context.Context, sel ast.SelectionSet, obj *Pet) graphql.Marshaler {
 16663  	fields := graphql.CollectFields(ec.OperationContext, sel, petImplementors)
 16664  	out := graphql.NewFieldSet(fields)
 16665  	var invalids uint32
 16666  	for i, field := range fields {
 16667  		switch field.Name {
 16668  		case "__typename":
 16669  			out.Values[i] = graphql.MarshalString("Pet")
 16670  		case "id":
 16671  
 16672  			out.Values[i] = ec._Pet_id(ctx, field, obj)
 16673  
 16674  			if out.Values[i] == graphql.Null {
 16675  				atomic.AddUint32(&invalids, 1)
 16676  			}
 16677  		case "friends":
 16678  			field := field
 16679  
 16680  			innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
 16681  				defer func() {
 16682  					if r := recover(); r != nil {
 16683  						ec.Error(ctx, ec.Recover(ctx, r))
 16684  					}
 16685  				}()
 16686  				res = ec._Pet_friends(ctx, field, obj)
 16687  				return res
 16688  			}
 16689  
 16690  			out.Concurrently(i, func() graphql.Marshaler {
 16691  				return innerFunc(ctx)
 16692  
 16693  			})
 16694  		default:
 16695  			panic("unknown field " + strconv.Quote(field.Name))
 16696  		}
 16697  	}
 16698  	out.Dispatch()
 16699  	if invalids > 0 {
 16700  		return graphql.Null
 16701  	}
 16702  	return out
 16703  }
 16704  
 16705  var primitiveImplementors = []string{"Primitive"}
 16706  
 16707  func (ec *executionContext) _Primitive(ctx context.Context, sel ast.SelectionSet, obj *Primitive) graphql.Marshaler {
 16708  	fields := graphql.CollectFields(ec.OperationContext, sel, primitiveImplementors)
 16709  	out := graphql.NewFieldSet(fields)
 16710  	var invalids uint32
 16711  	for i, field := range fields {
 16712  		switch field.Name {
 16713  		case "__typename":
 16714  			out.Values[i] = graphql.MarshalString("Primitive")
 16715  		case "value":
 16716  			field := field
 16717  
 16718  			innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
 16719  				defer func() {
 16720  					if r := recover(); r != nil {
 16721  						ec.Error(ctx, ec.Recover(ctx, r))
 16722  					}
 16723  				}()
 16724  				res = ec._Primitive_value(ctx, field, obj)
 16725  				if res == graphql.Null {
 16726  					atomic.AddUint32(&invalids, 1)
 16727  				}
 16728  				return res
 16729  			}
 16730  
 16731  			out.Concurrently(i, func() graphql.Marshaler {
 16732  				return innerFunc(ctx)
 16733  
 16734  			})
 16735  		case "squared":
 16736  
 16737  			out.Values[i] = ec._Primitive_squared(ctx, field, obj)
 16738  
 16739  			if out.Values[i] == graphql.Null {
 16740  				atomic.AddUint32(&invalids, 1)
 16741  			}
 16742  		default:
 16743  			panic("unknown field " + strconv.Quote(field.Name))
 16744  		}
 16745  	}
 16746  	out.Dispatch()
 16747  	if invalids > 0 {
 16748  		return graphql.Null
 16749  	}
 16750  	return out
 16751  }
 16752  
 16753  var primitiveStringImplementors = []string{"PrimitiveString"}
 16754  
 16755  func (ec *executionContext) _PrimitiveString(ctx context.Context, sel ast.SelectionSet, obj *PrimitiveString) graphql.Marshaler {
 16756  	fields := graphql.CollectFields(ec.OperationContext, sel, primitiveStringImplementors)
 16757  	out := graphql.NewFieldSet(fields)
 16758  	var invalids uint32
 16759  	for i, field := range fields {
 16760  		switch field.Name {
 16761  		case "__typename":
 16762  			out.Values[i] = graphql.MarshalString("PrimitiveString")
 16763  		case "value":
 16764  			field := field
 16765  
 16766  			innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
 16767  				defer func() {
 16768  					if r := recover(); r != nil {
 16769  						ec.Error(ctx, ec.Recover(ctx, r))
 16770  					}
 16771  				}()
 16772  				res = ec._PrimitiveString_value(ctx, field, obj)
 16773  				if res == graphql.Null {
 16774  					atomic.AddUint32(&invalids, 1)
 16775  				}
 16776  				return res
 16777  			}
 16778  
 16779  			out.Concurrently(i, func() graphql.Marshaler {
 16780  				return innerFunc(ctx)
 16781  
 16782  			})
 16783  		case "doubled":
 16784  
 16785  			out.Values[i] = ec._PrimitiveString_doubled(ctx, field, obj)
 16786  
 16787  			if out.Values[i] == graphql.Null {
 16788  				atomic.AddUint32(&invalids, 1)
 16789  			}
 16790  		case "len":
 16791  			field := field
 16792  
 16793  			innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
 16794  				defer func() {
 16795  					if r := recover(); r != nil {
 16796  						ec.Error(ctx, ec.Recover(ctx, r))
 16797  					}
 16798  				}()
 16799  				res = ec._PrimitiveString_len(ctx, field, obj)
 16800  				if res == graphql.Null {
 16801  					atomic.AddUint32(&invalids, 1)
 16802  				}
 16803  				return res
 16804  			}
 16805  
 16806  			out.Concurrently(i, func() graphql.Marshaler {
 16807  				return innerFunc(ctx)
 16808  
 16809  			})
 16810  		default:
 16811  			panic("unknown field " + strconv.Quote(field.Name))
 16812  		}
 16813  	}
 16814  	out.Dispatch()
 16815  	if invalids > 0 {
 16816  		return graphql.Null
 16817  	}
 16818  	return out
 16819  }
 16820  
 16821  var ptrToPtrInnerImplementors = []string{"PtrToPtrInner"}
 16822  
 16823  func (ec *executionContext) _PtrToPtrInner(ctx context.Context, sel ast.SelectionSet, obj *PtrToPtrInner) graphql.Marshaler {
 16824  	fields := graphql.CollectFields(ec.OperationContext, sel, ptrToPtrInnerImplementors)
 16825  	out := graphql.NewFieldSet(fields)
 16826  	var invalids uint32
 16827  	for i, field := range fields {
 16828  		switch field.Name {
 16829  		case "__typename":
 16830  			out.Values[i] = graphql.MarshalString("PtrToPtrInner")
 16831  		case "key":
 16832  
 16833  			out.Values[i] = ec._PtrToPtrInner_key(ctx, field, obj)
 16834  
 16835  			if out.Values[i] == graphql.Null {
 16836  				invalids++
 16837  			}
 16838  		case "value":
 16839  
 16840  			out.Values[i] = ec._PtrToPtrInner_value(ctx, field, obj)
 16841  
 16842  			if out.Values[i] == graphql.Null {
 16843  				invalids++
 16844  			}
 16845  		default:
 16846  			panic("unknown field " + strconv.Quote(field.Name))
 16847  		}
 16848  	}
 16849  	out.Dispatch()
 16850  	if invalids > 0 {
 16851  		return graphql.Null
 16852  	}
 16853  	return out
 16854  }
 16855  
 16856  var ptrToPtrOuterImplementors = []string{"PtrToPtrOuter"}
 16857  
 16858  func (ec *executionContext) _PtrToPtrOuter(ctx context.Context, sel ast.SelectionSet, obj *PtrToPtrOuter) graphql.Marshaler {
 16859  	fields := graphql.CollectFields(ec.OperationContext, sel, ptrToPtrOuterImplementors)
 16860  	out := graphql.NewFieldSet(fields)
 16861  	var invalids uint32
 16862  	for i, field := range fields {
 16863  		switch field.Name {
 16864  		case "__typename":
 16865  			out.Values[i] = graphql.MarshalString("PtrToPtrOuter")
 16866  		case "name":
 16867  
 16868  			out.Values[i] = ec._PtrToPtrOuter_name(ctx, field, obj)
 16869  
 16870  			if out.Values[i] == graphql.Null {
 16871  				invalids++
 16872  			}
 16873  		case "inner":
 16874  
 16875  			out.Values[i] = ec._PtrToPtrOuter_inner(ctx, field, obj)
 16876  
 16877  		case "stupidInner":
 16878  
 16879  			out.Values[i] = ec._PtrToPtrOuter_stupidInner(ctx, field, obj)
 16880  
 16881  		default:
 16882  			panic("unknown field " + strconv.Quote(field.Name))
 16883  		}
 16884  	}
 16885  	out.Dispatch()
 16886  	if invalids > 0 {
 16887  		return graphql.Null
 16888  	}
 16889  	return out
 16890  }
 16891  
 16892  var ptrToSliceContainerImplementors = []string{"PtrToSliceContainer"}
 16893  
 16894  func (ec *executionContext) _PtrToSliceContainer(ctx context.Context, sel ast.SelectionSet, obj *PtrToSliceContainer) graphql.Marshaler {
 16895  	fields := graphql.CollectFields(ec.OperationContext, sel, ptrToSliceContainerImplementors)
 16896  	out := graphql.NewFieldSet(fields)
 16897  	var invalids uint32
 16898  	for i, field := range fields {
 16899  		switch field.Name {
 16900  		case "__typename":
 16901  			out.Values[i] = graphql.MarshalString("PtrToSliceContainer")
 16902  		case "ptrToSlice":
 16903  
 16904  			out.Values[i] = ec._PtrToSliceContainer_ptrToSlice(ctx, field, obj)
 16905  
 16906  		default:
 16907  			panic("unknown field " + strconv.Quote(field.Name))
 16908  		}
 16909  	}
 16910  	out.Dispatch()
 16911  	if invalids > 0 {
 16912  		return graphql.Null
 16913  	}
 16914  	return out
 16915  }
 16916  
 16917  var queryImplementors = []string{"Query"}
 16918  
 16919  func (ec *executionContext) _Query(ctx context.Context, sel ast.SelectionSet) graphql.Marshaler {
 16920  	fields := graphql.CollectFields(ec.OperationContext, sel, queryImplementors)
 16921  	ctx = graphql.WithFieldContext(ctx, &graphql.FieldContext{
 16922  		Object: "Query",
 16923  	})
 16924  
 16925  	out := graphql.NewFieldSet(fields)
 16926  	var invalids uint32
 16927  	for i, field := range fields {
 16928  		innerCtx := graphql.WithRootFieldContext(ctx, &graphql.RootFieldContext{
 16929  			Object: field.Name,
 16930  			Field:  field,
 16931  		})
 16932  
 16933  		switch field.Name {
 16934  		case "__typename":
 16935  			out.Values[i] = graphql.MarshalString("Query")
 16936  		case "invalidIdentifier":
 16937  			field := field
 16938  
 16939  			innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
 16940  				defer func() {
 16941  					if r := recover(); r != nil {
 16942  						ec.Error(ctx, ec.Recover(ctx, r))
 16943  					}
 16944  				}()
 16945  				res = ec._Query_invalidIdentifier(ctx, field)
 16946  				return res
 16947  			}
 16948  
 16949  			rrm := func(ctx context.Context) graphql.Marshaler {
 16950  				return ec.OperationContext.RootResolverMiddleware(ctx, innerFunc)
 16951  			}
 16952  
 16953  			out.Concurrently(i, func() graphql.Marshaler {
 16954  				return rrm(innerCtx)
 16955  			})
 16956  		case "collision":
 16957  			field := field
 16958  
 16959  			innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
 16960  				defer func() {
 16961  					if r := recover(); r != nil {
 16962  						ec.Error(ctx, ec.Recover(ctx, r))
 16963  					}
 16964  				}()
 16965  				res = ec._Query_collision(ctx, field)
 16966  				return res
 16967  			}
 16968  
 16969  			rrm := func(ctx context.Context) graphql.Marshaler {
 16970  				return ec.OperationContext.RootResolverMiddleware(ctx, innerFunc)
 16971  			}
 16972  
 16973  			out.Concurrently(i, func() graphql.Marshaler {
 16974  				return rrm(innerCtx)
 16975  			})
 16976  		case "mapInput":
 16977  			field := field
 16978  
 16979  			innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
 16980  				defer func() {
 16981  					if r := recover(); r != nil {
 16982  						ec.Error(ctx, ec.Recover(ctx, r))
 16983  					}
 16984  				}()
 16985  				res = ec._Query_mapInput(ctx, field)
 16986  				return res
 16987  			}
 16988  
 16989  			rrm := func(ctx context.Context) graphql.Marshaler {
 16990  				return ec.OperationContext.RootResolverMiddleware(ctx, innerFunc)
 16991  			}
 16992  
 16993  			out.Concurrently(i, func() graphql.Marshaler {
 16994  				return rrm(innerCtx)
 16995  			})
 16996  		case "recursive":
 16997  			field := field
 16998  
 16999  			innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
 17000  				defer func() {
 17001  					if r := recover(); r != nil {
 17002  						ec.Error(ctx, ec.Recover(ctx, r))
 17003  					}
 17004  				}()
 17005  				res = ec._Query_recursive(ctx, field)
 17006  				return res
 17007  			}
 17008  
 17009  			rrm := func(ctx context.Context) graphql.Marshaler {
 17010  				return ec.OperationContext.RootResolverMiddleware(ctx, innerFunc)
 17011  			}
 17012  
 17013  			out.Concurrently(i, func() graphql.Marshaler {
 17014  				return rrm(innerCtx)
 17015  			})
 17016  		case "nestedInputs":
 17017  			field := field
 17018  
 17019  			innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
 17020  				defer func() {
 17021  					if r := recover(); r != nil {
 17022  						ec.Error(ctx, ec.Recover(ctx, r))
 17023  					}
 17024  				}()
 17025  				res = ec._Query_nestedInputs(ctx, field)
 17026  				return res
 17027  			}
 17028  
 17029  			rrm := func(ctx context.Context) graphql.Marshaler {
 17030  				return ec.OperationContext.RootResolverMiddleware(ctx, innerFunc)
 17031  			}
 17032  
 17033  			out.Concurrently(i, func() graphql.Marshaler {
 17034  				return rrm(innerCtx)
 17035  			})
 17036  		case "nestedOutputs":
 17037  			field := field
 17038  
 17039  			innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
 17040  				defer func() {
 17041  					if r := recover(); r != nil {
 17042  						ec.Error(ctx, ec.Recover(ctx, r))
 17043  					}
 17044  				}()
 17045  				res = ec._Query_nestedOutputs(ctx, field)
 17046  				return res
 17047  			}
 17048  
 17049  			rrm := func(ctx context.Context) graphql.Marshaler {
 17050  				return ec.OperationContext.RootResolverMiddleware(ctx, innerFunc)
 17051  			}
 17052  
 17053  			out.Concurrently(i, func() graphql.Marshaler {
 17054  				return rrm(innerCtx)
 17055  			})
 17056  		case "modelMethods":
 17057  			field := field
 17058  
 17059  			innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
 17060  				defer func() {
 17061  					if r := recover(); r != nil {
 17062  						ec.Error(ctx, ec.Recover(ctx, r))
 17063  					}
 17064  				}()
 17065  				res = ec._Query_modelMethods(ctx, field)
 17066  				return res
 17067  			}
 17068  
 17069  			rrm := func(ctx context.Context) graphql.Marshaler {
 17070  				return ec.OperationContext.RootResolverMiddleware(ctx, innerFunc)
 17071  			}
 17072  
 17073  			out.Concurrently(i, func() graphql.Marshaler {
 17074  				return rrm(innerCtx)
 17075  			})
 17076  		case "user":
 17077  			field := field
 17078  
 17079  			innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
 17080  				defer func() {
 17081  					if r := recover(); r != nil {
 17082  						ec.Error(ctx, ec.Recover(ctx, r))
 17083  					}
 17084  				}()
 17085  				res = ec._Query_user(ctx, field)
 17086  				if res == graphql.Null {
 17087  					atomic.AddUint32(&invalids, 1)
 17088  				}
 17089  				return res
 17090  			}
 17091  
 17092  			rrm := func(ctx context.Context) graphql.Marshaler {
 17093  				return ec.OperationContext.RootResolverMiddleware(ctx, innerFunc)
 17094  			}
 17095  
 17096  			out.Concurrently(i, func() graphql.Marshaler {
 17097  				return rrm(innerCtx)
 17098  			})
 17099  		case "nullableArg":
 17100  			field := field
 17101  
 17102  			innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
 17103  				defer func() {
 17104  					if r := recover(); r != nil {
 17105  						ec.Error(ctx, ec.Recover(ctx, r))
 17106  					}
 17107  				}()
 17108  				res = ec._Query_nullableArg(ctx, field)
 17109  				return res
 17110  			}
 17111  
 17112  			rrm := func(ctx context.Context) graphql.Marshaler {
 17113  				return ec.OperationContext.RootResolverMiddleware(ctx, innerFunc)
 17114  			}
 17115  
 17116  			out.Concurrently(i, func() graphql.Marshaler {
 17117  				return rrm(innerCtx)
 17118  			})
 17119  		case "inputSlice":
 17120  			field := field
 17121  
 17122  			innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
 17123  				defer func() {
 17124  					if r := recover(); r != nil {
 17125  						ec.Error(ctx, ec.Recover(ctx, r))
 17126  					}
 17127  				}()
 17128  				res = ec._Query_inputSlice(ctx, field)
 17129  				if res == graphql.Null {
 17130  					atomic.AddUint32(&invalids, 1)
 17131  				}
 17132  				return res
 17133  			}
 17134  
 17135  			rrm := func(ctx context.Context) graphql.Marshaler {
 17136  				return ec.OperationContext.RootResolverMiddleware(ctx, innerFunc)
 17137  			}
 17138  
 17139  			out.Concurrently(i, func() graphql.Marshaler {
 17140  				return rrm(innerCtx)
 17141  			})
 17142  		case "inputNullableSlice":
 17143  			field := field
 17144  
 17145  			innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
 17146  				defer func() {
 17147  					if r := recover(); r != nil {
 17148  						ec.Error(ctx, ec.Recover(ctx, r))
 17149  					}
 17150  				}()
 17151  				res = ec._Query_inputNullableSlice(ctx, field)
 17152  				if res == graphql.Null {
 17153  					atomic.AddUint32(&invalids, 1)
 17154  				}
 17155  				return res
 17156  			}
 17157  
 17158  			rrm := func(ctx context.Context) graphql.Marshaler {
 17159  				return ec.OperationContext.RootResolverMiddleware(ctx, innerFunc)
 17160  			}
 17161  
 17162  			out.Concurrently(i, func() graphql.Marshaler {
 17163  				return rrm(innerCtx)
 17164  			})
 17165  		case "shapeUnion":
 17166  			field := field
 17167  
 17168  			innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
 17169  				defer func() {
 17170  					if r := recover(); r != nil {
 17171  						ec.Error(ctx, ec.Recover(ctx, r))
 17172  					}
 17173  				}()
 17174  				res = ec._Query_shapeUnion(ctx, field)
 17175  				if res == graphql.Null {
 17176  					atomic.AddUint32(&invalids, 1)
 17177  				}
 17178  				return res
 17179  			}
 17180  
 17181  			rrm := func(ctx context.Context) graphql.Marshaler {
 17182  				return ec.OperationContext.RootResolverMiddleware(ctx, innerFunc)
 17183  			}
 17184  
 17185  			out.Concurrently(i, func() graphql.Marshaler {
 17186  				return rrm(innerCtx)
 17187  			})
 17188  		case "autobind":
 17189  			field := field
 17190  
 17191  			innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
 17192  				defer func() {
 17193  					if r := recover(); r != nil {
 17194  						ec.Error(ctx, ec.Recover(ctx, r))
 17195  					}
 17196  				}()
 17197  				res = ec._Query_autobind(ctx, field)
 17198  				return res
 17199  			}
 17200  
 17201  			rrm := func(ctx context.Context) graphql.Marshaler {
 17202  				return ec.OperationContext.RootResolverMiddleware(ctx, innerFunc)
 17203  			}
 17204  
 17205  			out.Concurrently(i, func() graphql.Marshaler {
 17206  				return rrm(innerCtx)
 17207  			})
 17208  		case "deprecatedField":
 17209  			field := field
 17210  
 17211  			innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
 17212  				defer func() {
 17213  					if r := recover(); r != nil {
 17214  						ec.Error(ctx, ec.Recover(ctx, r))
 17215  					}
 17216  				}()
 17217  				res = ec._Query_deprecatedField(ctx, field)
 17218  				if res == graphql.Null {
 17219  					atomic.AddUint32(&invalids, 1)
 17220  				}
 17221  				return res
 17222  			}
 17223  
 17224  			rrm := func(ctx context.Context) graphql.Marshaler {
 17225  				return ec.OperationContext.RootResolverMiddleware(ctx, innerFunc)
 17226  			}
 17227  
 17228  			out.Concurrently(i, func() graphql.Marshaler {
 17229  				return rrm(innerCtx)
 17230  			})
 17231  		case "overlapping":
 17232  			field := field
 17233  
 17234  			innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
 17235  				defer func() {
 17236  					if r := recover(); r != nil {
 17237  						ec.Error(ctx, ec.Recover(ctx, r))
 17238  					}
 17239  				}()
 17240  				res = ec._Query_overlapping(ctx, field)
 17241  				return res
 17242  			}
 17243  
 17244  			rrm := func(ctx context.Context) graphql.Marshaler {
 17245  				return ec.OperationContext.RootResolverMiddleware(ctx, innerFunc)
 17246  			}
 17247  
 17248  			out.Concurrently(i, func() graphql.Marshaler {
 17249  				return rrm(innerCtx)
 17250  			})
 17251  		case "defaultParameters":
 17252  			field := field
 17253  
 17254  			innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
 17255  				defer func() {
 17256  					if r := recover(); r != nil {
 17257  						ec.Error(ctx, ec.Recover(ctx, r))
 17258  					}
 17259  				}()
 17260  				res = ec._Query_defaultParameters(ctx, field)
 17261  				if res == graphql.Null {
 17262  					atomic.AddUint32(&invalids, 1)
 17263  				}
 17264  				return res
 17265  			}
 17266  
 17267  			rrm := func(ctx context.Context) graphql.Marshaler {
 17268  				return ec.OperationContext.RootResolverMiddleware(ctx, innerFunc)
 17269  			}
 17270  
 17271  			out.Concurrently(i, func() graphql.Marshaler {
 17272  				return rrm(innerCtx)
 17273  			})
 17274  		case "directiveArg":
 17275  			field := field
 17276  
 17277  			innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
 17278  				defer func() {
 17279  					if r := recover(); r != nil {
 17280  						ec.Error(ctx, ec.Recover(ctx, r))
 17281  					}
 17282  				}()
 17283  				res = ec._Query_directiveArg(ctx, field)
 17284  				return res
 17285  			}
 17286  
 17287  			rrm := func(ctx context.Context) graphql.Marshaler {
 17288  				return ec.OperationContext.RootResolverMiddleware(ctx, innerFunc)
 17289  			}
 17290  
 17291  			out.Concurrently(i, func() graphql.Marshaler {
 17292  				return rrm(innerCtx)
 17293  			})
 17294  		case "directiveNullableArg":
 17295  			field := field
 17296  
 17297  			innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
 17298  				defer func() {
 17299  					if r := recover(); r != nil {
 17300  						ec.Error(ctx, ec.Recover(ctx, r))
 17301  					}
 17302  				}()
 17303  				res = ec._Query_directiveNullableArg(ctx, field)
 17304  				return res
 17305  			}
 17306  
 17307  			rrm := func(ctx context.Context) graphql.Marshaler {
 17308  				return ec.OperationContext.RootResolverMiddleware(ctx, innerFunc)
 17309  			}
 17310  
 17311  			out.Concurrently(i, func() graphql.Marshaler {
 17312  				return rrm(innerCtx)
 17313  			})
 17314  		case "directiveInputNullable":
 17315  			field := field
 17316  
 17317  			innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
 17318  				defer func() {
 17319  					if r := recover(); r != nil {
 17320  						ec.Error(ctx, ec.Recover(ctx, r))
 17321  					}
 17322  				}()
 17323  				res = ec._Query_directiveInputNullable(ctx, field)
 17324  				return res
 17325  			}
 17326  
 17327  			rrm := func(ctx context.Context) graphql.Marshaler {
 17328  				return ec.OperationContext.RootResolverMiddleware(ctx, innerFunc)
 17329  			}
 17330  
 17331  			out.Concurrently(i, func() graphql.Marshaler {
 17332  				return rrm(innerCtx)
 17333  			})
 17334  		case "directiveInput":
 17335  			field := field
 17336  
 17337  			innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
 17338  				defer func() {
 17339  					if r := recover(); r != nil {
 17340  						ec.Error(ctx, ec.Recover(ctx, r))
 17341  					}
 17342  				}()
 17343  				res = ec._Query_directiveInput(ctx, field)
 17344  				return res
 17345  			}
 17346  
 17347  			rrm := func(ctx context.Context) graphql.Marshaler {
 17348  				return ec.OperationContext.RootResolverMiddleware(ctx, innerFunc)
 17349  			}
 17350  
 17351  			out.Concurrently(i, func() graphql.Marshaler {
 17352  				return rrm(innerCtx)
 17353  			})
 17354  		case "directiveInputType":
 17355  			field := field
 17356  
 17357  			innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
 17358  				defer func() {
 17359  					if r := recover(); r != nil {
 17360  						ec.Error(ctx, ec.Recover(ctx, r))
 17361  					}
 17362  				}()
 17363  				res = ec._Query_directiveInputType(ctx, field)
 17364  				return res
 17365  			}
 17366  
 17367  			rrm := func(ctx context.Context) graphql.Marshaler {
 17368  				return ec.OperationContext.RootResolverMiddleware(ctx, innerFunc)
 17369  			}
 17370  
 17371  			out.Concurrently(i, func() graphql.Marshaler {
 17372  				return rrm(innerCtx)
 17373  			})
 17374  		case "directiveObject":
 17375  			field := field
 17376  
 17377  			innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
 17378  				defer func() {
 17379  					if r := recover(); r != nil {
 17380  						ec.Error(ctx, ec.Recover(ctx, r))
 17381  					}
 17382  				}()
 17383  				res = ec._Query_directiveObject(ctx, field)
 17384  				return res
 17385  			}
 17386  
 17387  			rrm := func(ctx context.Context) graphql.Marshaler {
 17388  				return ec.OperationContext.RootResolverMiddleware(ctx, innerFunc)
 17389  			}
 17390  
 17391  			out.Concurrently(i, func() graphql.Marshaler {
 17392  				return rrm(innerCtx)
 17393  			})
 17394  		case "directiveObjectWithCustomGoModel":
 17395  			field := field
 17396  
 17397  			innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
 17398  				defer func() {
 17399  					if r := recover(); r != nil {
 17400  						ec.Error(ctx, ec.Recover(ctx, r))
 17401  					}
 17402  				}()
 17403  				res = ec._Query_directiveObjectWithCustomGoModel(ctx, field)
 17404  				return res
 17405  			}
 17406  
 17407  			rrm := func(ctx context.Context) graphql.Marshaler {
 17408  				return ec.OperationContext.RootResolverMiddleware(ctx, innerFunc)
 17409  			}
 17410  
 17411  			out.Concurrently(i, func() graphql.Marshaler {
 17412  				return rrm(innerCtx)
 17413  			})
 17414  		case "directiveFieldDef":
 17415  			field := field
 17416  
 17417  			innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
 17418  				defer func() {
 17419  					if r := recover(); r != nil {
 17420  						ec.Error(ctx, ec.Recover(ctx, r))
 17421  					}
 17422  				}()
 17423  				res = ec._Query_directiveFieldDef(ctx, field)
 17424  				if res == graphql.Null {
 17425  					atomic.AddUint32(&invalids, 1)
 17426  				}
 17427  				return res
 17428  			}
 17429  
 17430  			rrm := func(ctx context.Context) graphql.Marshaler {
 17431  				return ec.OperationContext.RootResolverMiddleware(ctx, innerFunc)
 17432  			}
 17433  
 17434  			out.Concurrently(i, func() graphql.Marshaler {
 17435  				return rrm(innerCtx)
 17436  			})
 17437  		case "directiveField":
 17438  			field := field
 17439  
 17440  			innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
 17441  				defer func() {
 17442  					if r := recover(); r != nil {
 17443  						ec.Error(ctx, ec.Recover(ctx, r))
 17444  					}
 17445  				}()
 17446  				res = ec._Query_directiveField(ctx, field)
 17447  				return res
 17448  			}
 17449  
 17450  			rrm := func(ctx context.Context) graphql.Marshaler {
 17451  				return ec.OperationContext.RootResolverMiddleware(ctx, innerFunc)
 17452  			}
 17453  
 17454  			out.Concurrently(i, func() graphql.Marshaler {
 17455  				return rrm(innerCtx)
 17456  			})
 17457  		case "directiveDouble":
 17458  			field := field
 17459  
 17460  			innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
 17461  				defer func() {
 17462  					if r := recover(); r != nil {
 17463  						ec.Error(ctx, ec.Recover(ctx, r))
 17464  					}
 17465  				}()
 17466  				res = ec._Query_directiveDouble(ctx, field)
 17467  				return res
 17468  			}
 17469  
 17470  			rrm := func(ctx context.Context) graphql.Marshaler {
 17471  				return ec.OperationContext.RootResolverMiddleware(ctx, innerFunc)
 17472  			}
 17473  
 17474  			out.Concurrently(i, func() graphql.Marshaler {
 17475  				return rrm(innerCtx)
 17476  			})
 17477  		case "directiveUnimplemented":
 17478  			field := field
 17479  
 17480  			innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
 17481  				defer func() {
 17482  					if r := recover(); r != nil {
 17483  						ec.Error(ctx, ec.Recover(ctx, r))
 17484  					}
 17485  				}()
 17486  				res = ec._Query_directiveUnimplemented(ctx, field)
 17487  				return res
 17488  			}
 17489  
 17490  			rrm := func(ctx context.Context) graphql.Marshaler {
 17491  				return ec.OperationContext.RootResolverMiddleware(ctx, innerFunc)
 17492  			}
 17493  
 17494  			out.Concurrently(i, func() graphql.Marshaler {
 17495  				return rrm(innerCtx)
 17496  			})
 17497  		case "embeddedCase1":
 17498  			field := field
 17499  
 17500  			innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
 17501  				defer func() {
 17502  					if r := recover(); r != nil {
 17503  						ec.Error(ctx, ec.Recover(ctx, r))
 17504  					}
 17505  				}()
 17506  				res = ec._Query_embeddedCase1(ctx, field)
 17507  				return res
 17508  			}
 17509  
 17510  			rrm := func(ctx context.Context) graphql.Marshaler {
 17511  				return ec.OperationContext.RootResolverMiddleware(ctx, innerFunc)
 17512  			}
 17513  
 17514  			out.Concurrently(i, func() graphql.Marshaler {
 17515  				return rrm(innerCtx)
 17516  			})
 17517  		case "embeddedCase2":
 17518  			field := field
 17519  
 17520  			innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
 17521  				defer func() {
 17522  					if r := recover(); r != nil {
 17523  						ec.Error(ctx, ec.Recover(ctx, r))
 17524  					}
 17525  				}()
 17526  				res = ec._Query_embeddedCase2(ctx, field)
 17527  				return res
 17528  			}
 17529  
 17530  			rrm := func(ctx context.Context) graphql.Marshaler {
 17531  				return ec.OperationContext.RootResolverMiddleware(ctx, innerFunc)
 17532  			}
 17533  
 17534  			out.Concurrently(i, func() graphql.Marshaler {
 17535  				return rrm(innerCtx)
 17536  			})
 17537  		case "embeddedCase3":
 17538  			field := field
 17539  
 17540  			innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
 17541  				defer func() {
 17542  					if r := recover(); r != nil {
 17543  						ec.Error(ctx, ec.Recover(ctx, r))
 17544  					}
 17545  				}()
 17546  				res = ec._Query_embeddedCase3(ctx, field)
 17547  				return res
 17548  			}
 17549  
 17550  			rrm := func(ctx context.Context) graphql.Marshaler {
 17551  				return ec.OperationContext.RootResolverMiddleware(ctx, innerFunc)
 17552  			}
 17553  
 17554  			out.Concurrently(i, func() graphql.Marshaler {
 17555  				return rrm(innerCtx)
 17556  			})
 17557  		case "enumInInput":
 17558  			field := field
 17559  
 17560  			innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
 17561  				defer func() {
 17562  					if r := recover(); r != nil {
 17563  						ec.Error(ctx, ec.Recover(ctx, r))
 17564  					}
 17565  				}()
 17566  				res = ec._Query_enumInInput(ctx, field)
 17567  				if res == graphql.Null {
 17568  					atomic.AddUint32(&invalids, 1)
 17569  				}
 17570  				return res
 17571  			}
 17572  
 17573  			rrm := func(ctx context.Context) graphql.Marshaler {
 17574  				return ec.OperationContext.RootResolverMiddleware(ctx, innerFunc)
 17575  			}
 17576  
 17577  			out.Concurrently(i, func() graphql.Marshaler {
 17578  				return rrm(innerCtx)
 17579  			})
 17580  		case "shapes":
 17581  			field := field
 17582  
 17583  			innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
 17584  				defer func() {
 17585  					if r := recover(); r != nil {
 17586  						ec.Error(ctx, ec.Recover(ctx, r))
 17587  					}
 17588  				}()
 17589  				res = ec._Query_shapes(ctx, field)
 17590  				return res
 17591  			}
 17592  
 17593  			rrm := func(ctx context.Context) graphql.Marshaler {
 17594  				return ec.OperationContext.RootResolverMiddleware(ctx, innerFunc)
 17595  			}
 17596  
 17597  			out.Concurrently(i, func() graphql.Marshaler {
 17598  				return rrm(innerCtx)
 17599  			})
 17600  		case "noShape":
 17601  			field := field
 17602  
 17603  			innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
 17604  				defer func() {
 17605  					if r := recover(); r != nil {
 17606  						ec.Error(ctx, ec.Recover(ctx, r))
 17607  					}
 17608  				}()
 17609  				res = ec._Query_noShape(ctx, field)
 17610  				return res
 17611  			}
 17612  
 17613  			rrm := func(ctx context.Context) graphql.Marshaler {
 17614  				return ec.OperationContext.RootResolverMiddleware(ctx, innerFunc)
 17615  			}
 17616  
 17617  			out.Concurrently(i, func() graphql.Marshaler {
 17618  				return rrm(innerCtx)
 17619  			})
 17620  		case "node":
 17621  			field := field
 17622  
 17623  			innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
 17624  				defer func() {
 17625  					if r := recover(); r != nil {
 17626  						ec.Error(ctx, ec.Recover(ctx, r))
 17627  					}
 17628  				}()
 17629  				res = ec._Query_node(ctx, field)
 17630  				if res == graphql.Null {
 17631  					atomic.AddUint32(&invalids, 1)
 17632  				}
 17633  				return res
 17634  			}
 17635  
 17636  			rrm := func(ctx context.Context) graphql.Marshaler {
 17637  				return ec.OperationContext.RootResolverMiddleware(ctx, innerFunc)
 17638  			}
 17639  
 17640  			out.Concurrently(i, func() graphql.Marshaler {
 17641  				return rrm(innerCtx)
 17642  			})
 17643  		case "noShapeTypedNil":
 17644  			field := field
 17645  
 17646  			innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
 17647  				defer func() {
 17648  					if r := recover(); r != nil {
 17649  						ec.Error(ctx, ec.Recover(ctx, r))
 17650  					}
 17651  				}()
 17652  				res = ec._Query_noShapeTypedNil(ctx, field)
 17653  				return res
 17654  			}
 17655  
 17656  			rrm := func(ctx context.Context) graphql.Marshaler {
 17657  				return ec.OperationContext.RootResolverMiddleware(ctx, innerFunc)
 17658  			}
 17659  
 17660  			out.Concurrently(i, func() graphql.Marshaler {
 17661  				return rrm(innerCtx)
 17662  			})
 17663  		case "animal":
 17664  			field := field
 17665  
 17666  			innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
 17667  				defer func() {
 17668  					if r := recover(); r != nil {
 17669  						ec.Error(ctx, ec.Recover(ctx, r))
 17670  					}
 17671  				}()
 17672  				res = ec._Query_animal(ctx, field)
 17673  				return res
 17674  			}
 17675  
 17676  			rrm := func(ctx context.Context) graphql.Marshaler {
 17677  				return ec.OperationContext.RootResolverMiddleware(ctx, innerFunc)
 17678  			}
 17679  
 17680  			out.Concurrently(i, func() graphql.Marshaler {
 17681  				return rrm(innerCtx)
 17682  			})
 17683  		case "notAnInterface":
 17684  			field := field
 17685  
 17686  			innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
 17687  				defer func() {
 17688  					if r := recover(); r != nil {
 17689  						ec.Error(ctx, ec.Recover(ctx, r))
 17690  					}
 17691  				}()
 17692  				res = ec._Query_notAnInterface(ctx, field)
 17693  				return res
 17694  			}
 17695  
 17696  			rrm := func(ctx context.Context) graphql.Marshaler {
 17697  				return ec.OperationContext.RootResolverMiddleware(ctx, innerFunc)
 17698  			}
 17699  
 17700  			out.Concurrently(i, func() graphql.Marshaler {
 17701  				return rrm(innerCtx)
 17702  			})
 17703  		case "dog":
 17704  			field := field
 17705  
 17706  			innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
 17707  				defer func() {
 17708  					if r := recover(); r != nil {
 17709  						ec.Error(ctx, ec.Recover(ctx, r))
 17710  					}
 17711  				}()
 17712  				res = ec._Query_dog(ctx, field)
 17713  				return res
 17714  			}
 17715  
 17716  			rrm := func(ctx context.Context) graphql.Marshaler {
 17717  				return ec.OperationContext.RootResolverMiddleware(ctx, innerFunc)
 17718  			}
 17719  
 17720  			out.Concurrently(i, func() graphql.Marshaler {
 17721  				return rrm(innerCtx)
 17722  			})
 17723  		case "issue896a":
 17724  			field := field
 17725  
 17726  			innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
 17727  				defer func() {
 17728  					if r := recover(); r != nil {
 17729  						ec.Error(ctx, ec.Recover(ctx, r))
 17730  					}
 17731  				}()
 17732  				res = ec._Query_issue896a(ctx, field)
 17733  				return res
 17734  			}
 17735  
 17736  			rrm := func(ctx context.Context) graphql.Marshaler {
 17737  				return ec.OperationContext.RootResolverMiddleware(ctx, innerFunc)
 17738  			}
 17739  
 17740  			out.Concurrently(i, func() graphql.Marshaler {
 17741  				return rrm(innerCtx)
 17742  			})
 17743  		case "mapStringInterface":
 17744  			field := field
 17745  
 17746  			innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
 17747  				defer func() {
 17748  					if r := recover(); r != nil {
 17749  						ec.Error(ctx, ec.Recover(ctx, r))
 17750  					}
 17751  				}()
 17752  				res = ec._Query_mapStringInterface(ctx, field)
 17753  				return res
 17754  			}
 17755  
 17756  			rrm := func(ctx context.Context) graphql.Marshaler {
 17757  				return ec.OperationContext.RootResolverMiddleware(ctx, innerFunc)
 17758  			}
 17759  
 17760  			out.Concurrently(i, func() graphql.Marshaler {
 17761  				return rrm(innerCtx)
 17762  			})
 17763  		case "mapNestedStringInterface":
 17764  			field := field
 17765  
 17766  			innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
 17767  				defer func() {
 17768  					if r := recover(); r != nil {
 17769  						ec.Error(ctx, ec.Recover(ctx, r))
 17770  					}
 17771  				}()
 17772  				res = ec._Query_mapNestedStringInterface(ctx, field)
 17773  				return res
 17774  			}
 17775  
 17776  			rrm := func(ctx context.Context) graphql.Marshaler {
 17777  				return ec.OperationContext.RootResolverMiddleware(ctx, innerFunc)
 17778  			}
 17779  
 17780  			out.Concurrently(i, func() graphql.Marshaler {
 17781  				return rrm(innerCtx)
 17782  			})
 17783  		case "errorBubble":
 17784  			field := field
 17785  
 17786  			innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
 17787  				defer func() {
 17788  					if r := recover(); r != nil {
 17789  						ec.Error(ctx, ec.Recover(ctx, r))
 17790  					}
 17791  				}()
 17792  				res = ec._Query_errorBubble(ctx, field)
 17793  				return res
 17794  			}
 17795  
 17796  			rrm := func(ctx context.Context) graphql.Marshaler {
 17797  				return ec.OperationContext.RootResolverMiddleware(ctx, innerFunc)
 17798  			}
 17799  
 17800  			out.Concurrently(i, func() graphql.Marshaler {
 17801  				return rrm(innerCtx)
 17802  			})
 17803  		case "errorBubbleList":
 17804  			field := field
 17805  
 17806  			innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
 17807  				defer func() {
 17808  					if r := recover(); r != nil {
 17809  						ec.Error(ctx, ec.Recover(ctx, r))
 17810  					}
 17811  				}()
 17812  				res = ec._Query_errorBubbleList(ctx, field)
 17813  				return res
 17814  			}
 17815  
 17816  			rrm := func(ctx context.Context) graphql.Marshaler {
 17817  				return ec.OperationContext.RootResolverMiddleware(ctx, innerFunc)
 17818  			}
 17819  
 17820  			out.Concurrently(i, func() graphql.Marshaler {
 17821  				return rrm(innerCtx)
 17822  			})
 17823  		case "errorList":
 17824  			field := field
 17825  
 17826  			innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
 17827  				defer func() {
 17828  					if r := recover(); r != nil {
 17829  						ec.Error(ctx, ec.Recover(ctx, r))
 17830  					}
 17831  				}()
 17832  				res = ec._Query_errorList(ctx, field)
 17833  				return res
 17834  			}
 17835  
 17836  			rrm := func(ctx context.Context) graphql.Marshaler {
 17837  				return ec.OperationContext.RootResolverMiddleware(ctx, innerFunc)
 17838  			}
 17839  
 17840  			out.Concurrently(i, func() graphql.Marshaler {
 17841  				return rrm(innerCtx)
 17842  			})
 17843  		case "errors":
 17844  			field := field
 17845  
 17846  			innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
 17847  				defer func() {
 17848  					if r := recover(); r != nil {
 17849  						ec.Error(ctx, ec.Recover(ctx, r))
 17850  					}
 17851  				}()
 17852  				res = ec._Query_errors(ctx, field)
 17853  				return res
 17854  			}
 17855  
 17856  			rrm := func(ctx context.Context) graphql.Marshaler {
 17857  				return ec.OperationContext.RootResolverMiddleware(ctx, innerFunc)
 17858  			}
 17859  
 17860  			out.Concurrently(i, func() graphql.Marshaler {
 17861  				return rrm(innerCtx)
 17862  			})
 17863  		case "valid":
 17864  			field := field
 17865  
 17866  			innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
 17867  				defer func() {
 17868  					if r := recover(); r != nil {
 17869  						ec.Error(ctx, ec.Recover(ctx, r))
 17870  					}
 17871  				}()
 17872  				res = ec._Query_valid(ctx, field)
 17873  				if res == graphql.Null {
 17874  					atomic.AddUint32(&invalids, 1)
 17875  				}
 17876  				return res
 17877  			}
 17878  
 17879  			rrm := func(ctx context.Context) graphql.Marshaler {
 17880  				return ec.OperationContext.RootResolverMiddleware(ctx, innerFunc)
 17881  			}
 17882  
 17883  			out.Concurrently(i, func() graphql.Marshaler {
 17884  				return rrm(innerCtx)
 17885  			})
 17886  		case "invalid":
 17887  			field := field
 17888  
 17889  			innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
 17890  				defer func() {
 17891  					if r := recover(); r != nil {
 17892  						ec.Error(ctx, ec.Recover(ctx, r))
 17893  					}
 17894  				}()
 17895  				res = ec._Query_invalid(ctx, field)
 17896  				if res == graphql.Null {
 17897  					atomic.AddUint32(&invalids, 1)
 17898  				}
 17899  				return res
 17900  			}
 17901  
 17902  			rrm := func(ctx context.Context) graphql.Marshaler {
 17903  				return ec.OperationContext.RootResolverMiddleware(ctx, innerFunc)
 17904  			}
 17905  
 17906  			out.Concurrently(i, func() graphql.Marshaler {
 17907  				return rrm(innerCtx)
 17908  			})
 17909  		case "panics":
 17910  			field := field
 17911  
 17912  			innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
 17913  				defer func() {
 17914  					if r := recover(); r != nil {
 17915  						ec.Error(ctx, ec.Recover(ctx, r))
 17916  					}
 17917  				}()
 17918  				res = ec._Query_panics(ctx, field)
 17919  				return res
 17920  			}
 17921  
 17922  			rrm := func(ctx context.Context) graphql.Marshaler {
 17923  				return ec.OperationContext.RootResolverMiddleware(ctx, innerFunc)
 17924  			}
 17925  
 17926  			out.Concurrently(i, func() graphql.Marshaler {
 17927  				return rrm(innerCtx)
 17928  			})
 17929  		case "primitiveObject":
 17930  			field := field
 17931  
 17932  			innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
 17933  				defer func() {
 17934  					if r := recover(); r != nil {
 17935  						ec.Error(ctx, ec.Recover(ctx, r))
 17936  					}
 17937  				}()
 17938  				res = ec._Query_primitiveObject(ctx, field)
 17939  				if res == graphql.Null {
 17940  					atomic.AddUint32(&invalids, 1)
 17941  				}
 17942  				return res
 17943  			}
 17944  
 17945  			rrm := func(ctx context.Context) graphql.Marshaler {
 17946  				return ec.OperationContext.RootResolverMiddleware(ctx, innerFunc)
 17947  			}
 17948  
 17949  			out.Concurrently(i, func() graphql.Marshaler {
 17950  				return rrm(innerCtx)
 17951  			})
 17952  		case "primitiveStringObject":
 17953  			field := field
 17954  
 17955  			innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
 17956  				defer func() {
 17957  					if r := recover(); r != nil {
 17958  						ec.Error(ctx, ec.Recover(ctx, r))
 17959  					}
 17960  				}()
 17961  				res = ec._Query_primitiveStringObject(ctx, field)
 17962  				if res == graphql.Null {
 17963  					atomic.AddUint32(&invalids, 1)
 17964  				}
 17965  				return res
 17966  			}
 17967  
 17968  			rrm := func(ctx context.Context) graphql.Marshaler {
 17969  				return ec.OperationContext.RootResolverMiddleware(ctx, innerFunc)
 17970  			}
 17971  
 17972  			out.Concurrently(i, func() graphql.Marshaler {
 17973  				return rrm(innerCtx)
 17974  			})
 17975  		case "ptrToSliceContainer":
 17976  			field := field
 17977  
 17978  			innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
 17979  				defer func() {
 17980  					if r := recover(); r != nil {
 17981  						ec.Error(ctx, ec.Recover(ctx, r))
 17982  					}
 17983  				}()
 17984  				res = ec._Query_ptrToSliceContainer(ctx, field)
 17985  				if res == graphql.Null {
 17986  					atomic.AddUint32(&invalids, 1)
 17987  				}
 17988  				return res
 17989  			}
 17990  
 17991  			rrm := func(ctx context.Context) graphql.Marshaler {
 17992  				return ec.OperationContext.RootResolverMiddleware(ctx, innerFunc)
 17993  			}
 17994  
 17995  			out.Concurrently(i, func() graphql.Marshaler {
 17996  				return rrm(innerCtx)
 17997  			})
 17998  		case "infinity":
 17999  			field := field
 18000  
 18001  			innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
 18002  				defer func() {
 18003  					if r := recover(); r != nil {
 18004  						ec.Error(ctx, ec.Recover(ctx, r))
 18005  					}
 18006  				}()
 18007  				res = ec._Query_infinity(ctx, field)
 18008  				if res == graphql.Null {
 18009  					atomic.AddUint32(&invalids, 1)
 18010  				}
 18011  				return res
 18012  			}
 18013  
 18014  			rrm := func(ctx context.Context) graphql.Marshaler {
 18015  				return ec.OperationContext.RootResolverMiddleware(ctx, innerFunc)
 18016  			}
 18017  
 18018  			out.Concurrently(i, func() graphql.Marshaler {
 18019  				return rrm(innerCtx)
 18020  			})
 18021  		case "stringFromContextInterface":
 18022  			field := field
 18023  
 18024  			innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
 18025  				defer func() {
 18026  					if r := recover(); r != nil {
 18027  						ec.Error(ctx, ec.Recover(ctx, r))
 18028  					}
 18029  				}()
 18030  				res = ec._Query_stringFromContextInterface(ctx, field)
 18031  				if res == graphql.Null {
 18032  					atomic.AddUint32(&invalids, 1)
 18033  				}
 18034  				return res
 18035  			}
 18036  
 18037  			rrm := func(ctx context.Context) graphql.Marshaler {
 18038  				return ec.OperationContext.RootResolverMiddleware(ctx, innerFunc)
 18039  			}
 18040  
 18041  			out.Concurrently(i, func() graphql.Marshaler {
 18042  				return rrm(innerCtx)
 18043  			})
 18044  		case "stringFromContextFunction":
 18045  			field := field
 18046  
 18047  			innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
 18048  				defer func() {
 18049  					if r := recover(); r != nil {
 18050  						ec.Error(ctx, ec.Recover(ctx, r))
 18051  					}
 18052  				}()
 18053  				res = ec._Query_stringFromContextFunction(ctx, field)
 18054  				if res == graphql.Null {
 18055  					atomic.AddUint32(&invalids, 1)
 18056  				}
 18057  				return res
 18058  			}
 18059  
 18060  			rrm := func(ctx context.Context) graphql.Marshaler {
 18061  				return ec.OperationContext.RootResolverMiddleware(ctx, innerFunc)
 18062  			}
 18063  
 18064  			out.Concurrently(i, func() graphql.Marshaler {
 18065  				return rrm(innerCtx)
 18066  			})
 18067  		case "defaultScalar":
 18068  			field := field
 18069  
 18070  			innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
 18071  				defer func() {
 18072  					if r := recover(); r != nil {
 18073  						ec.Error(ctx, ec.Recover(ctx, r))
 18074  					}
 18075  				}()
 18076  				res = ec._Query_defaultScalar(ctx, field)
 18077  				if res == graphql.Null {
 18078  					atomic.AddUint32(&invalids, 1)
 18079  				}
 18080  				return res
 18081  			}
 18082  
 18083  			rrm := func(ctx context.Context) graphql.Marshaler {
 18084  				return ec.OperationContext.RootResolverMiddleware(ctx, innerFunc)
 18085  			}
 18086  
 18087  			out.Concurrently(i, func() graphql.Marshaler {
 18088  				return rrm(innerCtx)
 18089  			})
 18090  		case "slices":
 18091  			field := field
 18092  
 18093  			innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
 18094  				defer func() {
 18095  					if r := recover(); r != nil {
 18096  						ec.Error(ctx, ec.Recover(ctx, r))
 18097  					}
 18098  				}()
 18099  				res = ec._Query_slices(ctx, field)
 18100  				return res
 18101  			}
 18102  
 18103  			rrm := func(ctx context.Context) graphql.Marshaler {
 18104  				return ec.OperationContext.RootResolverMiddleware(ctx, innerFunc)
 18105  			}
 18106  
 18107  			out.Concurrently(i, func() graphql.Marshaler {
 18108  				return rrm(innerCtx)
 18109  			})
 18110  		case "scalarSlice":
 18111  			field := field
 18112  
 18113  			innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
 18114  				defer func() {
 18115  					if r := recover(); r != nil {
 18116  						ec.Error(ctx, ec.Recover(ctx, r))
 18117  					}
 18118  				}()
 18119  				res = ec._Query_scalarSlice(ctx, field)
 18120  				if res == graphql.Null {
 18121  					atomic.AddUint32(&invalids, 1)
 18122  				}
 18123  				return res
 18124  			}
 18125  
 18126  			rrm := func(ctx context.Context) graphql.Marshaler {
 18127  				return ec.OperationContext.RootResolverMiddleware(ctx, innerFunc)
 18128  			}
 18129  
 18130  			out.Concurrently(i, func() graphql.Marshaler {
 18131  				return rrm(innerCtx)
 18132  			})
 18133  		case "fallback":
 18134  			field := field
 18135  
 18136  			innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
 18137  				defer func() {
 18138  					if r := recover(); r != nil {
 18139  						ec.Error(ctx, ec.Recover(ctx, r))
 18140  					}
 18141  				}()
 18142  				res = ec._Query_fallback(ctx, field)
 18143  				if res == graphql.Null {
 18144  					atomic.AddUint32(&invalids, 1)
 18145  				}
 18146  				return res
 18147  			}
 18148  
 18149  			rrm := func(ctx context.Context) graphql.Marshaler {
 18150  				return ec.OperationContext.RootResolverMiddleware(ctx, innerFunc)
 18151  			}
 18152  
 18153  			out.Concurrently(i, func() graphql.Marshaler {
 18154  				return rrm(innerCtx)
 18155  			})
 18156  		case "optionalUnion":
 18157  			field := field
 18158  
 18159  			innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
 18160  				defer func() {
 18161  					if r := recover(); r != nil {
 18162  						ec.Error(ctx, ec.Recover(ctx, r))
 18163  					}
 18164  				}()
 18165  				res = ec._Query_optionalUnion(ctx, field)
 18166  				return res
 18167  			}
 18168  
 18169  			rrm := func(ctx context.Context) graphql.Marshaler {
 18170  				return ec.OperationContext.RootResolverMiddleware(ctx, innerFunc)
 18171  			}
 18172  
 18173  			out.Concurrently(i, func() graphql.Marshaler {
 18174  				return rrm(innerCtx)
 18175  			})
 18176  		case "vOkCaseValue":
 18177  			field := field
 18178  
 18179  			innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
 18180  				defer func() {
 18181  					if r := recover(); r != nil {
 18182  						ec.Error(ctx, ec.Recover(ctx, r))
 18183  					}
 18184  				}()
 18185  				res = ec._Query_vOkCaseValue(ctx, field)
 18186  				return res
 18187  			}
 18188  
 18189  			rrm := func(ctx context.Context) graphql.Marshaler {
 18190  				return ec.OperationContext.RootResolverMiddleware(ctx, innerFunc)
 18191  			}
 18192  
 18193  			out.Concurrently(i, func() graphql.Marshaler {
 18194  				return rrm(innerCtx)
 18195  			})
 18196  		case "vOkCaseNil":
 18197  			field := field
 18198  
 18199  			innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
 18200  				defer func() {
 18201  					if r := recover(); r != nil {
 18202  						ec.Error(ctx, ec.Recover(ctx, r))
 18203  					}
 18204  				}()
 18205  				res = ec._Query_vOkCaseNil(ctx, field)
 18206  				return res
 18207  			}
 18208  
 18209  			rrm := func(ctx context.Context) graphql.Marshaler {
 18210  				return ec.OperationContext.RootResolverMiddleware(ctx, innerFunc)
 18211  			}
 18212  
 18213  			out.Concurrently(i, func() graphql.Marshaler {
 18214  				return rrm(innerCtx)
 18215  			})
 18216  		case "validType":
 18217  			field := field
 18218  
 18219  			innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
 18220  				defer func() {
 18221  					if r := recover(); r != nil {
 18222  						ec.Error(ctx, ec.Recover(ctx, r))
 18223  					}
 18224  				}()
 18225  				res = ec._Query_validType(ctx, field)
 18226  				return res
 18227  			}
 18228  
 18229  			rrm := func(ctx context.Context) graphql.Marshaler {
 18230  				return ec.OperationContext.RootResolverMiddleware(ctx, innerFunc)
 18231  			}
 18232  
 18233  			out.Concurrently(i, func() graphql.Marshaler {
 18234  				return rrm(innerCtx)
 18235  			})
 18236  		case "variadicModel":
 18237  			field := field
 18238  
 18239  			innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
 18240  				defer func() {
 18241  					if r := recover(); r != nil {
 18242  						ec.Error(ctx, ec.Recover(ctx, r))
 18243  					}
 18244  				}()
 18245  				res = ec._Query_variadicModel(ctx, field)
 18246  				return res
 18247  			}
 18248  
 18249  			rrm := func(ctx context.Context) graphql.Marshaler {
 18250  				return ec.OperationContext.RootResolverMiddleware(ctx, innerFunc)
 18251  			}
 18252  
 18253  			out.Concurrently(i, func() graphql.Marshaler {
 18254  				return rrm(innerCtx)
 18255  			})
 18256  		case "wrappedStruct":
 18257  			field := field
 18258  
 18259  			innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
 18260  				defer func() {
 18261  					if r := recover(); r != nil {
 18262  						ec.Error(ctx, ec.Recover(ctx, r))
 18263  					}
 18264  				}()
 18265  				res = ec._Query_wrappedStruct(ctx, field)
 18266  				if res == graphql.Null {
 18267  					atomic.AddUint32(&invalids, 1)
 18268  				}
 18269  				return res
 18270  			}
 18271  
 18272  			rrm := func(ctx context.Context) graphql.Marshaler {
 18273  				return ec.OperationContext.RootResolverMiddleware(ctx, innerFunc)
 18274  			}
 18275  
 18276  			out.Concurrently(i, func() graphql.Marshaler {
 18277  				return rrm(innerCtx)
 18278  			})
 18279  		case "wrappedScalar":
 18280  			field := field
 18281  
 18282  			innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
 18283  				defer func() {
 18284  					if r := recover(); r != nil {
 18285  						ec.Error(ctx, ec.Recover(ctx, r))
 18286  					}
 18287  				}()
 18288  				res = ec._Query_wrappedScalar(ctx, field)
 18289  				if res == graphql.Null {
 18290  					atomic.AddUint32(&invalids, 1)
 18291  				}
 18292  				return res
 18293  			}
 18294  
 18295  			rrm := func(ctx context.Context) graphql.Marshaler {
 18296  				return ec.OperationContext.RootResolverMiddleware(ctx, innerFunc)
 18297  			}
 18298  
 18299  			out.Concurrently(i, func() graphql.Marshaler {
 18300  				return rrm(innerCtx)
 18301  			})
 18302  		case "wrappedMap":
 18303  			field := field
 18304  
 18305  			innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
 18306  				defer func() {
 18307  					if r := recover(); r != nil {
 18308  						ec.Error(ctx, ec.Recover(ctx, r))
 18309  					}
 18310  				}()
 18311  				res = ec._Query_wrappedMap(ctx, field)
 18312  				if res == graphql.Null {
 18313  					atomic.AddUint32(&invalids, 1)
 18314  				}
 18315  				return res
 18316  			}
 18317  
 18318  			rrm := func(ctx context.Context) graphql.Marshaler {
 18319  				return ec.OperationContext.RootResolverMiddleware(ctx, innerFunc)
 18320  			}
 18321  
 18322  			out.Concurrently(i, func() graphql.Marshaler {
 18323  				return rrm(innerCtx)
 18324  			})
 18325  		case "wrappedSlice":
 18326  			field := field
 18327  
 18328  			innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
 18329  				defer func() {
 18330  					if r := recover(); r != nil {
 18331  						ec.Error(ctx, ec.Recover(ctx, r))
 18332  					}
 18333  				}()
 18334  				res = ec._Query_wrappedSlice(ctx, field)
 18335  				if res == graphql.Null {
 18336  					atomic.AddUint32(&invalids, 1)
 18337  				}
 18338  				return res
 18339  			}
 18340  
 18341  			rrm := func(ctx context.Context) graphql.Marshaler {
 18342  				return ec.OperationContext.RootResolverMiddleware(ctx, innerFunc)
 18343  			}
 18344  
 18345  			out.Concurrently(i, func() graphql.Marshaler {
 18346  				return rrm(innerCtx)
 18347  			})
 18348  		case "__type":
 18349  
 18350  			out.Values[i] = ec.OperationContext.RootResolverMiddleware(innerCtx, func(ctx context.Context) (res graphql.Marshaler) {
 18351  				return ec._Query___type(ctx, field)
 18352  			})
 18353  
 18354  		case "__schema":
 18355  
 18356  			out.Values[i] = ec.OperationContext.RootResolverMiddleware(innerCtx, func(ctx context.Context) (res graphql.Marshaler) {
 18357  				return ec._Query___schema(ctx, field)
 18358  			})
 18359  
 18360  		default:
 18361  			panic("unknown field " + strconv.Quote(field.Name))
 18362  		}
 18363  	}
 18364  	out.Dispatch()
 18365  	if invalids > 0 {
 18366  		return graphql.Null
 18367  	}
 18368  	return out
 18369  }
 18370  
 18371  var rectangleImplementors = []string{"Rectangle", "Shape", "ShapeUnion"}
 18372  
 18373  func (ec *executionContext) _Rectangle(ctx context.Context, sel ast.SelectionSet, obj *Rectangle) graphql.Marshaler {
 18374  	fields := graphql.CollectFields(ec.OperationContext, sel, rectangleImplementors)
 18375  	out := graphql.NewFieldSet(fields)
 18376  	var invalids uint32
 18377  	for i, field := range fields {
 18378  		switch field.Name {
 18379  		case "__typename":
 18380  			out.Values[i] = graphql.MarshalString("Rectangle")
 18381  		case "length":
 18382  
 18383  			out.Values[i] = ec._Rectangle_length(ctx, field, obj)
 18384  
 18385  		case "width":
 18386  
 18387  			out.Values[i] = ec._Rectangle_width(ctx, field, obj)
 18388  
 18389  		case "area":
 18390  
 18391  			out.Values[i] = ec._Rectangle_area(ctx, field, obj)
 18392  
 18393  		case "coordinates":
 18394  
 18395  			out.Values[i] = ec._Rectangle_coordinates(ctx, field, obj)
 18396  
 18397  		default:
 18398  			panic("unknown field " + strconv.Quote(field.Name))
 18399  		}
 18400  	}
 18401  	out.Dispatch()
 18402  	if invalids > 0 {
 18403  		return graphql.Null
 18404  	}
 18405  	return out
 18406  }
 18407  
 18408  var sizeImplementors = []string{"Size"}
 18409  
 18410  func (ec *executionContext) _Size(ctx context.Context, sel ast.SelectionSet, obj *Size) graphql.Marshaler {
 18411  	fields := graphql.CollectFields(ec.OperationContext, sel, sizeImplementors)
 18412  	out := graphql.NewFieldSet(fields)
 18413  	var invalids uint32
 18414  	for i, field := range fields {
 18415  		switch field.Name {
 18416  		case "__typename":
 18417  			out.Values[i] = graphql.MarshalString("Size")
 18418  		case "height":
 18419  
 18420  			out.Values[i] = ec._Size_height(ctx, field, obj)
 18421  
 18422  			if out.Values[i] == graphql.Null {
 18423  				invalids++
 18424  			}
 18425  		case "weight":
 18426  
 18427  			out.Values[i] = ec._Size_weight(ctx, field, obj)
 18428  
 18429  			if out.Values[i] == graphql.Null {
 18430  				invalids++
 18431  			}
 18432  		default:
 18433  			panic("unknown field " + strconv.Quote(field.Name))
 18434  		}
 18435  	}
 18436  	out.Dispatch()
 18437  	if invalids > 0 {
 18438  		return graphql.Null
 18439  	}
 18440  	return out
 18441  }
 18442  
 18443  var slicesImplementors = []string{"Slices"}
 18444  
 18445  func (ec *executionContext) _Slices(ctx context.Context, sel ast.SelectionSet, obj *Slices) graphql.Marshaler {
 18446  	fields := graphql.CollectFields(ec.OperationContext, sel, slicesImplementors)
 18447  	out := graphql.NewFieldSet(fields)
 18448  	var invalids uint32
 18449  	for i, field := range fields {
 18450  		switch field.Name {
 18451  		case "__typename":
 18452  			out.Values[i] = graphql.MarshalString("Slices")
 18453  		case "test1":
 18454  
 18455  			out.Values[i] = ec._Slices_test1(ctx, field, obj)
 18456  
 18457  		case "test2":
 18458  
 18459  			out.Values[i] = ec._Slices_test2(ctx, field, obj)
 18460  
 18461  		case "test3":
 18462  
 18463  			out.Values[i] = ec._Slices_test3(ctx, field, obj)
 18464  
 18465  			if out.Values[i] == graphql.Null {
 18466  				invalids++
 18467  			}
 18468  		case "test4":
 18469  
 18470  			out.Values[i] = ec._Slices_test4(ctx, field, obj)
 18471  
 18472  			if out.Values[i] == graphql.Null {
 18473  				invalids++
 18474  			}
 18475  		default:
 18476  			panic("unknown field " + strconv.Quote(field.Name))
 18477  		}
 18478  	}
 18479  	out.Dispatch()
 18480  	if invalids > 0 {
 18481  		return graphql.Null
 18482  	}
 18483  	return out
 18484  }
 18485  
 18486  var subscriptionImplementors = []string{"Subscription"}
 18487  
 18488  func (ec *executionContext) _Subscription(ctx context.Context, sel ast.SelectionSet) func(ctx context.Context) graphql.Marshaler {
 18489  	fields := graphql.CollectFields(ec.OperationContext, sel, subscriptionImplementors)
 18490  	ctx = graphql.WithFieldContext(ctx, &graphql.FieldContext{
 18491  		Object: "Subscription",
 18492  	})
 18493  	if len(fields) != 1 {
 18494  		ec.Errorf(ctx, "must subscribe to exactly one stream")
 18495  		return nil
 18496  	}
 18497  
 18498  	switch fields[0].Name {
 18499  	case "updated":
 18500  		return ec._Subscription_updated(ctx, fields[0])
 18501  	case "initPayload":
 18502  		return ec._Subscription_initPayload(ctx, fields[0])
 18503  	case "directiveArg":
 18504  		return ec._Subscription_directiveArg(ctx, fields[0])
 18505  	case "directiveNullableArg":
 18506  		return ec._Subscription_directiveNullableArg(ctx, fields[0])
 18507  	case "directiveDouble":
 18508  		return ec._Subscription_directiveDouble(ctx, fields[0])
 18509  	case "directiveUnimplemented":
 18510  		return ec._Subscription_directiveUnimplemented(ctx, fields[0])
 18511  	case "issue896b":
 18512  		return ec._Subscription_issue896b(ctx, fields[0])
 18513  	case "errorRequired":
 18514  		return ec._Subscription_errorRequired(ctx, fields[0])
 18515  	default:
 18516  		panic("unknown field " + strconv.Quote(fields[0].Name))
 18517  	}
 18518  }
 18519  
 18520  var userImplementors = []string{"User"}
 18521  
 18522  func (ec *executionContext) _User(ctx context.Context, sel ast.SelectionSet, obj *User) graphql.Marshaler {
 18523  	fields := graphql.CollectFields(ec.OperationContext, sel, userImplementors)
 18524  	out := graphql.NewFieldSet(fields)
 18525  	var invalids uint32
 18526  	for i, field := range fields {
 18527  		switch field.Name {
 18528  		case "__typename":
 18529  			out.Values[i] = graphql.MarshalString("User")
 18530  		case "id":
 18531  
 18532  			out.Values[i] = ec._User_id(ctx, field, obj)
 18533  
 18534  			if out.Values[i] == graphql.Null {
 18535  				atomic.AddUint32(&invalids, 1)
 18536  			}
 18537  		case "friends":
 18538  			field := field
 18539  
 18540  			innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
 18541  				defer func() {
 18542  					if r := recover(); r != nil {
 18543  						ec.Error(ctx, ec.Recover(ctx, r))
 18544  					}
 18545  				}()
 18546  				res = ec._User_friends(ctx, field, obj)
 18547  				if res == graphql.Null {
 18548  					atomic.AddUint32(&invalids, 1)
 18549  				}
 18550  				return res
 18551  			}
 18552  
 18553  			out.Concurrently(i, func() graphql.Marshaler {
 18554  				return innerFunc(ctx)
 18555  
 18556  			})
 18557  		case "created":
 18558  
 18559  			out.Values[i] = ec._User_created(ctx, field, obj)
 18560  
 18561  			if out.Values[i] == graphql.Null {
 18562  				atomic.AddUint32(&invalids, 1)
 18563  			}
 18564  		case "updated":
 18565  
 18566  			out.Values[i] = ec._User_updated(ctx, field, obj)
 18567  
 18568  		case "pets":
 18569  			field := field
 18570  
 18571  			innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
 18572  				defer func() {
 18573  					if r := recover(); r != nil {
 18574  						ec.Error(ctx, ec.Recover(ctx, r))
 18575  					}
 18576  				}()
 18577  				res = ec._User_pets(ctx, field, obj)
 18578  				return res
 18579  			}
 18580  
 18581  			out.Concurrently(i, func() graphql.Marshaler {
 18582  				return innerFunc(ctx)
 18583  
 18584  			})
 18585  		default:
 18586  			panic("unknown field " + strconv.Quote(field.Name))
 18587  		}
 18588  	}
 18589  	out.Dispatch()
 18590  	if invalids > 0 {
 18591  		return graphql.Null
 18592  	}
 18593  	return out
 18594  }
 18595  
 18596  var vOkCaseNilImplementors = []string{"VOkCaseNil"}
 18597  
 18598  func (ec *executionContext) _VOkCaseNil(ctx context.Context, sel ast.SelectionSet, obj *VOkCaseNil) graphql.Marshaler {
 18599  	fields := graphql.CollectFields(ec.OperationContext, sel, vOkCaseNilImplementors)
 18600  	out := graphql.NewFieldSet(fields)
 18601  	var invalids uint32
 18602  	for i, field := range fields {
 18603  		switch field.Name {
 18604  		case "__typename":
 18605  			out.Values[i] = graphql.MarshalString("VOkCaseNil")
 18606  		case "value":
 18607  
 18608  			out.Values[i] = ec._VOkCaseNil_value(ctx, field, obj)
 18609  
 18610  		default:
 18611  			panic("unknown field " + strconv.Quote(field.Name))
 18612  		}
 18613  	}
 18614  	out.Dispatch()
 18615  	if invalids > 0 {
 18616  		return graphql.Null
 18617  	}
 18618  	return out
 18619  }
 18620  
 18621  var vOkCaseValueImplementors = []string{"VOkCaseValue"}
 18622  
 18623  func (ec *executionContext) _VOkCaseValue(ctx context.Context, sel ast.SelectionSet, obj *VOkCaseValue) graphql.Marshaler {
 18624  	fields := graphql.CollectFields(ec.OperationContext, sel, vOkCaseValueImplementors)
 18625  	out := graphql.NewFieldSet(fields)
 18626  	var invalids uint32
 18627  	for i, field := range fields {
 18628  		switch field.Name {
 18629  		case "__typename":
 18630  			out.Values[i] = graphql.MarshalString("VOkCaseValue")
 18631  		case "value":
 18632  
 18633  			out.Values[i] = ec._VOkCaseValue_value(ctx, field, obj)
 18634  
 18635  		default:
 18636  			panic("unknown field " + strconv.Quote(field.Name))
 18637  		}
 18638  	}
 18639  	out.Dispatch()
 18640  	if invalids > 0 {
 18641  		return graphql.Null
 18642  	}
 18643  	return out
 18644  }
 18645  
 18646  var validTypeImplementors = []string{"ValidType"}
 18647  
 18648  func (ec *executionContext) _ValidType(ctx context.Context, sel ast.SelectionSet, obj *ValidType) graphql.Marshaler {
 18649  	fields := graphql.CollectFields(ec.OperationContext, sel, validTypeImplementors)
 18650  	out := graphql.NewFieldSet(fields)
 18651  	var invalids uint32
 18652  	for i, field := range fields {
 18653  		switch field.Name {
 18654  		case "__typename":
 18655  			out.Values[i] = graphql.MarshalString("ValidType")
 18656  		case "differentCase":
 18657  
 18658  			out.Values[i] = ec._ValidType_differentCase(ctx, field, obj)
 18659  
 18660  			if out.Values[i] == graphql.Null {
 18661  				invalids++
 18662  			}
 18663  		case "different_case":
 18664  
 18665  			out.Values[i] = ec._ValidType_different_case(ctx, field, obj)
 18666  
 18667  			if out.Values[i] == graphql.Null {
 18668  				invalids++
 18669  			}
 18670  		case "validInputKeywords":
 18671  
 18672  			out.Values[i] = ec._ValidType_validInputKeywords(ctx, field, obj)
 18673  
 18674  			if out.Values[i] == graphql.Null {
 18675  				invalids++
 18676  			}
 18677  		case "validArgs":
 18678  
 18679  			out.Values[i] = ec._ValidType_validArgs(ctx, field, obj)
 18680  
 18681  			if out.Values[i] == graphql.Null {
 18682  				invalids++
 18683  			}
 18684  		default:
 18685  			panic("unknown field " + strconv.Quote(field.Name))
 18686  		}
 18687  	}
 18688  	out.Dispatch()
 18689  	if invalids > 0 {
 18690  		return graphql.Null
 18691  	}
 18692  	return out
 18693  }
 18694  
 18695  var variadicModelImplementors = []string{"VariadicModel"}
 18696  
 18697  func (ec *executionContext) _VariadicModel(ctx context.Context, sel ast.SelectionSet, obj *VariadicModel) graphql.Marshaler {
 18698  	fields := graphql.CollectFields(ec.OperationContext, sel, variadicModelImplementors)
 18699  	out := graphql.NewFieldSet(fields)
 18700  	var invalids uint32
 18701  	for i, field := range fields {
 18702  		switch field.Name {
 18703  		case "__typename":
 18704  			out.Values[i] = graphql.MarshalString("VariadicModel")
 18705  		case "value":
 18706  			field := field
 18707  
 18708  			innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
 18709  				defer func() {
 18710  					if r := recover(); r != nil {
 18711  						ec.Error(ctx, ec.Recover(ctx, r))
 18712  					}
 18713  				}()
 18714  				res = ec._VariadicModel_value(ctx, field, obj)
 18715  				return res
 18716  			}
 18717  
 18718  			out.Concurrently(i, func() graphql.Marshaler {
 18719  				return innerFunc(ctx)
 18720  
 18721  			})
 18722  		default:
 18723  			panic("unknown field " + strconv.Quote(field.Name))
 18724  		}
 18725  	}
 18726  	out.Dispatch()
 18727  	if invalids > 0 {
 18728  		return graphql.Null
 18729  	}
 18730  	return out
 18731  }
 18732  
 18733  var wrappedMapImplementors = []string{"WrappedMap"}
 18734  
 18735  func (ec *executionContext) _WrappedMap(ctx context.Context, sel ast.SelectionSet, obj WrappedMap) graphql.Marshaler {
 18736  	fields := graphql.CollectFields(ec.OperationContext, sel, wrappedMapImplementors)
 18737  	out := graphql.NewFieldSet(fields)
 18738  	var invalids uint32
 18739  	for i, field := range fields {
 18740  		switch field.Name {
 18741  		case "__typename":
 18742  			out.Values[i] = graphql.MarshalString("WrappedMap")
 18743  		case "get":
 18744  			field := field
 18745  
 18746  			innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
 18747  				defer func() {
 18748  					if r := recover(); r != nil {
 18749  						ec.Error(ctx, ec.Recover(ctx, r))
 18750  					}
 18751  				}()
 18752  				res = ec._WrappedMap_get(ctx, field, obj)
 18753  				if res == graphql.Null {
 18754  					atomic.AddUint32(&invalids, 1)
 18755  				}
 18756  				return res
 18757  			}
 18758  
 18759  			out.Concurrently(i, func() graphql.Marshaler {
 18760  				return innerFunc(ctx)
 18761  
 18762  			})
 18763  		default:
 18764  			panic("unknown field " + strconv.Quote(field.Name))
 18765  		}
 18766  	}
 18767  	out.Dispatch()
 18768  	if invalids > 0 {
 18769  		return graphql.Null
 18770  	}
 18771  	return out
 18772  }
 18773  
 18774  var wrappedSliceImplementors = []string{"WrappedSlice"}
 18775  
 18776  func (ec *executionContext) _WrappedSlice(ctx context.Context, sel ast.SelectionSet, obj WrappedSlice) graphql.Marshaler {
 18777  	fields := graphql.CollectFields(ec.OperationContext, sel, wrappedSliceImplementors)
 18778  	out := graphql.NewFieldSet(fields)
 18779  	var invalids uint32
 18780  	for i, field := range fields {
 18781  		switch field.Name {
 18782  		case "__typename":
 18783  			out.Values[i] = graphql.MarshalString("WrappedSlice")
 18784  		case "get":
 18785  			field := field
 18786  
 18787  			innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
 18788  				defer func() {
 18789  					if r := recover(); r != nil {
 18790  						ec.Error(ctx, ec.Recover(ctx, r))
 18791  					}
 18792  				}()
 18793  				res = ec._WrappedSlice_get(ctx, field, obj)
 18794  				if res == graphql.Null {
 18795  					atomic.AddUint32(&invalids, 1)
 18796  				}
 18797  				return res
 18798  			}
 18799  
 18800  			out.Concurrently(i, func() graphql.Marshaler {
 18801  				return innerFunc(ctx)
 18802  
 18803  			})
 18804  		default:
 18805  			panic("unknown field " + strconv.Quote(field.Name))
 18806  		}
 18807  	}
 18808  	out.Dispatch()
 18809  	if invalids > 0 {
 18810  		return graphql.Null
 18811  	}
 18812  	return out
 18813  }
 18814  
 18815  var wrappedStructImplementors = []string{"WrappedStruct"}
 18816  
 18817  func (ec *executionContext) _WrappedStruct(ctx context.Context, sel ast.SelectionSet, obj *WrappedStruct) graphql.Marshaler {
 18818  	fields := graphql.CollectFields(ec.OperationContext, sel, wrappedStructImplementors)
 18819  	out := graphql.NewFieldSet(fields)
 18820  	var invalids uint32
 18821  	for i, field := range fields {
 18822  		switch field.Name {
 18823  		case "__typename":
 18824  			out.Values[i] = graphql.MarshalString("WrappedStruct")
 18825  		case "name":
 18826  
 18827  			out.Values[i] = ec._WrappedStruct_name(ctx, field, obj)
 18828  
 18829  			if out.Values[i] == graphql.Null {
 18830  				invalids++
 18831  			}
 18832  		case "desc":
 18833  
 18834  			out.Values[i] = ec._WrappedStruct_desc(ctx, field, obj)
 18835  
 18836  		default:
 18837  			panic("unknown field " + strconv.Quote(field.Name))
 18838  		}
 18839  	}
 18840  	out.Dispatch()
 18841  	if invalids > 0 {
 18842  		return graphql.Null
 18843  	}
 18844  	return out
 18845  }
 18846  
 18847  var xXItImplementors = []string{"XXIt"}
 18848  
 18849  func (ec *executionContext) _XXIt(ctx context.Context, sel ast.SelectionSet, obj *XXIt) graphql.Marshaler {
 18850  	fields := graphql.CollectFields(ec.OperationContext, sel, xXItImplementors)
 18851  	out := graphql.NewFieldSet(fields)
 18852  	var invalids uint32
 18853  	for i, field := range fields {
 18854  		switch field.Name {
 18855  		case "__typename":
 18856  			out.Values[i] = graphql.MarshalString("XXIt")
 18857  		case "id":
 18858  
 18859  			out.Values[i] = ec._XXIt_id(ctx, field, obj)
 18860  
 18861  			if out.Values[i] == graphql.Null {
 18862  				invalids++
 18863  			}
 18864  		default:
 18865  			panic("unknown field " + strconv.Quote(field.Name))
 18866  		}
 18867  	}
 18868  	out.Dispatch()
 18869  	if invalids > 0 {
 18870  		return graphql.Null
 18871  	}
 18872  	return out
 18873  }
 18874  
 18875  var xxItImplementors = []string{"XxIt"}
 18876  
 18877  func (ec *executionContext) _XxIt(ctx context.Context, sel ast.SelectionSet, obj *XxIt) graphql.Marshaler {
 18878  	fields := graphql.CollectFields(ec.OperationContext, sel, xxItImplementors)
 18879  	out := graphql.NewFieldSet(fields)
 18880  	var invalids uint32
 18881  	for i, field := range fields {
 18882  		switch field.Name {
 18883  		case "__typename":
 18884  			out.Values[i] = graphql.MarshalString("XxIt")
 18885  		case "id":
 18886  
 18887  			out.Values[i] = ec._XxIt_id(ctx, field, obj)
 18888  
 18889  			if out.Values[i] == graphql.Null {
 18890  				invalids++
 18891  			}
 18892  		default:
 18893  			panic("unknown field " + strconv.Quote(field.Name))
 18894  		}
 18895  	}
 18896  	out.Dispatch()
 18897  	if invalids > 0 {
 18898  		return graphql.Null
 18899  	}
 18900  	return out
 18901  }
 18902  
 18903  var __DirectiveImplementors = []string{"__Directive"}
 18904  
 18905  func (ec *executionContext) ___Directive(ctx context.Context, sel ast.SelectionSet, obj *introspection.Directive) graphql.Marshaler {
 18906  	fields := graphql.CollectFields(ec.OperationContext, sel, __DirectiveImplementors)
 18907  	out := graphql.NewFieldSet(fields)
 18908  	var invalids uint32
 18909  	for i, field := range fields {
 18910  		switch field.Name {
 18911  		case "__typename":
 18912  			out.Values[i] = graphql.MarshalString("__Directive")
 18913  		case "name":
 18914  
 18915  			out.Values[i] = ec.___Directive_name(ctx, field, obj)
 18916  
 18917  			if out.Values[i] == graphql.Null {
 18918  				invalids++
 18919  			}
 18920  		case "description":
 18921  
 18922  			out.Values[i] = ec.___Directive_description(ctx, field, obj)
 18923  
 18924  		case "locations":
 18925  
 18926  			out.Values[i] = ec.___Directive_locations(ctx, field, obj)
 18927  
 18928  			if out.Values[i] == graphql.Null {
 18929  				invalids++
 18930  			}
 18931  		case "args":
 18932  
 18933  			out.Values[i] = ec.___Directive_args(ctx, field, obj)
 18934  
 18935  			if out.Values[i] == graphql.Null {
 18936  				invalids++
 18937  			}
 18938  		case "isRepeatable":
 18939  
 18940  			out.Values[i] = ec.___Directive_isRepeatable(ctx, field, obj)
 18941  
 18942  			if out.Values[i] == graphql.Null {
 18943  				invalids++
 18944  			}
 18945  		default:
 18946  			panic("unknown field " + strconv.Quote(field.Name))
 18947  		}
 18948  	}
 18949  	out.Dispatch()
 18950  	if invalids > 0 {
 18951  		return graphql.Null
 18952  	}
 18953  	return out
 18954  }
 18955  
 18956  var __EnumValueImplementors = []string{"__EnumValue"}
 18957  
 18958  func (ec *executionContext) ___EnumValue(ctx context.Context, sel ast.SelectionSet, obj *introspection.EnumValue) graphql.Marshaler {
 18959  	fields := graphql.CollectFields(ec.OperationContext, sel, __EnumValueImplementors)
 18960  	out := graphql.NewFieldSet(fields)
 18961  	var invalids uint32
 18962  	for i, field := range fields {
 18963  		switch field.Name {
 18964  		case "__typename":
 18965  			out.Values[i] = graphql.MarshalString("__EnumValue")
 18966  		case "name":
 18967  
 18968  			out.Values[i] = ec.___EnumValue_name(ctx, field, obj)
 18969  
 18970  			if out.Values[i] == graphql.Null {
 18971  				invalids++
 18972  			}
 18973  		case "description":
 18974  
 18975  			out.Values[i] = ec.___EnumValue_description(ctx, field, obj)
 18976  
 18977  		case "isDeprecated":
 18978  
 18979  			out.Values[i] = ec.___EnumValue_isDeprecated(ctx, field, obj)
 18980  
 18981  			if out.Values[i] == graphql.Null {
 18982  				invalids++
 18983  			}
 18984  		case "deprecationReason":
 18985  
 18986  			out.Values[i] = ec.___EnumValue_deprecationReason(ctx, field, obj)
 18987  
 18988  		default:
 18989  			panic("unknown field " + strconv.Quote(field.Name))
 18990  		}
 18991  	}
 18992  	out.Dispatch()
 18993  	if invalids > 0 {
 18994  		return graphql.Null
 18995  	}
 18996  	return out
 18997  }
 18998  
 18999  var __FieldImplementors = []string{"__Field"}
 19000  
 19001  func (ec *executionContext) ___Field(ctx context.Context, sel ast.SelectionSet, obj *introspection.Field) graphql.Marshaler {
 19002  	fields := graphql.CollectFields(ec.OperationContext, sel, __FieldImplementors)
 19003  	out := graphql.NewFieldSet(fields)
 19004  	var invalids uint32
 19005  	for i, field := range fields {
 19006  		switch field.Name {
 19007  		case "__typename":
 19008  			out.Values[i] = graphql.MarshalString("__Field")
 19009  		case "name":
 19010  
 19011  			out.Values[i] = ec.___Field_name(ctx, field, obj)
 19012  
 19013  			if out.Values[i] == graphql.Null {
 19014  				invalids++
 19015  			}
 19016  		case "description":
 19017  
 19018  			out.Values[i] = ec.___Field_description(ctx, field, obj)
 19019  
 19020  		case "args":
 19021  
 19022  			out.Values[i] = ec.___Field_args(ctx, field, obj)
 19023  
 19024  			if out.Values[i] == graphql.Null {
 19025  				invalids++
 19026  			}
 19027  		case "type":
 19028  
 19029  			out.Values[i] = ec.___Field_type(ctx, field, obj)
 19030  
 19031  			if out.Values[i] == graphql.Null {
 19032  				invalids++
 19033  			}
 19034  		case "isDeprecated":
 19035  
 19036  			out.Values[i] = ec.___Field_isDeprecated(ctx, field, obj)
 19037  
 19038  			if out.Values[i] == graphql.Null {
 19039  				invalids++
 19040  			}
 19041  		case "deprecationReason":
 19042  
 19043  			out.Values[i] = ec.___Field_deprecationReason(ctx, field, obj)
 19044  
 19045  		default:
 19046  			panic("unknown field " + strconv.Quote(field.Name))
 19047  		}
 19048  	}
 19049  	out.Dispatch()
 19050  	if invalids > 0 {
 19051  		return graphql.Null
 19052  	}
 19053  	return out
 19054  }
 19055  
 19056  var __InputValueImplementors = []string{"__InputValue"}
 19057  
 19058  func (ec *executionContext) ___InputValue(ctx context.Context, sel ast.SelectionSet, obj *introspection.InputValue) graphql.Marshaler {
 19059  	fields := graphql.CollectFields(ec.OperationContext, sel, __InputValueImplementors)
 19060  	out := graphql.NewFieldSet(fields)
 19061  	var invalids uint32
 19062  	for i, field := range fields {
 19063  		switch field.Name {
 19064  		case "__typename":
 19065  			out.Values[i] = graphql.MarshalString("__InputValue")
 19066  		case "name":
 19067  
 19068  			out.Values[i] = ec.___InputValue_name(ctx, field, obj)
 19069  
 19070  			if out.Values[i] == graphql.Null {
 19071  				invalids++
 19072  			}
 19073  		case "description":
 19074  
 19075  			out.Values[i] = ec.___InputValue_description(ctx, field, obj)
 19076  
 19077  		case "type":
 19078  
 19079  			out.Values[i] = ec.___InputValue_type(ctx, field, obj)
 19080  
 19081  			if out.Values[i] == graphql.Null {
 19082  				invalids++
 19083  			}
 19084  		case "defaultValue":
 19085  
 19086  			out.Values[i] = ec.___InputValue_defaultValue(ctx, field, obj)
 19087  
 19088  		default:
 19089  			panic("unknown field " + strconv.Quote(field.Name))
 19090  		}
 19091  	}
 19092  	out.Dispatch()
 19093  	if invalids > 0 {
 19094  		return graphql.Null
 19095  	}
 19096  	return out
 19097  }
 19098  
 19099  var __SchemaImplementors = []string{"__Schema"}
 19100  
 19101  func (ec *executionContext) ___Schema(ctx context.Context, sel ast.SelectionSet, obj *introspection.Schema) graphql.Marshaler {
 19102  	fields := graphql.CollectFields(ec.OperationContext, sel, __SchemaImplementors)
 19103  	out := graphql.NewFieldSet(fields)
 19104  	var invalids uint32
 19105  	for i, field := range fields {
 19106  		switch field.Name {
 19107  		case "__typename":
 19108  			out.Values[i] = graphql.MarshalString("__Schema")
 19109  		case "description":
 19110  
 19111  			out.Values[i] = ec.___Schema_description(ctx, field, obj)
 19112  
 19113  		case "types":
 19114  
 19115  			out.Values[i] = ec.___Schema_types(ctx, field, obj)
 19116  
 19117  			if out.Values[i] == graphql.Null {
 19118  				invalids++
 19119  			}
 19120  		case "queryType":
 19121  
 19122  			out.Values[i] = ec.___Schema_queryType(ctx, field, obj)
 19123  
 19124  			if out.Values[i] == graphql.Null {
 19125  				invalids++
 19126  			}
 19127  		case "mutationType":
 19128  
 19129  			out.Values[i] = ec.___Schema_mutationType(ctx, field, obj)
 19130  
 19131  		case "subscriptionType":
 19132  
 19133  			out.Values[i] = ec.___Schema_subscriptionType(ctx, field, obj)
 19134  
 19135  		case "directives":
 19136  
 19137  			out.Values[i] = ec.___Schema_directives(ctx, field, obj)
 19138  
 19139  			if out.Values[i] == graphql.Null {
 19140  				invalids++
 19141  			}
 19142  		default:
 19143  			panic("unknown field " + strconv.Quote(field.Name))
 19144  		}
 19145  	}
 19146  	out.Dispatch()
 19147  	if invalids > 0 {
 19148  		return graphql.Null
 19149  	}
 19150  	return out
 19151  }
 19152  
 19153  var __TypeImplementors = []string{"__Type"}
 19154  
 19155  func (ec *executionContext) ___Type(ctx context.Context, sel ast.SelectionSet, obj *introspection.Type) graphql.Marshaler {
 19156  	fields := graphql.CollectFields(ec.OperationContext, sel, __TypeImplementors)
 19157  	out := graphql.NewFieldSet(fields)
 19158  	var invalids uint32
 19159  	for i, field := range fields {
 19160  		switch field.Name {
 19161  		case "__typename":
 19162  			out.Values[i] = graphql.MarshalString("__Type")
 19163  		case "kind":
 19164  
 19165  			out.Values[i] = ec.___Type_kind(ctx, field, obj)
 19166  
 19167  			if out.Values[i] == graphql.Null {
 19168  				invalids++
 19169  			}
 19170  		case "name":
 19171  
 19172  			out.Values[i] = ec.___Type_name(ctx, field, obj)
 19173  
 19174  		case "description":
 19175  
 19176  			out.Values[i] = ec.___Type_description(ctx, field, obj)
 19177  
 19178  		case "fields":
 19179  
 19180  			out.Values[i] = ec.___Type_fields(ctx, field, obj)
 19181  
 19182  		case "interfaces":
 19183  
 19184  			out.Values[i] = ec.___Type_interfaces(ctx, field, obj)
 19185  
 19186  		case "possibleTypes":
 19187  
 19188  			out.Values[i] = ec.___Type_possibleTypes(ctx, field, obj)
 19189  
 19190  		case "enumValues":
 19191  
 19192  			out.Values[i] = ec.___Type_enumValues(ctx, field, obj)
 19193  
 19194  		case "inputFields":
 19195  
 19196  			out.Values[i] = ec.___Type_inputFields(ctx, field, obj)
 19197  
 19198  		case "ofType":
 19199  
 19200  			out.Values[i] = ec.___Type_ofType(ctx, field, obj)
 19201  
 19202  		case "specifiedByURL":
 19203  
 19204  			out.Values[i] = ec.___Type_specifiedByURL(ctx, field, obj)
 19205  
 19206  		default:
 19207  			panic("unknown field " + strconv.Quote(field.Name))
 19208  		}
 19209  	}
 19210  	out.Dispatch()
 19211  	if invalids > 0 {
 19212  		return graphql.Null
 19213  	}
 19214  	return out
 19215  }
 19216  
 19217  var asdfItImplementors = []string{"asdfIt"}
 19218  
 19219  func (ec *executionContext) _asdfIt(ctx context.Context, sel ast.SelectionSet, obj *AsdfIt) graphql.Marshaler {
 19220  	fields := graphql.CollectFields(ec.OperationContext, sel, asdfItImplementors)
 19221  	out := graphql.NewFieldSet(fields)
 19222  	var invalids uint32
 19223  	for i, field := range fields {
 19224  		switch field.Name {
 19225  		case "__typename":
 19226  			out.Values[i] = graphql.MarshalString("asdfIt")
 19227  		case "id":
 19228  
 19229  			out.Values[i] = ec._asdfIt_id(ctx, field, obj)
 19230  
 19231  			if out.Values[i] == graphql.Null {
 19232  				invalids++
 19233  			}
 19234  		default:
 19235  			panic("unknown field " + strconv.Quote(field.Name))
 19236  		}
 19237  	}
 19238  	out.Dispatch()
 19239  	if invalids > 0 {
 19240  		return graphql.Null
 19241  	}
 19242  	return out
 19243  }
 19244  
 19245  var iItImplementors = []string{"iIt"}
 19246  
 19247  func (ec *executionContext) _iIt(ctx context.Context, sel ast.SelectionSet, obj *IIt) graphql.Marshaler {
 19248  	fields := graphql.CollectFields(ec.OperationContext, sel, iItImplementors)
 19249  	out := graphql.NewFieldSet(fields)
 19250  	var invalids uint32
 19251  	for i, field := range fields {
 19252  		switch field.Name {
 19253  		case "__typename":
 19254  			out.Values[i] = graphql.MarshalString("iIt")
 19255  		case "id":
 19256  
 19257  			out.Values[i] = ec._iIt_id(ctx, field, obj)
 19258  
 19259  			if out.Values[i] == graphql.Null {
 19260  				invalids++
 19261  			}
 19262  		default:
 19263  			panic("unknown field " + strconv.Quote(field.Name))
 19264  		}
 19265  	}
 19266  	out.Dispatch()
 19267  	if invalids > 0 {
 19268  		return graphql.Null
 19269  	}
 19270  	return out
 19271  }
 19272  
 19273  // endregion **************************** object.gotpl ****************************
 19274  
 19275  // region    ***************************** type.gotpl *****************************
 19276  
 19277  func (ec *executionContext) unmarshalNBoolean2bool(ctx context.Context, v interface{}) (bool, error) {
 19278  	res, err := graphql.UnmarshalBoolean(v)
 19279  	return res, graphql.ErrorOnPath(ctx, err)
 19280  }
 19281  
 19282  func (ec *executionContext) marshalNBoolean2bool(ctx context.Context, sel ast.SelectionSet, v bool) graphql.Marshaler {
 19283  	res := graphql.MarshalBoolean(v)
 19284  	if res == graphql.Null {
 19285  		if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) {
 19286  			ec.Errorf(ctx, "the requested element is null which the schema does not allow")
 19287  		}
 19288  	}
 19289  	return res
 19290  }
 19291  
 19292  func (ec *executionContext) unmarshalNBytes2ᚕbyte(ctx context.Context, v interface{}) ([]byte, error) {
 19293  	res, err := UnmarshalBytes(v)
 19294  	return res, graphql.ErrorOnPath(ctx, err)
 19295  }
 19296  
 19297  func (ec *executionContext) marshalNBytes2ᚕbyte(ctx context.Context, sel ast.SelectionSet, v []byte) graphql.Marshaler {
 19298  	if v == nil {
 19299  		if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) {
 19300  			ec.Errorf(ctx, "the requested element is null which the schema does not allow")
 19301  		}
 19302  		return graphql.Null
 19303  	}
 19304  	res := MarshalBytes(v)
 19305  	if res == graphql.Null {
 19306  		if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) {
 19307  			ec.Errorf(ctx, "the requested element is null which the schema does not allow")
 19308  		}
 19309  	}
 19310  	return res
 19311  }
 19312  
 19313  func (ec *executionContext) marshalNCheckIssue8962ᚖgithubᚗcomᚋ99designsᚋgqlgenᚋcodegenᚋtestserverᚋsinglefileᚐCheckIssue896(ctx context.Context, sel ast.SelectionSet, v *CheckIssue896) graphql.Marshaler {
 19314  	if v == nil {
 19315  		if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) {
 19316  			ec.Errorf(ctx, "the requested element is null which the schema does not allow")
 19317  		}
 19318  		return graphql.Null
 19319  	}
 19320  	return ec._CheckIssue896(ctx, sel, v)
 19321  }
 19322  
 19323  func (ec *executionContext) unmarshalNDefaultInput2githubᚗcomᚋ99designsᚋgqlgenᚋcodegenᚋtestserverᚋsinglefileᚐDefaultInput(ctx context.Context, v interface{}) (DefaultInput, error) {
 19324  	res, err := ec.unmarshalInputDefaultInput(ctx, v)
 19325  	return res, graphql.ErrorOnPath(ctx, err)
 19326  }
 19327  
 19328  func (ec *executionContext) marshalNDefaultParametersMirror2githubᚗcomᚋ99designsᚋgqlgenᚋcodegenᚋtestserverᚋsinglefileᚐDefaultParametersMirror(ctx context.Context, sel ast.SelectionSet, v DefaultParametersMirror) graphql.Marshaler {
 19329  	return ec._DefaultParametersMirror(ctx, sel, &v)
 19330  }
 19331  
 19332  func (ec *executionContext) marshalNDefaultParametersMirror2ᚖgithubᚗcomᚋ99designsᚋgqlgenᚋcodegenᚋtestserverᚋsinglefileᚐDefaultParametersMirror(ctx context.Context, sel ast.SelectionSet, v *DefaultParametersMirror) graphql.Marshaler {
 19333  	if v == nil {
 19334  		if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) {
 19335  			ec.Errorf(ctx, "the requested element is null which the schema does not allow")
 19336  		}
 19337  		return graphql.Null
 19338  	}
 19339  	return ec._DefaultParametersMirror(ctx, sel, v)
 19340  }
 19341  
 19342  func (ec *executionContext) unmarshalNDefaultScalarImplementation2string(ctx context.Context, v interface{}) (string, error) {
 19343  	res, err := graphql.UnmarshalString(v)
 19344  	return res, graphql.ErrorOnPath(ctx, err)
 19345  }
 19346  
 19347  func (ec *executionContext) marshalNDefaultScalarImplementation2string(ctx context.Context, sel ast.SelectionSet, v string) graphql.Marshaler {
 19348  	res := graphql.MarshalString(v)
 19349  	if res == graphql.Null {
 19350  		if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) {
 19351  			ec.Errorf(ctx, "the requested element is null which the schema does not allow")
 19352  		}
 19353  	}
 19354  	return res
 19355  }
 19356  
 19357  func (ec *executionContext) unmarshalNEmail2githubᚗcomᚋ99designsᚋgqlgenᚋcodegenᚋtestserverᚋsinglefileᚐEmail(ctx context.Context, v interface{}) (Email, error) {
 19358  	var res Email
 19359  	err := res.UnmarshalGQL(v)
 19360  	return res, graphql.ErrorOnPath(ctx, err)
 19361  }
 19362  
 19363  func (ec *executionContext) marshalNEmail2githubᚗcomᚋ99designsᚋgqlgenᚋcodegenᚋtestserverᚋsinglefileᚐEmail(ctx context.Context, sel ast.SelectionSet, v Email) graphql.Marshaler {
 19364  	return v
 19365  }
 19366  
 19367  func (ec *executionContext) unmarshalNEnumTest2githubᚗcomᚋ99designsᚋgqlgenᚋcodegenᚋtestserverᚋsinglefileᚐEnumTest(ctx context.Context, v interface{}) (EnumTest, error) {
 19368  	var res EnumTest
 19369  	err := res.UnmarshalGQL(v)
 19370  	return res, graphql.ErrorOnPath(ctx, err)
 19371  }
 19372  
 19373  func (ec *executionContext) marshalNEnumTest2githubᚗcomᚋ99designsᚋgqlgenᚋcodegenᚋtestserverᚋsinglefileᚐEnumTest(ctx context.Context, sel ast.SelectionSet, v EnumTest) graphql.Marshaler {
 19374  	return v
 19375  }
 19376  
 19377  func (ec *executionContext) marshalNError2githubᚗcomᚋ99designsᚋgqlgenᚋcodegenᚋtestserverᚋsinglefileᚐError(ctx context.Context, sel ast.SelectionSet, v Error) graphql.Marshaler {
 19378  	return ec._Error(ctx, sel, &v)
 19379  }
 19380  
 19381  func (ec *executionContext) marshalNError2ᚖgithubᚗcomᚋ99designsᚋgqlgenᚋcodegenᚋtestserverᚋsinglefileᚐError(ctx context.Context, sel ast.SelectionSet, v *Error) graphql.Marshaler {
 19382  	if v == nil {
 19383  		if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) {
 19384  			ec.Errorf(ctx, "the requested element is null which the schema does not allow")
 19385  		}
 19386  		return graphql.Null
 19387  	}
 19388  	return ec._Error(ctx, sel, v)
 19389  }
 19390  
 19391  func (ec *executionContext) unmarshalNFallbackToStringEncoding2githubᚗcomᚋ99designsᚋgqlgenᚋcodegenᚋtestserverᚋsinglefileᚐFallbackToStringEncoding(ctx context.Context, v interface{}) (FallbackToStringEncoding, error) {
 19392  	tmp, err := graphql.UnmarshalString(v)
 19393  	res := FallbackToStringEncoding(tmp)
 19394  	return res, graphql.ErrorOnPath(ctx, err)
 19395  }
 19396  
 19397  func (ec *executionContext) marshalNFallbackToStringEncoding2githubᚗcomᚋ99designsᚋgqlgenᚋcodegenᚋtestserverᚋsinglefileᚐFallbackToStringEncoding(ctx context.Context, sel ast.SelectionSet, v FallbackToStringEncoding) graphql.Marshaler {
 19398  	res := graphql.MarshalString(string(v))
 19399  	if res == graphql.Null {
 19400  		if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) {
 19401  			ec.Errorf(ctx, "the requested element is null which the schema does not allow")
 19402  		}
 19403  	}
 19404  	return res
 19405  }
 19406  
 19407  func (ec *executionContext) unmarshalNFieldsOrderInput2githubᚗcomᚋ99designsᚋgqlgenᚋcodegenᚋtestserverᚋsinglefileᚐFieldsOrderInput(ctx context.Context, v interface{}) (FieldsOrderInput, error) {
 19408  	res, err := ec.unmarshalInputFieldsOrderInput(ctx, v)
 19409  	return res, graphql.ErrorOnPath(ctx, err)
 19410  }
 19411  
 19412  func (ec *executionContext) marshalNFieldsOrderPayload2githubᚗcomᚋ99designsᚋgqlgenᚋcodegenᚋtestserverᚋsinglefileᚐFieldsOrderPayload(ctx context.Context, sel ast.SelectionSet, v FieldsOrderPayload) graphql.Marshaler {
 19413  	return ec._FieldsOrderPayload(ctx, sel, &v)
 19414  }
 19415  
 19416  func (ec *executionContext) marshalNFieldsOrderPayload2ᚖgithubᚗcomᚋ99designsᚋgqlgenᚋcodegenᚋtestserverᚋsinglefileᚐFieldsOrderPayload(ctx context.Context, sel ast.SelectionSet, v *FieldsOrderPayload) graphql.Marshaler {
 19417  	if v == nil {
 19418  		if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) {
 19419  			ec.Errorf(ctx, "the requested element is null which the schema does not allow")
 19420  		}
 19421  		return graphql.Null
 19422  	}
 19423  	return ec._FieldsOrderPayload(ctx, sel, v)
 19424  }
 19425  
 19426  func (ec *executionContext) unmarshalNFloat2float64(ctx context.Context, v interface{}) (float64, error) {
 19427  	res, err := graphql.UnmarshalFloatContext(ctx, v)
 19428  	return res, graphql.ErrorOnPath(ctx, err)
 19429  }
 19430  
 19431  func (ec *executionContext) marshalNFloat2float64(ctx context.Context, sel ast.SelectionSet, v float64) graphql.Marshaler {
 19432  	res := graphql.MarshalFloatContext(v)
 19433  	if res == graphql.Null {
 19434  		if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) {
 19435  			ec.Errorf(ctx, "the requested element is null which the schema does not allow")
 19436  		}
 19437  	}
 19438  	return graphql.WrapContextMarshaler(ctx, res)
 19439  }
 19440  
 19441  func (ec *executionContext) unmarshalNID2int(ctx context.Context, v interface{}) (int, error) {
 19442  	res, err := graphql.UnmarshalIntID(v)
 19443  	return res, graphql.ErrorOnPath(ctx, err)
 19444  }
 19445  
 19446  func (ec *executionContext) marshalNID2int(ctx context.Context, sel ast.SelectionSet, v int) graphql.Marshaler {
 19447  	res := graphql.MarshalIntID(v)
 19448  	if res == graphql.Null {
 19449  		if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) {
 19450  			ec.Errorf(ctx, "the requested element is null which the schema does not allow")
 19451  		}
 19452  	}
 19453  	return res
 19454  }
 19455  
 19456  func (ec *executionContext) unmarshalNID2string(ctx context.Context, v interface{}) (string, error) {
 19457  	res, err := graphql.UnmarshalID(v)
 19458  	return res, graphql.ErrorOnPath(ctx, err)
 19459  }
 19460  
 19461  func (ec *executionContext) marshalNID2string(ctx context.Context, sel ast.SelectionSet, v string) graphql.Marshaler {
 19462  	res := graphql.MarshalID(v)
 19463  	if res == graphql.Null {
 19464  		if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) {
 19465  			ec.Errorf(ctx, "the requested element is null which the schema does not allow")
 19466  		}
 19467  	}
 19468  	return res
 19469  }
 19470  
 19471  func (ec *executionContext) unmarshalNInnerDirectives2ᚖgithubᚗcomᚋ99designsᚋgqlgenᚋcodegenᚋtestserverᚋsinglefileᚐInnerDirectives(ctx context.Context, v interface{}) (*InnerDirectives, error) {
 19472  	res, err := ec.unmarshalInputInnerDirectives(ctx, v)
 19473  	return &res, graphql.ErrorOnPath(ctx, err)
 19474  }
 19475  
 19476  func (ec *executionContext) unmarshalNInnerInput2githubᚗcomᚋ99designsᚋgqlgenᚋcodegenᚋtestserverᚋsinglefileᚐInnerInput(ctx context.Context, v interface{}) (InnerInput, error) {
 19477  	res, err := ec.unmarshalInputInnerInput(ctx, v)
 19478  	return res, graphql.ErrorOnPath(ctx, err)
 19479  }
 19480  
 19481  func (ec *executionContext) unmarshalNInnerInput2ᚖgithubᚗcomᚋ99designsᚋgqlgenᚋcodegenᚋtestserverᚋsinglefileᚐInnerInput(ctx context.Context, v interface{}) (*InnerInput, error) {
 19482  	res, err := ec.unmarshalInputInnerInput(ctx, v)
 19483  	return &res, graphql.ErrorOnPath(ctx, err)
 19484  }
 19485  
 19486  func (ec *executionContext) marshalNInnerObject2ᚖgithubᚗcomᚋ99designsᚋgqlgenᚋcodegenᚋtestserverᚋsinglefileᚐInnerObject(ctx context.Context, sel ast.SelectionSet, v *InnerObject) graphql.Marshaler {
 19487  	if v == nil {
 19488  		if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) {
 19489  			ec.Errorf(ctx, "the requested element is null which the schema does not allow")
 19490  		}
 19491  		return graphql.Null
 19492  	}
 19493  	return ec._InnerObject(ctx, sel, v)
 19494  }
 19495  
 19496  func (ec *executionContext) unmarshalNInputDirectives2githubᚗcomᚋ99designsᚋgqlgenᚋcodegenᚋtestserverᚋsinglefileᚐInputDirectives(ctx context.Context, v interface{}) (InputDirectives, error) {
 19497  	res, err := ec.unmarshalInputInputDirectives(ctx, v)
 19498  	return res, graphql.ErrorOnPath(ctx, err)
 19499  }
 19500  
 19501  func (ec *executionContext) unmarshalNInt2int(ctx context.Context, v interface{}) (int, error) {
 19502  	res, err := graphql.UnmarshalInt(v)
 19503  	return res, graphql.ErrorOnPath(ctx, err)
 19504  }
 19505  
 19506  func (ec *executionContext) marshalNInt2int(ctx context.Context, sel ast.SelectionSet, v int) graphql.Marshaler {
 19507  	res := graphql.MarshalInt(v)
 19508  	if res == graphql.Null {
 19509  		if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) {
 19510  			ec.Errorf(ctx, "the requested element is null which the schema does not allow")
 19511  		}
 19512  	}
 19513  	return res
 19514  }
 19515  
 19516  func (ec *executionContext) unmarshalNInt2int32(ctx context.Context, v interface{}) (int32, error) {
 19517  	res, err := graphql.UnmarshalInt32(v)
 19518  	return res, graphql.ErrorOnPath(ctx, err)
 19519  }
 19520  
 19521  func (ec *executionContext) marshalNInt2int32(ctx context.Context, sel ast.SelectionSet, v int32) graphql.Marshaler {
 19522  	res := graphql.MarshalInt32(v)
 19523  	if res == graphql.Null {
 19524  		if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) {
 19525  			ec.Errorf(ctx, "the requested element is null which the schema does not allow")
 19526  		}
 19527  	}
 19528  	return res
 19529  }
 19530  
 19531  func (ec *executionContext) unmarshalNInt2int64(ctx context.Context, v interface{}) (int64, error) {
 19532  	res, err := graphql.UnmarshalInt64(v)
 19533  	return res, graphql.ErrorOnPath(ctx, err)
 19534  }
 19535  
 19536  func (ec *executionContext) marshalNInt2int64(ctx context.Context, sel ast.SelectionSet, v int64) graphql.Marshaler {
 19537  	res := graphql.MarshalInt64(v)
 19538  	if res == graphql.Null {
 19539  		if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) {
 19540  			ec.Errorf(ctx, "the requested element is null which the schema does not allow")
 19541  		}
 19542  	}
 19543  	return res
 19544  }
 19545  
 19546  func (ec *executionContext) marshalNLoopA2ᚖgithubᚗcomᚋ99designsᚋgqlgenᚋcodegenᚋtestserverᚋsinglefileᚐLoopA(ctx context.Context, sel ast.SelectionSet, v *LoopA) graphql.Marshaler {
 19547  	if v == nil {
 19548  		if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) {
 19549  			ec.Errorf(ctx, "the requested element is null which the schema does not allow")
 19550  		}
 19551  		return graphql.Null
 19552  	}
 19553  	return ec._LoopA(ctx, sel, v)
 19554  }
 19555  
 19556  func (ec *executionContext) marshalNLoopB2ᚖgithubᚗcomᚋ99designsᚋgqlgenᚋcodegenᚋtestserverᚋsinglefileᚐLoopB(ctx context.Context, sel ast.SelectionSet, v *LoopB) graphql.Marshaler {
 19557  	if v == nil {
 19558  		if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) {
 19559  			ec.Errorf(ctx, "the requested element is null which the schema does not allow")
 19560  		}
 19561  		return graphql.Null
 19562  	}
 19563  	return ec._LoopB(ctx, sel, v)
 19564  }
 19565  
 19566  func (ec *executionContext) unmarshalNMarshalPanic2githubᚗcomᚋ99designsᚋgqlgenᚋcodegenᚋtestserverᚋsinglefileᚐMarshalPanic(ctx context.Context, v interface{}) (MarshalPanic, error) {
 19567  	var res MarshalPanic
 19568  	err := res.UnmarshalGQL(v)
 19569  	return res, graphql.ErrorOnPath(ctx, err)
 19570  }
 19571  
 19572  func (ec *executionContext) marshalNMarshalPanic2githubᚗcomᚋ99designsᚋgqlgenᚋcodegenᚋtestserverᚋsinglefileᚐMarshalPanic(ctx context.Context, sel ast.SelectionSet, v MarshalPanic) graphql.Marshaler {
 19573  	return v
 19574  }
 19575  
 19576  func (ec *executionContext) unmarshalNMarshalPanic2ᚕgithubᚗcomᚋ99designsᚋgqlgenᚋcodegenᚋtestserverᚋsinglefileᚐMarshalPanicᚄ(ctx context.Context, v interface{}) ([]MarshalPanic, error) {
 19577  	var vSlice []interface{}
 19578  	if v != nil {
 19579  		vSlice = graphql.CoerceList(v)
 19580  	}
 19581  	var err error
 19582  	res := make([]MarshalPanic, len(vSlice))
 19583  	for i := range vSlice {
 19584  		ctx := graphql.WithPathContext(ctx, graphql.NewPathWithIndex(i))
 19585  		res[i], err = ec.unmarshalNMarshalPanic2githubᚗcomᚋ99designsᚋgqlgenᚋcodegenᚋtestserverᚋsinglefileᚐMarshalPanic(ctx, vSlice[i])
 19586  		if err != nil {
 19587  			return nil, err
 19588  		}
 19589  	}
 19590  	return res, nil
 19591  }
 19592  
 19593  func (ec *executionContext) marshalNMarshalPanic2ᚕgithubᚗcomᚋ99designsᚋgqlgenᚋcodegenᚋtestserverᚋsinglefileᚐMarshalPanicᚄ(ctx context.Context, sel ast.SelectionSet, v []MarshalPanic) graphql.Marshaler {
 19594  	ret := make(graphql.Array, len(v))
 19595  	for i := range v {
 19596  		ret[i] = ec.marshalNMarshalPanic2githubᚗcomᚋ99designsᚋgqlgenᚋcodegenᚋtestserverᚋsinglefileᚐMarshalPanic(ctx, sel, v[i])
 19597  	}
 19598  
 19599  	for _, e := range ret {
 19600  		if e == graphql.Null {
 19601  			return graphql.Null
 19602  		}
 19603  	}
 19604  
 19605  	return ret
 19606  }
 19607  
 19608  func (ec *executionContext) unmarshalNNestedInput2ᚖgithubᚗcomᚋ99designsᚋgqlgenᚋcodegenᚋtestserverᚋsinglefileᚐNestedInput(ctx context.Context, v interface{}) (*NestedInput, error) {
 19609  	res, err := ec.unmarshalInputNestedInput(ctx, v)
 19610  	return &res, graphql.ErrorOnPath(ctx, err)
 19611  }
 19612  
 19613  func (ec *executionContext) marshalNNode2githubᚗcomᚋ99designsᚋgqlgenᚋcodegenᚋtestserverᚋsinglefileᚐNode(ctx context.Context, sel ast.SelectionSet, v Node) graphql.Marshaler {
 19614  	if v == nil {
 19615  		if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) {
 19616  			ec.Errorf(ctx, "the requested element is null which the schema does not allow")
 19617  		}
 19618  		return graphql.Null
 19619  	}
 19620  	return ec._Node(ctx, sel, v)
 19621  }
 19622  
 19623  func (ec *executionContext) marshalNPet2ᚖgithubᚗcomᚋ99designsᚋgqlgenᚋcodegenᚋtestserverᚋsinglefileᚐPet(ctx context.Context, sel ast.SelectionSet, v *Pet) graphql.Marshaler {
 19624  	if v == nil {
 19625  		if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) {
 19626  			ec.Errorf(ctx, "the requested element is null which the schema does not allow")
 19627  		}
 19628  		return graphql.Null
 19629  	}
 19630  	return ec._Pet(ctx, sel, v)
 19631  }
 19632  
 19633  func (ec *executionContext) marshalNPrimitive2githubᚗcomᚋ99designsᚋgqlgenᚋcodegenᚋtestserverᚋsinglefileᚐPrimitive(ctx context.Context, sel ast.SelectionSet, v Primitive) graphql.Marshaler {
 19634  	return ec._Primitive(ctx, sel, &v)
 19635  }
 19636  
 19637  func (ec *executionContext) marshalNPrimitive2ᚕgithubᚗcomᚋ99designsᚋgqlgenᚋcodegenᚋtestserverᚋsinglefileᚐPrimitiveᚄ(ctx context.Context, sel ast.SelectionSet, v []Primitive) graphql.Marshaler {
 19638  	ret := make(graphql.Array, len(v))
 19639  	var wg sync.WaitGroup
 19640  	isLen1 := len(v) == 1
 19641  	if !isLen1 {
 19642  		wg.Add(len(v))
 19643  	}
 19644  	for i := range v {
 19645  		i := i
 19646  		fc := &graphql.FieldContext{
 19647  			Index:  &i,
 19648  			Result: &v[i],
 19649  		}
 19650  		ctx := graphql.WithFieldContext(ctx, fc)
 19651  		f := func(i int) {
 19652  			defer func() {
 19653  				if r := recover(); r != nil {
 19654  					ec.Error(ctx, ec.Recover(ctx, r))
 19655  					ret = nil
 19656  				}
 19657  			}()
 19658  			if !isLen1 {
 19659  				defer wg.Done()
 19660  			}
 19661  			ret[i] = ec.marshalNPrimitive2githubᚗcomᚋ99designsᚋgqlgenᚋcodegenᚋtestserverᚋsinglefileᚐPrimitive(ctx, sel, v[i])
 19662  		}
 19663  		if isLen1 {
 19664  			f(i)
 19665  		} else {
 19666  			go f(i)
 19667  		}
 19668  
 19669  	}
 19670  	wg.Wait()
 19671  
 19672  	for _, e := range ret {
 19673  		if e == graphql.Null {
 19674  			return graphql.Null
 19675  		}
 19676  	}
 19677  
 19678  	return ret
 19679  }
 19680  
 19681  func (ec *executionContext) marshalNPrimitiveString2githubᚗcomᚋ99designsᚋgqlgenᚋcodegenᚋtestserverᚋsinglefileᚐPrimitiveString(ctx context.Context, sel ast.SelectionSet, v PrimitiveString) graphql.Marshaler {
 19682  	return ec._PrimitiveString(ctx, sel, &v)
 19683  }
 19684  
 19685  func (ec *executionContext) marshalNPrimitiveString2ᚕgithubᚗcomᚋ99designsᚋgqlgenᚋcodegenᚋtestserverᚋsinglefileᚐPrimitiveStringᚄ(ctx context.Context, sel ast.SelectionSet, v []PrimitiveString) graphql.Marshaler {
 19686  	ret := make(graphql.Array, len(v))
 19687  	var wg sync.WaitGroup
 19688  	isLen1 := len(v) == 1
 19689  	if !isLen1 {
 19690  		wg.Add(len(v))
 19691  	}
 19692  	for i := range v {
 19693  		i := i
 19694  		fc := &graphql.FieldContext{
 19695  			Index:  &i,
 19696  			Result: &v[i],
 19697  		}
 19698  		ctx := graphql.WithFieldContext(ctx, fc)
 19699  		f := func(i int) {
 19700  			defer func() {
 19701  				if r := recover(); r != nil {
 19702  					ec.Error(ctx, ec.Recover(ctx, r))
 19703  					ret = nil
 19704  				}
 19705  			}()
 19706  			if !isLen1 {
 19707  				defer wg.Done()
 19708  			}
 19709  			ret[i] = ec.marshalNPrimitiveString2githubᚗcomᚋ99designsᚋgqlgenᚋcodegenᚋtestserverᚋsinglefileᚐPrimitiveString(ctx, sel, v[i])
 19710  		}
 19711  		if isLen1 {
 19712  			f(i)
 19713  		} else {
 19714  			go f(i)
 19715  		}
 19716  
 19717  	}
 19718  	wg.Wait()
 19719  
 19720  	for _, e := range ret {
 19721  		if e == graphql.Null {
 19722  			return graphql.Null
 19723  		}
 19724  	}
 19725  
 19726  	return ret
 19727  }
 19728  
 19729  func (ec *executionContext) marshalNPtrToPtrOuter2githubᚗcomᚋ99designsᚋgqlgenᚋcodegenᚋtestserverᚋsinglefileᚐPtrToPtrOuter(ctx context.Context, sel ast.SelectionSet, v PtrToPtrOuter) graphql.Marshaler {
 19730  	return ec._PtrToPtrOuter(ctx, sel, &v)
 19731  }
 19732  
 19733  func (ec *executionContext) marshalNPtrToPtrOuter2ᚖgithubᚗcomᚋ99designsᚋgqlgenᚋcodegenᚋtestserverᚋsinglefileᚐPtrToPtrOuter(ctx context.Context, sel ast.SelectionSet, v *PtrToPtrOuter) graphql.Marshaler {
 19734  	if v == nil {
 19735  		if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) {
 19736  			ec.Errorf(ctx, "the requested element is null which the schema does not allow")
 19737  		}
 19738  		return graphql.Null
 19739  	}
 19740  	return ec._PtrToPtrOuter(ctx, sel, v)
 19741  }
 19742  
 19743  func (ec *executionContext) marshalNPtrToSliceContainer2githubᚗcomᚋ99designsᚋgqlgenᚋcodegenᚋtestserverᚋsinglefileᚐPtrToSliceContainer(ctx context.Context, sel ast.SelectionSet, v PtrToSliceContainer) graphql.Marshaler {
 19744  	return ec._PtrToSliceContainer(ctx, sel, &v)
 19745  }
 19746  
 19747  func (ec *executionContext) marshalNPtrToSliceContainer2ᚖgithubᚗcomᚋ99designsᚋgqlgenᚋcodegenᚋtestserverᚋsinglefileᚐPtrToSliceContainer(ctx context.Context, sel ast.SelectionSet, v *PtrToSliceContainer) graphql.Marshaler {
 19748  	if v == nil {
 19749  		if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) {
 19750  			ec.Errorf(ctx, "the requested element is null which the schema does not allow")
 19751  		}
 19752  		return graphql.Null
 19753  	}
 19754  	return ec._PtrToSliceContainer(ctx, sel, v)
 19755  }
 19756  
 19757  func (ec *executionContext) unmarshalNRecursiveInputSlice2githubᚗcomᚋ99designsᚋgqlgenᚋcodegenᚋtestserverᚋsinglefileᚐRecursiveInputSlice(ctx context.Context, v interface{}) (RecursiveInputSlice, error) {
 19758  	res, err := ec.unmarshalInputRecursiveInputSlice(ctx, v)
 19759  	return res, graphql.ErrorOnPath(ctx, err)
 19760  }
 19761  
 19762  func (ec *executionContext) marshalNShapeUnion2githubᚗcomᚋ99designsᚋgqlgenᚋcodegenᚋtestserverᚋsinglefileᚐShapeUnion(ctx context.Context, sel ast.SelectionSet, v ShapeUnion) graphql.Marshaler {
 19763  	if v == nil {
 19764  		if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) {
 19765  			ec.Errorf(ctx, "the requested element is null which the schema does not allow")
 19766  		}
 19767  		return graphql.Null
 19768  	}
 19769  	return ec._ShapeUnion(ctx, sel, v)
 19770  }
 19771  
 19772  func (ec *executionContext) marshalNSize2ᚖgithubᚗcomᚋ99designsᚋgqlgenᚋcodegenᚋtestserverᚋsinglefileᚐSize(ctx context.Context, sel ast.SelectionSet, v *Size) graphql.Marshaler {
 19773  	if v == nil {
 19774  		if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) {
 19775  			ec.Errorf(ctx, "the requested element is null which the schema does not allow")
 19776  		}
 19777  		return graphql.Null
 19778  	}
 19779  	return ec._Size(ctx, sel, v)
 19780  }
 19781  
 19782  func (ec *executionContext) unmarshalNSpecialInput2githubᚗcomᚋ99designsᚋgqlgenᚋcodegenᚋtestserverᚋsinglefileᚐSpecialInput(ctx context.Context, v interface{}) (SpecialInput, error) {
 19783  	res, err := ec.unmarshalInputSpecialInput(ctx, v)
 19784  	return res, graphql.ErrorOnPath(ctx, err)
 19785  }
 19786  
 19787  func (ec *executionContext) unmarshalNString2string(ctx context.Context, v interface{}) (string, error) {
 19788  	res, err := graphql.UnmarshalString(v)
 19789  	return res, graphql.ErrorOnPath(ctx, err)
 19790  }
 19791  
 19792  func (ec *executionContext) marshalNString2string(ctx context.Context, sel ast.SelectionSet, v string) graphql.Marshaler {
 19793  	res := graphql.MarshalString(v)
 19794  	if res == graphql.Null {
 19795  		if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) {
 19796  			ec.Errorf(ctx, "the requested element is null which the schema does not allow")
 19797  		}
 19798  	}
 19799  	return res
 19800  }
 19801  
 19802  func (ec *executionContext) unmarshalNString2ᚕstringᚄ(ctx context.Context, v interface{}) ([]string, error) {
 19803  	var vSlice []interface{}
 19804  	if v != nil {
 19805  		vSlice = graphql.CoerceList(v)
 19806  	}
 19807  	var err error
 19808  	res := make([]string, len(vSlice))
 19809  	for i := range vSlice {
 19810  		ctx := graphql.WithPathContext(ctx, graphql.NewPathWithIndex(i))
 19811  		res[i], err = ec.unmarshalNString2string(ctx, vSlice[i])
 19812  		if err != nil {
 19813  			return nil, err
 19814  		}
 19815  	}
 19816  	return res, nil
 19817  }
 19818  
 19819  func (ec *executionContext) marshalNString2ᚕstringᚄ(ctx context.Context, sel ast.SelectionSet, v []string) graphql.Marshaler {
 19820  	ret := make(graphql.Array, len(v))
 19821  	for i := range v {
 19822  		ret[i] = ec.marshalNString2string(ctx, sel, v[i])
 19823  	}
 19824  
 19825  	for _, e := range ret {
 19826  		if e == graphql.Null {
 19827  			return graphql.Null
 19828  		}
 19829  	}
 19830  
 19831  	return ret
 19832  }
 19833  
 19834  func (ec *executionContext) unmarshalNString2ᚕᚖstring(ctx context.Context, v interface{}) ([]*string, error) {
 19835  	var vSlice []interface{}
 19836  	if v != nil {
 19837  		vSlice = graphql.CoerceList(v)
 19838  	}
 19839  	var err error
 19840  	res := make([]*string, len(vSlice))
 19841  	for i := range vSlice {
 19842  		ctx := graphql.WithPathContext(ctx, graphql.NewPathWithIndex(i))
 19843  		res[i], err = ec.unmarshalOString2ᚖstring(ctx, vSlice[i])
 19844  		if err != nil {
 19845  			return nil, err
 19846  		}
 19847  	}
 19848  	return res, nil
 19849  }
 19850  
 19851  func (ec *executionContext) marshalNString2ᚕᚖstring(ctx context.Context, sel ast.SelectionSet, v []*string) graphql.Marshaler {
 19852  	ret := make(graphql.Array, len(v))
 19853  	for i := range v {
 19854  		ret[i] = ec.marshalOString2ᚖstring(ctx, sel, v[i])
 19855  	}
 19856  
 19857  	return ret
 19858  }
 19859  
 19860  func (ec *executionContext) unmarshalNString2ᚖstring(ctx context.Context, v interface{}) (*string, error) {
 19861  	res, err := graphql.UnmarshalString(v)
 19862  	return &res, graphql.ErrorOnPath(ctx, err)
 19863  }
 19864  
 19865  func (ec *executionContext) marshalNString2ᚖstring(ctx context.Context, sel ast.SelectionSet, v *string) graphql.Marshaler {
 19866  	if v == nil {
 19867  		if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) {
 19868  			ec.Errorf(ctx, "the requested element is null which the schema does not allow")
 19869  		}
 19870  		return graphql.Null
 19871  	}
 19872  	res := graphql.MarshalString(*v)
 19873  	if res == graphql.Null {
 19874  		if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) {
 19875  			ec.Errorf(ctx, "the requested element is null which the schema does not allow")
 19876  		}
 19877  	}
 19878  	return res
 19879  }
 19880  
 19881  func (ec *executionContext) unmarshalNStringFromContextFunction2string(ctx context.Context, v interface{}) (string, error) {
 19882  	res, err := UnmarshalStringFromContextFunction(ctx, v)
 19883  	return res, graphql.ErrorOnPath(ctx, err)
 19884  }
 19885  
 19886  func (ec *executionContext) marshalNStringFromContextFunction2string(ctx context.Context, sel ast.SelectionSet, v string) graphql.Marshaler {
 19887  	res := MarshalStringFromContextFunction(v)
 19888  	if res == graphql.Null {
 19889  		if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) {
 19890  			ec.Errorf(ctx, "the requested element is null which the schema does not allow")
 19891  		}
 19892  	}
 19893  	return graphql.WrapContextMarshaler(ctx, res)
 19894  }
 19895  
 19896  func (ec *executionContext) unmarshalNStringFromContextInterface2githubᚗcomᚋ99designsᚋgqlgenᚋcodegenᚋtestserverᚋsinglefileᚐStringFromContextInterface(ctx context.Context, v interface{}) (StringFromContextInterface, error) {
 19897  	var res StringFromContextInterface
 19898  	err := res.UnmarshalGQLContext(ctx, v)
 19899  	return res, graphql.ErrorOnPath(ctx, err)
 19900  }
 19901  
 19902  func (ec *executionContext) marshalNStringFromContextInterface2githubᚗcomᚋ99designsᚋgqlgenᚋcodegenᚋtestserverᚋsinglefileᚐStringFromContextInterface(ctx context.Context, sel ast.SelectionSet, v StringFromContextInterface) graphql.Marshaler {
 19903  	return graphql.WrapContextMarshaler(ctx, v)
 19904  }
 19905  
 19906  func (ec *executionContext) unmarshalNStringFromContextInterface2ᚖgithubᚗcomᚋ99designsᚋgqlgenᚋcodegenᚋtestserverᚋsinglefileᚐStringFromContextInterface(ctx context.Context, v interface{}) (*StringFromContextInterface, error) {
 19907  	var res = new(StringFromContextInterface)
 19908  	err := res.UnmarshalGQLContext(ctx, v)
 19909  	return res, graphql.ErrorOnPath(ctx, err)
 19910  }
 19911  
 19912  func (ec *executionContext) marshalNStringFromContextInterface2ᚖgithubᚗcomᚋ99designsᚋgqlgenᚋcodegenᚋtestserverᚋsinglefileᚐStringFromContextInterface(ctx context.Context, sel ast.SelectionSet, v *StringFromContextInterface) graphql.Marshaler {
 19913  	if v == nil {
 19914  		if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) {
 19915  			ec.Errorf(ctx, "the requested element is null which the schema does not allow")
 19916  		}
 19917  		return graphql.Null
 19918  	}
 19919  	return graphql.WrapContextMarshaler(ctx, v)
 19920  }
 19921  
 19922  func (ec *executionContext) unmarshalNTime2timeᚐTime(ctx context.Context, v interface{}) (time.Time, error) {
 19923  	res, err := graphql.UnmarshalTime(v)
 19924  	return res, graphql.ErrorOnPath(ctx, err)
 19925  }
 19926  
 19927  func (ec *executionContext) marshalNTime2timeᚐTime(ctx context.Context, sel ast.SelectionSet, v time.Time) graphql.Marshaler {
 19928  	res := graphql.MarshalTime(v)
 19929  	if res == graphql.Null {
 19930  		if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) {
 19931  			ec.Errorf(ctx, "the requested element is null which the schema does not allow")
 19932  		}
 19933  	}
 19934  	return res
 19935  }
 19936  
 19937  func (ec *executionContext) unmarshalNUUID2string(ctx context.Context, v interface{}) (string, error) {
 19938  	res, err := graphql.UnmarshalString(v)
 19939  	return res, graphql.ErrorOnPath(ctx, err)
 19940  }
 19941  
 19942  func (ec *executionContext) marshalNUUID2string(ctx context.Context, sel ast.SelectionSet, v string) graphql.Marshaler {
 19943  	res := graphql.MarshalString(v)
 19944  	if res == graphql.Null {
 19945  		if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) {
 19946  			ec.Errorf(ctx, "the requested element is null which the schema does not allow")
 19947  		}
 19948  	}
 19949  	return res
 19950  }
 19951  
 19952  func (ec *executionContext) unmarshalNUpdatePtrToPtrOuter2githubᚗcomᚋ99designsᚋgqlgenᚋcodegenᚋtestserverᚋsinglefileᚐUpdatePtrToPtrOuter(ctx context.Context, v interface{}) (UpdatePtrToPtrOuter, error) {
 19953  	res, err := ec.unmarshalInputUpdatePtrToPtrOuter(ctx, v)
 19954  	return res, graphql.ErrorOnPath(ctx, err)
 19955  }
 19956  
 19957  func (ec *executionContext) marshalNUser2githubᚗcomᚋ99designsᚋgqlgenᚋcodegenᚋtestserverᚋsinglefileᚐUser(ctx context.Context, sel ast.SelectionSet, v User) graphql.Marshaler {
 19958  	return ec._User(ctx, sel, &v)
 19959  }
 19960  
 19961  func (ec *executionContext) marshalNUser2ᚕᚖgithubᚗcomᚋ99designsᚋgqlgenᚋcodegenᚋtestserverᚋsinglefileᚐUserᚄ(ctx context.Context, sel ast.SelectionSet, v []*User) graphql.Marshaler {
 19962  	ret := make(graphql.Array, len(v))
 19963  	var wg sync.WaitGroup
 19964  	isLen1 := len(v) == 1
 19965  	if !isLen1 {
 19966  		wg.Add(len(v))
 19967  	}
 19968  	for i := range v {
 19969  		i := i
 19970  		fc := &graphql.FieldContext{
 19971  			Index:  &i,
 19972  			Result: &v[i],
 19973  		}
 19974  		ctx := graphql.WithFieldContext(ctx, fc)
 19975  		f := func(i int) {
 19976  			defer func() {
 19977  				if r := recover(); r != nil {
 19978  					ec.Error(ctx, ec.Recover(ctx, r))
 19979  					ret = nil
 19980  				}
 19981  			}()
 19982  			if !isLen1 {
 19983  				defer wg.Done()
 19984  			}
 19985  			ret[i] = ec.marshalNUser2ᚖgithubᚗcomᚋ99designsᚋgqlgenᚋcodegenᚋtestserverᚋsinglefileᚐUser(ctx, sel, v[i])
 19986  		}
 19987  		if isLen1 {
 19988  			f(i)
 19989  		} else {
 19990  			go f(i)
 19991  		}
 19992  
 19993  	}
 19994  	wg.Wait()
 19995  
 19996  	for _, e := range ret {
 19997  		if e == graphql.Null {
 19998  			return graphql.Null
 19999  		}
 20000  	}
 20001  
 20002  	return ret
 20003  }
 20004  
 20005  func (ec *executionContext) marshalNUser2ᚖgithubᚗcomᚋ99designsᚋgqlgenᚋcodegenᚋtestserverᚋsinglefileᚐUser(ctx context.Context, sel ast.SelectionSet, v *User) graphql.Marshaler {
 20006  	if v == nil {
 20007  		if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) {
 20008  			ec.Errorf(ctx, "the requested element is null which the schema does not allow")
 20009  		}
 20010  		return graphql.Null
 20011  	}
 20012  	return ec._User(ctx, sel, v)
 20013  }
 20014  
 20015  func (ec *executionContext) marshalNWrappedMap2githubᚗcomᚋ99designsᚋgqlgenᚋcodegenᚋtestserverᚋsinglefileᚐWrappedMap(ctx context.Context, sel ast.SelectionSet, v WrappedMap) graphql.Marshaler {
 20016  	if v == nil {
 20017  		if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) {
 20018  			ec.Errorf(ctx, "the requested element is null which the schema does not allow")
 20019  		}
 20020  		return graphql.Null
 20021  	}
 20022  	return ec._WrappedMap(ctx, sel, v)
 20023  }
 20024  
 20025  func (ec *executionContext) unmarshalNWrappedScalar2githubᚗcomᚋ99designsᚋgqlgenᚋcodegenᚋtestserverᚋsinglefileᚋotherpkgᚐScalar(ctx context.Context, v interface{}) (otherpkg.Scalar, error) {
 20026  	tmp, err := graphql.UnmarshalString(v)
 20027  	res := otherpkg.Scalar(tmp)
 20028  	return res, graphql.ErrorOnPath(ctx, err)
 20029  }
 20030  
 20031  func (ec *executionContext) marshalNWrappedScalar2githubᚗcomᚋ99designsᚋgqlgenᚋcodegenᚋtestserverᚋsinglefileᚋotherpkgᚐScalar(ctx context.Context, sel ast.SelectionSet, v otherpkg.Scalar) graphql.Marshaler {
 20032  	res := graphql.MarshalString(string(v))
 20033  	if res == graphql.Null {
 20034  		if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) {
 20035  			ec.Errorf(ctx, "the requested element is null which the schema does not allow")
 20036  		}
 20037  	}
 20038  	return res
 20039  }
 20040  
 20041  func (ec *executionContext) marshalNWrappedSlice2githubᚗcomᚋ99designsᚋgqlgenᚋcodegenᚋtestserverᚋsinglefileᚐWrappedSlice(ctx context.Context, sel ast.SelectionSet, v WrappedSlice) graphql.Marshaler {
 20042  	if v == nil {
 20043  		if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) {
 20044  			ec.Errorf(ctx, "the requested element is null which the schema does not allow")
 20045  		}
 20046  		return graphql.Null
 20047  	}
 20048  	return ec._WrappedSlice(ctx, sel, v)
 20049  }
 20050  
 20051  func (ec *executionContext) marshalNWrappedStruct2githubᚗcomᚋ99designsᚋgqlgenᚋcodegenᚋtestserverᚋsinglefileᚐWrappedStruct(ctx context.Context, sel ast.SelectionSet, v WrappedStruct) graphql.Marshaler {
 20052  	return ec._WrappedStruct(ctx, sel, &v)
 20053  }
 20054  
 20055  func (ec *executionContext) marshalNWrappedStruct2ᚖgithubᚗcomᚋ99designsᚋgqlgenᚋcodegenᚋtestserverᚋsinglefileᚐWrappedStruct(ctx context.Context, sel ast.SelectionSet, v *WrappedStruct) graphql.Marshaler {
 20056  	if v == nil {
 20057  		if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) {
 20058  			ec.Errorf(ctx, "the requested element is null which the schema does not allow")
 20059  		}
 20060  		return graphql.Null
 20061  	}
 20062  	return ec._WrappedStruct(ctx, sel, v)
 20063  }
 20064  
 20065  func (ec *executionContext) marshalN__Directive2githubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚋintrospectionᚐDirective(ctx context.Context, sel ast.SelectionSet, v introspection.Directive) graphql.Marshaler {
 20066  	return ec.___Directive(ctx, sel, &v)
 20067  }
 20068  
 20069  func (ec *executionContext) marshalN__Directive2ᚕgithubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚋintrospectionᚐDirectiveᚄ(ctx context.Context, sel ast.SelectionSet, v []introspection.Directive) graphql.Marshaler {
 20070  	ret := make(graphql.Array, len(v))
 20071  	var wg sync.WaitGroup
 20072  	isLen1 := len(v) == 1
 20073  	if !isLen1 {
 20074  		wg.Add(len(v))
 20075  	}
 20076  	for i := range v {
 20077  		i := i
 20078  		fc := &graphql.FieldContext{
 20079  			Index:  &i,
 20080  			Result: &v[i],
 20081  		}
 20082  		ctx := graphql.WithFieldContext(ctx, fc)
 20083  		f := func(i int) {
 20084  			defer func() {
 20085  				if r := recover(); r != nil {
 20086  					ec.Error(ctx, ec.Recover(ctx, r))
 20087  					ret = nil
 20088  				}
 20089  			}()
 20090  			if !isLen1 {
 20091  				defer wg.Done()
 20092  			}
 20093  			ret[i] = ec.marshalN__Directive2githubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚋintrospectionᚐDirective(ctx, sel, v[i])
 20094  		}
 20095  		if isLen1 {
 20096  			f(i)
 20097  		} else {
 20098  			go f(i)
 20099  		}
 20100  
 20101  	}
 20102  	wg.Wait()
 20103  
 20104  	for _, e := range ret {
 20105  		if e == graphql.Null {
 20106  			return graphql.Null
 20107  		}
 20108  	}
 20109  
 20110  	return ret
 20111  }
 20112  
 20113  func (ec *executionContext) unmarshalN__DirectiveLocation2string(ctx context.Context, v interface{}) (string, error) {
 20114  	res, err := graphql.UnmarshalString(v)
 20115  	return res, graphql.ErrorOnPath(ctx, err)
 20116  }
 20117  
 20118  func (ec *executionContext) marshalN__DirectiveLocation2string(ctx context.Context, sel ast.SelectionSet, v string) graphql.Marshaler {
 20119  	res := graphql.MarshalString(v)
 20120  	if res == graphql.Null {
 20121  		if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) {
 20122  			ec.Errorf(ctx, "the requested element is null which the schema does not allow")
 20123  		}
 20124  	}
 20125  	return res
 20126  }
 20127  
 20128  func (ec *executionContext) unmarshalN__DirectiveLocation2ᚕstringᚄ(ctx context.Context, v interface{}) ([]string, error) {
 20129  	var vSlice []interface{}
 20130  	if v != nil {
 20131  		vSlice = graphql.CoerceList(v)
 20132  	}
 20133  	var err error
 20134  	res := make([]string, len(vSlice))
 20135  	for i := range vSlice {
 20136  		ctx := graphql.WithPathContext(ctx, graphql.NewPathWithIndex(i))
 20137  		res[i], err = ec.unmarshalN__DirectiveLocation2string(ctx, vSlice[i])
 20138  		if err != nil {
 20139  			return nil, err
 20140  		}
 20141  	}
 20142  	return res, nil
 20143  }
 20144  
 20145  func (ec *executionContext) marshalN__DirectiveLocation2ᚕstringᚄ(ctx context.Context, sel ast.SelectionSet, v []string) graphql.Marshaler {
 20146  	ret := make(graphql.Array, len(v))
 20147  	var wg sync.WaitGroup
 20148  	isLen1 := len(v) == 1
 20149  	if !isLen1 {
 20150  		wg.Add(len(v))
 20151  	}
 20152  	for i := range v {
 20153  		i := i
 20154  		fc := &graphql.FieldContext{
 20155  			Index:  &i,
 20156  			Result: &v[i],
 20157  		}
 20158  		ctx := graphql.WithFieldContext(ctx, fc)
 20159  		f := func(i int) {
 20160  			defer func() {
 20161  				if r := recover(); r != nil {
 20162  					ec.Error(ctx, ec.Recover(ctx, r))
 20163  					ret = nil
 20164  				}
 20165  			}()
 20166  			if !isLen1 {
 20167  				defer wg.Done()
 20168  			}
 20169  			ret[i] = ec.marshalN__DirectiveLocation2string(ctx, sel, v[i])
 20170  		}
 20171  		if isLen1 {
 20172  			f(i)
 20173  		} else {
 20174  			go f(i)
 20175  		}
 20176  
 20177  	}
 20178  	wg.Wait()
 20179  
 20180  	for _, e := range ret {
 20181  		if e == graphql.Null {
 20182  			return graphql.Null
 20183  		}
 20184  	}
 20185  
 20186  	return ret
 20187  }
 20188  
 20189  func (ec *executionContext) marshalN__EnumValue2githubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚋintrospectionᚐEnumValue(ctx context.Context, sel ast.SelectionSet, v introspection.EnumValue) graphql.Marshaler {
 20190  	return ec.___EnumValue(ctx, sel, &v)
 20191  }
 20192  
 20193  func (ec *executionContext) marshalN__Field2githubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚋintrospectionᚐField(ctx context.Context, sel ast.SelectionSet, v introspection.Field) graphql.Marshaler {
 20194  	return ec.___Field(ctx, sel, &v)
 20195  }
 20196  
 20197  func (ec *executionContext) marshalN__InputValue2githubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚋintrospectionᚐInputValue(ctx context.Context, sel ast.SelectionSet, v introspection.InputValue) graphql.Marshaler {
 20198  	return ec.___InputValue(ctx, sel, &v)
 20199  }
 20200  
 20201  func (ec *executionContext) marshalN__InputValue2ᚕgithubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚋintrospectionᚐInputValueᚄ(ctx context.Context, sel ast.SelectionSet, v []introspection.InputValue) graphql.Marshaler {
 20202  	ret := make(graphql.Array, len(v))
 20203  	var wg sync.WaitGroup
 20204  	isLen1 := len(v) == 1
 20205  	if !isLen1 {
 20206  		wg.Add(len(v))
 20207  	}
 20208  	for i := range v {
 20209  		i := i
 20210  		fc := &graphql.FieldContext{
 20211  			Index:  &i,
 20212  			Result: &v[i],
 20213  		}
 20214  		ctx := graphql.WithFieldContext(ctx, fc)
 20215  		f := func(i int) {
 20216  			defer func() {
 20217  				if r := recover(); r != nil {
 20218  					ec.Error(ctx, ec.Recover(ctx, r))
 20219  					ret = nil
 20220  				}
 20221  			}()
 20222  			if !isLen1 {
 20223  				defer wg.Done()
 20224  			}
 20225  			ret[i] = ec.marshalN__InputValue2githubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚋintrospectionᚐInputValue(ctx, sel, v[i])
 20226  		}
 20227  		if isLen1 {
 20228  			f(i)
 20229  		} else {
 20230  			go f(i)
 20231  		}
 20232  
 20233  	}
 20234  	wg.Wait()
 20235  
 20236  	for _, e := range ret {
 20237  		if e == graphql.Null {
 20238  			return graphql.Null
 20239  		}
 20240  	}
 20241  
 20242  	return ret
 20243  }
 20244  
 20245  func (ec *executionContext) marshalN__Type2githubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚋintrospectionᚐType(ctx context.Context, sel ast.SelectionSet, v introspection.Type) graphql.Marshaler {
 20246  	return ec.___Type(ctx, sel, &v)
 20247  }
 20248  
 20249  func (ec *executionContext) marshalN__Type2ᚕgithubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚋintrospectionᚐTypeᚄ(ctx context.Context, sel ast.SelectionSet, v []introspection.Type) graphql.Marshaler {
 20250  	ret := make(graphql.Array, len(v))
 20251  	var wg sync.WaitGroup
 20252  	isLen1 := len(v) == 1
 20253  	if !isLen1 {
 20254  		wg.Add(len(v))
 20255  	}
 20256  	for i := range v {
 20257  		i := i
 20258  		fc := &graphql.FieldContext{
 20259  			Index:  &i,
 20260  			Result: &v[i],
 20261  		}
 20262  		ctx := graphql.WithFieldContext(ctx, fc)
 20263  		f := func(i int) {
 20264  			defer func() {
 20265  				if r := recover(); r != nil {
 20266  					ec.Error(ctx, ec.Recover(ctx, r))
 20267  					ret = nil
 20268  				}
 20269  			}()
 20270  			if !isLen1 {
 20271  				defer wg.Done()
 20272  			}
 20273  			ret[i] = ec.marshalN__Type2githubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚋintrospectionᚐType(ctx, sel, v[i])
 20274  		}
 20275  		if isLen1 {
 20276  			f(i)
 20277  		} else {
 20278  			go f(i)
 20279  		}
 20280  
 20281  	}
 20282  	wg.Wait()
 20283  
 20284  	for _, e := range ret {
 20285  		if e == graphql.Null {
 20286  			return graphql.Null
 20287  		}
 20288  	}
 20289  
 20290  	return ret
 20291  }
 20292  
 20293  func (ec *executionContext) marshalN__Type2ᚖgithubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚋintrospectionᚐType(ctx context.Context, sel ast.SelectionSet, v *introspection.Type) graphql.Marshaler {
 20294  	if v == nil {
 20295  		if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) {
 20296  			ec.Errorf(ctx, "the requested element is null which the schema does not allow")
 20297  		}
 20298  		return graphql.Null
 20299  	}
 20300  	return ec.___Type(ctx, sel, v)
 20301  }
 20302  
 20303  func (ec *executionContext) unmarshalN__TypeKind2string(ctx context.Context, v interface{}) (string, error) {
 20304  	res, err := graphql.UnmarshalString(v)
 20305  	return res, graphql.ErrorOnPath(ctx, err)
 20306  }
 20307  
 20308  func (ec *executionContext) marshalN__TypeKind2string(ctx context.Context, sel ast.SelectionSet, v string) graphql.Marshaler {
 20309  	res := graphql.MarshalString(v)
 20310  	if res == graphql.Null {
 20311  		if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) {
 20312  			ec.Errorf(ctx, "the requested element is null which the schema does not allow")
 20313  		}
 20314  	}
 20315  	return res
 20316  }
 20317  
 20318  func (ec *executionContext) marshalOAnimal2githubᚗcomᚋ99designsᚋgqlgenᚋcodegenᚋtestserverᚋsinglefileᚐAnimal(ctx context.Context, sel ast.SelectionSet, v Animal) graphql.Marshaler {
 20319  	if v == nil {
 20320  		return graphql.Null
 20321  	}
 20322  	return ec._Animal(ctx, sel, v)
 20323  }
 20324  
 20325  func (ec *executionContext) marshalOAutobind2ᚖgithubᚗcomᚋ99designsᚋgqlgenᚋcodegenᚋtestserverᚋsinglefileᚐAutobind(ctx context.Context, sel ast.SelectionSet, v *Autobind) graphql.Marshaler {
 20326  	if v == nil {
 20327  		return graphql.Null
 20328  	}
 20329  	return ec._Autobind(ctx, sel, v)
 20330  }
 20331  
 20332  func (ec *executionContext) marshalOBackedByInterface2githubᚗcomᚋ99designsᚋgqlgenᚋcodegenᚋtestserverᚋsinglefileᚐBackedByInterface(ctx context.Context, sel ast.SelectionSet, v BackedByInterface) graphql.Marshaler {
 20333  	if v == nil {
 20334  		return graphql.Null
 20335  	}
 20336  	return ec._BackedByInterface(ctx, sel, v)
 20337  }
 20338  
 20339  func (ec *executionContext) unmarshalOBoolean2bool(ctx context.Context, v interface{}) (bool, error) {
 20340  	res, err := graphql.UnmarshalBoolean(v)
 20341  	return res, graphql.ErrorOnPath(ctx, err)
 20342  }
 20343  
 20344  func (ec *executionContext) marshalOBoolean2bool(ctx context.Context, sel ast.SelectionSet, v bool) graphql.Marshaler {
 20345  	res := graphql.MarshalBoolean(v)
 20346  	return res
 20347  }
 20348  
 20349  func (ec *executionContext) unmarshalOBoolean2ᚖbool(ctx context.Context, v interface{}) (*bool, error) {
 20350  	if v == nil {
 20351  		return nil, nil
 20352  	}
 20353  	res, err := graphql.UnmarshalBoolean(v)
 20354  	return &res, graphql.ErrorOnPath(ctx, err)
 20355  }
 20356  
 20357  func (ec *executionContext) marshalOBoolean2ᚖbool(ctx context.Context, sel ast.SelectionSet, v *bool) graphql.Marshaler {
 20358  	if v == nil {
 20359  		return graphql.Null
 20360  	}
 20361  	res := graphql.MarshalBoolean(*v)
 20362  	return res
 20363  }
 20364  
 20365  func (ec *executionContext) unmarshalOChanges2map(ctx context.Context, v interface{}) (map[string]interface{}, error) {
 20366  	if v == nil {
 20367  		return nil, nil
 20368  	}
 20369  	return v.(map[string]interface{}), nil
 20370  }
 20371  
 20372  func (ec *executionContext) marshalOCheckIssue8962ᚕᚖgithubᚗcomᚋ99designsᚋgqlgenᚋcodegenᚋtestserverᚋsinglefileᚐCheckIssue896(ctx context.Context, sel ast.SelectionSet, v []*CheckIssue896) graphql.Marshaler {
 20373  	if v == nil {
 20374  		return graphql.Null
 20375  	}
 20376  	ret := make(graphql.Array, len(v))
 20377  	var wg sync.WaitGroup
 20378  	isLen1 := len(v) == 1
 20379  	if !isLen1 {
 20380  		wg.Add(len(v))
 20381  	}
 20382  	for i := range v {
 20383  		i := i
 20384  		fc := &graphql.FieldContext{
 20385  			Index:  &i,
 20386  			Result: &v[i],
 20387  		}
 20388  		ctx := graphql.WithFieldContext(ctx, fc)
 20389  		f := func(i int) {
 20390  			defer func() {
 20391  				if r := recover(); r != nil {
 20392  					ec.Error(ctx, ec.Recover(ctx, r))
 20393  					ret = nil
 20394  				}
 20395  			}()
 20396  			if !isLen1 {
 20397  				defer wg.Done()
 20398  			}
 20399  			ret[i] = ec.marshalOCheckIssue8962ᚖgithubᚗcomᚋ99designsᚋgqlgenᚋcodegenᚋtestserverᚋsinglefileᚐCheckIssue896(ctx, sel, v[i])
 20400  		}
 20401  		if isLen1 {
 20402  			f(i)
 20403  		} else {
 20404  			go f(i)
 20405  		}
 20406  
 20407  	}
 20408  	wg.Wait()
 20409  
 20410  	return ret
 20411  }
 20412  
 20413  func (ec *executionContext) marshalOCheckIssue8962ᚕᚖgithubᚗcomᚋ99designsᚋgqlgenᚋcodegenᚋtestserverᚋsinglefileᚐCheckIssue896ᚄ(ctx context.Context, sel ast.SelectionSet, v []*CheckIssue896) graphql.Marshaler {
 20414  	if v == nil {
 20415  		return graphql.Null
 20416  	}
 20417  	ret := make(graphql.Array, len(v))
 20418  	var wg sync.WaitGroup
 20419  	isLen1 := len(v) == 1
 20420  	if !isLen1 {
 20421  		wg.Add(len(v))
 20422  	}
 20423  	for i := range v {
 20424  		i := i
 20425  		fc := &graphql.FieldContext{
 20426  			Index:  &i,
 20427  			Result: &v[i],
 20428  		}
 20429  		ctx := graphql.WithFieldContext(ctx, fc)
 20430  		f := func(i int) {
 20431  			defer func() {
 20432  				if r := recover(); r != nil {
 20433  					ec.Error(ctx, ec.Recover(ctx, r))
 20434  					ret = nil
 20435  				}
 20436  			}()
 20437  			if !isLen1 {
 20438  				defer wg.Done()
 20439  			}
 20440  			ret[i] = ec.marshalNCheckIssue8962ᚖgithubᚗcomᚋ99designsᚋgqlgenᚋcodegenᚋtestserverᚋsinglefileᚐCheckIssue896(ctx, sel, v[i])
 20441  		}
 20442  		if isLen1 {
 20443  			f(i)
 20444  		} else {
 20445  			go f(i)
 20446  		}
 20447  
 20448  	}
 20449  	wg.Wait()
 20450  
 20451  	for _, e := range ret {
 20452  		if e == graphql.Null {
 20453  			return graphql.Null
 20454  		}
 20455  	}
 20456  
 20457  	return ret
 20458  }
 20459  
 20460  func (ec *executionContext) marshalOCheckIssue8962ᚖgithubᚗcomᚋ99designsᚋgqlgenᚋcodegenᚋtestserverᚋsinglefileᚐCheckIssue896(ctx context.Context, sel ast.SelectionSet, v *CheckIssue896) graphql.Marshaler {
 20461  	if v == nil {
 20462  		return graphql.Null
 20463  	}
 20464  	return ec._CheckIssue896(ctx, sel, v)
 20465  }
 20466  
 20467  func (ec *executionContext) marshalOCircle2ᚖgithubᚗcomᚋ99designsᚋgqlgenᚋcodegenᚋtestserverᚋsinglefileᚐCircle(ctx context.Context, sel ast.SelectionSet, v *Circle) graphql.Marshaler {
 20468  	if v == nil {
 20469  		return graphql.Null
 20470  	}
 20471  	return ec._Circle(ctx, sel, v)
 20472  }
 20473  
 20474  func (ec *executionContext) marshalOCoordinates2githubᚗcomᚋ99designsᚋgqlgenᚋcodegenᚋtestserverᚋsinglefileᚐCoordinates(ctx context.Context, sel ast.SelectionSet, v Coordinates) graphql.Marshaler {
 20475  	return ec._Coordinates(ctx, sel, &v)
 20476  }
 20477  
 20478  func (ec *executionContext) unmarshalODefaultScalarImplementation2ᚖstring(ctx context.Context, v interface{}) (*string, error) {
 20479  	if v == nil {
 20480  		return nil, nil
 20481  	}
 20482  	res, err := graphql.UnmarshalString(v)
 20483  	return &res, graphql.ErrorOnPath(ctx, err)
 20484  }
 20485  
 20486  func (ec *executionContext) marshalODefaultScalarImplementation2ᚖstring(ctx context.Context, sel ast.SelectionSet, v *string) graphql.Marshaler {
 20487  	if v == nil {
 20488  		return graphql.Null
 20489  	}
 20490  	res := graphql.MarshalString(*v)
 20491  	return res
 20492  }
 20493  
 20494  func (ec *executionContext) marshalODog2ᚖgithubᚗcomᚋ99designsᚋgqlgenᚋcodegenᚋtestserverᚋsinglefileᚐDog(ctx context.Context, sel ast.SelectionSet, v *Dog) graphql.Marshaler {
 20495  	if v == nil {
 20496  		return graphql.Null
 20497  	}
 20498  	return ec._Dog(ctx, sel, v)
 20499  }
 20500  
 20501  func (ec *executionContext) marshalOEmbeddedCase12ᚖgithubᚗcomᚋ99designsᚋgqlgenᚋcodegenᚋtestserverᚋsinglefileᚐEmbeddedCase1(ctx context.Context, sel ast.SelectionSet, v *EmbeddedCase1) graphql.Marshaler {
 20502  	if v == nil {
 20503  		return graphql.Null
 20504  	}
 20505  	return ec._EmbeddedCase1(ctx, sel, v)
 20506  }
 20507  
 20508  func (ec *executionContext) marshalOEmbeddedCase22ᚖgithubᚗcomᚋ99designsᚋgqlgenᚋcodegenᚋtestserverᚋsinglefileᚐEmbeddedCase2(ctx context.Context, sel ast.SelectionSet, v *EmbeddedCase2) graphql.Marshaler {
 20509  	if v == nil {
 20510  		return graphql.Null
 20511  	}
 20512  	return ec._EmbeddedCase2(ctx, sel, v)
 20513  }
 20514  
 20515  func (ec *executionContext) marshalOEmbeddedCase32ᚖgithubᚗcomᚋ99designsᚋgqlgenᚋcodegenᚋtestserverᚋsinglefileᚐEmbeddedCase3(ctx context.Context, sel ast.SelectionSet, v *EmbeddedCase3) graphql.Marshaler {
 20516  	if v == nil {
 20517  		return graphql.Null
 20518  	}
 20519  	return ec._EmbeddedCase3(ctx, sel, v)
 20520  }
 20521  
 20522  func (ec *executionContext) marshalOError2ᚕᚖgithubᚗcomᚋ99designsᚋgqlgenᚋcodegenᚋtestserverᚋsinglefileᚐError(ctx context.Context, sel ast.SelectionSet, v []*Error) graphql.Marshaler {
 20523  	if v == nil {
 20524  		return graphql.Null
 20525  	}
 20526  	ret := make(graphql.Array, len(v))
 20527  	var wg sync.WaitGroup
 20528  	isLen1 := len(v) == 1
 20529  	if !isLen1 {
 20530  		wg.Add(len(v))
 20531  	}
 20532  	for i := range v {
 20533  		i := i
 20534  		fc := &graphql.FieldContext{
 20535  			Index:  &i,
 20536  			Result: &v[i],
 20537  		}
 20538  		ctx := graphql.WithFieldContext(ctx, fc)
 20539  		f := func(i int) {
 20540  			defer func() {
 20541  				if r := recover(); r != nil {
 20542  					ec.Error(ctx, ec.Recover(ctx, r))
 20543  					ret = nil
 20544  				}
 20545  			}()
 20546  			if !isLen1 {
 20547  				defer wg.Done()
 20548  			}
 20549  			ret[i] = ec.marshalOError2ᚖgithubᚗcomᚋ99designsᚋgqlgenᚋcodegenᚋtestserverᚋsinglefileᚐError(ctx, sel, v[i])
 20550  		}
 20551  		if isLen1 {
 20552  			f(i)
 20553  		} else {
 20554  			go f(i)
 20555  		}
 20556  
 20557  	}
 20558  	wg.Wait()
 20559  
 20560  	return ret
 20561  }
 20562  
 20563  func (ec *executionContext) marshalOError2ᚕᚖgithubᚗcomᚋ99designsᚋgqlgenᚋcodegenᚋtestserverᚋsinglefileᚐErrorᚄ(ctx context.Context, sel ast.SelectionSet, v []*Error) graphql.Marshaler {
 20564  	if v == nil {
 20565  		return graphql.Null
 20566  	}
 20567  	ret := make(graphql.Array, len(v))
 20568  	var wg sync.WaitGroup
 20569  	isLen1 := len(v) == 1
 20570  	if !isLen1 {
 20571  		wg.Add(len(v))
 20572  	}
 20573  	for i := range v {
 20574  		i := i
 20575  		fc := &graphql.FieldContext{
 20576  			Index:  &i,
 20577  			Result: &v[i],
 20578  		}
 20579  		ctx := graphql.WithFieldContext(ctx, fc)
 20580  		f := func(i int) {
 20581  			defer func() {
 20582  				if r := recover(); r != nil {
 20583  					ec.Error(ctx, ec.Recover(ctx, r))
 20584  					ret = nil
 20585  				}
 20586  			}()
 20587  			if !isLen1 {
 20588  				defer wg.Done()
 20589  			}
 20590  			ret[i] = ec.marshalNError2ᚖgithubᚗcomᚋ99designsᚋgqlgenᚋcodegenᚋtestserverᚋsinglefileᚐError(ctx, sel, v[i])
 20591  		}
 20592  		if isLen1 {
 20593  			f(i)
 20594  		} else {
 20595  			go f(i)
 20596  		}
 20597  
 20598  	}
 20599  	wg.Wait()
 20600  
 20601  	for _, e := range ret {
 20602  		if e == graphql.Null {
 20603  			return graphql.Null
 20604  		}
 20605  	}
 20606  
 20607  	return ret
 20608  }
 20609  
 20610  func (ec *executionContext) marshalOError2ᚖgithubᚗcomᚋ99designsᚋgqlgenᚋcodegenᚋtestserverᚋsinglefileᚐError(ctx context.Context, sel ast.SelectionSet, v *Error) graphql.Marshaler {
 20611  	if v == nil {
 20612  		return graphql.Null
 20613  	}
 20614  	return ec._Error(ctx, sel, v)
 20615  }
 20616  
 20617  func (ec *executionContext) marshalOErrors2ᚖgithubᚗcomᚋ99designsᚋgqlgenᚋcodegenᚋtestserverᚋsinglefileᚐErrors(ctx context.Context, sel ast.SelectionSet, v *Errors) graphql.Marshaler {
 20618  	if v == nil {
 20619  		return graphql.Null
 20620  	}
 20621  	return ec._Errors(ctx, sel, v)
 20622  }
 20623  
 20624  func (ec *executionContext) unmarshalOFloat2float64(ctx context.Context, v interface{}) (float64, error) {
 20625  	res, err := graphql.UnmarshalFloatContext(ctx, v)
 20626  	return res, graphql.ErrorOnPath(ctx, err)
 20627  }
 20628  
 20629  func (ec *executionContext) marshalOFloat2float64(ctx context.Context, sel ast.SelectionSet, v float64) graphql.Marshaler {
 20630  	res := graphql.MarshalFloatContext(v)
 20631  	return graphql.WrapContextMarshaler(ctx, res)
 20632  }
 20633  
 20634  func (ec *executionContext) unmarshalOInnerDirectives2ᚖgithubᚗcomᚋ99designsᚋgqlgenᚋcodegenᚋtestserverᚋsinglefileᚐInnerDirectives(ctx context.Context, v interface{}) (*InnerDirectives, error) {
 20635  	if v == nil {
 20636  		return nil, nil
 20637  	}
 20638  	res, err := ec.unmarshalInputInnerDirectives(ctx, v)
 20639  	return &res, graphql.ErrorOnPath(ctx, err)
 20640  }
 20641  
 20642  func (ec *executionContext) unmarshalOInputDirectives2ᚖgithubᚗcomᚋ99designsᚋgqlgenᚋcodegenᚋtestserverᚋsinglefileᚐInputDirectives(ctx context.Context, v interface{}) (*InputDirectives, error) {
 20643  	if v == nil {
 20644  		return nil, nil
 20645  	}
 20646  	res, err := ec.unmarshalInputInputDirectives(ctx, v)
 20647  	return &res, graphql.ErrorOnPath(ctx, err)
 20648  }
 20649  
 20650  func (ec *executionContext) unmarshalOInputWithEnumValue2ᚖgithubᚗcomᚋ99designsᚋgqlgenᚋcodegenᚋtestserverᚋsinglefileᚐInputWithEnumValue(ctx context.Context, v interface{}) (*InputWithEnumValue, error) {
 20651  	if v == nil {
 20652  		return nil, nil
 20653  	}
 20654  	res, err := ec.unmarshalInputInputWithEnumValue(ctx, v)
 20655  	return &res, graphql.ErrorOnPath(ctx, err)
 20656  }
 20657  
 20658  func (ec *executionContext) unmarshalOInt2ᚖint(ctx context.Context, v interface{}) (*int, error) {
 20659  	if v == nil {
 20660  		return nil, nil
 20661  	}
 20662  	res, err := graphql.UnmarshalInt(v)
 20663  	return &res, graphql.ErrorOnPath(ctx, err)
 20664  }
 20665  
 20666  func (ec *executionContext) marshalOInt2ᚖint(ctx context.Context, sel ast.SelectionSet, v *int) graphql.Marshaler {
 20667  	if v == nil {
 20668  		return graphql.Null
 20669  	}
 20670  	res := graphql.MarshalInt(*v)
 20671  	return res
 20672  }
 20673  
 20674  func (ec *executionContext) marshalOInvalidIdentifier2ᚖgithubᚗcomᚋ99designsᚋgqlgenᚋcodegenᚋtestserverᚋsinglefileᚋinvalidᚑpackagenameᚐInvalidIdentifier(ctx context.Context, sel ast.SelectionSet, v *invalid_packagename.InvalidIdentifier) graphql.Marshaler {
 20675  	if v == nil {
 20676  		return graphql.Null
 20677  	}
 20678  	return ec._InvalidIdentifier(ctx, sel, v)
 20679  }
 20680  
 20681  func (ec *executionContext) marshalOIt2ᚖgithubᚗcomᚋ99designsᚋgqlgenᚋcodegenᚋtestserverᚋsinglefileᚋintrospectionᚐIt(ctx context.Context, sel ast.SelectionSet, v *introspection1.It) graphql.Marshaler {
 20682  	if v == nil {
 20683  		return graphql.Null
 20684  	}
 20685  	return ec._It(ctx, sel, v)
 20686  }
 20687  
 20688  func (ec *executionContext) unmarshalOMapStringInterfaceInput2map(ctx context.Context, v interface{}) (map[string]interface{}, error) {
 20689  	if v == nil {
 20690  		return nil, nil
 20691  	}
 20692  	return v.(map[string]interface{}), nil
 20693  }
 20694  
 20695  func (ec *executionContext) marshalOMapStringInterfaceType2map(ctx context.Context, sel ast.SelectionSet, v map[string]interface{}) graphql.Marshaler {
 20696  	if v == nil {
 20697  		return graphql.Null
 20698  	}
 20699  	return ec._MapStringInterfaceType(ctx, sel, v)
 20700  }
 20701  
 20702  func (ec *executionContext) marshalOModelMethods2ᚖgithubᚗcomᚋ99designsᚋgqlgenᚋcodegenᚋtestserverᚋsinglefileᚐModelMethods(ctx context.Context, sel ast.SelectionSet, v *ModelMethods) graphql.Marshaler {
 20703  	if v == nil {
 20704  		return graphql.Null
 20705  	}
 20706  	return ec._ModelMethods(ctx, sel, v)
 20707  }
 20708  
 20709  func (ec *executionContext) unmarshalONestedMapInput2ᚖgithubᚗcomᚋ99designsᚋgqlgenᚋcodegenᚋtestserverᚋsinglefileᚐNestedMapInput(ctx context.Context, v interface{}) (*NestedMapInput, error) {
 20710  	if v == nil {
 20711  		return nil, nil
 20712  	}
 20713  	res, err := ec.unmarshalInputNestedMapInput(ctx, v)
 20714  	return &res, graphql.ErrorOnPath(ctx, err)
 20715  }
 20716  
 20717  func (ec *executionContext) marshalOObjectDirectives2ᚖgithubᚗcomᚋ99designsᚋgqlgenᚋcodegenᚋtestserverᚋsinglefileᚐObjectDirectives(ctx context.Context, sel ast.SelectionSet, v *ObjectDirectives) graphql.Marshaler {
 20718  	if v == nil {
 20719  		return graphql.Null
 20720  	}
 20721  	return ec._ObjectDirectives(ctx, sel, v)
 20722  }
 20723  
 20724  func (ec *executionContext) marshalOObjectDirectivesWithCustomGoModel2ᚖgithubᚗcomᚋ99designsᚋgqlgenᚋcodegenᚋtestserverᚋsinglefileᚐObjectDirectivesWithCustomGoModel(ctx context.Context, sel ast.SelectionSet, v *ObjectDirectivesWithCustomGoModel) graphql.Marshaler {
 20725  	if v == nil {
 20726  		return graphql.Null
 20727  	}
 20728  	return ec._ObjectDirectivesWithCustomGoModel(ctx, sel, v)
 20729  }
 20730  
 20731  func (ec *executionContext) unmarshalOOuterInput2ᚕᚕᚖgithubᚗcomᚋ99designsᚋgqlgenᚋcodegenᚋtestserverᚋsinglefileᚐOuterInput(ctx context.Context, v interface{}) ([][]*OuterInput, error) {
 20732  	if v == nil {
 20733  		return nil, nil
 20734  	}
 20735  	var vSlice []interface{}
 20736  	if v != nil {
 20737  		vSlice = graphql.CoerceList(v)
 20738  	}
 20739  	var err error
 20740  	res := make([][]*OuterInput, len(vSlice))
 20741  	for i := range vSlice {
 20742  		ctx := graphql.WithPathContext(ctx, graphql.NewPathWithIndex(i))
 20743  		res[i], err = ec.unmarshalOOuterInput2ᚕᚖgithubᚗcomᚋ99designsᚋgqlgenᚋcodegenᚋtestserverᚋsinglefileᚐOuterInput(ctx, vSlice[i])
 20744  		if err != nil {
 20745  			return nil, err
 20746  		}
 20747  	}
 20748  	return res, nil
 20749  }
 20750  
 20751  func (ec *executionContext) unmarshalOOuterInput2ᚕᚖgithubᚗcomᚋ99designsᚋgqlgenᚋcodegenᚋtestserverᚋsinglefileᚐOuterInput(ctx context.Context, v interface{}) ([]*OuterInput, error) {
 20752  	if v == nil {
 20753  		return nil, nil
 20754  	}
 20755  	var vSlice []interface{}
 20756  	if v != nil {
 20757  		vSlice = graphql.CoerceList(v)
 20758  	}
 20759  	var err error
 20760  	res := make([]*OuterInput, len(vSlice))
 20761  	for i := range vSlice {
 20762  		ctx := graphql.WithPathContext(ctx, graphql.NewPathWithIndex(i))
 20763  		res[i], err = ec.unmarshalOOuterInput2ᚖgithubᚗcomᚋ99designsᚋgqlgenᚋcodegenᚋtestserverᚋsinglefileᚐOuterInput(ctx, vSlice[i])
 20764  		if err != nil {
 20765  			return nil, err
 20766  		}
 20767  	}
 20768  	return res, nil
 20769  }
 20770  
 20771  func (ec *executionContext) unmarshalOOuterInput2ᚖgithubᚗcomᚋ99designsᚋgqlgenᚋcodegenᚋtestserverᚋsinglefileᚐOuterInput(ctx context.Context, v interface{}) (*OuterInput, error) {
 20772  	if v == nil {
 20773  		return nil, nil
 20774  	}
 20775  	res, err := ec.unmarshalInputOuterInput(ctx, v)
 20776  	return &res, graphql.ErrorOnPath(ctx, err)
 20777  }
 20778  
 20779  func (ec *executionContext) marshalOOuterObject2ᚕᚕᚖgithubᚗcomᚋ99designsᚋgqlgenᚋcodegenᚋtestserverᚋsinglefileᚐOuterObject(ctx context.Context, sel ast.SelectionSet, v [][]*OuterObject) graphql.Marshaler {
 20780  	if v == nil {
 20781  		return graphql.Null
 20782  	}
 20783  	ret := make(graphql.Array, len(v))
 20784  	var wg sync.WaitGroup
 20785  	isLen1 := len(v) == 1
 20786  	if !isLen1 {
 20787  		wg.Add(len(v))
 20788  	}
 20789  	for i := range v {
 20790  		i := i
 20791  		fc := &graphql.FieldContext{
 20792  			Index:  &i,
 20793  			Result: &v[i],
 20794  		}
 20795  		ctx := graphql.WithFieldContext(ctx, fc)
 20796  		f := func(i int) {
 20797  			defer func() {
 20798  				if r := recover(); r != nil {
 20799  					ec.Error(ctx, ec.Recover(ctx, r))
 20800  					ret = nil
 20801  				}
 20802  			}()
 20803  			if !isLen1 {
 20804  				defer wg.Done()
 20805  			}
 20806  			ret[i] = ec.marshalOOuterObject2ᚕᚖgithubᚗcomᚋ99designsᚋgqlgenᚋcodegenᚋtestserverᚋsinglefileᚐOuterObject(ctx, sel, v[i])
 20807  		}
 20808  		if isLen1 {
 20809  			f(i)
 20810  		} else {
 20811  			go f(i)
 20812  		}
 20813  
 20814  	}
 20815  	wg.Wait()
 20816  
 20817  	return ret
 20818  }
 20819  
 20820  func (ec *executionContext) marshalOOuterObject2ᚕᚖgithubᚗcomᚋ99designsᚋgqlgenᚋcodegenᚋtestserverᚋsinglefileᚐOuterObject(ctx context.Context, sel ast.SelectionSet, v []*OuterObject) graphql.Marshaler {
 20821  	if v == nil {
 20822  		return graphql.Null
 20823  	}
 20824  	ret := make(graphql.Array, len(v))
 20825  	var wg sync.WaitGroup
 20826  	isLen1 := len(v) == 1
 20827  	if !isLen1 {
 20828  		wg.Add(len(v))
 20829  	}
 20830  	for i := range v {
 20831  		i := i
 20832  		fc := &graphql.FieldContext{
 20833  			Index:  &i,
 20834  			Result: &v[i],
 20835  		}
 20836  		ctx := graphql.WithFieldContext(ctx, fc)
 20837  		f := func(i int) {
 20838  			defer func() {
 20839  				if r := recover(); r != nil {
 20840  					ec.Error(ctx, ec.Recover(ctx, r))
 20841  					ret = nil
 20842  				}
 20843  			}()
 20844  			if !isLen1 {
 20845  				defer wg.Done()
 20846  			}
 20847  			ret[i] = ec.marshalOOuterObject2ᚖgithubᚗcomᚋ99designsᚋgqlgenᚋcodegenᚋtestserverᚋsinglefileᚐOuterObject(ctx, sel, v[i])
 20848  		}
 20849  		if isLen1 {
 20850  			f(i)
 20851  		} else {
 20852  			go f(i)
 20853  		}
 20854  
 20855  	}
 20856  	wg.Wait()
 20857  
 20858  	return ret
 20859  }
 20860  
 20861  func (ec *executionContext) marshalOOuterObject2ᚖgithubᚗcomᚋ99designsᚋgqlgenᚋcodegenᚋtestserverᚋsinglefileᚐOuterObject(ctx context.Context, sel ast.SelectionSet, v *OuterObject) graphql.Marshaler {
 20862  	if v == nil {
 20863  		return graphql.Null
 20864  	}
 20865  	return ec._OuterObject(ctx, sel, v)
 20866  }
 20867  
 20868  func (ec *executionContext) marshalOOverlappingFields2ᚖgithubᚗcomᚋ99designsᚋgqlgenᚋcodegenᚋtestserverᚋsinglefileᚐOverlappingFields(ctx context.Context, sel ast.SelectionSet, v *OverlappingFields) graphql.Marshaler {
 20869  	if v == nil {
 20870  		return graphql.Null
 20871  	}
 20872  	return ec._OverlappingFields(ctx, sel, v)
 20873  }
 20874  
 20875  func (ec *executionContext) marshalOPanics2ᚖgithubᚗcomᚋ99designsᚋgqlgenᚋcodegenᚋtestserverᚋsinglefileᚐPanics(ctx context.Context, sel ast.SelectionSet, v *Panics) graphql.Marshaler {
 20876  	if v == nil {
 20877  		return graphql.Null
 20878  	}
 20879  	return ec._Panics(ctx, sel, v)
 20880  }
 20881  
 20882  func (ec *executionContext) marshalOPet2ᚕᚖgithubᚗcomᚋ99designsᚋgqlgenᚋcodegenᚋtestserverᚋsinglefileᚐPetᚄ(ctx context.Context, sel ast.SelectionSet, v []*Pet) graphql.Marshaler {
 20883  	if v == nil {
 20884  		return graphql.Null
 20885  	}
 20886  	ret := make(graphql.Array, len(v))
 20887  	var wg sync.WaitGroup
 20888  	isLen1 := len(v) == 1
 20889  	if !isLen1 {
 20890  		wg.Add(len(v))
 20891  	}
 20892  	for i := range v {
 20893  		i := i
 20894  		fc := &graphql.FieldContext{
 20895  			Index:  &i,
 20896  			Result: &v[i],
 20897  		}
 20898  		ctx := graphql.WithFieldContext(ctx, fc)
 20899  		f := func(i int) {
 20900  			defer func() {
 20901  				if r := recover(); r != nil {
 20902  					ec.Error(ctx, ec.Recover(ctx, r))
 20903  					ret = nil
 20904  				}
 20905  			}()
 20906  			if !isLen1 {
 20907  				defer wg.Done()
 20908  			}
 20909  			ret[i] = ec.marshalNPet2ᚖgithubᚗcomᚋ99designsᚋgqlgenᚋcodegenᚋtestserverᚋsinglefileᚐPet(ctx, sel, v[i])
 20910  		}
 20911  		if isLen1 {
 20912  			f(i)
 20913  		} else {
 20914  			go f(i)
 20915  		}
 20916  
 20917  	}
 20918  	wg.Wait()
 20919  
 20920  	for _, e := range ret {
 20921  		if e == graphql.Null {
 20922  			return graphql.Null
 20923  		}
 20924  	}
 20925  
 20926  	return ret
 20927  }
 20928  
 20929  func (ec *executionContext) marshalOPtrToPtrInner2ᚖgithubᚗcomᚋ99designsᚋgqlgenᚋcodegenᚋtestserverᚋsinglefileᚐPtrToPtrInner(ctx context.Context, sel ast.SelectionSet, v *PtrToPtrInner) graphql.Marshaler {
 20930  	if v == nil {
 20931  		return graphql.Null
 20932  	}
 20933  	return ec._PtrToPtrInner(ctx, sel, v)
 20934  }
 20935  
 20936  func (ec *executionContext) marshalOPtrToPtrInner2ᚖᚖgithubᚗcomᚋ99designsᚋgqlgenᚋcodegenᚋtestserverᚋsinglefileᚐPtrToPtrInner(ctx context.Context, sel ast.SelectionSet, v **PtrToPtrInner) graphql.Marshaler {
 20937  	if v == nil {
 20938  		return graphql.Null
 20939  	}
 20940  	return ec.marshalOPtrToPtrInner2ᚖgithubᚗcomᚋ99designsᚋgqlgenᚋcodegenᚋtestserverᚋsinglefileᚐPtrToPtrInner(ctx, sel, *v)
 20941  }
 20942  
 20943  func (ec *executionContext) marshalOPtrToPtrInner2ᚖᚖᚖgithubᚗcomᚋ99designsᚋgqlgenᚋcodegenᚋtestserverᚋsinglefileᚐPtrToPtrInner(ctx context.Context, sel ast.SelectionSet, v ***PtrToPtrInner) graphql.Marshaler {
 20944  	if v == nil {
 20945  		return graphql.Null
 20946  	}
 20947  	return ec.marshalOPtrToPtrInner2ᚖᚖgithubᚗcomᚋ99designsᚋgqlgenᚋcodegenᚋtestserverᚋsinglefileᚐPtrToPtrInner(ctx, sel, *v)
 20948  }
 20949  
 20950  func (ec *executionContext) marshalOPtrToPtrInner2ᚖᚖᚖᚖgithubᚗcomᚋ99designsᚋgqlgenᚋcodegenᚋtestserverᚋsinglefileᚐPtrToPtrInner(ctx context.Context, sel ast.SelectionSet, v ****PtrToPtrInner) graphql.Marshaler {
 20951  	if v == nil {
 20952  		return graphql.Null
 20953  	}
 20954  	return ec.marshalOPtrToPtrInner2ᚖᚖᚖgithubᚗcomᚋ99designsᚋgqlgenᚋcodegenᚋtestserverᚋsinglefileᚐPtrToPtrInner(ctx, sel, *v)
 20955  }
 20956  
 20957  func (ec *executionContext) marshalOPtrToPtrInner2ᚖᚖᚖᚖᚖgithubᚗcomᚋ99designsᚋgqlgenᚋcodegenᚋtestserverᚋsinglefileᚐPtrToPtrInner(ctx context.Context, sel ast.SelectionSet, v *****PtrToPtrInner) graphql.Marshaler {
 20958  	if v == nil {
 20959  		return graphql.Null
 20960  	}
 20961  	return ec.marshalOPtrToPtrInner2ᚖᚖᚖᚖgithubᚗcomᚋ99designsᚋgqlgenᚋcodegenᚋtestserverᚋsinglefileᚐPtrToPtrInner(ctx, sel, *v)
 20962  }
 20963  
 20964  func (ec *executionContext) marshalOPtrToPtrInner2ᚖᚖᚖᚖᚖᚖgithubᚗcomᚋ99designsᚋgqlgenᚋcodegenᚋtestserverᚋsinglefileᚐPtrToPtrInner(ctx context.Context, sel ast.SelectionSet, v ******PtrToPtrInner) graphql.Marshaler {
 20965  	if v == nil {
 20966  		return graphql.Null
 20967  	}
 20968  	return ec.marshalOPtrToPtrInner2ᚖᚖᚖᚖᚖgithubᚗcomᚋ99designsᚋgqlgenᚋcodegenᚋtestserverᚋsinglefileᚐPtrToPtrInner(ctx, sel, *v)
 20969  }
 20970  
 20971  func (ec *executionContext) marshalOPtrToPtrInner2ᚖᚖᚖᚖᚖᚖᚖgithubᚗcomᚋ99designsᚋgqlgenᚋcodegenᚋtestserverᚋsinglefileᚐPtrToPtrInner(ctx context.Context, sel ast.SelectionSet, v *******PtrToPtrInner) graphql.Marshaler {
 20972  	if v == nil {
 20973  		return graphql.Null
 20974  	}
 20975  	return ec.marshalOPtrToPtrInner2ᚖᚖᚖᚖᚖᚖgithubᚗcomᚋ99designsᚋgqlgenᚋcodegenᚋtestserverᚋsinglefileᚐPtrToPtrInner(ctx, sel, *v)
 20976  }
 20977  
 20978  func (ec *executionContext) unmarshalORecursiveInputSlice2ᚕgithubᚗcomᚋ99designsᚋgqlgenᚋcodegenᚋtestserverᚋsinglefileᚐRecursiveInputSliceᚄ(ctx context.Context, v interface{}) ([]RecursiveInputSlice, error) {
 20979  	if v == nil {
 20980  		return nil, nil
 20981  	}
 20982  	var vSlice []interface{}
 20983  	if v != nil {
 20984  		vSlice = graphql.CoerceList(v)
 20985  	}
 20986  	var err error
 20987  	res := make([]RecursiveInputSlice, len(vSlice))
 20988  	for i := range vSlice {
 20989  		ctx := graphql.WithPathContext(ctx, graphql.NewPathWithIndex(i))
 20990  		res[i], err = ec.unmarshalNRecursiveInputSlice2githubᚗcomᚋ99designsᚋgqlgenᚋcodegenᚋtestserverᚋsinglefileᚐRecursiveInputSlice(ctx, vSlice[i])
 20991  		if err != nil {
 20992  			return nil, err
 20993  		}
 20994  	}
 20995  	return res, nil
 20996  }
 20997  
 20998  func (ec *executionContext) unmarshalORecursiveInputSlice2ᚖgithubᚗcomᚋ99designsᚋgqlgenᚋcodegenᚋtestserverᚋsinglefileᚐRecursiveInputSlice(ctx context.Context, v interface{}) (*RecursiveInputSlice, error) {
 20999  	if v == nil {
 21000  		return nil, nil
 21001  	}
 21002  	res, err := ec.unmarshalInputRecursiveInputSlice(ctx, v)
 21003  	return &res, graphql.ErrorOnPath(ctx, err)
 21004  }
 21005  
 21006  func (ec *executionContext) marshalOShape2githubᚗcomᚋ99designsᚋgqlgenᚋcodegenᚋtestserverᚋsinglefileᚐShape(ctx context.Context, sel ast.SelectionSet, v Shape) graphql.Marshaler {
 21007  	if v == nil {
 21008  		return graphql.Null
 21009  	}
 21010  	return ec._Shape(ctx, sel, v)
 21011  }
 21012  
 21013  func (ec *executionContext) marshalOShape2ᚕgithubᚗcomᚋ99designsᚋgqlgenᚋcodegenᚋtestserverᚋsinglefileᚐShape(ctx context.Context, sel ast.SelectionSet, v []Shape) graphql.Marshaler {
 21014  	if v == nil {
 21015  		return graphql.Null
 21016  	}
 21017  	ret := make(graphql.Array, len(v))
 21018  	var wg sync.WaitGroup
 21019  	isLen1 := len(v) == 1
 21020  	if !isLen1 {
 21021  		wg.Add(len(v))
 21022  	}
 21023  	for i := range v {
 21024  		i := i
 21025  		fc := &graphql.FieldContext{
 21026  			Index:  &i,
 21027  			Result: &v[i],
 21028  		}
 21029  		ctx := graphql.WithFieldContext(ctx, fc)
 21030  		f := func(i int) {
 21031  			defer func() {
 21032  				if r := recover(); r != nil {
 21033  					ec.Error(ctx, ec.Recover(ctx, r))
 21034  					ret = nil
 21035  				}
 21036  			}()
 21037  			if !isLen1 {
 21038  				defer wg.Done()
 21039  			}
 21040  			ret[i] = ec.marshalOShape2githubᚗcomᚋ99designsᚋgqlgenᚋcodegenᚋtestserverᚋsinglefileᚐShape(ctx, sel, v[i])
 21041  		}
 21042  		if isLen1 {
 21043  			f(i)
 21044  		} else {
 21045  			go f(i)
 21046  		}
 21047  
 21048  	}
 21049  	wg.Wait()
 21050  
 21051  	return ret
 21052  }
 21053  
 21054  func (ec *executionContext) marshalOSlices2ᚖgithubᚗcomᚋ99designsᚋgqlgenᚋcodegenᚋtestserverᚋsinglefileᚐSlices(ctx context.Context, sel ast.SelectionSet, v *Slices) graphql.Marshaler {
 21055  	if v == nil {
 21056  		return graphql.Null
 21057  	}
 21058  	return ec._Slices(ctx, sel, v)
 21059  }
 21060  
 21061  func (ec *executionContext) unmarshalOString2string(ctx context.Context, v interface{}) (string, error) {
 21062  	res, err := graphql.UnmarshalString(v)
 21063  	return res, graphql.ErrorOnPath(ctx, err)
 21064  }
 21065  
 21066  func (ec *executionContext) marshalOString2string(ctx context.Context, sel ast.SelectionSet, v string) graphql.Marshaler {
 21067  	res := graphql.MarshalString(v)
 21068  	return res
 21069  }
 21070  
 21071  func (ec *executionContext) unmarshalOString2ᚕstringᚄ(ctx context.Context, v interface{}) ([]string, error) {
 21072  	if v == nil {
 21073  		return nil, nil
 21074  	}
 21075  	var vSlice []interface{}
 21076  	if v != nil {
 21077  		vSlice = graphql.CoerceList(v)
 21078  	}
 21079  	var err error
 21080  	res := make([]string, len(vSlice))
 21081  	for i := range vSlice {
 21082  		ctx := graphql.WithPathContext(ctx, graphql.NewPathWithIndex(i))
 21083  		res[i], err = ec.unmarshalNString2string(ctx, vSlice[i])
 21084  		if err != nil {
 21085  			return nil, err
 21086  		}
 21087  	}
 21088  	return res, nil
 21089  }
 21090  
 21091  func (ec *executionContext) marshalOString2ᚕstringᚄ(ctx context.Context, sel ast.SelectionSet, v []string) graphql.Marshaler {
 21092  	if v == nil {
 21093  		return graphql.Null
 21094  	}
 21095  	ret := make(graphql.Array, len(v))
 21096  	for i := range v {
 21097  		ret[i] = ec.marshalNString2string(ctx, sel, v[i])
 21098  	}
 21099  
 21100  	for _, e := range ret {
 21101  		if e == graphql.Null {
 21102  			return graphql.Null
 21103  		}
 21104  	}
 21105  
 21106  	return ret
 21107  }
 21108  
 21109  func (ec *executionContext) unmarshalOString2ᚕᚖstring(ctx context.Context, v interface{}) ([]*string, error) {
 21110  	if v == nil {
 21111  		return nil, nil
 21112  	}
 21113  	var vSlice []interface{}
 21114  	if v != nil {
 21115  		vSlice = graphql.CoerceList(v)
 21116  	}
 21117  	var err error
 21118  	res := make([]*string, len(vSlice))
 21119  	for i := range vSlice {
 21120  		ctx := graphql.WithPathContext(ctx, graphql.NewPathWithIndex(i))
 21121  		res[i], err = ec.unmarshalOString2ᚖstring(ctx, vSlice[i])
 21122  		if err != nil {
 21123  			return nil, err
 21124  		}
 21125  	}
 21126  	return res, nil
 21127  }
 21128  
 21129  func (ec *executionContext) marshalOString2ᚕᚖstring(ctx context.Context, sel ast.SelectionSet, v []*string) graphql.Marshaler {
 21130  	if v == nil {
 21131  		return graphql.Null
 21132  	}
 21133  	ret := make(graphql.Array, len(v))
 21134  	for i := range v {
 21135  		ret[i] = ec.marshalOString2ᚖstring(ctx, sel, v[i])
 21136  	}
 21137  
 21138  	return ret
 21139  }
 21140  
 21141  func (ec *executionContext) unmarshalOString2ᚖstring(ctx context.Context, v interface{}) (*string, error) {
 21142  	if v == nil {
 21143  		return nil, nil
 21144  	}
 21145  	res, err := graphql.UnmarshalString(v)
 21146  	return &res, graphql.ErrorOnPath(ctx, err)
 21147  }
 21148  
 21149  func (ec *executionContext) marshalOString2ᚖstring(ctx context.Context, sel ast.SelectionSet, v *string) graphql.Marshaler {
 21150  	if v == nil {
 21151  		return graphql.Null
 21152  	}
 21153  	res := graphql.MarshalString(*v)
 21154  	return res
 21155  }
 21156  
 21157  func (ec *executionContext) unmarshalOString2ᚖᚕstringᚄ(ctx context.Context, v interface{}) (*[]string, error) {
 21158  	if v == nil {
 21159  		return nil, nil
 21160  	}
 21161  	res, err := ec.unmarshalOString2ᚕstringᚄ(ctx, v)
 21162  	return &res, graphql.ErrorOnPath(ctx, err)
 21163  }
 21164  
 21165  func (ec *executionContext) marshalOString2ᚖᚕstringᚄ(ctx context.Context, sel ast.SelectionSet, v *[]string) graphql.Marshaler {
 21166  	return ec.marshalOString2ᚕstringᚄ(ctx, sel, *v)
 21167  }
 21168  
 21169  func (ec *executionContext) marshalOTestUnion2githubᚗcomᚋ99designsᚋgqlgenᚋcodegenᚋtestserverᚋsinglefileᚐTestUnion(ctx context.Context, sel ast.SelectionSet, v TestUnion) graphql.Marshaler {
 21170  	if v == nil {
 21171  		return graphql.Null
 21172  	}
 21173  	return ec._TestUnion(ctx, sel, v)
 21174  }
 21175  
 21176  func (ec *executionContext) unmarshalOThirdParty2ᚖgithubᚗcomᚋ99designsᚋgqlgenᚋcodegenᚋtestserverᚋsinglefileᚐThirdParty(ctx context.Context, v interface{}) (*ThirdParty, error) {
 21177  	if v == nil {
 21178  		return nil, nil
 21179  	}
 21180  	res, err := UnmarshalThirdParty(v)
 21181  	return &res, graphql.ErrorOnPath(ctx, err)
 21182  }
 21183  
 21184  func (ec *executionContext) marshalOThirdParty2ᚖgithubᚗcomᚋ99designsᚋgqlgenᚋcodegenᚋtestserverᚋsinglefileᚐThirdParty(ctx context.Context, sel ast.SelectionSet, v *ThirdParty) graphql.Marshaler {
 21185  	if v == nil {
 21186  		return graphql.Null
 21187  	}
 21188  	res := MarshalThirdParty(*v)
 21189  	return res
 21190  }
 21191  
 21192  func (ec *executionContext) unmarshalOTime2ᚖtimeᚐTime(ctx context.Context, v interface{}) (*time.Time, error) {
 21193  	if v == nil {
 21194  		return nil, nil
 21195  	}
 21196  	res, err := graphql.UnmarshalTime(v)
 21197  	return &res, graphql.ErrorOnPath(ctx, err)
 21198  }
 21199  
 21200  func (ec *executionContext) marshalOTime2ᚖtimeᚐTime(ctx context.Context, sel ast.SelectionSet, v *time.Time) graphql.Marshaler {
 21201  	if v == nil {
 21202  		return graphql.Null
 21203  	}
 21204  	res := graphql.MarshalTime(*v)
 21205  	return res
 21206  }
 21207  
 21208  func (ec *executionContext) unmarshalOUpdatePtrToPtrInner2ᚖgithubᚗcomᚋ99designsᚋgqlgenᚋcodegenᚋtestserverᚋsinglefileᚐUpdatePtrToPtrInner(ctx context.Context, v interface{}) (*UpdatePtrToPtrInner, error) {
 21209  	if v == nil {
 21210  		return nil, nil
 21211  	}
 21212  	res, err := ec.unmarshalInputUpdatePtrToPtrInner(ctx, v)
 21213  	return &res, graphql.ErrorOnPath(ctx, err)
 21214  }
 21215  
 21216  func (ec *executionContext) unmarshalOUpdatePtrToPtrInner2ᚖᚖgithubᚗcomᚋ99designsᚋgqlgenᚋcodegenᚋtestserverᚋsinglefileᚐUpdatePtrToPtrInner(ctx context.Context, v interface{}) (**UpdatePtrToPtrInner, error) {
 21217  	var pres *UpdatePtrToPtrInner
 21218  	if v != nil {
 21219  		res, err := ec.unmarshalOUpdatePtrToPtrInner2ᚖgithubᚗcomᚋ99designsᚋgqlgenᚋcodegenᚋtestserverᚋsinglefileᚐUpdatePtrToPtrInner(ctx, v)
 21220  		if err != nil {
 21221  			return nil, graphql.ErrorOnPath(ctx, err)
 21222  		}
 21223  		pres = res
 21224  	}
 21225  	return &pres, nil
 21226  }
 21227  
 21228  func (ec *executionContext) unmarshalOUpdatePtrToPtrInner2ᚖᚖᚖgithubᚗcomᚋ99designsᚋgqlgenᚋcodegenᚋtestserverᚋsinglefileᚐUpdatePtrToPtrInner(ctx context.Context, v interface{}) (***UpdatePtrToPtrInner, error) {
 21229  	var pres **UpdatePtrToPtrInner
 21230  	if v != nil {
 21231  		res, err := ec.unmarshalOUpdatePtrToPtrInner2ᚖᚖgithubᚗcomᚋ99designsᚋgqlgenᚋcodegenᚋtestserverᚋsinglefileᚐUpdatePtrToPtrInner(ctx, v)
 21232  		if err != nil {
 21233  			return nil, graphql.ErrorOnPath(ctx, err)
 21234  		}
 21235  		pres = res
 21236  	}
 21237  	return &pres, nil
 21238  }
 21239  
 21240  func (ec *executionContext) unmarshalOUpdatePtrToPtrInner2ᚖᚖᚖᚖgithubᚗcomᚋ99designsᚋgqlgenᚋcodegenᚋtestserverᚋsinglefileᚐUpdatePtrToPtrInner(ctx context.Context, v interface{}) (****UpdatePtrToPtrInner, error) {
 21241  	var pres ***UpdatePtrToPtrInner
 21242  	if v != nil {
 21243  		res, err := ec.unmarshalOUpdatePtrToPtrInner2ᚖᚖᚖgithubᚗcomᚋ99designsᚋgqlgenᚋcodegenᚋtestserverᚋsinglefileᚐUpdatePtrToPtrInner(ctx, v)
 21244  		if err != nil {
 21245  			return nil, graphql.ErrorOnPath(ctx, err)
 21246  		}
 21247  		pres = res
 21248  	}
 21249  	return &pres, nil
 21250  }
 21251  
 21252  func (ec *executionContext) unmarshalOUpdatePtrToPtrInner2ᚖᚖᚖᚖᚖgithubᚗcomᚋ99designsᚋgqlgenᚋcodegenᚋtestserverᚋsinglefileᚐUpdatePtrToPtrInner(ctx context.Context, v interface{}) (*****UpdatePtrToPtrInner, error) {
 21253  	var pres ****UpdatePtrToPtrInner
 21254  	if v != nil {
 21255  		res, err := ec.unmarshalOUpdatePtrToPtrInner2ᚖᚖᚖᚖgithubᚗcomᚋ99designsᚋgqlgenᚋcodegenᚋtestserverᚋsinglefileᚐUpdatePtrToPtrInner(ctx, v)
 21256  		if err != nil {
 21257  			return nil, graphql.ErrorOnPath(ctx, err)
 21258  		}
 21259  		pres = res
 21260  	}
 21261  	return &pres, nil
 21262  }
 21263  
 21264  func (ec *executionContext) unmarshalOUpdatePtrToPtrInner2ᚖᚖᚖᚖᚖᚖgithubᚗcomᚋ99designsᚋgqlgenᚋcodegenᚋtestserverᚋsinglefileᚐUpdatePtrToPtrInner(ctx context.Context, v interface{}) (******UpdatePtrToPtrInner, error) {
 21265  	var pres *****UpdatePtrToPtrInner
 21266  	if v != nil {
 21267  		res, err := ec.unmarshalOUpdatePtrToPtrInner2ᚖᚖᚖᚖᚖgithubᚗcomᚋ99designsᚋgqlgenᚋcodegenᚋtestserverᚋsinglefileᚐUpdatePtrToPtrInner(ctx, v)
 21268  		if err != nil {
 21269  			return nil, graphql.ErrorOnPath(ctx, err)
 21270  		}
 21271  		pres = res
 21272  	}
 21273  	return &pres, nil
 21274  }
 21275  
 21276  func (ec *executionContext) unmarshalOUpdatePtrToPtrInner2ᚖᚖᚖᚖᚖᚖᚖgithubᚗcomᚋ99designsᚋgqlgenᚋcodegenᚋtestserverᚋsinglefileᚐUpdatePtrToPtrInner(ctx context.Context, v interface{}) (*******UpdatePtrToPtrInner, error) {
 21277  	var pres ******UpdatePtrToPtrInner
 21278  	if v != nil {
 21279  		res, err := ec.unmarshalOUpdatePtrToPtrInner2ᚖᚖᚖᚖᚖᚖgithubᚗcomᚋ99designsᚋgqlgenᚋcodegenᚋtestserverᚋsinglefileᚐUpdatePtrToPtrInner(ctx, v)
 21280  		if err != nil {
 21281  			return nil, graphql.ErrorOnPath(ctx, err)
 21282  		}
 21283  		pres = res
 21284  	}
 21285  	return &pres, nil
 21286  }
 21287  
 21288  func (ec *executionContext) unmarshalOUpdatePtrToPtrInner2ᚖᚖᚖᚖᚖᚖᚖᚖgithubᚗcomᚋ99designsᚋgqlgenᚋcodegenᚋtestserverᚋsinglefileᚐUpdatePtrToPtrInner(ctx context.Context, v interface{}) (********UpdatePtrToPtrInner, error) {
 21289  	var pres *******UpdatePtrToPtrInner
 21290  	if v != nil {
 21291  		res, err := ec.unmarshalOUpdatePtrToPtrInner2ᚖᚖᚖᚖᚖᚖᚖgithubᚗcomᚋ99designsᚋgqlgenᚋcodegenᚋtestserverᚋsinglefileᚐUpdatePtrToPtrInner(ctx, v)
 21292  		if err != nil {
 21293  			return nil, graphql.ErrorOnPath(ctx, err)
 21294  		}
 21295  		pres = res
 21296  	}
 21297  	return &pres, nil
 21298  }
 21299  
 21300  func (ec *executionContext) marshalOVOkCaseNil2ᚖgithubᚗcomᚋ99designsᚋgqlgenᚋcodegenᚋtestserverᚋsinglefileᚐVOkCaseNil(ctx context.Context, sel ast.SelectionSet, v *VOkCaseNil) graphql.Marshaler {
 21301  	if v == nil {
 21302  		return graphql.Null
 21303  	}
 21304  	return ec._VOkCaseNil(ctx, sel, v)
 21305  }
 21306  
 21307  func (ec *executionContext) marshalOVOkCaseValue2ᚖgithubᚗcomᚋ99designsᚋgqlgenᚋcodegenᚋtestserverᚋsinglefileᚐVOkCaseValue(ctx context.Context, sel ast.SelectionSet, v *VOkCaseValue) graphql.Marshaler {
 21308  	if v == nil {
 21309  		return graphql.Null
 21310  	}
 21311  	return ec._VOkCaseValue(ctx, sel, v)
 21312  }
 21313  
 21314  func (ec *executionContext) unmarshalOValidInput2ᚖgithubᚗcomᚋ99designsᚋgqlgenᚋcodegenᚋtestserverᚋsinglefileᚐValidInput(ctx context.Context, v interface{}) (*ValidInput, error) {
 21315  	if v == nil {
 21316  		return nil, nil
 21317  	}
 21318  	res, err := ec.unmarshalInputValidInput(ctx, v)
 21319  	return &res, graphql.ErrorOnPath(ctx, err)
 21320  }
 21321  
 21322  func (ec *executionContext) marshalOValidType2ᚖgithubᚗcomᚋ99designsᚋgqlgenᚋcodegenᚋtestserverᚋsinglefileᚐValidType(ctx context.Context, sel ast.SelectionSet, v *ValidType) graphql.Marshaler {
 21323  	if v == nil {
 21324  		return graphql.Null
 21325  	}
 21326  	return ec._ValidType(ctx, sel, v)
 21327  }
 21328  
 21329  func (ec *executionContext) marshalOVariadicModel2ᚖgithubᚗcomᚋ99designsᚋgqlgenᚋcodegenᚋtestserverᚋsinglefileᚐVariadicModel(ctx context.Context, sel ast.SelectionSet, v *VariadicModel) graphql.Marshaler {
 21330  	if v == nil {
 21331  		return graphql.Null
 21332  	}
 21333  	return ec._VariadicModel(ctx, sel, v)
 21334  }
 21335  
 21336  func (ec *executionContext) unmarshalOWrappedScalar2ᚖgithubᚗcomᚋ99designsᚋgqlgenᚋcodegenᚋtestserverᚋsinglefileᚋotherpkgᚐScalar(ctx context.Context, v interface{}) (*otherpkg.Scalar, error) {
 21337  	if v == nil {
 21338  		return nil, nil
 21339  	}
 21340  	tmp, err := graphql.UnmarshalString(v)
 21341  	res := otherpkg.Scalar(tmp)
 21342  	return &res, graphql.ErrorOnPath(ctx, err)
 21343  }
 21344  
 21345  func (ec *executionContext) marshalOWrappedScalar2ᚖgithubᚗcomᚋ99designsᚋgqlgenᚋcodegenᚋtestserverᚋsinglefileᚋotherpkgᚐScalar(ctx context.Context, sel ast.SelectionSet, v *otherpkg.Scalar) graphql.Marshaler {
 21346  	if v == nil {
 21347  		return graphql.Null
 21348  	}
 21349  	res := graphql.MarshalString(string(*v))
 21350  	return res
 21351  }
 21352  
 21353  func (ec *executionContext) marshalO__EnumValue2ᚕgithubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚋintrospectionᚐEnumValueᚄ(ctx context.Context, sel ast.SelectionSet, v []introspection.EnumValue) graphql.Marshaler {
 21354  	if v == nil {
 21355  		return graphql.Null
 21356  	}
 21357  	ret := make(graphql.Array, len(v))
 21358  	var wg sync.WaitGroup
 21359  	isLen1 := len(v) == 1
 21360  	if !isLen1 {
 21361  		wg.Add(len(v))
 21362  	}
 21363  	for i := range v {
 21364  		i := i
 21365  		fc := &graphql.FieldContext{
 21366  			Index:  &i,
 21367  			Result: &v[i],
 21368  		}
 21369  		ctx := graphql.WithFieldContext(ctx, fc)
 21370  		f := func(i int) {
 21371  			defer func() {
 21372  				if r := recover(); r != nil {
 21373  					ec.Error(ctx, ec.Recover(ctx, r))
 21374  					ret = nil
 21375  				}
 21376  			}()
 21377  			if !isLen1 {
 21378  				defer wg.Done()
 21379  			}
 21380  			ret[i] = ec.marshalN__EnumValue2githubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚋintrospectionᚐEnumValue(ctx, sel, v[i])
 21381  		}
 21382  		if isLen1 {
 21383  			f(i)
 21384  		} else {
 21385  			go f(i)
 21386  		}
 21387  
 21388  	}
 21389  	wg.Wait()
 21390  
 21391  	for _, e := range ret {
 21392  		if e == graphql.Null {
 21393  			return graphql.Null
 21394  		}
 21395  	}
 21396  
 21397  	return ret
 21398  }
 21399  
 21400  func (ec *executionContext) marshalO__Field2ᚕgithubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚋintrospectionᚐFieldᚄ(ctx context.Context, sel ast.SelectionSet, v []introspection.Field) graphql.Marshaler {
 21401  	if v == nil {
 21402  		return graphql.Null
 21403  	}
 21404  	ret := make(graphql.Array, len(v))
 21405  	var wg sync.WaitGroup
 21406  	isLen1 := len(v) == 1
 21407  	if !isLen1 {
 21408  		wg.Add(len(v))
 21409  	}
 21410  	for i := range v {
 21411  		i := i
 21412  		fc := &graphql.FieldContext{
 21413  			Index:  &i,
 21414  			Result: &v[i],
 21415  		}
 21416  		ctx := graphql.WithFieldContext(ctx, fc)
 21417  		f := func(i int) {
 21418  			defer func() {
 21419  				if r := recover(); r != nil {
 21420  					ec.Error(ctx, ec.Recover(ctx, r))
 21421  					ret = nil
 21422  				}
 21423  			}()
 21424  			if !isLen1 {
 21425  				defer wg.Done()
 21426  			}
 21427  			ret[i] = ec.marshalN__Field2githubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚋintrospectionᚐField(ctx, sel, v[i])
 21428  		}
 21429  		if isLen1 {
 21430  			f(i)
 21431  		} else {
 21432  			go f(i)
 21433  		}
 21434  
 21435  	}
 21436  	wg.Wait()
 21437  
 21438  	for _, e := range ret {
 21439  		if e == graphql.Null {
 21440  			return graphql.Null
 21441  		}
 21442  	}
 21443  
 21444  	return ret
 21445  }
 21446  
 21447  func (ec *executionContext) marshalO__InputValue2ᚕgithubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚋintrospectionᚐInputValueᚄ(ctx context.Context, sel ast.SelectionSet, v []introspection.InputValue) graphql.Marshaler {
 21448  	if v == nil {
 21449  		return graphql.Null
 21450  	}
 21451  	ret := make(graphql.Array, len(v))
 21452  	var wg sync.WaitGroup
 21453  	isLen1 := len(v) == 1
 21454  	if !isLen1 {
 21455  		wg.Add(len(v))
 21456  	}
 21457  	for i := range v {
 21458  		i := i
 21459  		fc := &graphql.FieldContext{
 21460  			Index:  &i,
 21461  			Result: &v[i],
 21462  		}
 21463  		ctx := graphql.WithFieldContext(ctx, fc)
 21464  		f := func(i int) {
 21465  			defer func() {
 21466  				if r := recover(); r != nil {
 21467  					ec.Error(ctx, ec.Recover(ctx, r))
 21468  					ret = nil
 21469  				}
 21470  			}()
 21471  			if !isLen1 {
 21472  				defer wg.Done()
 21473  			}
 21474  			ret[i] = ec.marshalN__InputValue2githubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚋintrospectionᚐInputValue(ctx, sel, v[i])
 21475  		}
 21476  		if isLen1 {
 21477  			f(i)
 21478  		} else {
 21479  			go f(i)
 21480  		}
 21481  
 21482  	}
 21483  	wg.Wait()
 21484  
 21485  	for _, e := range ret {
 21486  		if e == graphql.Null {
 21487  			return graphql.Null
 21488  		}
 21489  	}
 21490  
 21491  	return ret
 21492  }
 21493  
 21494  func (ec *executionContext) marshalO__Schema2ᚖgithubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚋintrospectionᚐSchema(ctx context.Context, sel ast.SelectionSet, v *introspection.Schema) graphql.Marshaler {
 21495  	if v == nil {
 21496  		return graphql.Null
 21497  	}
 21498  	return ec.___Schema(ctx, sel, v)
 21499  }
 21500  
 21501  func (ec *executionContext) marshalO__Type2ᚕgithubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚋintrospectionᚐTypeᚄ(ctx context.Context, sel ast.SelectionSet, v []introspection.Type) graphql.Marshaler {
 21502  	if v == nil {
 21503  		return graphql.Null
 21504  	}
 21505  	ret := make(graphql.Array, len(v))
 21506  	var wg sync.WaitGroup
 21507  	isLen1 := len(v) == 1
 21508  	if !isLen1 {
 21509  		wg.Add(len(v))
 21510  	}
 21511  	for i := range v {
 21512  		i := i
 21513  		fc := &graphql.FieldContext{
 21514  			Index:  &i,
 21515  			Result: &v[i],
 21516  		}
 21517  		ctx := graphql.WithFieldContext(ctx, fc)
 21518  		f := func(i int) {
 21519  			defer func() {
 21520  				if r := recover(); r != nil {
 21521  					ec.Error(ctx, ec.Recover(ctx, r))
 21522  					ret = nil
 21523  				}
 21524  			}()
 21525  			if !isLen1 {
 21526  				defer wg.Done()
 21527  			}
 21528  			ret[i] = ec.marshalN__Type2githubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚋintrospectionᚐType(ctx, sel, v[i])
 21529  		}
 21530  		if isLen1 {
 21531  			f(i)
 21532  		} else {
 21533  			go f(i)
 21534  		}
 21535  
 21536  	}
 21537  	wg.Wait()
 21538  
 21539  	for _, e := range ret {
 21540  		if e == graphql.Null {
 21541  			return graphql.Null
 21542  		}
 21543  	}
 21544  
 21545  	return ret
 21546  }
 21547  
 21548  func (ec *executionContext) marshalO__Type2ᚖgithubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚋintrospectionᚐType(ctx context.Context, sel ast.SelectionSet, v *introspection.Type) graphql.Marshaler {
 21549  	if v == nil {
 21550  		return graphql.Null
 21551  	}
 21552  	return ec.___Type(ctx, sel, v)
 21553  }
 21554  
 21555  // endregion ***************************** type.gotpl *****************************