github.com/kubeshop/testkube@v1.17.23/internal/graphql/gen/generated.go (about)

     1  // Code generated by github.com/99designs/gqlgen, DO NOT EDIT.
     2  
     3  package gen
     4  
     5  import (
     6  	"bytes"
     7  	"context"
     8  	"errors"
     9  	"fmt"
    10  	"io"
    11  	"strconv"
    12  	"sync"
    13  	"sync/atomic"
    14  
    15  	"github.com/99designs/gqlgen/graphql"
    16  	"github.com/99designs/gqlgen/graphql/introspection"
    17  	gqlparser "github.com/vektah/gqlparser/v2"
    18  	"github.com/vektah/gqlparser/v2/ast"
    19  
    20  	"github.com/kubeshop/testkube/internal/graphql/scalars"
    21  	"github.com/kubeshop/testkube/pkg/api/v1/testkube"
    22  )
    23  
    24  // region    ************************** generated!.gotpl **************************
    25  
    26  // NewExecutableSchema creates an ExecutableSchema from the ResolverRoot interface.
    27  func NewExecutableSchema(cfg Config) graphql.ExecutableSchema {
    28  	return &executableSchema{
    29  		resolvers:  cfg.Resolvers,
    30  		directives: cfg.Directives,
    31  		complexity: cfg.Complexity,
    32  	}
    33  }
    34  
    35  type Config struct {
    36  	Resolvers  ResolverRoot
    37  	Directives DirectiveRoot
    38  	Complexity ComplexityRoot
    39  }
    40  
    41  type ResolverRoot interface {
    42  	Query() QueryResolver
    43  	Subscription() SubscriptionResolver
    44  }
    45  
    46  type DirectiveRoot struct {
    47  }
    48  
    49  type ComplexityRoot struct {
    50  	Executor struct {
    51  		Args             func(childComplexity int) int
    52  		Command          func(childComplexity int) int
    53  		ContentTypes     func(childComplexity int) int
    54  		ExecutorType     func(childComplexity int) int
    55  		Features         func(childComplexity int) int
    56  		Image            func(childComplexity int) int
    57  		ImagePullSecrets func(childComplexity int) int
    58  		JobTemplate      func(childComplexity int) int
    59  		Labels           func(childComplexity int) int
    60  		Meta             func(childComplexity int) int
    61  		Types            func(childComplexity int) int
    62  		Uri              func(childComplexity int) int
    63  	}
    64  
    65  	ExecutorDetails struct {
    66  		Executor func(childComplexity int) int
    67  		Name     func(childComplexity int) int
    68  	}
    69  
    70  	ExecutorMeta struct {
    71  		DocsURI  func(childComplexity int) int
    72  		IconURI  func(childComplexity int) int
    73  		Tooltips func(childComplexity int) int
    74  	}
    75  
    76  	LocalObjectReference struct {
    77  		Name func(childComplexity int) int
    78  	}
    79  
    80  	Query struct {
    81  		Executors func(childComplexity int, selector string) int
    82  	}
    83  
    84  	Subscription struct {
    85  		Executors func(childComplexity int, selector string) int
    86  	}
    87  }
    88  
    89  type QueryResolver interface {
    90  	Executors(ctx context.Context, selector string) ([]testkube.ExecutorDetails, error)
    91  }
    92  type SubscriptionResolver interface {
    93  	Executors(ctx context.Context, selector string) (<-chan []testkube.ExecutorDetails, error)
    94  }
    95  
    96  type executableSchema struct {
    97  	resolvers  ResolverRoot
    98  	directives DirectiveRoot
    99  	complexity ComplexityRoot
   100  }
   101  
   102  func (e *executableSchema) Schema() *ast.Schema {
   103  	return parsedSchema
   104  }
   105  
   106  func (e *executableSchema) Complexity(typeName, field string, childComplexity int, rawArgs map[string]interface{}) (int, bool) {
   107  	ec := executionContext{nil, e}
   108  	_ = ec
   109  	switch typeName + "." + field {
   110  
   111  	case "Executor.args":
   112  		if e.complexity.Executor.Args == nil {
   113  			break
   114  		}
   115  
   116  		return e.complexity.Executor.Args(childComplexity), true
   117  
   118  	case "Executor.command":
   119  		if e.complexity.Executor.Command == nil {
   120  			break
   121  		}
   122  
   123  		return e.complexity.Executor.Command(childComplexity), true
   124  
   125  	case "Executor.contentTypes":
   126  		if e.complexity.Executor.ContentTypes == nil {
   127  			break
   128  		}
   129  
   130  		return e.complexity.Executor.ContentTypes(childComplexity), true
   131  
   132  	case "Executor.executorType":
   133  		if e.complexity.Executor.ExecutorType == nil {
   134  			break
   135  		}
   136  
   137  		return e.complexity.Executor.ExecutorType(childComplexity), true
   138  
   139  	case "Executor.features":
   140  		if e.complexity.Executor.Features == nil {
   141  			break
   142  		}
   143  
   144  		return e.complexity.Executor.Features(childComplexity), true
   145  
   146  	case "Executor.image":
   147  		if e.complexity.Executor.Image == nil {
   148  			break
   149  		}
   150  
   151  		return e.complexity.Executor.Image(childComplexity), true
   152  
   153  	case "Executor.imagePullSecrets":
   154  		if e.complexity.Executor.ImagePullSecrets == nil {
   155  			break
   156  		}
   157  
   158  		return e.complexity.Executor.ImagePullSecrets(childComplexity), true
   159  
   160  	case "Executor.jobTemplate":
   161  		if e.complexity.Executor.JobTemplate == nil {
   162  			break
   163  		}
   164  
   165  		return e.complexity.Executor.JobTemplate(childComplexity), true
   166  
   167  	case "Executor.labels":
   168  		if e.complexity.Executor.Labels == nil {
   169  			break
   170  		}
   171  
   172  		return e.complexity.Executor.Labels(childComplexity), true
   173  
   174  	case "Executor.meta":
   175  		if e.complexity.Executor.Meta == nil {
   176  			break
   177  		}
   178  
   179  		return e.complexity.Executor.Meta(childComplexity), true
   180  
   181  	case "Executor.types":
   182  		if e.complexity.Executor.Types == nil {
   183  			break
   184  		}
   185  
   186  		return e.complexity.Executor.Types(childComplexity), true
   187  
   188  	case "Executor.uri":
   189  		if e.complexity.Executor.Uri == nil {
   190  			break
   191  		}
   192  
   193  		return e.complexity.Executor.Uri(childComplexity), true
   194  
   195  	case "ExecutorDetails.executor":
   196  		if e.complexity.ExecutorDetails.Executor == nil {
   197  			break
   198  		}
   199  
   200  		return e.complexity.ExecutorDetails.Executor(childComplexity), true
   201  
   202  	case "ExecutorDetails.name":
   203  		if e.complexity.ExecutorDetails.Name == nil {
   204  			break
   205  		}
   206  
   207  		return e.complexity.ExecutorDetails.Name(childComplexity), true
   208  
   209  	case "ExecutorMeta.docsURI":
   210  		if e.complexity.ExecutorMeta.DocsURI == nil {
   211  			break
   212  		}
   213  
   214  		return e.complexity.ExecutorMeta.DocsURI(childComplexity), true
   215  
   216  	case "ExecutorMeta.iconURI":
   217  		if e.complexity.ExecutorMeta.IconURI == nil {
   218  			break
   219  		}
   220  
   221  		return e.complexity.ExecutorMeta.IconURI(childComplexity), true
   222  
   223  	case "ExecutorMeta.tooltips":
   224  		if e.complexity.ExecutorMeta.Tooltips == nil {
   225  			break
   226  		}
   227  
   228  		return e.complexity.ExecutorMeta.Tooltips(childComplexity), true
   229  
   230  	case "LocalObjectReference.name":
   231  		if e.complexity.LocalObjectReference.Name == nil {
   232  			break
   233  		}
   234  
   235  		return e.complexity.LocalObjectReference.Name(childComplexity), true
   236  
   237  	case "Query.executors":
   238  		if e.complexity.Query.Executors == nil {
   239  			break
   240  		}
   241  
   242  		args, err := ec.field_Query_executors_args(context.TODO(), rawArgs)
   243  		if err != nil {
   244  			return 0, false
   245  		}
   246  
   247  		return e.complexity.Query.Executors(childComplexity, args["selector"].(string)), true
   248  
   249  	case "Subscription.executors":
   250  		if e.complexity.Subscription.Executors == nil {
   251  			break
   252  		}
   253  
   254  		args, err := ec.field_Subscription_executors_args(context.TODO(), rawArgs)
   255  		if err != nil {
   256  			return 0, false
   257  		}
   258  
   259  		return e.complexity.Subscription.Executors(childComplexity, args["selector"].(string)), true
   260  
   261  	}
   262  	return 0, false
   263  }
   264  
   265  func (e *executableSchema) Exec(ctx context.Context) graphql.ResponseHandler {
   266  	rc := graphql.GetOperationContext(ctx)
   267  	ec := executionContext{rc, e}
   268  	inputUnmarshalMap := graphql.BuildUnmarshalerMap()
   269  	first := true
   270  
   271  	switch rc.Operation.Operation {
   272  	case ast.Query:
   273  		return func(ctx context.Context) *graphql.Response {
   274  			if !first {
   275  				return nil
   276  			}
   277  			first = false
   278  			ctx = graphql.WithUnmarshalerMap(ctx, inputUnmarshalMap)
   279  			data := ec._Query(ctx, rc.Operation.SelectionSet)
   280  			var buf bytes.Buffer
   281  			data.MarshalGQL(&buf)
   282  
   283  			return &graphql.Response{
   284  				Data: buf.Bytes(),
   285  			}
   286  		}
   287  	case ast.Subscription:
   288  		next := ec._Subscription(ctx, rc.Operation.SelectionSet)
   289  
   290  		var buf bytes.Buffer
   291  		return func(ctx context.Context) *graphql.Response {
   292  			buf.Reset()
   293  			data := next(ctx)
   294  
   295  			if data == nil {
   296  				return nil
   297  			}
   298  			data.MarshalGQL(&buf)
   299  
   300  			return &graphql.Response{
   301  				Data: buf.Bytes(),
   302  			}
   303  		}
   304  
   305  	default:
   306  		return graphql.OneShot(graphql.ErrorResponse(ctx, "unsupported GraphQL operation"))
   307  	}
   308  }
   309  
   310  type executionContext struct {
   311  	*graphql.OperationContext
   312  	*executableSchema
   313  }
   314  
   315  func (ec *executionContext) introspectSchema() (*introspection.Schema, error) {
   316  	if ec.DisableIntrospection {
   317  		return nil, errors.New("introspection disabled")
   318  	}
   319  	return introspection.WrapSchema(parsedSchema), nil
   320  }
   321  
   322  func (ec *executionContext) introspectType(name string) (*introspection.Type, error) {
   323  	if ec.DisableIntrospection {
   324  		return nil, errors.New("introspection disabled")
   325  	}
   326  	return introspection.WrapTypeFromDef(parsedSchema, parsedSchema.Types[name]), nil
   327  }
   328  
   329  var sources = []*ast.Source{
   330  	{Name: "../schemas/executors.graphqls", Input: `extend type Subscription {
   331      """
   332      ` + "`" + `executor` + "`" + ` will return a stream of ` + "`" + `Executor` + "`" + ` objects.
   333      """
   334      executors(selector: String! = ""): [ExecutorDetails!]!
   335  }
   336  
   337  extend type Query {
   338      """
   339      List executors available in cluster
   340  
   341      Equivalent to GET /executors
   342      """
   343      executors(selector: String! = ""): [ExecutorDetails!]!
   344  }
   345  
   346  type ExecutorDetails {
   347      name: String!
   348      executor: Executor!
   349  }
   350  
   351  """CRD based executor data"""
   352  type Executor {
   353      """additional executor binary arguments"""
   354      args: [String!]
   355  
   356      """container executor image command"""
   357      command: [String!]
   358  
   359      """list of handled content types"""
   360      contentTypes: [String!]
   361  
   362      """
   363      ExecutorType one of "rest" for rest openapi based executors
   364      or "job" which will be default runners for testkube or "container"
   365      for container executors
   366      """
   367      executorType: String!
   368  
   369      """Available executor features"""
   370      features: [String!]
   371  
   372      """Image for kube-job"""
   373      image: String!
   374  
   375      """container image pull secrets"""
   376      imagePullSecrets: [LocalObjectReference!]
   377  
   378      """Job template to launch executor"""
   379      jobTemplate: String!
   380  
   381      """executor labels"""
   382      labels: StringMap
   383  
   384      """Executor meta data"""
   385      meta: ExecutorMeta
   386  
   387      """
   388      Types defines what types can be handled by executor e.g. "postman/collection", ":curl/command" etc
   389      """
   390      types: [String!]!
   391  
   392      """URI for rest based executors"""
   393      uri: String!
   394  }
   395  
   396  """Reference to Kubernetes object"""
   397  type LocalObjectReference {
   398      name: String!
   399  }
   400  
   401  """Executor meta data"""
   402  type ExecutorMeta {
   403      """URI for executor docs"""
   404      docsURI: String
   405  
   406      """URI for executor icon"""
   407      iconURI: String
   408  
   409      """executor tooltips"""
   410      tooltips: StringMap
   411  }
   412  `, BuiltIn: false},
   413  	{Name: "../schemas/root.graphqls", Input: `scalar Map
   414  scalar StringMap
   415  
   416  directive @goModel(model: String, models: [String!]) on OBJECT | INPUT_OBJECT | SCALAR | ENUM | INTERFACE | UNION
   417  directive @goField(forceResolver: Boolean, name: String) on INPUT_FIELD_DEFINITION | FIELD_DEFINITION
   418  directive @goTag(key: String!, value: String) on INPUT_FIELD_DEFINITION | FIELD_DEFINITION
   419  
   420  type Subscription
   421  type Query
   422  `, BuiltIn: false},
   423  }
   424  var parsedSchema = gqlparser.MustLoadSchema(sources...)
   425  
   426  // endregion ************************** generated!.gotpl **************************
   427  
   428  // region    ***************************** args.gotpl *****************************
   429  
   430  func (ec *executionContext) field_Query___type_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) {
   431  	var err error
   432  	args := map[string]interface{}{}
   433  	var arg0 string
   434  	if tmp, ok := rawArgs["name"]; ok {
   435  		ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("name"))
   436  		arg0, err = ec.unmarshalNString2string(ctx, tmp)
   437  		if err != nil {
   438  			return nil, err
   439  		}
   440  	}
   441  	args["name"] = arg0
   442  	return args, nil
   443  }
   444  
   445  func (ec *executionContext) field_Query_executors_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) {
   446  	var err error
   447  	args := map[string]interface{}{}
   448  	var arg0 string
   449  	if tmp, ok := rawArgs["selector"]; ok {
   450  		ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("selector"))
   451  		arg0, err = ec.unmarshalNString2string(ctx, tmp)
   452  		if err != nil {
   453  			return nil, err
   454  		}
   455  	}
   456  	args["selector"] = arg0
   457  	return args, nil
   458  }
   459  
   460  func (ec *executionContext) field_Subscription_executors_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) {
   461  	var err error
   462  	args := map[string]interface{}{}
   463  	var arg0 string
   464  	if tmp, ok := rawArgs["selector"]; ok {
   465  		ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("selector"))
   466  		arg0, err = ec.unmarshalNString2string(ctx, tmp)
   467  		if err != nil {
   468  			return nil, err
   469  		}
   470  	}
   471  	args["selector"] = arg0
   472  	return args, nil
   473  }
   474  
   475  func (ec *executionContext) field___Type_enumValues_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) {
   476  	var err error
   477  	args := map[string]interface{}{}
   478  	var arg0 bool
   479  	if tmp, ok := rawArgs["includeDeprecated"]; ok {
   480  		ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("includeDeprecated"))
   481  		arg0, err = ec.unmarshalOBoolean2bool(ctx, tmp)
   482  		if err != nil {
   483  			return nil, err
   484  		}
   485  	}
   486  	args["includeDeprecated"] = arg0
   487  	return args, nil
   488  }
   489  
   490  func (ec *executionContext) field___Type_fields_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) {
   491  	var err error
   492  	args := map[string]interface{}{}
   493  	var arg0 bool
   494  	if tmp, ok := rawArgs["includeDeprecated"]; ok {
   495  		ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("includeDeprecated"))
   496  		arg0, err = ec.unmarshalOBoolean2bool(ctx, tmp)
   497  		if err != nil {
   498  			return nil, err
   499  		}
   500  	}
   501  	args["includeDeprecated"] = arg0
   502  	return args, nil
   503  }
   504  
   505  // endregion ***************************** args.gotpl *****************************
   506  
   507  // region    ************************** directives.gotpl **************************
   508  
   509  // endregion ************************** directives.gotpl **************************
   510  
   511  // region    **************************** field.gotpl *****************************
   512  
   513  func (ec *executionContext) _Executor_args(ctx context.Context, field graphql.CollectedField, obj *testkube.Executor) (ret graphql.Marshaler) {
   514  	fc, err := ec.fieldContext_Executor_args(ctx, field)
   515  	if err != nil {
   516  		return graphql.Null
   517  	}
   518  	ctx = graphql.WithFieldContext(ctx, fc)
   519  	defer func() {
   520  		if r := recover(); r != nil {
   521  			ec.Error(ctx, ec.Recover(ctx, r))
   522  			ret = graphql.Null
   523  		}
   524  	}()
   525  	resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
   526  		ctx = rctx // use context from middleware stack in children
   527  		return obj.Args, nil
   528  	})
   529  	if err != nil {
   530  		ec.Error(ctx, err)
   531  		return graphql.Null
   532  	}
   533  	if resTmp == nil {
   534  		return graphql.Null
   535  	}
   536  	res := resTmp.([]string)
   537  	fc.Result = res
   538  	return ec.marshalOString2ᚕstringᚄ(ctx, field.Selections, res)
   539  }
   540  
   541  func (ec *executionContext) fieldContext_Executor_args(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
   542  	fc = &graphql.FieldContext{
   543  		Object:     "Executor",
   544  		Field:      field,
   545  		IsMethod:   false,
   546  		IsResolver: false,
   547  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
   548  			return nil, errors.New("field of type String does not have child fields")
   549  		},
   550  	}
   551  	return fc, nil
   552  }
   553  
   554  func (ec *executionContext) _Executor_command(ctx context.Context, field graphql.CollectedField, obj *testkube.Executor) (ret graphql.Marshaler) {
   555  	fc, err := ec.fieldContext_Executor_command(ctx, field)
   556  	if err != nil {
   557  		return graphql.Null
   558  	}
   559  	ctx = graphql.WithFieldContext(ctx, fc)
   560  	defer func() {
   561  		if r := recover(); r != nil {
   562  			ec.Error(ctx, ec.Recover(ctx, r))
   563  			ret = graphql.Null
   564  		}
   565  	}()
   566  	resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
   567  		ctx = rctx // use context from middleware stack in children
   568  		return obj.Command, nil
   569  	})
   570  	if err != nil {
   571  		ec.Error(ctx, err)
   572  		return graphql.Null
   573  	}
   574  	if resTmp == nil {
   575  		return graphql.Null
   576  	}
   577  	res := resTmp.([]string)
   578  	fc.Result = res
   579  	return ec.marshalOString2ᚕstringᚄ(ctx, field.Selections, res)
   580  }
   581  
   582  func (ec *executionContext) fieldContext_Executor_command(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
   583  	fc = &graphql.FieldContext{
   584  		Object:     "Executor",
   585  		Field:      field,
   586  		IsMethod:   false,
   587  		IsResolver: false,
   588  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
   589  			return nil, errors.New("field of type String does not have child fields")
   590  		},
   591  	}
   592  	return fc, nil
   593  }
   594  
   595  func (ec *executionContext) _Executor_contentTypes(ctx context.Context, field graphql.CollectedField, obj *testkube.Executor) (ret graphql.Marshaler) {
   596  	fc, err := ec.fieldContext_Executor_contentTypes(ctx, field)
   597  	if err != nil {
   598  		return graphql.Null
   599  	}
   600  	ctx = graphql.WithFieldContext(ctx, fc)
   601  	defer func() {
   602  		if r := recover(); r != nil {
   603  			ec.Error(ctx, ec.Recover(ctx, r))
   604  			ret = graphql.Null
   605  		}
   606  	}()
   607  	resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
   608  		ctx = rctx // use context from middleware stack in children
   609  		return obj.ContentTypes, nil
   610  	})
   611  	if err != nil {
   612  		ec.Error(ctx, err)
   613  		return graphql.Null
   614  	}
   615  	if resTmp == nil {
   616  		return graphql.Null
   617  	}
   618  	res := resTmp.([]string)
   619  	fc.Result = res
   620  	return ec.marshalOString2ᚕstringᚄ(ctx, field.Selections, res)
   621  }
   622  
   623  func (ec *executionContext) fieldContext_Executor_contentTypes(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
   624  	fc = &graphql.FieldContext{
   625  		Object:     "Executor",
   626  		Field:      field,
   627  		IsMethod:   false,
   628  		IsResolver: false,
   629  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
   630  			return nil, errors.New("field of type String does not have child fields")
   631  		},
   632  	}
   633  	return fc, nil
   634  }
   635  
   636  func (ec *executionContext) _Executor_executorType(ctx context.Context, field graphql.CollectedField, obj *testkube.Executor) (ret graphql.Marshaler) {
   637  	fc, err := ec.fieldContext_Executor_executorType(ctx, field)
   638  	if err != nil {
   639  		return graphql.Null
   640  	}
   641  	ctx = graphql.WithFieldContext(ctx, fc)
   642  	defer func() {
   643  		if r := recover(); r != nil {
   644  			ec.Error(ctx, ec.Recover(ctx, r))
   645  			ret = graphql.Null
   646  		}
   647  	}()
   648  	resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
   649  		ctx = rctx // use context from middleware stack in children
   650  		return obj.ExecutorType, nil
   651  	})
   652  	if err != nil {
   653  		ec.Error(ctx, err)
   654  		return graphql.Null
   655  	}
   656  	if resTmp == nil {
   657  		if !graphql.HasFieldError(ctx, fc) {
   658  			ec.Errorf(ctx, "must not be null")
   659  		}
   660  		return graphql.Null
   661  	}
   662  	res := resTmp.(string)
   663  	fc.Result = res
   664  	return ec.marshalNString2string(ctx, field.Selections, res)
   665  }
   666  
   667  func (ec *executionContext) fieldContext_Executor_executorType(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
   668  	fc = &graphql.FieldContext{
   669  		Object:     "Executor",
   670  		Field:      field,
   671  		IsMethod:   false,
   672  		IsResolver: false,
   673  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
   674  			return nil, errors.New("field of type String does not have child fields")
   675  		},
   676  	}
   677  	return fc, nil
   678  }
   679  
   680  func (ec *executionContext) _Executor_features(ctx context.Context, field graphql.CollectedField, obj *testkube.Executor) (ret graphql.Marshaler) {
   681  	fc, err := ec.fieldContext_Executor_features(ctx, field)
   682  	if err != nil {
   683  		return graphql.Null
   684  	}
   685  	ctx = graphql.WithFieldContext(ctx, fc)
   686  	defer func() {
   687  		if r := recover(); r != nil {
   688  			ec.Error(ctx, ec.Recover(ctx, r))
   689  			ret = graphql.Null
   690  		}
   691  	}()
   692  	resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
   693  		ctx = rctx // use context from middleware stack in children
   694  		return obj.Features, nil
   695  	})
   696  	if err != nil {
   697  		ec.Error(ctx, err)
   698  		return graphql.Null
   699  	}
   700  	if resTmp == nil {
   701  		return graphql.Null
   702  	}
   703  	res := resTmp.([]string)
   704  	fc.Result = res
   705  	return ec.marshalOString2ᚕstringᚄ(ctx, field.Selections, res)
   706  }
   707  
   708  func (ec *executionContext) fieldContext_Executor_features(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
   709  	fc = &graphql.FieldContext{
   710  		Object:     "Executor",
   711  		Field:      field,
   712  		IsMethod:   false,
   713  		IsResolver: false,
   714  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
   715  			return nil, errors.New("field of type String does not have child fields")
   716  		},
   717  	}
   718  	return fc, nil
   719  }
   720  
   721  func (ec *executionContext) _Executor_image(ctx context.Context, field graphql.CollectedField, obj *testkube.Executor) (ret graphql.Marshaler) {
   722  	fc, err := ec.fieldContext_Executor_image(ctx, field)
   723  	if err != nil {
   724  		return graphql.Null
   725  	}
   726  	ctx = graphql.WithFieldContext(ctx, fc)
   727  	defer func() {
   728  		if r := recover(); r != nil {
   729  			ec.Error(ctx, ec.Recover(ctx, r))
   730  			ret = graphql.Null
   731  		}
   732  	}()
   733  	resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
   734  		ctx = rctx // use context from middleware stack in children
   735  		return obj.Image, nil
   736  	})
   737  	if err != nil {
   738  		ec.Error(ctx, err)
   739  		return graphql.Null
   740  	}
   741  	if resTmp == nil {
   742  		if !graphql.HasFieldError(ctx, fc) {
   743  			ec.Errorf(ctx, "must not be null")
   744  		}
   745  		return graphql.Null
   746  	}
   747  	res := resTmp.(string)
   748  	fc.Result = res
   749  	return ec.marshalNString2string(ctx, field.Selections, res)
   750  }
   751  
   752  func (ec *executionContext) fieldContext_Executor_image(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
   753  	fc = &graphql.FieldContext{
   754  		Object:     "Executor",
   755  		Field:      field,
   756  		IsMethod:   false,
   757  		IsResolver: false,
   758  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
   759  			return nil, errors.New("field of type String does not have child fields")
   760  		},
   761  	}
   762  	return fc, nil
   763  }
   764  
   765  func (ec *executionContext) _Executor_imagePullSecrets(ctx context.Context, field graphql.CollectedField, obj *testkube.Executor) (ret graphql.Marshaler) {
   766  	fc, err := ec.fieldContext_Executor_imagePullSecrets(ctx, field)
   767  	if err != nil {
   768  		return graphql.Null
   769  	}
   770  	ctx = graphql.WithFieldContext(ctx, fc)
   771  	defer func() {
   772  		if r := recover(); r != nil {
   773  			ec.Error(ctx, ec.Recover(ctx, r))
   774  			ret = graphql.Null
   775  		}
   776  	}()
   777  	resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
   778  		ctx = rctx // use context from middleware stack in children
   779  		return obj.ImagePullSecrets, nil
   780  	})
   781  	if err != nil {
   782  		ec.Error(ctx, err)
   783  		return graphql.Null
   784  	}
   785  	if resTmp == nil {
   786  		return graphql.Null
   787  	}
   788  	res := resTmp.([]testkube.LocalObjectReference)
   789  	fc.Result = res
   790  	return ec.marshalOLocalObjectReference2ᚕgithubᚗcomᚋkubeshopᚋtestkubeᚋpkgᚋapiᚋv1ᚋtestkubeᚐLocalObjectReferenceᚄ(ctx, field.Selections, res)
   791  }
   792  
   793  func (ec *executionContext) fieldContext_Executor_imagePullSecrets(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
   794  	fc = &graphql.FieldContext{
   795  		Object:     "Executor",
   796  		Field:      field,
   797  		IsMethod:   false,
   798  		IsResolver: false,
   799  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
   800  			switch field.Name {
   801  			case "name":
   802  				return ec.fieldContext_LocalObjectReference_name(ctx, field)
   803  			}
   804  			return nil, fmt.Errorf("no field named %q was found under type LocalObjectReference", field.Name)
   805  		},
   806  	}
   807  	return fc, nil
   808  }
   809  
   810  func (ec *executionContext) _Executor_jobTemplate(ctx context.Context, field graphql.CollectedField, obj *testkube.Executor) (ret graphql.Marshaler) {
   811  	fc, err := ec.fieldContext_Executor_jobTemplate(ctx, field)
   812  	if err != nil {
   813  		return graphql.Null
   814  	}
   815  	ctx = graphql.WithFieldContext(ctx, fc)
   816  	defer func() {
   817  		if r := recover(); r != nil {
   818  			ec.Error(ctx, ec.Recover(ctx, r))
   819  			ret = graphql.Null
   820  		}
   821  	}()
   822  	resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
   823  		ctx = rctx // use context from middleware stack in children
   824  		return obj.JobTemplate, nil
   825  	})
   826  	if err != nil {
   827  		ec.Error(ctx, err)
   828  		return graphql.Null
   829  	}
   830  	if resTmp == nil {
   831  		if !graphql.HasFieldError(ctx, fc) {
   832  			ec.Errorf(ctx, "must not be null")
   833  		}
   834  		return graphql.Null
   835  	}
   836  	res := resTmp.(string)
   837  	fc.Result = res
   838  	return ec.marshalNString2string(ctx, field.Selections, res)
   839  }
   840  
   841  func (ec *executionContext) fieldContext_Executor_jobTemplate(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
   842  	fc = &graphql.FieldContext{
   843  		Object:     "Executor",
   844  		Field:      field,
   845  		IsMethod:   false,
   846  		IsResolver: false,
   847  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
   848  			return nil, errors.New("field of type String does not have child fields")
   849  		},
   850  	}
   851  	return fc, nil
   852  }
   853  
   854  func (ec *executionContext) _Executor_labels(ctx context.Context, field graphql.CollectedField, obj *testkube.Executor) (ret graphql.Marshaler) {
   855  	fc, err := ec.fieldContext_Executor_labels(ctx, field)
   856  	if err != nil {
   857  		return graphql.Null
   858  	}
   859  	ctx = graphql.WithFieldContext(ctx, fc)
   860  	defer func() {
   861  		if r := recover(); r != nil {
   862  			ec.Error(ctx, ec.Recover(ctx, r))
   863  			ret = graphql.Null
   864  		}
   865  	}()
   866  	resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
   867  		ctx = rctx // use context from middleware stack in children
   868  		return obj.Labels, nil
   869  	})
   870  	if err != nil {
   871  		ec.Error(ctx, err)
   872  		return graphql.Null
   873  	}
   874  	if resTmp == nil {
   875  		return graphql.Null
   876  	}
   877  	res := resTmp.(map[string]string)
   878  	fc.Result = res
   879  	return ec.marshalOStringMap2map(ctx, field.Selections, res)
   880  }
   881  
   882  func (ec *executionContext) fieldContext_Executor_labels(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
   883  	fc = &graphql.FieldContext{
   884  		Object:     "Executor",
   885  		Field:      field,
   886  		IsMethod:   false,
   887  		IsResolver: false,
   888  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
   889  			return nil, errors.New("field of type StringMap does not have child fields")
   890  		},
   891  	}
   892  	return fc, nil
   893  }
   894  
   895  func (ec *executionContext) _Executor_meta(ctx context.Context, field graphql.CollectedField, obj *testkube.Executor) (ret graphql.Marshaler) {
   896  	fc, err := ec.fieldContext_Executor_meta(ctx, field)
   897  	if err != nil {
   898  		return graphql.Null
   899  	}
   900  	ctx = graphql.WithFieldContext(ctx, fc)
   901  	defer func() {
   902  		if r := recover(); r != nil {
   903  			ec.Error(ctx, ec.Recover(ctx, r))
   904  			ret = graphql.Null
   905  		}
   906  	}()
   907  	resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
   908  		ctx = rctx // use context from middleware stack in children
   909  		return obj.Meta, nil
   910  	})
   911  	if err != nil {
   912  		ec.Error(ctx, err)
   913  		return graphql.Null
   914  	}
   915  	if resTmp == nil {
   916  		return graphql.Null
   917  	}
   918  	res := resTmp.(*testkube.ExecutorMeta)
   919  	fc.Result = res
   920  	return ec.marshalOExecutorMeta2ᚖgithubᚗcomᚋkubeshopᚋtestkubeᚋpkgᚋapiᚋv1ᚋtestkubeᚐExecutorMeta(ctx, field.Selections, res)
   921  }
   922  
   923  func (ec *executionContext) fieldContext_Executor_meta(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
   924  	fc = &graphql.FieldContext{
   925  		Object:     "Executor",
   926  		Field:      field,
   927  		IsMethod:   false,
   928  		IsResolver: false,
   929  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
   930  			switch field.Name {
   931  			case "docsURI":
   932  				return ec.fieldContext_ExecutorMeta_docsURI(ctx, field)
   933  			case "iconURI":
   934  				return ec.fieldContext_ExecutorMeta_iconURI(ctx, field)
   935  			case "tooltips":
   936  				return ec.fieldContext_ExecutorMeta_tooltips(ctx, field)
   937  			}
   938  			return nil, fmt.Errorf("no field named %q was found under type ExecutorMeta", field.Name)
   939  		},
   940  	}
   941  	return fc, nil
   942  }
   943  
   944  func (ec *executionContext) _Executor_types(ctx context.Context, field graphql.CollectedField, obj *testkube.Executor) (ret graphql.Marshaler) {
   945  	fc, err := ec.fieldContext_Executor_types(ctx, field)
   946  	if err != nil {
   947  		return graphql.Null
   948  	}
   949  	ctx = graphql.WithFieldContext(ctx, fc)
   950  	defer func() {
   951  		if r := recover(); r != nil {
   952  			ec.Error(ctx, ec.Recover(ctx, r))
   953  			ret = graphql.Null
   954  		}
   955  	}()
   956  	resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
   957  		ctx = rctx // use context from middleware stack in children
   958  		return obj.Types, nil
   959  	})
   960  	if err != nil {
   961  		ec.Error(ctx, err)
   962  		return graphql.Null
   963  	}
   964  	if resTmp == nil {
   965  		if !graphql.HasFieldError(ctx, fc) {
   966  			ec.Errorf(ctx, "must not be null")
   967  		}
   968  		return graphql.Null
   969  	}
   970  	res := resTmp.([]string)
   971  	fc.Result = res
   972  	return ec.marshalNString2ᚕstringᚄ(ctx, field.Selections, res)
   973  }
   974  
   975  func (ec *executionContext) fieldContext_Executor_types(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
   976  	fc = &graphql.FieldContext{
   977  		Object:     "Executor",
   978  		Field:      field,
   979  		IsMethod:   false,
   980  		IsResolver: false,
   981  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
   982  			return nil, errors.New("field of type String does not have child fields")
   983  		},
   984  	}
   985  	return fc, nil
   986  }
   987  
   988  func (ec *executionContext) _Executor_uri(ctx context.Context, field graphql.CollectedField, obj *testkube.Executor) (ret graphql.Marshaler) {
   989  	fc, err := ec.fieldContext_Executor_uri(ctx, field)
   990  	if err != nil {
   991  		return graphql.Null
   992  	}
   993  	ctx = graphql.WithFieldContext(ctx, fc)
   994  	defer func() {
   995  		if r := recover(); r != nil {
   996  			ec.Error(ctx, ec.Recover(ctx, r))
   997  			ret = graphql.Null
   998  		}
   999  	}()
  1000  	resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
  1001  		ctx = rctx // use context from middleware stack in children
  1002  		return obj.Uri, nil
  1003  	})
  1004  	if err != nil {
  1005  		ec.Error(ctx, err)
  1006  		return graphql.Null
  1007  	}
  1008  	if resTmp == nil {
  1009  		if !graphql.HasFieldError(ctx, fc) {
  1010  			ec.Errorf(ctx, "must not be null")
  1011  		}
  1012  		return graphql.Null
  1013  	}
  1014  	res := resTmp.(string)
  1015  	fc.Result = res
  1016  	return ec.marshalNString2string(ctx, field.Selections, res)
  1017  }
  1018  
  1019  func (ec *executionContext) fieldContext_Executor_uri(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
  1020  	fc = &graphql.FieldContext{
  1021  		Object:     "Executor",
  1022  		Field:      field,
  1023  		IsMethod:   false,
  1024  		IsResolver: false,
  1025  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
  1026  			return nil, errors.New("field of type String does not have child fields")
  1027  		},
  1028  	}
  1029  	return fc, nil
  1030  }
  1031  
  1032  func (ec *executionContext) _ExecutorDetails_name(ctx context.Context, field graphql.CollectedField, obj *testkube.ExecutorDetails) (ret graphql.Marshaler) {
  1033  	fc, err := ec.fieldContext_ExecutorDetails_name(ctx, field)
  1034  	if err != nil {
  1035  		return graphql.Null
  1036  	}
  1037  	ctx = graphql.WithFieldContext(ctx, fc)
  1038  	defer func() {
  1039  		if r := recover(); r != nil {
  1040  			ec.Error(ctx, ec.Recover(ctx, r))
  1041  			ret = graphql.Null
  1042  		}
  1043  	}()
  1044  	resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
  1045  		ctx = rctx // use context from middleware stack in children
  1046  		return obj.Name, nil
  1047  	})
  1048  	if err != nil {
  1049  		ec.Error(ctx, err)
  1050  		return graphql.Null
  1051  	}
  1052  	if resTmp == nil {
  1053  		if !graphql.HasFieldError(ctx, fc) {
  1054  			ec.Errorf(ctx, "must not be null")
  1055  		}
  1056  		return graphql.Null
  1057  	}
  1058  	res := resTmp.(string)
  1059  	fc.Result = res
  1060  	return ec.marshalNString2string(ctx, field.Selections, res)
  1061  }
  1062  
  1063  func (ec *executionContext) fieldContext_ExecutorDetails_name(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
  1064  	fc = &graphql.FieldContext{
  1065  		Object:     "ExecutorDetails",
  1066  		Field:      field,
  1067  		IsMethod:   false,
  1068  		IsResolver: false,
  1069  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
  1070  			return nil, errors.New("field of type String does not have child fields")
  1071  		},
  1072  	}
  1073  	return fc, nil
  1074  }
  1075  
  1076  func (ec *executionContext) _ExecutorDetails_executor(ctx context.Context, field graphql.CollectedField, obj *testkube.ExecutorDetails) (ret graphql.Marshaler) {
  1077  	fc, err := ec.fieldContext_ExecutorDetails_executor(ctx, field)
  1078  	if err != nil {
  1079  		return graphql.Null
  1080  	}
  1081  	ctx = graphql.WithFieldContext(ctx, fc)
  1082  	defer func() {
  1083  		if r := recover(); r != nil {
  1084  			ec.Error(ctx, ec.Recover(ctx, r))
  1085  			ret = graphql.Null
  1086  		}
  1087  	}()
  1088  	resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
  1089  		ctx = rctx // use context from middleware stack in children
  1090  		return obj.Executor, nil
  1091  	})
  1092  	if err != nil {
  1093  		ec.Error(ctx, err)
  1094  		return graphql.Null
  1095  	}
  1096  	if resTmp == nil {
  1097  		if !graphql.HasFieldError(ctx, fc) {
  1098  			ec.Errorf(ctx, "must not be null")
  1099  		}
  1100  		return graphql.Null
  1101  	}
  1102  	res := resTmp.(*testkube.Executor)
  1103  	fc.Result = res
  1104  	return ec.marshalNExecutor2ᚖgithubᚗcomᚋkubeshopᚋtestkubeᚋpkgᚋapiᚋv1ᚋtestkubeᚐExecutor(ctx, field.Selections, res)
  1105  }
  1106  
  1107  func (ec *executionContext) fieldContext_ExecutorDetails_executor(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
  1108  	fc = &graphql.FieldContext{
  1109  		Object:     "ExecutorDetails",
  1110  		Field:      field,
  1111  		IsMethod:   false,
  1112  		IsResolver: false,
  1113  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
  1114  			switch field.Name {
  1115  			case "args":
  1116  				return ec.fieldContext_Executor_args(ctx, field)
  1117  			case "command":
  1118  				return ec.fieldContext_Executor_command(ctx, field)
  1119  			case "contentTypes":
  1120  				return ec.fieldContext_Executor_contentTypes(ctx, field)
  1121  			case "executorType":
  1122  				return ec.fieldContext_Executor_executorType(ctx, field)
  1123  			case "features":
  1124  				return ec.fieldContext_Executor_features(ctx, field)
  1125  			case "image":
  1126  				return ec.fieldContext_Executor_image(ctx, field)
  1127  			case "imagePullSecrets":
  1128  				return ec.fieldContext_Executor_imagePullSecrets(ctx, field)
  1129  			case "jobTemplate":
  1130  				return ec.fieldContext_Executor_jobTemplate(ctx, field)
  1131  			case "labels":
  1132  				return ec.fieldContext_Executor_labels(ctx, field)
  1133  			case "meta":
  1134  				return ec.fieldContext_Executor_meta(ctx, field)
  1135  			case "types":
  1136  				return ec.fieldContext_Executor_types(ctx, field)
  1137  			case "uri":
  1138  				return ec.fieldContext_Executor_uri(ctx, field)
  1139  			}
  1140  			return nil, fmt.Errorf("no field named %q was found under type Executor", field.Name)
  1141  		},
  1142  	}
  1143  	return fc, nil
  1144  }
  1145  
  1146  func (ec *executionContext) _ExecutorMeta_docsURI(ctx context.Context, field graphql.CollectedField, obj *testkube.ExecutorMeta) (ret graphql.Marshaler) {
  1147  	fc, err := ec.fieldContext_ExecutorMeta_docsURI(ctx, field)
  1148  	if err != nil {
  1149  		return graphql.Null
  1150  	}
  1151  	ctx = graphql.WithFieldContext(ctx, fc)
  1152  	defer func() {
  1153  		if r := recover(); r != nil {
  1154  			ec.Error(ctx, ec.Recover(ctx, r))
  1155  			ret = graphql.Null
  1156  		}
  1157  	}()
  1158  	resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
  1159  		ctx = rctx // use context from middleware stack in children
  1160  		return obj.DocsURI, nil
  1161  	})
  1162  	if err != nil {
  1163  		ec.Error(ctx, err)
  1164  		return graphql.Null
  1165  	}
  1166  	if resTmp == nil {
  1167  		return graphql.Null
  1168  	}
  1169  	res := resTmp.(string)
  1170  	fc.Result = res
  1171  	return ec.marshalOString2string(ctx, field.Selections, res)
  1172  }
  1173  
  1174  func (ec *executionContext) fieldContext_ExecutorMeta_docsURI(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
  1175  	fc = &graphql.FieldContext{
  1176  		Object:     "ExecutorMeta",
  1177  		Field:      field,
  1178  		IsMethod:   false,
  1179  		IsResolver: false,
  1180  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
  1181  			return nil, errors.New("field of type String does not have child fields")
  1182  		},
  1183  	}
  1184  	return fc, nil
  1185  }
  1186  
  1187  func (ec *executionContext) _ExecutorMeta_iconURI(ctx context.Context, field graphql.CollectedField, obj *testkube.ExecutorMeta) (ret graphql.Marshaler) {
  1188  	fc, err := ec.fieldContext_ExecutorMeta_iconURI(ctx, field)
  1189  	if err != nil {
  1190  		return graphql.Null
  1191  	}
  1192  	ctx = graphql.WithFieldContext(ctx, fc)
  1193  	defer func() {
  1194  		if r := recover(); r != nil {
  1195  			ec.Error(ctx, ec.Recover(ctx, r))
  1196  			ret = graphql.Null
  1197  		}
  1198  	}()
  1199  	resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
  1200  		ctx = rctx // use context from middleware stack in children
  1201  		return obj.IconURI, nil
  1202  	})
  1203  	if err != nil {
  1204  		ec.Error(ctx, err)
  1205  		return graphql.Null
  1206  	}
  1207  	if resTmp == nil {
  1208  		return graphql.Null
  1209  	}
  1210  	res := resTmp.(string)
  1211  	fc.Result = res
  1212  	return ec.marshalOString2string(ctx, field.Selections, res)
  1213  }
  1214  
  1215  func (ec *executionContext) fieldContext_ExecutorMeta_iconURI(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
  1216  	fc = &graphql.FieldContext{
  1217  		Object:     "ExecutorMeta",
  1218  		Field:      field,
  1219  		IsMethod:   false,
  1220  		IsResolver: false,
  1221  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
  1222  			return nil, errors.New("field of type String does not have child fields")
  1223  		},
  1224  	}
  1225  	return fc, nil
  1226  }
  1227  
  1228  func (ec *executionContext) _ExecutorMeta_tooltips(ctx context.Context, field graphql.CollectedField, obj *testkube.ExecutorMeta) (ret graphql.Marshaler) {
  1229  	fc, err := ec.fieldContext_ExecutorMeta_tooltips(ctx, field)
  1230  	if err != nil {
  1231  		return graphql.Null
  1232  	}
  1233  	ctx = graphql.WithFieldContext(ctx, fc)
  1234  	defer func() {
  1235  		if r := recover(); r != nil {
  1236  			ec.Error(ctx, ec.Recover(ctx, r))
  1237  			ret = graphql.Null
  1238  		}
  1239  	}()
  1240  	resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
  1241  		ctx = rctx // use context from middleware stack in children
  1242  		return obj.Tooltips, nil
  1243  	})
  1244  	if err != nil {
  1245  		ec.Error(ctx, err)
  1246  		return graphql.Null
  1247  	}
  1248  	if resTmp == nil {
  1249  		return graphql.Null
  1250  	}
  1251  	res := resTmp.(map[string]string)
  1252  	fc.Result = res
  1253  	return ec.marshalOStringMap2map(ctx, field.Selections, res)
  1254  }
  1255  
  1256  func (ec *executionContext) fieldContext_ExecutorMeta_tooltips(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
  1257  	fc = &graphql.FieldContext{
  1258  		Object:     "ExecutorMeta",
  1259  		Field:      field,
  1260  		IsMethod:   false,
  1261  		IsResolver: false,
  1262  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
  1263  			return nil, errors.New("field of type StringMap does not have child fields")
  1264  		},
  1265  	}
  1266  	return fc, nil
  1267  }
  1268  
  1269  func (ec *executionContext) _LocalObjectReference_name(ctx context.Context, field graphql.CollectedField, obj *testkube.LocalObjectReference) (ret graphql.Marshaler) {
  1270  	fc, err := ec.fieldContext_LocalObjectReference_name(ctx, field)
  1271  	if err != nil {
  1272  		return graphql.Null
  1273  	}
  1274  	ctx = graphql.WithFieldContext(ctx, fc)
  1275  	defer func() {
  1276  		if r := recover(); r != nil {
  1277  			ec.Error(ctx, ec.Recover(ctx, r))
  1278  			ret = graphql.Null
  1279  		}
  1280  	}()
  1281  	resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
  1282  		ctx = rctx // use context from middleware stack in children
  1283  		return obj.Name, nil
  1284  	})
  1285  	if err != nil {
  1286  		ec.Error(ctx, err)
  1287  		return graphql.Null
  1288  	}
  1289  	if resTmp == nil {
  1290  		if !graphql.HasFieldError(ctx, fc) {
  1291  			ec.Errorf(ctx, "must not be null")
  1292  		}
  1293  		return graphql.Null
  1294  	}
  1295  	res := resTmp.(string)
  1296  	fc.Result = res
  1297  	return ec.marshalNString2string(ctx, field.Selections, res)
  1298  }
  1299  
  1300  func (ec *executionContext) fieldContext_LocalObjectReference_name(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
  1301  	fc = &graphql.FieldContext{
  1302  		Object:     "LocalObjectReference",
  1303  		Field:      field,
  1304  		IsMethod:   false,
  1305  		IsResolver: false,
  1306  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
  1307  			return nil, errors.New("field of type String does not have child fields")
  1308  		},
  1309  	}
  1310  	return fc, nil
  1311  }
  1312  
  1313  func (ec *executionContext) _Query_executors(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) {
  1314  	fc, err := ec.fieldContext_Query_executors(ctx, field)
  1315  	if err != nil {
  1316  		return graphql.Null
  1317  	}
  1318  	ctx = graphql.WithFieldContext(ctx, fc)
  1319  	defer func() {
  1320  		if r := recover(); r != nil {
  1321  			ec.Error(ctx, ec.Recover(ctx, r))
  1322  			ret = graphql.Null
  1323  		}
  1324  	}()
  1325  	resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
  1326  		ctx = rctx // use context from middleware stack in children
  1327  		return ec.resolvers.Query().Executors(rctx, fc.Args["selector"].(string))
  1328  	})
  1329  	if err != nil {
  1330  		ec.Error(ctx, err)
  1331  		return graphql.Null
  1332  	}
  1333  	if resTmp == nil {
  1334  		if !graphql.HasFieldError(ctx, fc) {
  1335  			ec.Errorf(ctx, "must not be null")
  1336  		}
  1337  		return graphql.Null
  1338  	}
  1339  	res := resTmp.([]testkube.ExecutorDetails)
  1340  	fc.Result = res
  1341  	return ec.marshalNExecutorDetails2ᚕgithubᚗcomᚋkubeshopᚋtestkubeᚋpkgᚋapiᚋv1ᚋtestkubeᚐExecutorDetailsᚄ(ctx, field.Selections, res)
  1342  }
  1343  
  1344  func (ec *executionContext) fieldContext_Query_executors(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
  1345  	fc = &graphql.FieldContext{
  1346  		Object:     "Query",
  1347  		Field:      field,
  1348  		IsMethod:   true,
  1349  		IsResolver: true,
  1350  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
  1351  			switch field.Name {
  1352  			case "name":
  1353  				return ec.fieldContext_ExecutorDetails_name(ctx, field)
  1354  			case "executor":
  1355  				return ec.fieldContext_ExecutorDetails_executor(ctx, field)
  1356  			}
  1357  			return nil, fmt.Errorf("no field named %q was found under type ExecutorDetails", field.Name)
  1358  		},
  1359  	}
  1360  	defer func() {
  1361  		if r := recover(); r != nil {
  1362  			err = ec.Recover(ctx, r)
  1363  			ec.Error(ctx, err)
  1364  		}
  1365  	}()
  1366  	ctx = graphql.WithFieldContext(ctx, fc)
  1367  	if fc.Args, err = ec.field_Query_executors_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
  1368  		ec.Error(ctx, err)
  1369  		return
  1370  	}
  1371  	return fc, nil
  1372  }
  1373  
  1374  func (ec *executionContext) _Query___type(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) {
  1375  	fc, err := ec.fieldContext_Query___type(ctx, field)
  1376  	if err != nil {
  1377  		return graphql.Null
  1378  	}
  1379  	ctx = graphql.WithFieldContext(ctx, fc)
  1380  	defer func() {
  1381  		if r := recover(); r != nil {
  1382  			ec.Error(ctx, ec.Recover(ctx, r))
  1383  			ret = graphql.Null
  1384  		}
  1385  	}()
  1386  	resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
  1387  		ctx = rctx // use context from middleware stack in children
  1388  		return ec.introspectType(fc.Args["name"].(string))
  1389  	})
  1390  	if err != nil {
  1391  		ec.Error(ctx, err)
  1392  		return graphql.Null
  1393  	}
  1394  	if resTmp == nil {
  1395  		return graphql.Null
  1396  	}
  1397  	res := resTmp.(*introspection.Type)
  1398  	fc.Result = res
  1399  	return ec.marshalO__Type2ᚖgithubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚋintrospectionᚐType(ctx, field.Selections, res)
  1400  }
  1401  
  1402  func (ec *executionContext) fieldContext_Query___type(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
  1403  	fc = &graphql.FieldContext{
  1404  		Object:     "Query",
  1405  		Field:      field,
  1406  		IsMethod:   true,
  1407  		IsResolver: false,
  1408  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
  1409  			switch field.Name {
  1410  			case "kind":
  1411  				return ec.fieldContext___Type_kind(ctx, field)
  1412  			case "name":
  1413  				return ec.fieldContext___Type_name(ctx, field)
  1414  			case "description":
  1415  				return ec.fieldContext___Type_description(ctx, field)
  1416  			case "fields":
  1417  				return ec.fieldContext___Type_fields(ctx, field)
  1418  			case "interfaces":
  1419  				return ec.fieldContext___Type_interfaces(ctx, field)
  1420  			case "possibleTypes":
  1421  				return ec.fieldContext___Type_possibleTypes(ctx, field)
  1422  			case "enumValues":
  1423  				return ec.fieldContext___Type_enumValues(ctx, field)
  1424  			case "inputFields":
  1425  				return ec.fieldContext___Type_inputFields(ctx, field)
  1426  			case "ofType":
  1427  				return ec.fieldContext___Type_ofType(ctx, field)
  1428  			case "specifiedByURL":
  1429  				return ec.fieldContext___Type_specifiedByURL(ctx, field)
  1430  			}
  1431  			return nil, fmt.Errorf("no field named %q was found under type __Type", field.Name)
  1432  		},
  1433  	}
  1434  	defer func() {
  1435  		if r := recover(); r != nil {
  1436  			err = ec.Recover(ctx, r)
  1437  			ec.Error(ctx, err)
  1438  		}
  1439  	}()
  1440  	ctx = graphql.WithFieldContext(ctx, fc)
  1441  	if fc.Args, err = ec.field_Query___type_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
  1442  		ec.Error(ctx, err)
  1443  		return
  1444  	}
  1445  	return fc, nil
  1446  }
  1447  
  1448  func (ec *executionContext) _Query___schema(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) {
  1449  	fc, err := ec.fieldContext_Query___schema(ctx, field)
  1450  	if err != nil {
  1451  		return graphql.Null
  1452  	}
  1453  	ctx = graphql.WithFieldContext(ctx, fc)
  1454  	defer func() {
  1455  		if r := recover(); r != nil {
  1456  			ec.Error(ctx, ec.Recover(ctx, r))
  1457  			ret = graphql.Null
  1458  		}
  1459  	}()
  1460  	resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
  1461  		ctx = rctx // use context from middleware stack in children
  1462  		return ec.introspectSchema()
  1463  	})
  1464  	if err != nil {
  1465  		ec.Error(ctx, err)
  1466  		return graphql.Null
  1467  	}
  1468  	if resTmp == nil {
  1469  		return graphql.Null
  1470  	}
  1471  	res := resTmp.(*introspection.Schema)
  1472  	fc.Result = res
  1473  	return ec.marshalO__Schema2ᚖgithubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚋintrospectionᚐSchema(ctx, field.Selections, res)
  1474  }
  1475  
  1476  func (ec *executionContext) fieldContext_Query___schema(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
  1477  	fc = &graphql.FieldContext{
  1478  		Object:     "Query",
  1479  		Field:      field,
  1480  		IsMethod:   true,
  1481  		IsResolver: false,
  1482  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
  1483  			switch field.Name {
  1484  			case "description":
  1485  				return ec.fieldContext___Schema_description(ctx, field)
  1486  			case "types":
  1487  				return ec.fieldContext___Schema_types(ctx, field)
  1488  			case "queryType":
  1489  				return ec.fieldContext___Schema_queryType(ctx, field)
  1490  			case "mutationType":
  1491  				return ec.fieldContext___Schema_mutationType(ctx, field)
  1492  			case "subscriptionType":
  1493  				return ec.fieldContext___Schema_subscriptionType(ctx, field)
  1494  			case "directives":
  1495  				return ec.fieldContext___Schema_directives(ctx, field)
  1496  			}
  1497  			return nil, fmt.Errorf("no field named %q was found under type __Schema", field.Name)
  1498  		},
  1499  	}
  1500  	return fc, nil
  1501  }
  1502  
  1503  func (ec *executionContext) _Subscription_executors(ctx context.Context, field graphql.CollectedField) (ret func(ctx context.Context) graphql.Marshaler) {
  1504  	fc, err := ec.fieldContext_Subscription_executors(ctx, field)
  1505  	if err != nil {
  1506  		return nil
  1507  	}
  1508  	ctx = graphql.WithFieldContext(ctx, fc)
  1509  	defer func() {
  1510  		if r := recover(); r != nil {
  1511  			ec.Error(ctx, ec.Recover(ctx, r))
  1512  			ret = nil
  1513  		}
  1514  	}()
  1515  	resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
  1516  		ctx = rctx // use context from middleware stack in children
  1517  		return ec.resolvers.Subscription().Executors(rctx, fc.Args["selector"].(string))
  1518  	})
  1519  	if err != nil {
  1520  		ec.Error(ctx, err)
  1521  		return nil
  1522  	}
  1523  	if resTmp == nil {
  1524  		if !graphql.HasFieldError(ctx, fc) {
  1525  			ec.Errorf(ctx, "must not be null")
  1526  		}
  1527  		return nil
  1528  	}
  1529  	return func(ctx context.Context) graphql.Marshaler {
  1530  		select {
  1531  		case res, ok := <-resTmp.(<-chan []testkube.ExecutorDetails):
  1532  			if !ok {
  1533  				return nil
  1534  			}
  1535  			return graphql.WriterFunc(func(w io.Writer) {
  1536  				w.Write([]byte{'{'})
  1537  				graphql.MarshalString(field.Alias).MarshalGQL(w)
  1538  				w.Write([]byte{':'})
  1539  				ec.marshalNExecutorDetails2ᚕgithubᚗcomᚋkubeshopᚋtestkubeᚋpkgᚋapiᚋv1ᚋtestkubeᚐExecutorDetailsᚄ(ctx, field.Selections, res).MarshalGQL(w)
  1540  				w.Write([]byte{'}'})
  1541  			})
  1542  		case <-ctx.Done():
  1543  			return nil
  1544  		}
  1545  	}
  1546  }
  1547  
  1548  func (ec *executionContext) fieldContext_Subscription_executors(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
  1549  	fc = &graphql.FieldContext{
  1550  		Object:     "Subscription",
  1551  		Field:      field,
  1552  		IsMethod:   true,
  1553  		IsResolver: true,
  1554  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
  1555  			switch field.Name {
  1556  			case "name":
  1557  				return ec.fieldContext_ExecutorDetails_name(ctx, field)
  1558  			case "executor":
  1559  				return ec.fieldContext_ExecutorDetails_executor(ctx, field)
  1560  			}
  1561  			return nil, fmt.Errorf("no field named %q was found under type ExecutorDetails", field.Name)
  1562  		},
  1563  	}
  1564  	defer func() {
  1565  		if r := recover(); r != nil {
  1566  			err = ec.Recover(ctx, r)
  1567  			ec.Error(ctx, err)
  1568  		}
  1569  	}()
  1570  	ctx = graphql.WithFieldContext(ctx, fc)
  1571  	if fc.Args, err = ec.field_Subscription_executors_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
  1572  		ec.Error(ctx, err)
  1573  		return
  1574  	}
  1575  	return fc, nil
  1576  }
  1577  
  1578  func (ec *executionContext) ___Directive_name(ctx context.Context, field graphql.CollectedField, obj *introspection.Directive) (ret graphql.Marshaler) {
  1579  	fc, err := ec.fieldContext___Directive_name(ctx, field)
  1580  	if err != nil {
  1581  		return graphql.Null
  1582  	}
  1583  	ctx = graphql.WithFieldContext(ctx, fc)
  1584  	defer func() {
  1585  		if r := recover(); r != nil {
  1586  			ec.Error(ctx, ec.Recover(ctx, r))
  1587  			ret = graphql.Null
  1588  		}
  1589  	}()
  1590  	resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
  1591  		ctx = rctx // use context from middleware stack in children
  1592  		return obj.Name, nil
  1593  	})
  1594  	if err != nil {
  1595  		ec.Error(ctx, err)
  1596  		return graphql.Null
  1597  	}
  1598  	if resTmp == nil {
  1599  		if !graphql.HasFieldError(ctx, fc) {
  1600  			ec.Errorf(ctx, "must not be null")
  1601  		}
  1602  		return graphql.Null
  1603  	}
  1604  	res := resTmp.(string)
  1605  	fc.Result = res
  1606  	return ec.marshalNString2string(ctx, field.Selections, res)
  1607  }
  1608  
  1609  func (ec *executionContext) fieldContext___Directive_name(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
  1610  	fc = &graphql.FieldContext{
  1611  		Object:     "__Directive",
  1612  		Field:      field,
  1613  		IsMethod:   false,
  1614  		IsResolver: false,
  1615  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
  1616  			return nil, errors.New("field of type String does not have child fields")
  1617  		},
  1618  	}
  1619  	return fc, nil
  1620  }
  1621  
  1622  func (ec *executionContext) ___Directive_description(ctx context.Context, field graphql.CollectedField, obj *introspection.Directive) (ret graphql.Marshaler) {
  1623  	fc, err := ec.fieldContext___Directive_description(ctx, field)
  1624  	if err != nil {
  1625  		return graphql.Null
  1626  	}
  1627  	ctx = graphql.WithFieldContext(ctx, fc)
  1628  	defer func() {
  1629  		if r := recover(); r != nil {
  1630  			ec.Error(ctx, ec.Recover(ctx, r))
  1631  			ret = graphql.Null
  1632  		}
  1633  	}()
  1634  	resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
  1635  		ctx = rctx // use context from middleware stack in children
  1636  		return obj.Description(), nil
  1637  	})
  1638  	if err != nil {
  1639  		ec.Error(ctx, err)
  1640  		return graphql.Null
  1641  	}
  1642  	if resTmp == nil {
  1643  		return graphql.Null
  1644  	}
  1645  	res := resTmp.(*string)
  1646  	fc.Result = res
  1647  	return ec.marshalOString2ᚖstring(ctx, field.Selections, res)
  1648  }
  1649  
  1650  func (ec *executionContext) fieldContext___Directive_description(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
  1651  	fc = &graphql.FieldContext{
  1652  		Object:     "__Directive",
  1653  		Field:      field,
  1654  		IsMethod:   true,
  1655  		IsResolver: false,
  1656  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
  1657  			return nil, errors.New("field of type String does not have child fields")
  1658  		},
  1659  	}
  1660  	return fc, nil
  1661  }
  1662  
  1663  func (ec *executionContext) ___Directive_locations(ctx context.Context, field graphql.CollectedField, obj *introspection.Directive) (ret graphql.Marshaler) {
  1664  	fc, err := ec.fieldContext___Directive_locations(ctx, field)
  1665  	if err != nil {
  1666  		return graphql.Null
  1667  	}
  1668  	ctx = graphql.WithFieldContext(ctx, fc)
  1669  	defer func() {
  1670  		if r := recover(); r != nil {
  1671  			ec.Error(ctx, ec.Recover(ctx, r))
  1672  			ret = graphql.Null
  1673  		}
  1674  	}()
  1675  	resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
  1676  		ctx = rctx // use context from middleware stack in children
  1677  		return obj.Locations, nil
  1678  	})
  1679  	if err != nil {
  1680  		ec.Error(ctx, err)
  1681  		return graphql.Null
  1682  	}
  1683  	if resTmp == nil {
  1684  		if !graphql.HasFieldError(ctx, fc) {
  1685  			ec.Errorf(ctx, "must not be null")
  1686  		}
  1687  		return graphql.Null
  1688  	}
  1689  	res := resTmp.([]string)
  1690  	fc.Result = res
  1691  	return ec.marshalN__DirectiveLocation2ᚕstringᚄ(ctx, field.Selections, res)
  1692  }
  1693  
  1694  func (ec *executionContext) fieldContext___Directive_locations(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
  1695  	fc = &graphql.FieldContext{
  1696  		Object:     "__Directive",
  1697  		Field:      field,
  1698  		IsMethod:   false,
  1699  		IsResolver: false,
  1700  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
  1701  			return nil, errors.New("field of type __DirectiveLocation does not have child fields")
  1702  		},
  1703  	}
  1704  	return fc, nil
  1705  }
  1706  
  1707  func (ec *executionContext) ___Directive_args(ctx context.Context, field graphql.CollectedField, obj *introspection.Directive) (ret graphql.Marshaler) {
  1708  	fc, err := ec.fieldContext___Directive_args(ctx, field)
  1709  	if err != nil {
  1710  		return graphql.Null
  1711  	}
  1712  	ctx = graphql.WithFieldContext(ctx, fc)
  1713  	defer func() {
  1714  		if r := recover(); r != nil {
  1715  			ec.Error(ctx, ec.Recover(ctx, r))
  1716  			ret = graphql.Null
  1717  		}
  1718  	}()
  1719  	resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
  1720  		ctx = rctx // use context from middleware stack in children
  1721  		return obj.Args, nil
  1722  	})
  1723  	if err != nil {
  1724  		ec.Error(ctx, err)
  1725  		return graphql.Null
  1726  	}
  1727  	if resTmp == nil {
  1728  		if !graphql.HasFieldError(ctx, fc) {
  1729  			ec.Errorf(ctx, "must not be null")
  1730  		}
  1731  		return graphql.Null
  1732  	}
  1733  	res := resTmp.([]introspection.InputValue)
  1734  	fc.Result = res
  1735  	return ec.marshalN__InputValue2ᚕgithubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚋintrospectionᚐInputValueᚄ(ctx, field.Selections, res)
  1736  }
  1737  
  1738  func (ec *executionContext) fieldContext___Directive_args(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
  1739  	fc = &graphql.FieldContext{
  1740  		Object:     "__Directive",
  1741  		Field:      field,
  1742  		IsMethod:   false,
  1743  		IsResolver: false,
  1744  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
  1745  			switch field.Name {
  1746  			case "name":
  1747  				return ec.fieldContext___InputValue_name(ctx, field)
  1748  			case "description":
  1749  				return ec.fieldContext___InputValue_description(ctx, field)
  1750  			case "type":
  1751  				return ec.fieldContext___InputValue_type(ctx, field)
  1752  			case "defaultValue":
  1753  				return ec.fieldContext___InputValue_defaultValue(ctx, field)
  1754  			}
  1755  			return nil, fmt.Errorf("no field named %q was found under type __InputValue", field.Name)
  1756  		},
  1757  	}
  1758  	return fc, nil
  1759  }
  1760  
  1761  func (ec *executionContext) ___Directive_isRepeatable(ctx context.Context, field graphql.CollectedField, obj *introspection.Directive) (ret graphql.Marshaler) {
  1762  	fc, err := ec.fieldContext___Directive_isRepeatable(ctx, field)
  1763  	if err != nil {
  1764  		return graphql.Null
  1765  	}
  1766  	ctx = graphql.WithFieldContext(ctx, fc)
  1767  	defer func() {
  1768  		if r := recover(); r != nil {
  1769  			ec.Error(ctx, ec.Recover(ctx, r))
  1770  			ret = graphql.Null
  1771  		}
  1772  	}()
  1773  	resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
  1774  		ctx = rctx // use context from middleware stack in children
  1775  		return obj.IsRepeatable, nil
  1776  	})
  1777  	if err != nil {
  1778  		ec.Error(ctx, err)
  1779  		return graphql.Null
  1780  	}
  1781  	if resTmp == nil {
  1782  		if !graphql.HasFieldError(ctx, fc) {
  1783  			ec.Errorf(ctx, "must not be null")
  1784  		}
  1785  		return graphql.Null
  1786  	}
  1787  	res := resTmp.(bool)
  1788  	fc.Result = res
  1789  	return ec.marshalNBoolean2bool(ctx, field.Selections, res)
  1790  }
  1791  
  1792  func (ec *executionContext) fieldContext___Directive_isRepeatable(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
  1793  	fc = &graphql.FieldContext{
  1794  		Object:     "__Directive",
  1795  		Field:      field,
  1796  		IsMethod:   false,
  1797  		IsResolver: false,
  1798  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
  1799  			return nil, errors.New("field of type Boolean does not have child fields")
  1800  		},
  1801  	}
  1802  	return fc, nil
  1803  }
  1804  
  1805  func (ec *executionContext) ___EnumValue_name(ctx context.Context, field graphql.CollectedField, obj *introspection.EnumValue) (ret graphql.Marshaler) {
  1806  	fc, err := ec.fieldContext___EnumValue_name(ctx, field)
  1807  	if err != nil {
  1808  		return graphql.Null
  1809  	}
  1810  	ctx = graphql.WithFieldContext(ctx, fc)
  1811  	defer func() {
  1812  		if r := recover(); r != nil {
  1813  			ec.Error(ctx, ec.Recover(ctx, r))
  1814  			ret = graphql.Null
  1815  		}
  1816  	}()
  1817  	resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
  1818  		ctx = rctx // use context from middleware stack in children
  1819  		return obj.Name, nil
  1820  	})
  1821  	if err != nil {
  1822  		ec.Error(ctx, err)
  1823  		return graphql.Null
  1824  	}
  1825  	if resTmp == nil {
  1826  		if !graphql.HasFieldError(ctx, fc) {
  1827  			ec.Errorf(ctx, "must not be null")
  1828  		}
  1829  		return graphql.Null
  1830  	}
  1831  	res := resTmp.(string)
  1832  	fc.Result = res
  1833  	return ec.marshalNString2string(ctx, field.Selections, res)
  1834  }
  1835  
  1836  func (ec *executionContext) fieldContext___EnumValue_name(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
  1837  	fc = &graphql.FieldContext{
  1838  		Object:     "__EnumValue",
  1839  		Field:      field,
  1840  		IsMethod:   false,
  1841  		IsResolver: false,
  1842  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
  1843  			return nil, errors.New("field of type String does not have child fields")
  1844  		},
  1845  	}
  1846  	return fc, nil
  1847  }
  1848  
  1849  func (ec *executionContext) ___EnumValue_description(ctx context.Context, field graphql.CollectedField, obj *introspection.EnumValue) (ret graphql.Marshaler) {
  1850  	fc, err := ec.fieldContext___EnumValue_description(ctx, field)
  1851  	if err != nil {
  1852  		return graphql.Null
  1853  	}
  1854  	ctx = graphql.WithFieldContext(ctx, fc)
  1855  	defer func() {
  1856  		if r := recover(); r != nil {
  1857  			ec.Error(ctx, ec.Recover(ctx, r))
  1858  			ret = graphql.Null
  1859  		}
  1860  	}()
  1861  	resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
  1862  		ctx = rctx // use context from middleware stack in children
  1863  		return obj.Description(), nil
  1864  	})
  1865  	if err != nil {
  1866  		ec.Error(ctx, err)
  1867  		return graphql.Null
  1868  	}
  1869  	if resTmp == nil {
  1870  		return graphql.Null
  1871  	}
  1872  	res := resTmp.(*string)
  1873  	fc.Result = res
  1874  	return ec.marshalOString2ᚖstring(ctx, field.Selections, res)
  1875  }
  1876  
  1877  func (ec *executionContext) fieldContext___EnumValue_description(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
  1878  	fc = &graphql.FieldContext{
  1879  		Object:     "__EnumValue",
  1880  		Field:      field,
  1881  		IsMethod:   true,
  1882  		IsResolver: false,
  1883  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
  1884  			return nil, errors.New("field of type String does not have child fields")
  1885  		},
  1886  	}
  1887  	return fc, nil
  1888  }
  1889  
  1890  func (ec *executionContext) ___EnumValue_isDeprecated(ctx context.Context, field graphql.CollectedField, obj *introspection.EnumValue) (ret graphql.Marshaler) {
  1891  	fc, err := ec.fieldContext___EnumValue_isDeprecated(ctx, field)
  1892  	if err != nil {
  1893  		return graphql.Null
  1894  	}
  1895  	ctx = graphql.WithFieldContext(ctx, fc)
  1896  	defer func() {
  1897  		if r := recover(); r != nil {
  1898  			ec.Error(ctx, ec.Recover(ctx, r))
  1899  			ret = graphql.Null
  1900  		}
  1901  	}()
  1902  	resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
  1903  		ctx = rctx // use context from middleware stack in children
  1904  		return obj.IsDeprecated(), nil
  1905  	})
  1906  	if err != nil {
  1907  		ec.Error(ctx, err)
  1908  		return graphql.Null
  1909  	}
  1910  	if resTmp == nil {
  1911  		if !graphql.HasFieldError(ctx, fc) {
  1912  			ec.Errorf(ctx, "must not be null")
  1913  		}
  1914  		return graphql.Null
  1915  	}
  1916  	res := resTmp.(bool)
  1917  	fc.Result = res
  1918  	return ec.marshalNBoolean2bool(ctx, field.Selections, res)
  1919  }
  1920  
  1921  func (ec *executionContext) fieldContext___EnumValue_isDeprecated(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
  1922  	fc = &graphql.FieldContext{
  1923  		Object:     "__EnumValue",
  1924  		Field:      field,
  1925  		IsMethod:   true,
  1926  		IsResolver: false,
  1927  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
  1928  			return nil, errors.New("field of type Boolean does not have child fields")
  1929  		},
  1930  	}
  1931  	return fc, nil
  1932  }
  1933  
  1934  func (ec *executionContext) ___EnumValue_deprecationReason(ctx context.Context, field graphql.CollectedField, obj *introspection.EnumValue) (ret graphql.Marshaler) {
  1935  	fc, err := ec.fieldContext___EnumValue_deprecationReason(ctx, field)
  1936  	if err != nil {
  1937  		return graphql.Null
  1938  	}
  1939  	ctx = graphql.WithFieldContext(ctx, fc)
  1940  	defer func() {
  1941  		if r := recover(); r != nil {
  1942  			ec.Error(ctx, ec.Recover(ctx, r))
  1943  			ret = graphql.Null
  1944  		}
  1945  	}()
  1946  	resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
  1947  		ctx = rctx // use context from middleware stack in children
  1948  		return obj.DeprecationReason(), nil
  1949  	})
  1950  	if err != nil {
  1951  		ec.Error(ctx, err)
  1952  		return graphql.Null
  1953  	}
  1954  	if resTmp == nil {
  1955  		return graphql.Null
  1956  	}
  1957  	res := resTmp.(*string)
  1958  	fc.Result = res
  1959  	return ec.marshalOString2ᚖstring(ctx, field.Selections, res)
  1960  }
  1961  
  1962  func (ec *executionContext) fieldContext___EnumValue_deprecationReason(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
  1963  	fc = &graphql.FieldContext{
  1964  		Object:     "__EnumValue",
  1965  		Field:      field,
  1966  		IsMethod:   true,
  1967  		IsResolver: false,
  1968  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
  1969  			return nil, errors.New("field of type String does not have child fields")
  1970  		},
  1971  	}
  1972  	return fc, nil
  1973  }
  1974  
  1975  func (ec *executionContext) ___Field_name(ctx context.Context, field graphql.CollectedField, obj *introspection.Field) (ret graphql.Marshaler) {
  1976  	fc, err := ec.fieldContext___Field_name(ctx, field)
  1977  	if err != nil {
  1978  		return graphql.Null
  1979  	}
  1980  	ctx = graphql.WithFieldContext(ctx, fc)
  1981  	defer func() {
  1982  		if r := recover(); r != nil {
  1983  			ec.Error(ctx, ec.Recover(ctx, r))
  1984  			ret = graphql.Null
  1985  		}
  1986  	}()
  1987  	resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
  1988  		ctx = rctx // use context from middleware stack in children
  1989  		return obj.Name, nil
  1990  	})
  1991  	if err != nil {
  1992  		ec.Error(ctx, err)
  1993  		return graphql.Null
  1994  	}
  1995  	if resTmp == nil {
  1996  		if !graphql.HasFieldError(ctx, fc) {
  1997  			ec.Errorf(ctx, "must not be null")
  1998  		}
  1999  		return graphql.Null
  2000  	}
  2001  	res := resTmp.(string)
  2002  	fc.Result = res
  2003  	return ec.marshalNString2string(ctx, field.Selections, res)
  2004  }
  2005  
  2006  func (ec *executionContext) fieldContext___Field_name(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
  2007  	fc = &graphql.FieldContext{
  2008  		Object:     "__Field",
  2009  		Field:      field,
  2010  		IsMethod:   false,
  2011  		IsResolver: false,
  2012  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
  2013  			return nil, errors.New("field of type String does not have child fields")
  2014  		},
  2015  	}
  2016  	return fc, nil
  2017  }
  2018  
  2019  func (ec *executionContext) ___Field_description(ctx context.Context, field graphql.CollectedField, obj *introspection.Field) (ret graphql.Marshaler) {
  2020  	fc, err := ec.fieldContext___Field_description(ctx, field)
  2021  	if err != nil {
  2022  		return graphql.Null
  2023  	}
  2024  	ctx = graphql.WithFieldContext(ctx, fc)
  2025  	defer func() {
  2026  		if r := recover(); r != nil {
  2027  			ec.Error(ctx, ec.Recover(ctx, r))
  2028  			ret = graphql.Null
  2029  		}
  2030  	}()
  2031  	resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
  2032  		ctx = rctx // use context from middleware stack in children
  2033  		return obj.Description(), nil
  2034  	})
  2035  	if err != nil {
  2036  		ec.Error(ctx, err)
  2037  		return graphql.Null
  2038  	}
  2039  	if resTmp == nil {
  2040  		return graphql.Null
  2041  	}
  2042  	res := resTmp.(*string)
  2043  	fc.Result = res
  2044  	return ec.marshalOString2ᚖstring(ctx, field.Selections, res)
  2045  }
  2046  
  2047  func (ec *executionContext) fieldContext___Field_description(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
  2048  	fc = &graphql.FieldContext{
  2049  		Object:     "__Field",
  2050  		Field:      field,
  2051  		IsMethod:   true,
  2052  		IsResolver: false,
  2053  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
  2054  			return nil, errors.New("field of type String does not have child fields")
  2055  		},
  2056  	}
  2057  	return fc, nil
  2058  }
  2059  
  2060  func (ec *executionContext) ___Field_args(ctx context.Context, field graphql.CollectedField, obj *introspection.Field) (ret graphql.Marshaler) {
  2061  	fc, err := ec.fieldContext___Field_args(ctx, field)
  2062  	if err != nil {
  2063  		return graphql.Null
  2064  	}
  2065  	ctx = graphql.WithFieldContext(ctx, fc)
  2066  	defer func() {
  2067  		if r := recover(); r != nil {
  2068  			ec.Error(ctx, ec.Recover(ctx, r))
  2069  			ret = graphql.Null
  2070  		}
  2071  	}()
  2072  	resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
  2073  		ctx = rctx // use context from middleware stack in children
  2074  		return obj.Args, nil
  2075  	})
  2076  	if err != nil {
  2077  		ec.Error(ctx, err)
  2078  		return graphql.Null
  2079  	}
  2080  	if resTmp == nil {
  2081  		if !graphql.HasFieldError(ctx, fc) {
  2082  			ec.Errorf(ctx, "must not be null")
  2083  		}
  2084  		return graphql.Null
  2085  	}
  2086  	res := resTmp.([]introspection.InputValue)
  2087  	fc.Result = res
  2088  	return ec.marshalN__InputValue2ᚕgithubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚋintrospectionᚐInputValueᚄ(ctx, field.Selections, res)
  2089  }
  2090  
  2091  func (ec *executionContext) fieldContext___Field_args(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
  2092  	fc = &graphql.FieldContext{
  2093  		Object:     "__Field",
  2094  		Field:      field,
  2095  		IsMethod:   false,
  2096  		IsResolver: false,
  2097  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
  2098  			switch field.Name {
  2099  			case "name":
  2100  				return ec.fieldContext___InputValue_name(ctx, field)
  2101  			case "description":
  2102  				return ec.fieldContext___InputValue_description(ctx, field)
  2103  			case "type":
  2104  				return ec.fieldContext___InputValue_type(ctx, field)
  2105  			case "defaultValue":
  2106  				return ec.fieldContext___InputValue_defaultValue(ctx, field)
  2107  			}
  2108  			return nil, fmt.Errorf("no field named %q was found under type __InputValue", field.Name)
  2109  		},
  2110  	}
  2111  	return fc, nil
  2112  }
  2113  
  2114  func (ec *executionContext) ___Field_type(ctx context.Context, field graphql.CollectedField, obj *introspection.Field) (ret graphql.Marshaler) {
  2115  	fc, err := ec.fieldContext___Field_type(ctx, field)
  2116  	if err != nil {
  2117  		return graphql.Null
  2118  	}
  2119  	ctx = graphql.WithFieldContext(ctx, fc)
  2120  	defer func() {
  2121  		if r := recover(); r != nil {
  2122  			ec.Error(ctx, ec.Recover(ctx, r))
  2123  			ret = graphql.Null
  2124  		}
  2125  	}()
  2126  	resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
  2127  		ctx = rctx // use context from middleware stack in children
  2128  		return obj.Type, nil
  2129  	})
  2130  	if err != nil {
  2131  		ec.Error(ctx, err)
  2132  		return graphql.Null
  2133  	}
  2134  	if resTmp == nil {
  2135  		if !graphql.HasFieldError(ctx, fc) {
  2136  			ec.Errorf(ctx, "must not be null")
  2137  		}
  2138  		return graphql.Null
  2139  	}
  2140  	res := resTmp.(*introspection.Type)
  2141  	fc.Result = res
  2142  	return ec.marshalN__Type2ᚖgithubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚋintrospectionᚐType(ctx, field.Selections, res)
  2143  }
  2144  
  2145  func (ec *executionContext) fieldContext___Field_type(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
  2146  	fc = &graphql.FieldContext{
  2147  		Object:     "__Field",
  2148  		Field:      field,
  2149  		IsMethod:   false,
  2150  		IsResolver: false,
  2151  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
  2152  			switch field.Name {
  2153  			case "kind":
  2154  				return ec.fieldContext___Type_kind(ctx, field)
  2155  			case "name":
  2156  				return ec.fieldContext___Type_name(ctx, field)
  2157  			case "description":
  2158  				return ec.fieldContext___Type_description(ctx, field)
  2159  			case "fields":
  2160  				return ec.fieldContext___Type_fields(ctx, field)
  2161  			case "interfaces":
  2162  				return ec.fieldContext___Type_interfaces(ctx, field)
  2163  			case "possibleTypes":
  2164  				return ec.fieldContext___Type_possibleTypes(ctx, field)
  2165  			case "enumValues":
  2166  				return ec.fieldContext___Type_enumValues(ctx, field)
  2167  			case "inputFields":
  2168  				return ec.fieldContext___Type_inputFields(ctx, field)
  2169  			case "ofType":
  2170  				return ec.fieldContext___Type_ofType(ctx, field)
  2171  			case "specifiedByURL":
  2172  				return ec.fieldContext___Type_specifiedByURL(ctx, field)
  2173  			}
  2174  			return nil, fmt.Errorf("no field named %q was found under type __Type", field.Name)
  2175  		},
  2176  	}
  2177  	return fc, nil
  2178  }
  2179  
  2180  func (ec *executionContext) ___Field_isDeprecated(ctx context.Context, field graphql.CollectedField, obj *introspection.Field) (ret graphql.Marshaler) {
  2181  	fc, err := ec.fieldContext___Field_isDeprecated(ctx, field)
  2182  	if err != nil {
  2183  		return graphql.Null
  2184  	}
  2185  	ctx = graphql.WithFieldContext(ctx, fc)
  2186  	defer func() {
  2187  		if r := recover(); r != nil {
  2188  			ec.Error(ctx, ec.Recover(ctx, r))
  2189  			ret = graphql.Null
  2190  		}
  2191  	}()
  2192  	resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
  2193  		ctx = rctx // use context from middleware stack in children
  2194  		return obj.IsDeprecated(), nil
  2195  	})
  2196  	if err != nil {
  2197  		ec.Error(ctx, err)
  2198  		return graphql.Null
  2199  	}
  2200  	if resTmp == nil {
  2201  		if !graphql.HasFieldError(ctx, fc) {
  2202  			ec.Errorf(ctx, "must not be null")
  2203  		}
  2204  		return graphql.Null
  2205  	}
  2206  	res := resTmp.(bool)
  2207  	fc.Result = res
  2208  	return ec.marshalNBoolean2bool(ctx, field.Selections, res)
  2209  }
  2210  
  2211  func (ec *executionContext) fieldContext___Field_isDeprecated(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
  2212  	fc = &graphql.FieldContext{
  2213  		Object:     "__Field",
  2214  		Field:      field,
  2215  		IsMethod:   true,
  2216  		IsResolver: false,
  2217  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
  2218  			return nil, errors.New("field of type Boolean does not have child fields")
  2219  		},
  2220  	}
  2221  	return fc, nil
  2222  }
  2223  
  2224  func (ec *executionContext) ___Field_deprecationReason(ctx context.Context, field graphql.CollectedField, obj *introspection.Field) (ret graphql.Marshaler) {
  2225  	fc, err := ec.fieldContext___Field_deprecationReason(ctx, field)
  2226  	if err != nil {
  2227  		return graphql.Null
  2228  	}
  2229  	ctx = graphql.WithFieldContext(ctx, fc)
  2230  	defer func() {
  2231  		if r := recover(); r != nil {
  2232  			ec.Error(ctx, ec.Recover(ctx, r))
  2233  			ret = graphql.Null
  2234  		}
  2235  	}()
  2236  	resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
  2237  		ctx = rctx // use context from middleware stack in children
  2238  		return obj.DeprecationReason(), nil
  2239  	})
  2240  	if err != nil {
  2241  		ec.Error(ctx, err)
  2242  		return graphql.Null
  2243  	}
  2244  	if resTmp == nil {
  2245  		return graphql.Null
  2246  	}
  2247  	res := resTmp.(*string)
  2248  	fc.Result = res
  2249  	return ec.marshalOString2ᚖstring(ctx, field.Selections, res)
  2250  }
  2251  
  2252  func (ec *executionContext) fieldContext___Field_deprecationReason(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
  2253  	fc = &graphql.FieldContext{
  2254  		Object:     "__Field",
  2255  		Field:      field,
  2256  		IsMethod:   true,
  2257  		IsResolver: false,
  2258  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
  2259  			return nil, errors.New("field of type String does not have child fields")
  2260  		},
  2261  	}
  2262  	return fc, nil
  2263  }
  2264  
  2265  func (ec *executionContext) ___InputValue_name(ctx context.Context, field graphql.CollectedField, obj *introspection.InputValue) (ret graphql.Marshaler) {
  2266  	fc, err := ec.fieldContext___InputValue_name(ctx, field)
  2267  	if err != nil {
  2268  		return graphql.Null
  2269  	}
  2270  	ctx = graphql.WithFieldContext(ctx, fc)
  2271  	defer func() {
  2272  		if r := recover(); r != nil {
  2273  			ec.Error(ctx, ec.Recover(ctx, r))
  2274  			ret = graphql.Null
  2275  		}
  2276  	}()
  2277  	resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
  2278  		ctx = rctx // use context from middleware stack in children
  2279  		return obj.Name, nil
  2280  	})
  2281  	if err != nil {
  2282  		ec.Error(ctx, err)
  2283  		return graphql.Null
  2284  	}
  2285  	if resTmp == nil {
  2286  		if !graphql.HasFieldError(ctx, fc) {
  2287  			ec.Errorf(ctx, "must not be null")
  2288  		}
  2289  		return graphql.Null
  2290  	}
  2291  	res := resTmp.(string)
  2292  	fc.Result = res
  2293  	return ec.marshalNString2string(ctx, field.Selections, res)
  2294  }
  2295  
  2296  func (ec *executionContext) fieldContext___InputValue_name(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
  2297  	fc = &graphql.FieldContext{
  2298  		Object:     "__InputValue",
  2299  		Field:      field,
  2300  		IsMethod:   false,
  2301  		IsResolver: false,
  2302  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
  2303  			return nil, errors.New("field of type String does not have child fields")
  2304  		},
  2305  	}
  2306  	return fc, nil
  2307  }
  2308  
  2309  func (ec *executionContext) ___InputValue_description(ctx context.Context, field graphql.CollectedField, obj *introspection.InputValue) (ret graphql.Marshaler) {
  2310  	fc, err := ec.fieldContext___InputValue_description(ctx, field)
  2311  	if err != nil {
  2312  		return graphql.Null
  2313  	}
  2314  	ctx = graphql.WithFieldContext(ctx, fc)
  2315  	defer func() {
  2316  		if r := recover(); r != nil {
  2317  			ec.Error(ctx, ec.Recover(ctx, r))
  2318  			ret = graphql.Null
  2319  		}
  2320  	}()
  2321  	resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
  2322  		ctx = rctx // use context from middleware stack in children
  2323  		return obj.Description(), nil
  2324  	})
  2325  	if err != nil {
  2326  		ec.Error(ctx, err)
  2327  		return graphql.Null
  2328  	}
  2329  	if resTmp == nil {
  2330  		return graphql.Null
  2331  	}
  2332  	res := resTmp.(*string)
  2333  	fc.Result = res
  2334  	return ec.marshalOString2ᚖstring(ctx, field.Selections, res)
  2335  }
  2336  
  2337  func (ec *executionContext) fieldContext___InputValue_description(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
  2338  	fc = &graphql.FieldContext{
  2339  		Object:     "__InputValue",
  2340  		Field:      field,
  2341  		IsMethod:   true,
  2342  		IsResolver: false,
  2343  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
  2344  			return nil, errors.New("field of type String does not have child fields")
  2345  		},
  2346  	}
  2347  	return fc, nil
  2348  }
  2349  
  2350  func (ec *executionContext) ___InputValue_type(ctx context.Context, field graphql.CollectedField, obj *introspection.InputValue) (ret graphql.Marshaler) {
  2351  	fc, err := ec.fieldContext___InputValue_type(ctx, field)
  2352  	if err != nil {
  2353  		return graphql.Null
  2354  	}
  2355  	ctx = graphql.WithFieldContext(ctx, fc)
  2356  	defer func() {
  2357  		if r := recover(); r != nil {
  2358  			ec.Error(ctx, ec.Recover(ctx, r))
  2359  			ret = graphql.Null
  2360  		}
  2361  	}()
  2362  	resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
  2363  		ctx = rctx // use context from middleware stack in children
  2364  		return obj.Type, nil
  2365  	})
  2366  	if err != nil {
  2367  		ec.Error(ctx, err)
  2368  		return graphql.Null
  2369  	}
  2370  	if resTmp == nil {
  2371  		if !graphql.HasFieldError(ctx, fc) {
  2372  			ec.Errorf(ctx, "must not be null")
  2373  		}
  2374  		return graphql.Null
  2375  	}
  2376  	res := resTmp.(*introspection.Type)
  2377  	fc.Result = res
  2378  	return ec.marshalN__Type2ᚖgithubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚋintrospectionᚐType(ctx, field.Selections, res)
  2379  }
  2380  
  2381  func (ec *executionContext) fieldContext___InputValue_type(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
  2382  	fc = &graphql.FieldContext{
  2383  		Object:     "__InputValue",
  2384  		Field:      field,
  2385  		IsMethod:   false,
  2386  		IsResolver: false,
  2387  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
  2388  			switch field.Name {
  2389  			case "kind":
  2390  				return ec.fieldContext___Type_kind(ctx, field)
  2391  			case "name":
  2392  				return ec.fieldContext___Type_name(ctx, field)
  2393  			case "description":
  2394  				return ec.fieldContext___Type_description(ctx, field)
  2395  			case "fields":
  2396  				return ec.fieldContext___Type_fields(ctx, field)
  2397  			case "interfaces":
  2398  				return ec.fieldContext___Type_interfaces(ctx, field)
  2399  			case "possibleTypes":
  2400  				return ec.fieldContext___Type_possibleTypes(ctx, field)
  2401  			case "enumValues":
  2402  				return ec.fieldContext___Type_enumValues(ctx, field)
  2403  			case "inputFields":
  2404  				return ec.fieldContext___Type_inputFields(ctx, field)
  2405  			case "ofType":
  2406  				return ec.fieldContext___Type_ofType(ctx, field)
  2407  			case "specifiedByURL":
  2408  				return ec.fieldContext___Type_specifiedByURL(ctx, field)
  2409  			}
  2410  			return nil, fmt.Errorf("no field named %q was found under type __Type", field.Name)
  2411  		},
  2412  	}
  2413  	return fc, nil
  2414  }
  2415  
  2416  func (ec *executionContext) ___InputValue_defaultValue(ctx context.Context, field graphql.CollectedField, obj *introspection.InputValue) (ret graphql.Marshaler) {
  2417  	fc, err := ec.fieldContext___InputValue_defaultValue(ctx, field)
  2418  	if err != nil {
  2419  		return graphql.Null
  2420  	}
  2421  	ctx = graphql.WithFieldContext(ctx, fc)
  2422  	defer func() {
  2423  		if r := recover(); r != nil {
  2424  			ec.Error(ctx, ec.Recover(ctx, r))
  2425  			ret = graphql.Null
  2426  		}
  2427  	}()
  2428  	resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
  2429  		ctx = rctx // use context from middleware stack in children
  2430  		return obj.DefaultValue, nil
  2431  	})
  2432  	if err != nil {
  2433  		ec.Error(ctx, err)
  2434  		return graphql.Null
  2435  	}
  2436  	if resTmp == nil {
  2437  		return graphql.Null
  2438  	}
  2439  	res := resTmp.(*string)
  2440  	fc.Result = res
  2441  	return ec.marshalOString2ᚖstring(ctx, field.Selections, res)
  2442  }
  2443  
  2444  func (ec *executionContext) fieldContext___InputValue_defaultValue(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
  2445  	fc = &graphql.FieldContext{
  2446  		Object:     "__InputValue",
  2447  		Field:      field,
  2448  		IsMethod:   false,
  2449  		IsResolver: false,
  2450  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
  2451  			return nil, errors.New("field of type String does not have child fields")
  2452  		},
  2453  	}
  2454  	return fc, nil
  2455  }
  2456  
  2457  func (ec *executionContext) ___Schema_description(ctx context.Context, field graphql.CollectedField, obj *introspection.Schema) (ret graphql.Marshaler) {
  2458  	fc, err := ec.fieldContext___Schema_description(ctx, field)
  2459  	if err != nil {
  2460  		return graphql.Null
  2461  	}
  2462  	ctx = graphql.WithFieldContext(ctx, fc)
  2463  	defer func() {
  2464  		if r := recover(); r != nil {
  2465  			ec.Error(ctx, ec.Recover(ctx, r))
  2466  			ret = graphql.Null
  2467  		}
  2468  	}()
  2469  	resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
  2470  		ctx = rctx // use context from middleware stack in children
  2471  		return obj.Description(), nil
  2472  	})
  2473  	if err != nil {
  2474  		ec.Error(ctx, err)
  2475  		return graphql.Null
  2476  	}
  2477  	if resTmp == nil {
  2478  		return graphql.Null
  2479  	}
  2480  	res := resTmp.(*string)
  2481  	fc.Result = res
  2482  	return ec.marshalOString2ᚖstring(ctx, field.Selections, res)
  2483  }
  2484  
  2485  func (ec *executionContext) fieldContext___Schema_description(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
  2486  	fc = &graphql.FieldContext{
  2487  		Object:     "__Schema",
  2488  		Field:      field,
  2489  		IsMethod:   true,
  2490  		IsResolver: false,
  2491  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
  2492  			return nil, errors.New("field of type String does not have child fields")
  2493  		},
  2494  	}
  2495  	return fc, nil
  2496  }
  2497  
  2498  func (ec *executionContext) ___Schema_types(ctx context.Context, field graphql.CollectedField, obj *introspection.Schema) (ret graphql.Marshaler) {
  2499  	fc, err := ec.fieldContext___Schema_types(ctx, field)
  2500  	if err != nil {
  2501  		return graphql.Null
  2502  	}
  2503  	ctx = graphql.WithFieldContext(ctx, fc)
  2504  	defer func() {
  2505  		if r := recover(); r != nil {
  2506  			ec.Error(ctx, ec.Recover(ctx, r))
  2507  			ret = graphql.Null
  2508  		}
  2509  	}()
  2510  	resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
  2511  		ctx = rctx // use context from middleware stack in children
  2512  		return obj.Types(), nil
  2513  	})
  2514  	if err != nil {
  2515  		ec.Error(ctx, err)
  2516  		return graphql.Null
  2517  	}
  2518  	if resTmp == nil {
  2519  		if !graphql.HasFieldError(ctx, fc) {
  2520  			ec.Errorf(ctx, "must not be null")
  2521  		}
  2522  		return graphql.Null
  2523  	}
  2524  	res := resTmp.([]introspection.Type)
  2525  	fc.Result = res
  2526  	return ec.marshalN__Type2ᚕgithubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚋintrospectionᚐTypeᚄ(ctx, field.Selections, res)
  2527  }
  2528  
  2529  func (ec *executionContext) fieldContext___Schema_types(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
  2530  	fc = &graphql.FieldContext{
  2531  		Object:     "__Schema",
  2532  		Field:      field,
  2533  		IsMethod:   true,
  2534  		IsResolver: false,
  2535  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
  2536  			switch field.Name {
  2537  			case "kind":
  2538  				return ec.fieldContext___Type_kind(ctx, field)
  2539  			case "name":
  2540  				return ec.fieldContext___Type_name(ctx, field)
  2541  			case "description":
  2542  				return ec.fieldContext___Type_description(ctx, field)
  2543  			case "fields":
  2544  				return ec.fieldContext___Type_fields(ctx, field)
  2545  			case "interfaces":
  2546  				return ec.fieldContext___Type_interfaces(ctx, field)
  2547  			case "possibleTypes":
  2548  				return ec.fieldContext___Type_possibleTypes(ctx, field)
  2549  			case "enumValues":
  2550  				return ec.fieldContext___Type_enumValues(ctx, field)
  2551  			case "inputFields":
  2552  				return ec.fieldContext___Type_inputFields(ctx, field)
  2553  			case "ofType":
  2554  				return ec.fieldContext___Type_ofType(ctx, field)
  2555  			case "specifiedByURL":
  2556  				return ec.fieldContext___Type_specifiedByURL(ctx, field)
  2557  			}
  2558  			return nil, fmt.Errorf("no field named %q was found under type __Type", field.Name)
  2559  		},
  2560  	}
  2561  	return fc, nil
  2562  }
  2563  
  2564  func (ec *executionContext) ___Schema_queryType(ctx context.Context, field graphql.CollectedField, obj *introspection.Schema) (ret graphql.Marshaler) {
  2565  	fc, err := ec.fieldContext___Schema_queryType(ctx, field)
  2566  	if err != nil {
  2567  		return graphql.Null
  2568  	}
  2569  	ctx = graphql.WithFieldContext(ctx, fc)
  2570  	defer func() {
  2571  		if r := recover(); r != nil {
  2572  			ec.Error(ctx, ec.Recover(ctx, r))
  2573  			ret = graphql.Null
  2574  		}
  2575  	}()
  2576  	resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
  2577  		ctx = rctx // use context from middleware stack in children
  2578  		return obj.QueryType(), nil
  2579  	})
  2580  	if err != nil {
  2581  		ec.Error(ctx, err)
  2582  		return graphql.Null
  2583  	}
  2584  	if resTmp == nil {
  2585  		if !graphql.HasFieldError(ctx, fc) {
  2586  			ec.Errorf(ctx, "must not be null")
  2587  		}
  2588  		return graphql.Null
  2589  	}
  2590  	res := resTmp.(*introspection.Type)
  2591  	fc.Result = res
  2592  	return ec.marshalN__Type2ᚖgithubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚋintrospectionᚐType(ctx, field.Selections, res)
  2593  }
  2594  
  2595  func (ec *executionContext) fieldContext___Schema_queryType(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
  2596  	fc = &graphql.FieldContext{
  2597  		Object:     "__Schema",
  2598  		Field:      field,
  2599  		IsMethod:   true,
  2600  		IsResolver: false,
  2601  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
  2602  			switch field.Name {
  2603  			case "kind":
  2604  				return ec.fieldContext___Type_kind(ctx, field)
  2605  			case "name":
  2606  				return ec.fieldContext___Type_name(ctx, field)
  2607  			case "description":
  2608  				return ec.fieldContext___Type_description(ctx, field)
  2609  			case "fields":
  2610  				return ec.fieldContext___Type_fields(ctx, field)
  2611  			case "interfaces":
  2612  				return ec.fieldContext___Type_interfaces(ctx, field)
  2613  			case "possibleTypes":
  2614  				return ec.fieldContext___Type_possibleTypes(ctx, field)
  2615  			case "enumValues":
  2616  				return ec.fieldContext___Type_enumValues(ctx, field)
  2617  			case "inputFields":
  2618  				return ec.fieldContext___Type_inputFields(ctx, field)
  2619  			case "ofType":
  2620  				return ec.fieldContext___Type_ofType(ctx, field)
  2621  			case "specifiedByURL":
  2622  				return ec.fieldContext___Type_specifiedByURL(ctx, field)
  2623  			}
  2624  			return nil, fmt.Errorf("no field named %q was found under type __Type", field.Name)
  2625  		},
  2626  	}
  2627  	return fc, nil
  2628  }
  2629  
  2630  func (ec *executionContext) ___Schema_mutationType(ctx context.Context, field graphql.CollectedField, obj *introspection.Schema) (ret graphql.Marshaler) {
  2631  	fc, err := ec.fieldContext___Schema_mutationType(ctx, field)
  2632  	if err != nil {
  2633  		return graphql.Null
  2634  	}
  2635  	ctx = graphql.WithFieldContext(ctx, fc)
  2636  	defer func() {
  2637  		if r := recover(); r != nil {
  2638  			ec.Error(ctx, ec.Recover(ctx, r))
  2639  			ret = graphql.Null
  2640  		}
  2641  	}()
  2642  	resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
  2643  		ctx = rctx // use context from middleware stack in children
  2644  		return obj.MutationType(), nil
  2645  	})
  2646  	if err != nil {
  2647  		ec.Error(ctx, err)
  2648  		return graphql.Null
  2649  	}
  2650  	if resTmp == nil {
  2651  		return graphql.Null
  2652  	}
  2653  	res := resTmp.(*introspection.Type)
  2654  	fc.Result = res
  2655  	return ec.marshalO__Type2ᚖgithubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚋintrospectionᚐType(ctx, field.Selections, res)
  2656  }
  2657  
  2658  func (ec *executionContext) fieldContext___Schema_mutationType(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
  2659  	fc = &graphql.FieldContext{
  2660  		Object:     "__Schema",
  2661  		Field:      field,
  2662  		IsMethod:   true,
  2663  		IsResolver: false,
  2664  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
  2665  			switch field.Name {
  2666  			case "kind":
  2667  				return ec.fieldContext___Type_kind(ctx, field)
  2668  			case "name":
  2669  				return ec.fieldContext___Type_name(ctx, field)
  2670  			case "description":
  2671  				return ec.fieldContext___Type_description(ctx, field)
  2672  			case "fields":
  2673  				return ec.fieldContext___Type_fields(ctx, field)
  2674  			case "interfaces":
  2675  				return ec.fieldContext___Type_interfaces(ctx, field)
  2676  			case "possibleTypes":
  2677  				return ec.fieldContext___Type_possibleTypes(ctx, field)
  2678  			case "enumValues":
  2679  				return ec.fieldContext___Type_enumValues(ctx, field)
  2680  			case "inputFields":
  2681  				return ec.fieldContext___Type_inputFields(ctx, field)
  2682  			case "ofType":
  2683  				return ec.fieldContext___Type_ofType(ctx, field)
  2684  			case "specifiedByURL":
  2685  				return ec.fieldContext___Type_specifiedByURL(ctx, field)
  2686  			}
  2687  			return nil, fmt.Errorf("no field named %q was found under type __Type", field.Name)
  2688  		},
  2689  	}
  2690  	return fc, nil
  2691  }
  2692  
  2693  func (ec *executionContext) ___Schema_subscriptionType(ctx context.Context, field graphql.CollectedField, obj *introspection.Schema) (ret graphql.Marshaler) {
  2694  	fc, err := ec.fieldContext___Schema_subscriptionType(ctx, field)
  2695  	if err != nil {
  2696  		return graphql.Null
  2697  	}
  2698  	ctx = graphql.WithFieldContext(ctx, fc)
  2699  	defer func() {
  2700  		if r := recover(); r != nil {
  2701  			ec.Error(ctx, ec.Recover(ctx, r))
  2702  			ret = graphql.Null
  2703  		}
  2704  	}()
  2705  	resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
  2706  		ctx = rctx // use context from middleware stack in children
  2707  		return obj.SubscriptionType(), nil
  2708  	})
  2709  	if err != nil {
  2710  		ec.Error(ctx, err)
  2711  		return graphql.Null
  2712  	}
  2713  	if resTmp == nil {
  2714  		return graphql.Null
  2715  	}
  2716  	res := resTmp.(*introspection.Type)
  2717  	fc.Result = res
  2718  	return ec.marshalO__Type2ᚖgithubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚋintrospectionᚐType(ctx, field.Selections, res)
  2719  }
  2720  
  2721  func (ec *executionContext) fieldContext___Schema_subscriptionType(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
  2722  	fc = &graphql.FieldContext{
  2723  		Object:     "__Schema",
  2724  		Field:      field,
  2725  		IsMethod:   true,
  2726  		IsResolver: false,
  2727  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
  2728  			switch field.Name {
  2729  			case "kind":
  2730  				return ec.fieldContext___Type_kind(ctx, field)
  2731  			case "name":
  2732  				return ec.fieldContext___Type_name(ctx, field)
  2733  			case "description":
  2734  				return ec.fieldContext___Type_description(ctx, field)
  2735  			case "fields":
  2736  				return ec.fieldContext___Type_fields(ctx, field)
  2737  			case "interfaces":
  2738  				return ec.fieldContext___Type_interfaces(ctx, field)
  2739  			case "possibleTypes":
  2740  				return ec.fieldContext___Type_possibleTypes(ctx, field)
  2741  			case "enumValues":
  2742  				return ec.fieldContext___Type_enumValues(ctx, field)
  2743  			case "inputFields":
  2744  				return ec.fieldContext___Type_inputFields(ctx, field)
  2745  			case "ofType":
  2746  				return ec.fieldContext___Type_ofType(ctx, field)
  2747  			case "specifiedByURL":
  2748  				return ec.fieldContext___Type_specifiedByURL(ctx, field)
  2749  			}
  2750  			return nil, fmt.Errorf("no field named %q was found under type __Type", field.Name)
  2751  		},
  2752  	}
  2753  	return fc, nil
  2754  }
  2755  
  2756  func (ec *executionContext) ___Schema_directives(ctx context.Context, field graphql.CollectedField, obj *introspection.Schema) (ret graphql.Marshaler) {
  2757  	fc, err := ec.fieldContext___Schema_directives(ctx, field)
  2758  	if err != nil {
  2759  		return graphql.Null
  2760  	}
  2761  	ctx = graphql.WithFieldContext(ctx, fc)
  2762  	defer func() {
  2763  		if r := recover(); r != nil {
  2764  			ec.Error(ctx, ec.Recover(ctx, r))
  2765  			ret = graphql.Null
  2766  		}
  2767  	}()
  2768  	resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
  2769  		ctx = rctx // use context from middleware stack in children
  2770  		return obj.Directives(), nil
  2771  	})
  2772  	if err != nil {
  2773  		ec.Error(ctx, err)
  2774  		return graphql.Null
  2775  	}
  2776  	if resTmp == nil {
  2777  		if !graphql.HasFieldError(ctx, fc) {
  2778  			ec.Errorf(ctx, "must not be null")
  2779  		}
  2780  		return graphql.Null
  2781  	}
  2782  	res := resTmp.([]introspection.Directive)
  2783  	fc.Result = res
  2784  	return ec.marshalN__Directive2ᚕgithubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚋintrospectionᚐDirectiveᚄ(ctx, field.Selections, res)
  2785  }
  2786  
  2787  func (ec *executionContext) fieldContext___Schema_directives(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
  2788  	fc = &graphql.FieldContext{
  2789  		Object:     "__Schema",
  2790  		Field:      field,
  2791  		IsMethod:   true,
  2792  		IsResolver: false,
  2793  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
  2794  			switch field.Name {
  2795  			case "name":
  2796  				return ec.fieldContext___Directive_name(ctx, field)
  2797  			case "description":
  2798  				return ec.fieldContext___Directive_description(ctx, field)
  2799  			case "locations":
  2800  				return ec.fieldContext___Directive_locations(ctx, field)
  2801  			case "args":
  2802  				return ec.fieldContext___Directive_args(ctx, field)
  2803  			case "isRepeatable":
  2804  				return ec.fieldContext___Directive_isRepeatable(ctx, field)
  2805  			}
  2806  			return nil, fmt.Errorf("no field named %q was found under type __Directive", field.Name)
  2807  		},
  2808  	}
  2809  	return fc, nil
  2810  }
  2811  
  2812  func (ec *executionContext) ___Type_kind(ctx context.Context, field graphql.CollectedField, obj *introspection.Type) (ret graphql.Marshaler) {
  2813  	fc, err := ec.fieldContext___Type_kind(ctx, field)
  2814  	if err != nil {
  2815  		return graphql.Null
  2816  	}
  2817  	ctx = graphql.WithFieldContext(ctx, fc)
  2818  	defer func() {
  2819  		if r := recover(); r != nil {
  2820  			ec.Error(ctx, ec.Recover(ctx, r))
  2821  			ret = graphql.Null
  2822  		}
  2823  	}()
  2824  	resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
  2825  		ctx = rctx // use context from middleware stack in children
  2826  		return obj.Kind(), nil
  2827  	})
  2828  	if err != nil {
  2829  		ec.Error(ctx, err)
  2830  		return graphql.Null
  2831  	}
  2832  	if resTmp == nil {
  2833  		if !graphql.HasFieldError(ctx, fc) {
  2834  			ec.Errorf(ctx, "must not be null")
  2835  		}
  2836  		return graphql.Null
  2837  	}
  2838  	res := resTmp.(string)
  2839  	fc.Result = res
  2840  	return ec.marshalN__TypeKind2string(ctx, field.Selections, res)
  2841  }
  2842  
  2843  func (ec *executionContext) fieldContext___Type_kind(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
  2844  	fc = &graphql.FieldContext{
  2845  		Object:     "__Type",
  2846  		Field:      field,
  2847  		IsMethod:   true,
  2848  		IsResolver: false,
  2849  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
  2850  			return nil, errors.New("field of type __TypeKind does not have child fields")
  2851  		},
  2852  	}
  2853  	return fc, nil
  2854  }
  2855  
  2856  func (ec *executionContext) ___Type_name(ctx context.Context, field graphql.CollectedField, obj *introspection.Type) (ret graphql.Marshaler) {
  2857  	fc, err := ec.fieldContext___Type_name(ctx, field)
  2858  	if err != nil {
  2859  		return graphql.Null
  2860  	}
  2861  	ctx = graphql.WithFieldContext(ctx, fc)
  2862  	defer func() {
  2863  		if r := recover(); r != nil {
  2864  			ec.Error(ctx, ec.Recover(ctx, r))
  2865  			ret = graphql.Null
  2866  		}
  2867  	}()
  2868  	resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
  2869  		ctx = rctx // use context from middleware stack in children
  2870  		return obj.Name(), nil
  2871  	})
  2872  	if err != nil {
  2873  		ec.Error(ctx, err)
  2874  		return graphql.Null
  2875  	}
  2876  	if resTmp == nil {
  2877  		return graphql.Null
  2878  	}
  2879  	res := resTmp.(*string)
  2880  	fc.Result = res
  2881  	return ec.marshalOString2ᚖstring(ctx, field.Selections, res)
  2882  }
  2883  
  2884  func (ec *executionContext) fieldContext___Type_name(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
  2885  	fc = &graphql.FieldContext{
  2886  		Object:     "__Type",
  2887  		Field:      field,
  2888  		IsMethod:   true,
  2889  		IsResolver: false,
  2890  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
  2891  			return nil, errors.New("field of type String does not have child fields")
  2892  		},
  2893  	}
  2894  	return fc, nil
  2895  }
  2896  
  2897  func (ec *executionContext) ___Type_description(ctx context.Context, field graphql.CollectedField, obj *introspection.Type) (ret graphql.Marshaler) {
  2898  	fc, err := ec.fieldContext___Type_description(ctx, field)
  2899  	if err != nil {
  2900  		return graphql.Null
  2901  	}
  2902  	ctx = graphql.WithFieldContext(ctx, fc)
  2903  	defer func() {
  2904  		if r := recover(); r != nil {
  2905  			ec.Error(ctx, ec.Recover(ctx, r))
  2906  			ret = graphql.Null
  2907  		}
  2908  	}()
  2909  	resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
  2910  		ctx = rctx // use context from middleware stack in children
  2911  		return obj.Description(), nil
  2912  	})
  2913  	if err != nil {
  2914  		ec.Error(ctx, err)
  2915  		return graphql.Null
  2916  	}
  2917  	if resTmp == nil {
  2918  		return graphql.Null
  2919  	}
  2920  	res := resTmp.(*string)
  2921  	fc.Result = res
  2922  	return ec.marshalOString2ᚖstring(ctx, field.Selections, res)
  2923  }
  2924  
  2925  func (ec *executionContext) fieldContext___Type_description(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
  2926  	fc = &graphql.FieldContext{
  2927  		Object:     "__Type",
  2928  		Field:      field,
  2929  		IsMethod:   true,
  2930  		IsResolver: false,
  2931  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
  2932  			return nil, errors.New("field of type String does not have child fields")
  2933  		},
  2934  	}
  2935  	return fc, nil
  2936  }
  2937  
  2938  func (ec *executionContext) ___Type_fields(ctx context.Context, field graphql.CollectedField, obj *introspection.Type) (ret graphql.Marshaler) {
  2939  	fc, err := ec.fieldContext___Type_fields(ctx, field)
  2940  	if err != nil {
  2941  		return graphql.Null
  2942  	}
  2943  	ctx = graphql.WithFieldContext(ctx, fc)
  2944  	defer func() {
  2945  		if r := recover(); r != nil {
  2946  			ec.Error(ctx, ec.Recover(ctx, r))
  2947  			ret = graphql.Null
  2948  		}
  2949  	}()
  2950  	resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
  2951  		ctx = rctx // use context from middleware stack in children
  2952  		return obj.Fields(fc.Args["includeDeprecated"].(bool)), nil
  2953  	})
  2954  	if err != nil {
  2955  		ec.Error(ctx, err)
  2956  		return graphql.Null
  2957  	}
  2958  	if resTmp == nil {
  2959  		return graphql.Null
  2960  	}
  2961  	res := resTmp.([]introspection.Field)
  2962  	fc.Result = res
  2963  	return ec.marshalO__Field2ᚕgithubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚋintrospectionᚐFieldᚄ(ctx, field.Selections, res)
  2964  }
  2965  
  2966  func (ec *executionContext) fieldContext___Type_fields(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
  2967  	fc = &graphql.FieldContext{
  2968  		Object:     "__Type",
  2969  		Field:      field,
  2970  		IsMethod:   true,
  2971  		IsResolver: false,
  2972  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
  2973  			switch field.Name {
  2974  			case "name":
  2975  				return ec.fieldContext___Field_name(ctx, field)
  2976  			case "description":
  2977  				return ec.fieldContext___Field_description(ctx, field)
  2978  			case "args":
  2979  				return ec.fieldContext___Field_args(ctx, field)
  2980  			case "type":
  2981  				return ec.fieldContext___Field_type(ctx, field)
  2982  			case "isDeprecated":
  2983  				return ec.fieldContext___Field_isDeprecated(ctx, field)
  2984  			case "deprecationReason":
  2985  				return ec.fieldContext___Field_deprecationReason(ctx, field)
  2986  			}
  2987  			return nil, fmt.Errorf("no field named %q was found under type __Field", field.Name)
  2988  		},
  2989  	}
  2990  	defer func() {
  2991  		if r := recover(); r != nil {
  2992  			err = ec.Recover(ctx, r)
  2993  			ec.Error(ctx, err)
  2994  		}
  2995  	}()
  2996  	ctx = graphql.WithFieldContext(ctx, fc)
  2997  	if fc.Args, err = ec.field___Type_fields_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
  2998  		ec.Error(ctx, err)
  2999  		return
  3000  	}
  3001  	return fc, nil
  3002  }
  3003  
  3004  func (ec *executionContext) ___Type_interfaces(ctx context.Context, field graphql.CollectedField, obj *introspection.Type) (ret graphql.Marshaler) {
  3005  	fc, err := ec.fieldContext___Type_interfaces(ctx, field)
  3006  	if err != nil {
  3007  		return graphql.Null
  3008  	}
  3009  	ctx = graphql.WithFieldContext(ctx, fc)
  3010  	defer func() {
  3011  		if r := recover(); r != nil {
  3012  			ec.Error(ctx, ec.Recover(ctx, r))
  3013  			ret = graphql.Null
  3014  		}
  3015  	}()
  3016  	resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
  3017  		ctx = rctx // use context from middleware stack in children
  3018  		return obj.Interfaces(), nil
  3019  	})
  3020  	if err != nil {
  3021  		ec.Error(ctx, err)
  3022  		return graphql.Null
  3023  	}
  3024  	if resTmp == nil {
  3025  		return graphql.Null
  3026  	}
  3027  	res := resTmp.([]introspection.Type)
  3028  	fc.Result = res
  3029  	return ec.marshalO__Type2ᚕgithubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚋintrospectionᚐTypeᚄ(ctx, field.Selections, res)
  3030  }
  3031  
  3032  func (ec *executionContext) fieldContext___Type_interfaces(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
  3033  	fc = &graphql.FieldContext{
  3034  		Object:     "__Type",
  3035  		Field:      field,
  3036  		IsMethod:   true,
  3037  		IsResolver: false,
  3038  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
  3039  			switch field.Name {
  3040  			case "kind":
  3041  				return ec.fieldContext___Type_kind(ctx, field)
  3042  			case "name":
  3043  				return ec.fieldContext___Type_name(ctx, field)
  3044  			case "description":
  3045  				return ec.fieldContext___Type_description(ctx, field)
  3046  			case "fields":
  3047  				return ec.fieldContext___Type_fields(ctx, field)
  3048  			case "interfaces":
  3049  				return ec.fieldContext___Type_interfaces(ctx, field)
  3050  			case "possibleTypes":
  3051  				return ec.fieldContext___Type_possibleTypes(ctx, field)
  3052  			case "enumValues":
  3053  				return ec.fieldContext___Type_enumValues(ctx, field)
  3054  			case "inputFields":
  3055  				return ec.fieldContext___Type_inputFields(ctx, field)
  3056  			case "ofType":
  3057  				return ec.fieldContext___Type_ofType(ctx, field)
  3058  			case "specifiedByURL":
  3059  				return ec.fieldContext___Type_specifiedByURL(ctx, field)
  3060  			}
  3061  			return nil, fmt.Errorf("no field named %q was found under type __Type", field.Name)
  3062  		},
  3063  	}
  3064  	return fc, nil
  3065  }
  3066  
  3067  func (ec *executionContext) ___Type_possibleTypes(ctx context.Context, field graphql.CollectedField, obj *introspection.Type) (ret graphql.Marshaler) {
  3068  	fc, err := ec.fieldContext___Type_possibleTypes(ctx, field)
  3069  	if err != nil {
  3070  		return graphql.Null
  3071  	}
  3072  	ctx = graphql.WithFieldContext(ctx, fc)
  3073  	defer func() {
  3074  		if r := recover(); r != nil {
  3075  			ec.Error(ctx, ec.Recover(ctx, r))
  3076  			ret = graphql.Null
  3077  		}
  3078  	}()
  3079  	resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
  3080  		ctx = rctx // use context from middleware stack in children
  3081  		return obj.PossibleTypes(), nil
  3082  	})
  3083  	if err != nil {
  3084  		ec.Error(ctx, err)
  3085  		return graphql.Null
  3086  	}
  3087  	if resTmp == nil {
  3088  		return graphql.Null
  3089  	}
  3090  	res := resTmp.([]introspection.Type)
  3091  	fc.Result = res
  3092  	return ec.marshalO__Type2ᚕgithubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚋintrospectionᚐTypeᚄ(ctx, field.Selections, res)
  3093  }
  3094  
  3095  func (ec *executionContext) fieldContext___Type_possibleTypes(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
  3096  	fc = &graphql.FieldContext{
  3097  		Object:     "__Type",
  3098  		Field:      field,
  3099  		IsMethod:   true,
  3100  		IsResolver: false,
  3101  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
  3102  			switch field.Name {
  3103  			case "kind":
  3104  				return ec.fieldContext___Type_kind(ctx, field)
  3105  			case "name":
  3106  				return ec.fieldContext___Type_name(ctx, field)
  3107  			case "description":
  3108  				return ec.fieldContext___Type_description(ctx, field)
  3109  			case "fields":
  3110  				return ec.fieldContext___Type_fields(ctx, field)
  3111  			case "interfaces":
  3112  				return ec.fieldContext___Type_interfaces(ctx, field)
  3113  			case "possibleTypes":
  3114  				return ec.fieldContext___Type_possibleTypes(ctx, field)
  3115  			case "enumValues":
  3116  				return ec.fieldContext___Type_enumValues(ctx, field)
  3117  			case "inputFields":
  3118  				return ec.fieldContext___Type_inputFields(ctx, field)
  3119  			case "ofType":
  3120  				return ec.fieldContext___Type_ofType(ctx, field)
  3121  			case "specifiedByURL":
  3122  				return ec.fieldContext___Type_specifiedByURL(ctx, field)
  3123  			}
  3124  			return nil, fmt.Errorf("no field named %q was found under type __Type", field.Name)
  3125  		},
  3126  	}
  3127  	return fc, nil
  3128  }
  3129  
  3130  func (ec *executionContext) ___Type_enumValues(ctx context.Context, field graphql.CollectedField, obj *introspection.Type) (ret graphql.Marshaler) {
  3131  	fc, err := ec.fieldContext___Type_enumValues(ctx, field)
  3132  	if err != nil {
  3133  		return graphql.Null
  3134  	}
  3135  	ctx = graphql.WithFieldContext(ctx, fc)
  3136  	defer func() {
  3137  		if r := recover(); r != nil {
  3138  			ec.Error(ctx, ec.Recover(ctx, r))
  3139  			ret = graphql.Null
  3140  		}
  3141  	}()
  3142  	resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
  3143  		ctx = rctx // use context from middleware stack in children
  3144  		return obj.EnumValues(fc.Args["includeDeprecated"].(bool)), nil
  3145  	})
  3146  	if err != nil {
  3147  		ec.Error(ctx, err)
  3148  		return graphql.Null
  3149  	}
  3150  	if resTmp == nil {
  3151  		return graphql.Null
  3152  	}
  3153  	res := resTmp.([]introspection.EnumValue)
  3154  	fc.Result = res
  3155  	return ec.marshalO__EnumValue2ᚕgithubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚋintrospectionᚐEnumValueᚄ(ctx, field.Selections, res)
  3156  }
  3157  
  3158  func (ec *executionContext) fieldContext___Type_enumValues(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
  3159  	fc = &graphql.FieldContext{
  3160  		Object:     "__Type",
  3161  		Field:      field,
  3162  		IsMethod:   true,
  3163  		IsResolver: false,
  3164  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
  3165  			switch field.Name {
  3166  			case "name":
  3167  				return ec.fieldContext___EnumValue_name(ctx, field)
  3168  			case "description":
  3169  				return ec.fieldContext___EnumValue_description(ctx, field)
  3170  			case "isDeprecated":
  3171  				return ec.fieldContext___EnumValue_isDeprecated(ctx, field)
  3172  			case "deprecationReason":
  3173  				return ec.fieldContext___EnumValue_deprecationReason(ctx, field)
  3174  			}
  3175  			return nil, fmt.Errorf("no field named %q was found under type __EnumValue", field.Name)
  3176  		},
  3177  	}
  3178  	defer func() {
  3179  		if r := recover(); r != nil {
  3180  			err = ec.Recover(ctx, r)
  3181  			ec.Error(ctx, err)
  3182  		}
  3183  	}()
  3184  	ctx = graphql.WithFieldContext(ctx, fc)
  3185  	if fc.Args, err = ec.field___Type_enumValues_args(ctx, field.ArgumentMap(ec.Variables)); err != nil {
  3186  		ec.Error(ctx, err)
  3187  		return
  3188  	}
  3189  	return fc, nil
  3190  }
  3191  
  3192  func (ec *executionContext) ___Type_inputFields(ctx context.Context, field graphql.CollectedField, obj *introspection.Type) (ret graphql.Marshaler) {
  3193  	fc, err := ec.fieldContext___Type_inputFields(ctx, field)
  3194  	if err != nil {
  3195  		return graphql.Null
  3196  	}
  3197  	ctx = graphql.WithFieldContext(ctx, fc)
  3198  	defer func() {
  3199  		if r := recover(); r != nil {
  3200  			ec.Error(ctx, ec.Recover(ctx, r))
  3201  			ret = graphql.Null
  3202  		}
  3203  	}()
  3204  	resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
  3205  		ctx = rctx // use context from middleware stack in children
  3206  		return obj.InputFields(), nil
  3207  	})
  3208  	if err != nil {
  3209  		ec.Error(ctx, err)
  3210  		return graphql.Null
  3211  	}
  3212  	if resTmp == nil {
  3213  		return graphql.Null
  3214  	}
  3215  	res := resTmp.([]introspection.InputValue)
  3216  	fc.Result = res
  3217  	return ec.marshalO__InputValue2ᚕgithubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚋintrospectionᚐInputValueᚄ(ctx, field.Selections, res)
  3218  }
  3219  
  3220  func (ec *executionContext) fieldContext___Type_inputFields(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
  3221  	fc = &graphql.FieldContext{
  3222  		Object:     "__Type",
  3223  		Field:      field,
  3224  		IsMethod:   true,
  3225  		IsResolver: false,
  3226  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
  3227  			switch field.Name {
  3228  			case "name":
  3229  				return ec.fieldContext___InputValue_name(ctx, field)
  3230  			case "description":
  3231  				return ec.fieldContext___InputValue_description(ctx, field)
  3232  			case "type":
  3233  				return ec.fieldContext___InputValue_type(ctx, field)
  3234  			case "defaultValue":
  3235  				return ec.fieldContext___InputValue_defaultValue(ctx, field)
  3236  			}
  3237  			return nil, fmt.Errorf("no field named %q was found under type __InputValue", field.Name)
  3238  		},
  3239  	}
  3240  	return fc, nil
  3241  }
  3242  
  3243  func (ec *executionContext) ___Type_ofType(ctx context.Context, field graphql.CollectedField, obj *introspection.Type) (ret graphql.Marshaler) {
  3244  	fc, err := ec.fieldContext___Type_ofType(ctx, field)
  3245  	if err != nil {
  3246  		return graphql.Null
  3247  	}
  3248  	ctx = graphql.WithFieldContext(ctx, fc)
  3249  	defer func() {
  3250  		if r := recover(); r != nil {
  3251  			ec.Error(ctx, ec.Recover(ctx, r))
  3252  			ret = graphql.Null
  3253  		}
  3254  	}()
  3255  	resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
  3256  		ctx = rctx // use context from middleware stack in children
  3257  		return obj.OfType(), nil
  3258  	})
  3259  	if err != nil {
  3260  		ec.Error(ctx, err)
  3261  		return graphql.Null
  3262  	}
  3263  	if resTmp == nil {
  3264  		return graphql.Null
  3265  	}
  3266  	res := resTmp.(*introspection.Type)
  3267  	fc.Result = res
  3268  	return ec.marshalO__Type2ᚖgithubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚋintrospectionᚐType(ctx, field.Selections, res)
  3269  }
  3270  
  3271  func (ec *executionContext) fieldContext___Type_ofType(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
  3272  	fc = &graphql.FieldContext{
  3273  		Object:     "__Type",
  3274  		Field:      field,
  3275  		IsMethod:   true,
  3276  		IsResolver: false,
  3277  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
  3278  			switch field.Name {
  3279  			case "kind":
  3280  				return ec.fieldContext___Type_kind(ctx, field)
  3281  			case "name":
  3282  				return ec.fieldContext___Type_name(ctx, field)
  3283  			case "description":
  3284  				return ec.fieldContext___Type_description(ctx, field)
  3285  			case "fields":
  3286  				return ec.fieldContext___Type_fields(ctx, field)
  3287  			case "interfaces":
  3288  				return ec.fieldContext___Type_interfaces(ctx, field)
  3289  			case "possibleTypes":
  3290  				return ec.fieldContext___Type_possibleTypes(ctx, field)
  3291  			case "enumValues":
  3292  				return ec.fieldContext___Type_enumValues(ctx, field)
  3293  			case "inputFields":
  3294  				return ec.fieldContext___Type_inputFields(ctx, field)
  3295  			case "ofType":
  3296  				return ec.fieldContext___Type_ofType(ctx, field)
  3297  			case "specifiedByURL":
  3298  				return ec.fieldContext___Type_specifiedByURL(ctx, field)
  3299  			}
  3300  			return nil, fmt.Errorf("no field named %q was found under type __Type", field.Name)
  3301  		},
  3302  	}
  3303  	return fc, nil
  3304  }
  3305  
  3306  func (ec *executionContext) ___Type_specifiedByURL(ctx context.Context, field graphql.CollectedField, obj *introspection.Type) (ret graphql.Marshaler) {
  3307  	fc, err := ec.fieldContext___Type_specifiedByURL(ctx, field)
  3308  	if err != nil {
  3309  		return graphql.Null
  3310  	}
  3311  	ctx = graphql.WithFieldContext(ctx, fc)
  3312  	defer func() {
  3313  		if r := recover(); r != nil {
  3314  			ec.Error(ctx, ec.Recover(ctx, r))
  3315  			ret = graphql.Null
  3316  		}
  3317  	}()
  3318  	resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) {
  3319  		ctx = rctx // use context from middleware stack in children
  3320  		return obj.SpecifiedByURL(), nil
  3321  	})
  3322  	if err != nil {
  3323  		ec.Error(ctx, err)
  3324  		return graphql.Null
  3325  	}
  3326  	if resTmp == nil {
  3327  		return graphql.Null
  3328  	}
  3329  	res := resTmp.(*string)
  3330  	fc.Result = res
  3331  	return ec.marshalOString2ᚖstring(ctx, field.Selections, res)
  3332  }
  3333  
  3334  func (ec *executionContext) fieldContext___Type_specifiedByURL(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
  3335  	fc = &graphql.FieldContext{
  3336  		Object:     "__Type",
  3337  		Field:      field,
  3338  		IsMethod:   true,
  3339  		IsResolver: false,
  3340  		Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
  3341  			return nil, errors.New("field of type String does not have child fields")
  3342  		},
  3343  	}
  3344  	return fc, nil
  3345  }
  3346  
  3347  // endregion **************************** field.gotpl *****************************
  3348  
  3349  // region    **************************** input.gotpl *****************************
  3350  
  3351  // endregion **************************** input.gotpl *****************************
  3352  
  3353  // region    ************************** interface.gotpl ***************************
  3354  
  3355  // endregion ************************** interface.gotpl ***************************
  3356  
  3357  // region    **************************** object.gotpl ****************************
  3358  
  3359  var executorImplementors = []string{"Executor"}
  3360  
  3361  func (ec *executionContext) _Executor(ctx context.Context, sel ast.SelectionSet, obj *testkube.Executor) graphql.Marshaler {
  3362  	fields := graphql.CollectFields(ec.OperationContext, sel, executorImplementors)
  3363  	out := graphql.NewFieldSet(fields)
  3364  	var invalids uint32
  3365  	for i, field := range fields {
  3366  		switch field.Name {
  3367  		case "__typename":
  3368  			out.Values[i] = graphql.MarshalString("Executor")
  3369  		case "args":
  3370  
  3371  			out.Values[i] = ec._Executor_args(ctx, field, obj)
  3372  
  3373  		case "command":
  3374  
  3375  			out.Values[i] = ec._Executor_command(ctx, field, obj)
  3376  
  3377  		case "contentTypes":
  3378  
  3379  			out.Values[i] = ec._Executor_contentTypes(ctx, field, obj)
  3380  
  3381  		case "executorType":
  3382  
  3383  			out.Values[i] = ec._Executor_executorType(ctx, field, obj)
  3384  
  3385  			if out.Values[i] == graphql.Null {
  3386  				invalids++
  3387  			}
  3388  		case "features":
  3389  
  3390  			out.Values[i] = ec._Executor_features(ctx, field, obj)
  3391  
  3392  		case "image":
  3393  
  3394  			out.Values[i] = ec._Executor_image(ctx, field, obj)
  3395  
  3396  			if out.Values[i] == graphql.Null {
  3397  				invalids++
  3398  			}
  3399  		case "imagePullSecrets":
  3400  
  3401  			out.Values[i] = ec._Executor_imagePullSecrets(ctx, field, obj)
  3402  
  3403  		case "jobTemplate":
  3404  
  3405  			out.Values[i] = ec._Executor_jobTemplate(ctx, field, obj)
  3406  
  3407  			if out.Values[i] == graphql.Null {
  3408  				invalids++
  3409  			}
  3410  		case "labels":
  3411  
  3412  			out.Values[i] = ec._Executor_labels(ctx, field, obj)
  3413  
  3414  		case "meta":
  3415  
  3416  			out.Values[i] = ec._Executor_meta(ctx, field, obj)
  3417  
  3418  		case "types":
  3419  
  3420  			out.Values[i] = ec._Executor_types(ctx, field, obj)
  3421  
  3422  			if out.Values[i] == graphql.Null {
  3423  				invalids++
  3424  			}
  3425  		case "uri":
  3426  
  3427  			out.Values[i] = ec._Executor_uri(ctx, field, obj)
  3428  
  3429  			if out.Values[i] == graphql.Null {
  3430  				invalids++
  3431  			}
  3432  		default:
  3433  			panic("unknown field " + strconv.Quote(field.Name))
  3434  		}
  3435  	}
  3436  	out.Dispatch()
  3437  	if invalids > 0 {
  3438  		return graphql.Null
  3439  	}
  3440  	return out
  3441  }
  3442  
  3443  var executorDetailsImplementors = []string{"ExecutorDetails"}
  3444  
  3445  func (ec *executionContext) _ExecutorDetails(ctx context.Context, sel ast.SelectionSet, obj *testkube.ExecutorDetails) graphql.Marshaler {
  3446  	fields := graphql.CollectFields(ec.OperationContext, sel, executorDetailsImplementors)
  3447  	out := graphql.NewFieldSet(fields)
  3448  	var invalids uint32
  3449  	for i, field := range fields {
  3450  		switch field.Name {
  3451  		case "__typename":
  3452  			out.Values[i] = graphql.MarshalString("ExecutorDetails")
  3453  		case "name":
  3454  
  3455  			out.Values[i] = ec._ExecutorDetails_name(ctx, field, obj)
  3456  
  3457  			if out.Values[i] == graphql.Null {
  3458  				invalids++
  3459  			}
  3460  		case "executor":
  3461  
  3462  			out.Values[i] = ec._ExecutorDetails_executor(ctx, field, obj)
  3463  
  3464  			if out.Values[i] == graphql.Null {
  3465  				invalids++
  3466  			}
  3467  		default:
  3468  			panic("unknown field " + strconv.Quote(field.Name))
  3469  		}
  3470  	}
  3471  	out.Dispatch()
  3472  	if invalids > 0 {
  3473  		return graphql.Null
  3474  	}
  3475  	return out
  3476  }
  3477  
  3478  var executorMetaImplementors = []string{"ExecutorMeta"}
  3479  
  3480  func (ec *executionContext) _ExecutorMeta(ctx context.Context, sel ast.SelectionSet, obj *testkube.ExecutorMeta) graphql.Marshaler {
  3481  	fields := graphql.CollectFields(ec.OperationContext, sel, executorMetaImplementors)
  3482  	out := graphql.NewFieldSet(fields)
  3483  	var invalids uint32
  3484  	for i, field := range fields {
  3485  		switch field.Name {
  3486  		case "__typename":
  3487  			out.Values[i] = graphql.MarshalString("ExecutorMeta")
  3488  		case "docsURI":
  3489  
  3490  			out.Values[i] = ec._ExecutorMeta_docsURI(ctx, field, obj)
  3491  
  3492  		case "iconURI":
  3493  
  3494  			out.Values[i] = ec._ExecutorMeta_iconURI(ctx, field, obj)
  3495  
  3496  		case "tooltips":
  3497  
  3498  			out.Values[i] = ec._ExecutorMeta_tooltips(ctx, field, obj)
  3499  
  3500  		default:
  3501  			panic("unknown field " + strconv.Quote(field.Name))
  3502  		}
  3503  	}
  3504  	out.Dispatch()
  3505  	if invalids > 0 {
  3506  		return graphql.Null
  3507  	}
  3508  	return out
  3509  }
  3510  
  3511  var localObjectReferenceImplementors = []string{"LocalObjectReference"}
  3512  
  3513  func (ec *executionContext) _LocalObjectReference(ctx context.Context, sel ast.SelectionSet, obj *testkube.LocalObjectReference) graphql.Marshaler {
  3514  	fields := graphql.CollectFields(ec.OperationContext, sel, localObjectReferenceImplementors)
  3515  	out := graphql.NewFieldSet(fields)
  3516  	var invalids uint32
  3517  	for i, field := range fields {
  3518  		switch field.Name {
  3519  		case "__typename":
  3520  			out.Values[i] = graphql.MarshalString("LocalObjectReference")
  3521  		case "name":
  3522  
  3523  			out.Values[i] = ec._LocalObjectReference_name(ctx, field, obj)
  3524  
  3525  			if out.Values[i] == graphql.Null {
  3526  				invalids++
  3527  			}
  3528  		default:
  3529  			panic("unknown field " + strconv.Quote(field.Name))
  3530  		}
  3531  	}
  3532  	out.Dispatch()
  3533  	if invalids > 0 {
  3534  		return graphql.Null
  3535  	}
  3536  	return out
  3537  }
  3538  
  3539  var queryImplementors = []string{"Query"}
  3540  
  3541  func (ec *executionContext) _Query(ctx context.Context, sel ast.SelectionSet) graphql.Marshaler {
  3542  	fields := graphql.CollectFields(ec.OperationContext, sel, queryImplementors)
  3543  	ctx = graphql.WithFieldContext(ctx, &graphql.FieldContext{
  3544  		Object: "Query",
  3545  	})
  3546  
  3547  	out := graphql.NewFieldSet(fields)
  3548  	var invalids uint32
  3549  	for i, field := range fields {
  3550  		innerCtx := graphql.WithRootFieldContext(ctx, &graphql.RootFieldContext{
  3551  			Object: field.Name,
  3552  			Field:  field,
  3553  		})
  3554  
  3555  		switch field.Name {
  3556  		case "__typename":
  3557  			out.Values[i] = graphql.MarshalString("Query")
  3558  		case "executors":
  3559  			field := field
  3560  
  3561  			innerFunc := func(ctx context.Context) (res graphql.Marshaler) {
  3562  				defer func() {
  3563  					if r := recover(); r != nil {
  3564  						ec.Error(ctx, ec.Recover(ctx, r))
  3565  					}
  3566  				}()
  3567  				res = ec._Query_executors(ctx, field)
  3568  				if res == graphql.Null {
  3569  					atomic.AddUint32(&invalids, 1)
  3570  				}
  3571  				return res
  3572  			}
  3573  
  3574  			rrm := func(ctx context.Context) graphql.Marshaler {
  3575  				return ec.OperationContext.RootResolverMiddleware(ctx, innerFunc)
  3576  			}
  3577  
  3578  			out.Concurrently(i, func() graphql.Marshaler {
  3579  				return rrm(innerCtx)
  3580  			})
  3581  		case "__type":
  3582  
  3583  			out.Values[i] = ec.OperationContext.RootResolverMiddleware(innerCtx, func(ctx context.Context) (res graphql.Marshaler) {
  3584  				return ec._Query___type(ctx, field)
  3585  			})
  3586  
  3587  		case "__schema":
  3588  
  3589  			out.Values[i] = ec.OperationContext.RootResolverMiddleware(innerCtx, func(ctx context.Context) (res graphql.Marshaler) {
  3590  				return ec._Query___schema(ctx, field)
  3591  			})
  3592  
  3593  		default:
  3594  			panic("unknown field " + strconv.Quote(field.Name))
  3595  		}
  3596  	}
  3597  	out.Dispatch()
  3598  	if invalids > 0 {
  3599  		return graphql.Null
  3600  	}
  3601  	return out
  3602  }
  3603  
  3604  var subscriptionImplementors = []string{"Subscription"}
  3605  
  3606  func (ec *executionContext) _Subscription(ctx context.Context, sel ast.SelectionSet) func(ctx context.Context) graphql.Marshaler {
  3607  	fields := graphql.CollectFields(ec.OperationContext, sel, subscriptionImplementors)
  3608  	ctx = graphql.WithFieldContext(ctx, &graphql.FieldContext{
  3609  		Object: "Subscription",
  3610  	})
  3611  	if len(fields) != 1 {
  3612  		ec.Errorf(ctx, "must subscribe to exactly one stream")
  3613  		return nil
  3614  	}
  3615  
  3616  	switch fields[0].Name {
  3617  	case "executors":
  3618  		return ec._Subscription_executors(ctx, fields[0])
  3619  	default:
  3620  		panic("unknown field " + strconv.Quote(fields[0].Name))
  3621  	}
  3622  }
  3623  
  3624  var __DirectiveImplementors = []string{"__Directive"}
  3625  
  3626  func (ec *executionContext) ___Directive(ctx context.Context, sel ast.SelectionSet, obj *introspection.Directive) graphql.Marshaler {
  3627  	fields := graphql.CollectFields(ec.OperationContext, sel, __DirectiveImplementors)
  3628  	out := graphql.NewFieldSet(fields)
  3629  	var invalids uint32
  3630  	for i, field := range fields {
  3631  		switch field.Name {
  3632  		case "__typename":
  3633  			out.Values[i] = graphql.MarshalString("__Directive")
  3634  		case "name":
  3635  
  3636  			out.Values[i] = ec.___Directive_name(ctx, field, obj)
  3637  
  3638  			if out.Values[i] == graphql.Null {
  3639  				invalids++
  3640  			}
  3641  		case "description":
  3642  
  3643  			out.Values[i] = ec.___Directive_description(ctx, field, obj)
  3644  
  3645  		case "locations":
  3646  
  3647  			out.Values[i] = ec.___Directive_locations(ctx, field, obj)
  3648  
  3649  			if out.Values[i] == graphql.Null {
  3650  				invalids++
  3651  			}
  3652  		case "args":
  3653  
  3654  			out.Values[i] = ec.___Directive_args(ctx, field, obj)
  3655  
  3656  			if out.Values[i] == graphql.Null {
  3657  				invalids++
  3658  			}
  3659  		case "isRepeatable":
  3660  
  3661  			out.Values[i] = ec.___Directive_isRepeatable(ctx, field, obj)
  3662  
  3663  			if out.Values[i] == graphql.Null {
  3664  				invalids++
  3665  			}
  3666  		default:
  3667  			panic("unknown field " + strconv.Quote(field.Name))
  3668  		}
  3669  	}
  3670  	out.Dispatch()
  3671  	if invalids > 0 {
  3672  		return graphql.Null
  3673  	}
  3674  	return out
  3675  }
  3676  
  3677  var __EnumValueImplementors = []string{"__EnumValue"}
  3678  
  3679  func (ec *executionContext) ___EnumValue(ctx context.Context, sel ast.SelectionSet, obj *introspection.EnumValue) graphql.Marshaler {
  3680  	fields := graphql.CollectFields(ec.OperationContext, sel, __EnumValueImplementors)
  3681  	out := graphql.NewFieldSet(fields)
  3682  	var invalids uint32
  3683  	for i, field := range fields {
  3684  		switch field.Name {
  3685  		case "__typename":
  3686  			out.Values[i] = graphql.MarshalString("__EnumValue")
  3687  		case "name":
  3688  
  3689  			out.Values[i] = ec.___EnumValue_name(ctx, field, obj)
  3690  
  3691  			if out.Values[i] == graphql.Null {
  3692  				invalids++
  3693  			}
  3694  		case "description":
  3695  
  3696  			out.Values[i] = ec.___EnumValue_description(ctx, field, obj)
  3697  
  3698  		case "isDeprecated":
  3699  
  3700  			out.Values[i] = ec.___EnumValue_isDeprecated(ctx, field, obj)
  3701  
  3702  			if out.Values[i] == graphql.Null {
  3703  				invalids++
  3704  			}
  3705  		case "deprecationReason":
  3706  
  3707  			out.Values[i] = ec.___EnumValue_deprecationReason(ctx, field, obj)
  3708  
  3709  		default:
  3710  			panic("unknown field " + strconv.Quote(field.Name))
  3711  		}
  3712  	}
  3713  	out.Dispatch()
  3714  	if invalids > 0 {
  3715  		return graphql.Null
  3716  	}
  3717  	return out
  3718  }
  3719  
  3720  var __FieldImplementors = []string{"__Field"}
  3721  
  3722  func (ec *executionContext) ___Field(ctx context.Context, sel ast.SelectionSet, obj *introspection.Field) graphql.Marshaler {
  3723  	fields := graphql.CollectFields(ec.OperationContext, sel, __FieldImplementors)
  3724  	out := graphql.NewFieldSet(fields)
  3725  	var invalids uint32
  3726  	for i, field := range fields {
  3727  		switch field.Name {
  3728  		case "__typename":
  3729  			out.Values[i] = graphql.MarshalString("__Field")
  3730  		case "name":
  3731  
  3732  			out.Values[i] = ec.___Field_name(ctx, field, obj)
  3733  
  3734  			if out.Values[i] == graphql.Null {
  3735  				invalids++
  3736  			}
  3737  		case "description":
  3738  
  3739  			out.Values[i] = ec.___Field_description(ctx, field, obj)
  3740  
  3741  		case "args":
  3742  
  3743  			out.Values[i] = ec.___Field_args(ctx, field, obj)
  3744  
  3745  			if out.Values[i] == graphql.Null {
  3746  				invalids++
  3747  			}
  3748  		case "type":
  3749  
  3750  			out.Values[i] = ec.___Field_type(ctx, field, obj)
  3751  
  3752  			if out.Values[i] == graphql.Null {
  3753  				invalids++
  3754  			}
  3755  		case "isDeprecated":
  3756  
  3757  			out.Values[i] = ec.___Field_isDeprecated(ctx, field, obj)
  3758  
  3759  			if out.Values[i] == graphql.Null {
  3760  				invalids++
  3761  			}
  3762  		case "deprecationReason":
  3763  
  3764  			out.Values[i] = ec.___Field_deprecationReason(ctx, field, obj)
  3765  
  3766  		default:
  3767  			panic("unknown field " + strconv.Quote(field.Name))
  3768  		}
  3769  	}
  3770  	out.Dispatch()
  3771  	if invalids > 0 {
  3772  		return graphql.Null
  3773  	}
  3774  	return out
  3775  }
  3776  
  3777  var __InputValueImplementors = []string{"__InputValue"}
  3778  
  3779  func (ec *executionContext) ___InputValue(ctx context.Context, sel ast.SelectionSet, obj *introspection.InputValue) graphql.Marshaler {
  3780  	fields := graphql.CollectFields(ec.OperationContext, sel, __InputValueImplementors)
  3781  	out := graphql.NewFieldSet(fields)
  3782  	var invalids uint32
  3783  	for i, field := range fields {
  3784  		switch field.Name {
  3785  		case "__typename":
  3786  			out.Values[i] = graphql.MarshalString("__InputValue")
  3787  		case "name":
  3788  
  3789  			out.Values[i] = ec.___InputValue_name(ctx, field, obj)
  3790  
  3791  			if out.Values[i] == graphql.Null {
  3792  				invalids++
  3793  			}
  3794  		case "description":
  3795  
  3796  			out.Values[i] = ec.___InputValue_description(ctx, field, obj)
  3797  
  3798  		case "type":
  3799  
  3800  			out.Values[i] = ec.___InputValue_type(ctx, field, obj)
  3801  
  3802  			if out.Values[i] == graphql.Null {
  3803  				invalids++
  3804  			}
  3805  		case "defaultValue":
  3806  
  3807  			out.Values[i] = ec.___InputValue_defaultValue(ctx, field, obj)
  3808  
  3809  		default:
  3810  			panic("unknown field " + strconv.Quote(field.Name))
  3811  		}
  3812  	}
  3813  	out.Dispatch()
  3814  	if invalids > 0 {
  3815  		return graphql.Null
  3816  	}
  3817  	return out
  3818  }
  3819  
  3820  var __SchemaImplementors = []string{"__Schema"}
  3821  
  3822  func (ec *executionContext) ___Schema(ctx context.Context, sel ast.SelectionSet, obj *introspection.Schema) graphql.Marshaler {
  3823  	fields := graphql.CollectFields(ec.OperationContext, sel, __SchemaImplementors)
  3824  	out := graphql.NewFieldSet(fields)
  3825  	var invalids uint32
  3826  	for i, field := range fields {
  3827  		switch field.Name {
  3828  		case "__typename":
  3829  			out.Values[i] = graphql.MarshalString("__Schema")
  3830  		case "description":
  3831  
  3832  			out.Values[i] = ec.___Schema_description(ctx, field, obj)
  3833  
  3834  		case "types":
  3835  
  3836  			out.Values[i] = ec.___Schema_types(ctx, field, obj)
  3837  
  3838  			if out.Values[i] == graphql.Null {
  3839  				invalids++
  3840  			}
  3841  		case "queryType":
  3842  
  3843  			out.Values[i] = ec.___Schema_queryType(ctx, field, obj)
  3844  
  3845  			if out.Values[i] == graphql.Null {
  3846  				invalids++
  3847  			}
  3848  		case "mutationType":
  3849  
  3850  			out.Values[i] = ec.___Schema_mutationType(ctx, field, obj)
  3851  
  3852  		case "subscriptionType":
  3853  
  3854  			out.Values[i] = ec.___Schema_subscriptionType(ctx, field, obj)
  3855  
  3856  		case "directives":
  3857  
  3858  			out.Values[i] = ec.___Schema_directives(ctx, field, obj)
  3859  
  3860  			if out.Values[i] == graphql.Null {
  3861  				invalids++
  3862  			}
  3863  		default:
  3864  			panic("unknown field " + strconv.Quote(field.Name))
  3865  		}
  3866  	}
  3867  	out.Dispatch()
  3868  	if invalids > 0 {
  3869  		return graphql.Null
  3870  	}
  3871  	return out
  3872  }
  3873  
  3874  var __TypeImplementors = []string{"__Type"}
  3875  
  3876  func (ec *executionContext) ___Type(ctx context.Context, sel ast.SelectionSet, obj *introspection.Type) graphql.Marshaler {
  3877  	fields := graphql.CollectFields(ec.OperationContext, sel, __TypeImplementors)
  3878  	out := graphql.NewFieldSet(fields)
  3879  	var invalids uint32
  3880  	for i, field := range fields {
  3881  		switch field.Name {
  3882  		case "__typename":
  3883  			out.Values[i] = graphql.MarshalString("__Type")
  3884  		case "kind":
  3885  
  3886  			out.Values[i] = ec.___Type_kind(ctx, field, obj)
  3887  
  3888  			if out.Values[i] == graphql.Null {
  3889  				invalids++
  3890  			}
  3891  		case "name":
  3892  
  3893  			out.Values[i] = ec.___Type_name(ctx, field, obj)
  3894  
  3895  		case "description":
  3896  
  3897  			out.Values[i] = ec.___Type_description(ctx, field, obj)
  3898  
  3899  		case "fields":
  3900  
  3901  			out.Values[i] = ec.___Type_fields(ctx, field, obj)
  3902  
  3903  		case "interfaces":
  3904  
  3905  			out.Values[i] = ec.___Type_interfaces(ctx, field, obj)
  3906  
  3907  		case "possibleTypes":
  3908  
  3909  			out.Values[i] = ec.___Type_possibleTypes(ctx, field, obj)
  3910  
  3911  		case "enumValues":
  3912  
  3913  			out.Values[i] = ec.___Type_enumValues(ctx, field, obj)
  3914  
  3915  		case "inputFields":
  3916  
  3917  			out.Values[i] = ec.___Type_inputFields(ctx, field, obj)
  3918  
  3919  		case "ofType":
  3920  
  3921  			out.Values[i] = ec.___Type_ofType(ctx, field, obj)
  3922  
  3923  		case "specifiedByURL":
  3924  
  3925  			out.Values[i] = ec.___Type_specifiedByURL(ctx, field, obj)
  3926  
  3927  		default:
  3928  			panic("unknown field " + strconv.Quote(field.Name))
  3929  		}
  3930  	}
  3931  	out.Dispatch()
  3932  	if invalids > 0 {
  3933  		return graphql.Null
  3934  	}
  3935  	return out
  3936  }
  3937  
  3938  // endregion **************************** object.gotpl ****************************
  3939  
  3940  // region    ***************************** type.gotpl *****************************
  3941  
  3942  func (ec *executionContext) unmarshalNBoolean2bool(ctx context.Context, v interface{}) (bool, error) {
  3943  	res, err := graphql.UnmarshalBoolean(v)
  3944  	return res, graphql.ErrorOnPath(ctx, err)
  3945  }
  3946  
  3947  func (ec *executionContext) marshalNBoolean2bool(ctx context.Context, sel ast.SelectionSet, v bool) graphql.Marshaler {
  3948  	res := graphql.MarshalBoolean(v)
  3949  	if res == graphql.Null {
  3950  		if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) {
  3951  			ec.Errorf(ctx, "the requested element is null which the schema does not allow")
  3952  		}
  3953  	}
  3954  	return res
  3955  }
  3956  
  3957  func (ec *executionContext) marshalNExecutor2ᚖgithubᚗcomᚋkubeshopᚋtestkubeᚋpkgᚋapiᚋv1ᚋtestkubeᚐExecutor(ctx context.Context, sel ast.SelectionSet, v *testkube.Executor) graphql.Marshaler {
  3958  	if v == nil {
  3959  		if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) {
  3960  			ec.Errorf(ctx, "the requested element is null which the schema does not allow")
  3961  		}
  3962  		return graphql.Null
  3963  	}
  3964  	return ec._Executor(ctx, sel, v)
  3965  }
  3966  
  3967  func (ec *executionContext) marshalNExecutorDetails2githubᚗcomᚋkubeshopᚋtestkubeᚋpkgᚋapiᚋv1ᚋtestkubeᚐExecutorDetails(ctx context.Context, sel ast.SelectionSet, v testkube.ExecutorDetails) graphql.Marshaler {
  3968  	return ec._ExecutorDetails(ctx, sel, &v)
  3969  }
  3970  
  3971  func (ec *executionContext) marshalNExecutorDetails2ᚕgithubᚗcomᚋkubeshopᚋtestkubeᚋpkgᚋapiᚋv1ᚋtestkubeᚐExecutorDetailsᚄ(ctx context.Context, sel ast.SelectionSet, v []testkube.ExecutorDetails) graphql.Marshaler {
  3972  	ret := make(graphql.Array, len(v))
  3973  	var wg sync.WaitGroup
  3974  	isLen1 := len(v) == 1
  3975  	if !isLen1 {
  3976  		wg.Add(len(v))
  3977  	}
  3978  	for i := range v {
  3979  		i := i
  3980  		fc := &graphql.FieldContext{
  3981  			Index:  &i,
  3982  			Result: &v[i],
  3983  		}
  3984  		ctx := graphql.WithFieldContext(ctx, fc)
  3985  		f := func(i int) {
  3986  			defer func() {
  3987  				if r := recover(); r != nil {
  3988  					ec.Error(ctx, ec.Recover(ctx, r))
  3989  					ret = nil
  3990  				}
  3991  			}()
  3992  			if !isLen1 {
  3993  				defer wg.Done()
  3994  			}
  3995  			ret[i] = ec.marshalNExecutorDetails2githubᚗcomᚋkubeshopᚋtestkubeᚋpkgᚋapiᚋv1ᚋtestkubeᚐExecutorDetails(ctx, sel, v[i])
  3996  		}
  3997  		if isLen1 {
  3998  			f(i)
  3999  		} else {
  4000  			go f(i)
  4001  		}
  4002  
  4003  	}
  4004  	wg.Wait()
  4005  
  4006  	for _, e := range ret {
  4007  		if e == graphql.Null {
  4008  			return graphql.Null
  4009  		}
  4010  	}
  4011  
  4012  	return ret
  4013  }
  4014  
  4015  func (ec *executionContext) marshalNLocalObjectReference2githubᚗcomᚋkubeshopᚋtestkubeᚋpkgᚋapiᚋv1ᚋtestkubeᚐLocalObjectReference(ctx context.Context, sel ast.SelectionSet, v testkube.LocalObjectReference) graphql.Marshaler {
  4016  	return ec._LocalObjectReference(ctx, sel, &v)
  4017  }
  4018  
  4019  func (ec *executionContext) unmarshalNString2string(ctx context.Context, v interface{}) (string, error) {
  4020  	res, err := graphql.UnmarshalString(v)
  4021  	return res, graphql.ErrorOnPath(ctx, err)
  4022  }
  4023  
  4024  func (ec *executionContext) marshalNString2string(ctx context.Context, sel ast.SelectionSet, v string) graphql.Marshaler {
  4025  	res := graphql.MarshalString(v)
  4026  	if res == graphql.Null {
  4027  		if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) {
  4028  			ec.Errorf(ctx, "the requested element is null which the schema does not allow")
  4029  		}
  4030  	}
  4031  	return res
  4032  }
  4033  
  4034  func (ec *executionContext) unmarshalNString2ᚕstringᚄ(ctx context.Context, v interface{}) ([]string, error) {
  4035  	var vSlice []interface{}
  4036  	if v != nil {
  4037  		vSlice = graphql.CoerceList(v)
  4038  	}
  4039  	var err error
  4040  	res := make([]string, len(vSlice))
  4041  	for i := range vSlice {
  4042  		ctx := graphql.WithPathContext(ctx, graphql.NewPathWithIndex(i))
  4043  		res[i], err = ec.unmarshalNString2string(ctx, vSlice[i])
  4044  		if err != nil {
  4045  			return nil, err
  4046  		}
  4047  	}
  4048  	return res, nil
  4049  }
  4050  
  4051  func (ec *executionContext) marshalNString2ᚕstringᚄ(ctx context.Context, sel ast.SelectionSet, v []string) graphql.Marshaler {
  4052  	ret := make(graphql.Array, len(v))
  4053  	for i := range v {
  4054  		ret[i] = ec.marshalNString2string(ctx, sel, v[i])
  4055  	}
  4056  
  4057  	for _, e := range ret {
  4058  		if e == graphql.Null {
  4059  			return graphql.Null
  4060  		}
  4061  	}
  4062  
  4063  	return ret
  4064  }
  4065  
  4066  func (ec *executionContext) marshalN__Directive2githubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚋintrospectionᚐDirective(ctx context.Context, sel ast.SelectionSet, v introspection.Directive) graphql.Marshaler {
  4067  	return ec.___Directive(ctx, sel, &v)
  4068  }
  4069  
  4070  func (ec *executionContext) marshalN__Directive2ᚕgithubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚋintrospectionᚐDirectiveᚄ(ctx context.Context, sel ast.SelectionSet, v []introspection.Directive) graphql.Marshaler {
  4071  	ret := make(graphql.Array, len(v))
  4072  	var wg sync.WaitGroup
  4073  	isLen1 := len(v) == 1
  4074  	if !isLen1 {
  4075  		wg.Add(len(v))
  4076  	}
  4077  	for i := range v {
  4078  		i := i
  4079  		fc := &graphql.FieldContext{
  4080  			Index:  &i,
  4081  			Result: &v[i],
  4082  		}
  4083  		ctx := graphql.WithFieldContext(ctx, fc)
  4084  		f := func(i int) {
  4085  			defer func() {
  4086  				if r := recover(); r != nil {
  4087  					ec.Error(ctx, ec.Recover(ctx, r))
  4088  					ret = nil
  4089  				}
  4090  			}()
  4091  			if !isLen1 {
  4092  				defer wg.Done()
  4093  			}
  4094  			ret[i] = ec.marshalN__Directive2githubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚋintrospectionᚐDirective(ctx, sel, v[i])
  4095  		}
  4096  		if isLen1 {
  4097  			f(i)
  4098  		} else {
  4099  			go f(i)
  4100  		}
  4101  
  4102  	}
  4103  	wg.Wait()
  4104  
  4105  	for _, e := range ret {
  4106  		if e == graphql.Null {
  4107  			return graphql.Null
  4108  		}
  4109  	}
  4110  
  4111  	return ret
  4112  }
  4113  
  4114  func (ec *executionContext) unmarshalN__DirectiveLocation2string(ctx context.Context, v interface{}) (string, error) {
  4115  	res, err := graphql.UnmarshalString(v)
  4116  	return res, graphql.ErrorOnPath(ctx, err)
  4117  }
  4118  
  4119  func (ec *executionContext) marshalN__DirectiveLocation2string(ctx context.Context, sel ast.SelectionSet, v string) graphql.Marshaler {
  4120  	res := graphql.MarshalString(v)
  4121  	if res == graphql.Null {
  4122  		if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) {
  4123  			ec.Errorf(ctx, "the requested element is null which the schema does not allow")
  4124  		}
  4125  	}
  4126  	return res
  4127  }
  4128  
  4129  func (ec *executionContext) unmarshalN__DirectiveLocation2ᚕstringᚄ(ctx context.Context, v interface{}) ([]string, error) {
  4130  	var vSlice []interface{}
  4131  	if v != nil {
  4132  		vSlice = graphql.CoerceList(v)
  4133  	}
  4134  	var err error
  4135  	res := make([]string, len(vSlice))
  4136  	for i := range vSlice {
  4137  		ctx := graphql.WithPathContext(ctx, graphql.NewPathWithIndex(i))
  4138  		res[i], err = ec.unmarshalN__DirectiveLocation2string(ctx, vSlice[i])
  4139  		if err != nil {
  4140  			return nil, err
  4141  		}
  4142  	}
  4143  	return res, nil
  4144  }
  4145  
  4146  func (ec *executionContext) marshalN__DirectiveLocation2ᚕstringᚄ(ctx context.Context, sel ast.SelectionSet, v []string) graphql.Marshaler {
  4147  	ret := make(graphql.Array, len(v))
  4148  	var wg sync.WaitGroup
  4149  	isLen1 := len(v) == 1
  4150  	if !isLen1 {
  4151  		wg.Add(len(v))
  4152  	}
  4153  	for i := range v {
  4154  		i := i
  4155  		fc := &graphql.FieldContext{
  4156  			Index:  &i,
  4157  			Result: &v[i],
  4158  		}
  4159  		ctx := graphql.WithFieldContext(ctx, fc)
  4160  		f := func(i int) {
  4161  			defer func() {
  4162  				if r := recover(); r != nil {
  4163  					ec.Error(ctx, ec.Recover(ctx, r))
  4164  					ret = nil
  4165  				}
  4166  			}()
  4167  			if !isLen1 {
  4168  				defer wg.Done()
  4169  			}
  4170  			ret[i] = ec.marshalN__DirectiveLocation2string(ctx, sel, v[i])
  4171  		}
  4172  		if isLen1 {
  4173  			f(i)
  4174  		} else {
  4175  			go f(i)
  4176  		}
  4177  
  4178  	}
  4179  	wg.Wait()
  4180  
  4181  	for _, e := range ret {
  4182  		if e == graphql.Null {
  4183  			return graphql.Null
  4184  		}
  4185  	}
  4186  
  4187  	return ret
  4188  }
  4189  
  4190  func (ec *executionContext) marshalN__EnumValue2githubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚋintrospectionᚐEnumValue(ctx context.Context, sel ast.SelectionSet, v introspection.EnumValue) graphql.Marshaler {
  4191  	return ec.___EnumValue(ctx, sel, &v)
  4192  }
  4193  
  4194  func (ec *executionContext) marshalN__Field2githubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚋintrospectionᚐField(ctx context.Context, sel ast.SelectionSet, v introspection.Field) graphql.Marshaler {
  4195  	return ec.___Field(ctx, sel, &v)
  4196  }
  4197  
  4198  func (ec *executionContext) marshalN__InputValue2githubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚋintrospectionᚐInputValue(ctx context.Context, sel ast.SelectionSet, v introspection.InputValue) graphql.Marshaler {
  4199  	return ec.___InputValue(ctx, sel, &v)
  4200  }
  4201  
  4202  func (ec *executionContext) marshalN__InputValue2ᚕgithubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚋintrospectionᚐInputValueᚄ(ctx context.Context, sel ast.SelectionSet, v []introspection.InputValue) graphql.Marshaler {
  4203  	ret := make(graphql.Array, len(v))
  4204  	var wg sync.WaitGroup
  4205  	isLen1 := len(v) == 1
  4206  	if !isLen1 {
  4207  		wg.Add(len(v))
  4208  	}
  4209  	for i := range v {
  4210  		i := i
  4211  		fc := &graphql.FieldContext{
  4212  			Index:  &i,
  4213  			Result: &v[i],
  4214  		}
  4215  		ctx := graphql.WithFieldContext(ctx, fc)
  4216  		f := func(i int) {
  4217  			defer func() {
  4218  				if r := recover(); r != nil {
  4219  					ec.Error(ctx, ec.Recover(ctx, r))
  4220  					ret = nil
  4221  				}
  4222  			}()
  4223  			if !isLen1 {
  4224  				defer wg.Done()
  4225  			}
  4226  			ret[i] = ec.marshalN__InputValue2githubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚋintrospectionᚐInputValue(ctx, sel, v[i])
  4227  		}
  4228  		if isLen1 {
  4229  			f(i)
  4230  		} else {
  4231  			go f(i)
  4232  		}
  4233  
  4234  	}
  4235  	wg.Wait()
  4236  
  4237  	for _, e := range ret {
  4238  		if e == graphql.Null {
  4239  			return graphql.Null
  4240  		}
  4241  	}
  4242  
  4243  	return ret
  4244  }
  4245  
  4246  func (ec *executionContext) marshalN__Type2githubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚋintrospectionᚐType(ctx context.Context, sel ast.SelectionSet, v introspection.Type) graphql.Marshaler {
  4247  	return ec.___Type(ctx, sel, &v)
  4248  }
  4249  
  4250  func (ec *executionContext) marshalN__Type2ᚕgithubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚋintrospectionᚐTypeᚄ(ctx context.Context, sel ast.SelectionSet, v []introspection.Type) graphql.Marshaler {
  4251  	ret := make(graphql.Array, len(v))
  4252  	var wg sync.WaitGroup
  4253  	isLen1 := len(v) == 1
  4254  	if !isLen1 {
  4255  		wg.Add(len(v))
  4256  	}
  4257  	for i := range v {
  4258  		i := i
  4259  		fc := &graphql.FieldContext{
  4260  			Index:  &i,
  4261  			Result: &v[i],
  4262  		}
  4263  		ctx := graphql.WithFieldContext(ctx, fc)
  4264  		f := func(i int) {
  4265  			defer func() {
  4266  				if r := recover(); r != nil {
  4267  					ec.Error(ctx, ec.Recover(ctx, r))
  4268  					ret = nil
  4269  				}
  4270  			}()
  4271  			if !isLen1 {
  4272  				defer wg.Done()
  4273  			}
  4274  			ret[i] = ec.marshalN__Type2githubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚋintrospectionᚐType(ctx, sel, v[i])
  4275  		}
  4276  		if isLen1 {
  4277  			f(i)
  4278  		} else {
  4279  			go f(i)
  4280  		}
  4281  
  4282  	}
  4283  	wg.Wait()
  4284  
  4285  	for _, e := range ret {
  4286  		if e == graphql.Null {
  4287  			return graphql.Null
  4288  		}
  4289  	}
  4290  
  4291  	return ret
  4292  }
  4293  
  4294  func (ec *executionContext) marshalN__Type2ᚖgithubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚋintrospectionᚐType(ctx context.Context, sel ast.SelectionSet, v *introspection.Type) graphql.Marshaler {
  4295  	if v == nil {
  4296  		if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) {
  4297  			ec.Errorf(ctx, "the requested element is null which the schema does not allow")
  4298  		}
  4299  		return graphql.Null
  4300  	}
  4301  	return ec.___Type(ctx, sel, v)
  4302  }
  4303  
  4304  func (ec *executionContext) unmarshalN__TypeKind2string(ctx context.Context, v interface{}) (string, error) {
  4305  	res, err := graphql.UnmarshalString(v)
  4306  	return res, graphql.ErrorOnPath(ctx, err)
  4307  }
  4308  
  4309  func (ec *executionContext) marshalN__TypeKind2string(ctx context.Context, sel ast.SelectionSet, v string) graphql.Marshaler {
  4310  	res := graphql.MarshalString(v)
  4311  	if res == graphql.Null {
  4312  		if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) {
  4313  			ec.Errorf(ctx, "the requested element is null which the schema does not allow")
  4314  		}
  4315  	}
  4316  	return res
  4317  }
  4318  
  4319  func (ec *executionContext) unmarshalOBoolean2bool(ctx context.Context, v interface{}) (bool, error) {
  4320  	res, err := graphql.UnmarshalBoolean(v)
  4321  	return res, graphql.ErrorOnPath(ctx, err)
  4322  }
  4323  
  4324  func (ec *executionContext) marshalOBoolean2bool(ctx context.Context, sel ast.SelectionSet, v bool) graphql.Marshaler {
  4325  	res := graphql.MarshalBoolean(v)
  4326  	return res
  4327  }
  4328  
  4329  func (ec *executionContext) unmarshalOBoolean2ᚖbool(ctx context.Context, v interface{}) (*bool, error) {
  4330  	if v == nil {
  4331  		return nil, nil
  4332  	}
  4333  	res, err := graphql.UnmarshalBoolean(v)
  4334  	return &res, graphql.ErrorOnPath(ctx, err)
  4335  }
  4336  
  4337  func (ec *executionContext) marshalOBoolean2ᚖbool(ctx context.Context, sel ast.SelectionSet, v *bool) graphql.Marshaler {
  4338  	if v == nil {
  4339  		return graphql.Null
  4340  	}
  4341  	res := graphql.MarshalBoolean(*v)
  4342  	return res
  4343  }
  4344  
  4345  func (ec *executionContext) marshalOExecutorMeta2ᚖgithubᚗcomᚋkubeshopᚋtestkubeᚋpkgᚋapiᚋv1ᚋtestkubeᚐExecutorMeta(ctx context.Context, sel ast.SelectionSet, v *testkube.ExecutorMeta) graphql.Marshaler {
  4346  	if v == nil {
  4347  		return graphql.Null
  4348  	}
  4349  	return ec._ExecutorMeta(ctx, sel, v)
  4350  }
  4351  
  4352  func (ec *executionContext) marshalOLocalObjectReference2ᚕgithubᚗcomᚋkubeshopᚋtestkubeᚋpkgᚋapiᚋv1ᚋtestkubeᚐLocalObjectReferenceᚄ(ctx context.Context, sel ast.SelectionSet, v []testkube.LocalObjectReference) graphql.Marshaler {
  4353  	if v == nil {
  4354  		return graphql.Null
  4355  	}
  4356  	ret := make(graphql.Array, len(v))
  4357  	var wg sync.WaitGroup
  4358  	isLen1 := len(v) == 1
  4359  	if !isLen1 {
  4360  		wg.Add(len(v))
  4361  	}
  4362  	for i := range v {
  4363  		i := i
  4364  		fc := &graphql.FieldContext{
  4365  			Index:  &i,
  4366  			Result: &v[i],
  4367  		}
  4368  		ctx := graphql.WithFieldContext(ctx, fc)
  4369  		f := func(i int) {
  4370  			defer func() {
  4371  				if r := recover(); r != nil {
  4372  					ec.Error(ctx, ec.Recover(ctx, r))
  4373  					ret = nil
  4374  				}
  4375  			}()
  4376  			if !isLen1 {
  4377  				defer wg.Done()
  4378  			}
  4379  			ret[i] = ec.marshalNLocalObjectReference2githubᚗcomᚋkubeshopᚋtestkubeᚋpkgᚋapiᚋv1ᚋtestkubeᚐLocalObjectReference(ctx, sel, v[i])
  4380  		}
  4381  		if isLen1 {
  4382  			f(i)
  4383  		} else {
  4384  			go f(i)
  4385  		}
  4386  
  4387  	}
  4388  	wg.Wait()
  4389  
  4390  	for _, e := range ret {
  4391  		if e == graphql.Null {
  4392  			return graphql.Null
  4393  		}
  4394  	}
  4395  
  4396  	return ret
  4397  }
  4398  
  4399  func (ec *executionContext) unmarshalOString2string(ctx context.Context, v interface{}) (string, error) {
  4400  	res, err := graphql.UnmarshalString(v)
  4401  	return res, graphql.ErrorOnPath(ctx, err)
  4402  }
  4403  
  4404  func (ec *executionContext) marshalOString2string(ctx context.Context, sel ast.SelectionSet, v string) graphql.Marshaler {
  4405  	res := graphql.MarshalString(v)
  4406  	return res
  4407  }
  4408  
  4409  func (ec *executionContext) unmarshalOString2ᚕstringᚄ(ctx context.Context, v interface{}) ([]string, error) {
  4410  	if v == nil {
  4411  		return nil, nil
  4412  	}
  4413  	var vSlice []interface{}
  4414  	if v != nil {
  4415  		vSlice = graphql.CoerceList(v)
  4416  	}
  4417  	var err error
  4418  	res := make([]string, len(vSlice))
  4419  	for i := range vSlice {
  4420  		ctx := graphql.WithPathContext(ctx, graphql.NewPathWithIndex(i))
  4421  		res[i], err = ec.unmarshalNString2string(ctx, vSlice[i])
  4422  		if err != nil {
  4423  			return nil, err
  4424  		}
  4425  	}
  4426  	return res, nil
  4427  }
  4428  
  4429  func (ec *executionContext) marshalOString2ᚕstringᚄ(ctx context.Context, sel ast.SelectionSet, v []string) graphql.Marshaler {
  4430  	if v == nil {
  4431  		return graphql.Null
  4432  	}
  4433  	ret := make(graphql.Array, len(v))
  4434  	for i := range v {
  4435  		ret[i] = ec.marshalNString2string(ctx, sel, v[i])
  4436  	}
  4437  
  4438  	for _, e := range ret {
  4439  		if e == graphql.Null {
  4440  			return graphql.Null
  4441  		}
  4442  	}
  4443  
  4444  	return ret
  4445  }
  4446  
  4447  func (ec *executionContext) unmarshalOString2ᚖstring(ctx context.Context, v interface{}) (*string, error) {
  4448  	if v == nil {
  4449  		return nil, nil
  4450  	}
  4451  	res, err := graphql.UnmarshalString(v)
  4452  	return &res, graphql.ErrorOnPath(ctx, err)
  4453  }
  4454  
  4455  func (ec *executionContext) marshalOString2ᚖstring(ctx context.Context, sel ast.SelectionSet, v *string) graphql.Marshaler {
  4456  	if v == nil {
  4457  		return graphql.Null
  4458  	}
  4459  	res := graphql.MarshalString(*v)
  4460  	return res
  4461  }
  4462  
  4463  func (ec *executionContext) unmarshalOStringMap2map(ctx context.Context, v interface{}) (map[string]string, error) {
  4464  	if v == nil {
  4465  		return nil, nil
  4466  	}
  4467  	res, err := scalars.UnmarshalStringMapScalar(v)
  4468  	return res, graphql.ErrorOnPath(ctx, err)
  4469  }
  4470  
  4471  func (ec *executionContext) marshalOStringMap2map(ctx context.Context, sel ast.SelectionSet, v map[string]string) graphql.Marshaler {
  4472  	if v == nil {
  4473  		return graphql.Null
  4474  	}
  4475  	res := scalars.MarshalStringMapScalar(v)
  4476  	return res
  4477  }
  4478  
  4479  func (ec *executionContext) marshalO__EnumValue2ᚕgithubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚋintrospectionᚐEnumValueᚄ(ctx context.Context, sel ast.SelectionSet, v []introspection.EnumValue) graphql.Marshaler {
  4480  	if v == nil {
  4481  		return graphql.Null
  4482  	}
  4483  	ret := make(graphql.Array, len(v))
  4484  	var wg sync.WaitGroup
  4485  	isLen1 := len(v) == 1
  4486  	if !isLen1 {
  4487  		wg.Add(len(v))
  4488  	}
  4489  	for i := range v {
  4490  		i := i
  4491  		fc := &graphql.FieldContext{
  4492  			Index:  &i,
  4493  			Result: &v[i],
  4494  		}
  4495  		ctx := graphql.WithFieldContext(ctx, fc)
  4496  		f := func(i int) {
  4497  			defer func() {
  4498  				if r := recover(); r != nil {
  4499  					ec.Error(ctx, ec.Recover(ctx, r))
  4500  					ret = nil
  4501  				}
  4502  			}()
  4503  			if !isLen1 {
  4504  				defer wg.Done()
  4505  			}
  4506  			ret[i] = ec.marshalN__EnumValue2githubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚋintrospectionᚐEnumValue(ctx, sel, v[i])
  4507  		}
  4508  		if isLen1 {
  4509  			f(i)
  4510  		} else {
  4511  			go f(i)
  4512  		}
  4513  
  4514  	}
  4515  	wg.Wait()
  4516  
  4517  	for _, e := range ret {
  4518  		if e == graphql.Null {
  4519  			return graphql.Null
  4520  		}
  4521  	}
  4522  
  4523  	return ret
  4524  }
  4525  
  4526  func (ec *executionContext) marshalO__Field2ᚕgithubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚋintrospectionᚐFieldᚄ(ctx context.Context, sel ast.SelectionSet, v []introspection.Field) graphql.Marshaler {
  4527  	if v == nil {
  4528  		return graphql.Null
  4529  	}
  4530  	ret := make(graphql.Array, len(v))
  4531  	var wg sync.WaitGroup
  4532  	isLen1 := len(v) == 1
  4533  	if !isLen1 {
  4534  		wg.Add(len(v))
  4535  	}
  4536  	for i := range v {
  4537  		i := i
  4538  		fc := &graphql.FieldContext{
  4539  			Index:  &i,
  4540  			Result: &v[i],
  4541  		}
  4542  		ctx := graphql.WithFieldContext(ctx, fc)
  4543  		f := func(i int) {
  4544  			defer func() {
  4545  				if r := recover(); r != nil {
  4546  					ec.Error(ctx, ec.Recover(ctx, r))
  4547  					ret = nil
  4548  				}
  4549  			}()
  4550  			if !isLen1 {
  4551  				defer wg.Done()
  4552  			}
  4553  			ret[i] = ec.marshalN__Field2githubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚋintrospectionᚐField(ctx, sel, v[i])
  4554  		}
  4555  		if isLen1 {
  4556  			f(i)
  4557  		} else {
  4558  			go f(i)
  4559  		}
  4560  
  4561  	}
  4562  	wg.Wait()
  4563  
  4564  	for _, e := range ret {
  4565  		if e == graphql.Null {
  4566  			return graphql.Null
  4567  		}
  4568  	}
  4569  
  4570  	return ret
  4571  }
  4572  
  4573  func (ec *executionContext) marshalO__InputValue2ᚕgithubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚋintrospectionᚐInputValueᚄ(ctx context.Context, sel ast.SelectionSet, v []introspection.InputValue) graphql.Marshaler {
  4574  	if v == nil {
  4575  		return graphql.Null
  4576  	}
  4577  	ret := make(graphql.Array, len(v))
  4578  	var wg sync.WaitGroup
  4579  	isLen1 := len(v) == 1
  4580  	if !isLen1 {
  4581  		wg.Add(len(v))
  4582  	}
  4583  	for i := range v {
  4584  		i := i
  4585  		fc := &graphql.FieldContext{
  4586  			Index:  &i,
  4587  			Result: &v[i],
  4588  		}
  4589  		ctx := graphql.WithFieldContext(ctx, fc)
  4590  		f := func(i int) {
  4591  			defer func() {
  4592  				if r := recover(); r != nil {
  4593  					ec.Error(ctx, ec.Recover(ctx, r))
  4594  					ret = nil
  4595  				}
  4596  			}()
  4597  			if !isLen1 {
  4598  				defer wg.Done()
  4599  			}
  4600  			ret[i] = ec.marshalN__InputValue2githubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚋintrospectionᚐInputValue(ctx, sel, v[i])
  4601  		}
  4602  		if isLen1 {
  4603  			f(i)
  4604  		} else {
  4605  			go f(i)
  4606  		}
  4607  
  4608  	}
  4609  	wg.Wait()
  4610  
  4611  	for _, e := range ret {
  4612  		if e == graphql.Null {
  4613  			return graphql.Null
  4614  		}
  4615  	}
  4616  
  4617  	return ret
  4618  }
  4619  
  4620  func (ec *executionContext) marshalO__Schema2ᚖgithubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚋintrospectionᚐSchema(ctx context.Context, sel ast.SelectionSet, v *introspection.Schema) graphql.Marshaler {
  4621  	if v == nil {
  4622  		return graphql.Null
  4623  	}
  4624  	return ec.___Schema(ctx, sel, v)
  4625  }
  4626  
  4627  func (ec *executionContext) marshalO__Type2ᚕgithubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚋintrospectionᚐTypeᚄ(ctx context.Context, sel ast.SelectionSet, v []introspection.Type) graphql.Marshaler {
  4628  	if v == nil {
  4629  		return graphql.Null
  4630  	}
  4631  	ret := make(graphql.Array, len(v))
  4632  	var wg sync.WaitGroup
  4633  	isLen1 := len(v) == 1
  4634  	if !isLen1 {
  4635  		wg.Add(len(v))
  4636  	}
  4637  	for i := range v {
  4638  		i := i
  4639  		fc := &graphql.FieldContext{
  4640  			Index:  &i,
  4641  			Result: &v[i],
  4642  		}
  4643  		ctx := graphql.WithFieldContext(ctx, fc)
  4644  		f := func(i int) {
  4645  			defer func() {
  4646  				if r := recover(); r != nil {
  4647  					ec.Error(ctx, ec.Recover(ctx, r))
  4648  					ret = nil
  4649  				}
  4650  			}()
  4651  			if !isLen1 {
  4652  				defer wg.Done()
  4653  			}
  4654  			ret[i] = ec.marshalN__Type2githubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚋintrospectionᚐType(ctx, sel, v[i])
  4655  		}
  4656  		if isLen1 {
  4657  			f(i)
  4658  		} else {
  4659  			go f(i)
  4660  		}
  4661  
  4662  	}
  4663  	wg.Wait()
  4664  
  4665  	for _, e := range ret {
  4666  		if e == graphql.Null {
  4667  			return graphql.Null
  4668  		}
  4669  	}
  4670  
  4671  	return ret
  4672  }
  4673  
  4674  func (ec *executionContext) marshalO__Type2ᚖgithubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚋintrospectionᚐType(ctx context.Context, sel ast.SelectionSet, v *introspection.Type) graphql.Marshaler {
  4675  	if v == nil {
  4676  		return graphql.Null
  4677  	}
  4678  	return ec.___Type(ctx, sel, v)
  4679  }
  4680  
  4681  // endregion ***************************** type.gotpl *****************************