MCPcopy Create free account
hub / github.com/git-bug/git-bug / fieldContext_Bug_id

Method fieldContext_Bug_id

api/graphql/graph/bug.generated.go:561–572  ·  view source on GitHub ↗
(_ context.Context, field graphql.CollectedField)

Source from the content-addressed store, hash-verified

559}
560
561func (ec *executionContext) fieldContext_Bug_id(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
562 fc = &graphql.FieldContext{
563 Object: "Bug",
564 Field: field,
565 IsMethod: true,
566 IsResolver: false,
567 Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
568 return nil, errors.New("field of type ID does not have child fields")
569 },
570 }
571 return fc, nil
572}
573
574func (ec *executionContext) _Bug_humanId(ctx context.Context, field graphql.CollectedField, obj models.BugWrapper) (ret graphql.Marshaler) {
575 fc, err := ec.fieldContext_Bug_humanId(ctx, field)

Calls 1

NewMethod · 0.45

Tested by

no test coverage detected