MCPcopy Index your code
hub / github.com/git-bug/git-bug / Complexity

Method Complexity

api/graphql/graph/root_.generated.go:390–1785  ·  view source on GitHub ↗
(ctx context.Context, typeName, field string, childComplexity int, rawArgs map[string]any)

Source from the content-addressed store, hash-verified

388}
389
390func (e *executableSchema) Complexity(ctx context.Context, typeName, field string, childComplexity int, rawArgs map[string]any) (int, bool) {
391 ec := executionContext{nil, e, 0, 0, nil}
392 _ = ec
393 switch typeName + "." + field {
394
395 case "Bug.actors":
396 if e.complexity.Bug.Actors == nil {
397 break
398 }
399
400 args, err := ec.field_Bug_actors_args(ctx, rawArgs)
401 if err != nil {
402 return 0, false
403 }
404
405 return e.complexity.Bug.Actors(childComplexity, args["after"].(*string), args["before"].(*string), args["first"].(*int), args["last"].(*int)), true
406
407 case "Bug.author":
408 if e.complexity.Bug.Author == nil {
409 break
410 }
411
412 return e.complexity.Bug.Author(childComplexity), true
413
414 case "Bug.comments":
415 if e.complexity.Bug.Comments == nil {
416 break
417 }
418
419 args, err := ec.field_Bug_comments_args(ctx, rawArgs)
420 if err != nil {
421 return 0, false
422 }
423
424 return e.complexity.Bug.Comments(childComplexity, args["after"].(*string), args["before"].(*string), args["first"].(*int), args["last"].(*int)), true
425
426 case "Bug.createdAt":
427 if e.complexity.Bug.CreatedAt == nil {
428 break
429 }
430
431 return e.complexity.Bug.CreatedAt(childComplexity), true
432
433 case "Bug.humanId":
434 if e.complexity.Bug.HumanID == nil {
435 break
436 }
437
438 return e.complexity.Bug.HumanID(childComplexity), true
439
440 case "Bug.id":
441 if e.complexity.Bug.Id == nil {
442 break
443 }
444
445 return e.complexity.Bug.Id(childComplexity), true
446
447 case "Bug.labels":

Callers

nothing calls this directly

Tested by

no test coverage detected