MCPcopy Create free account
hub / github.com/encoder-run/operator / fieldContext_Model_id

Method fieldContext_Model_id

pkg/graph/generated.go:1404–1415  ·  view source on GitHub ↗
(ctx context.Context, field graphql.CollectedField)

Source from the content-addressed store, hash-verified

1402}
1403
1404func (ec *executionContext) fieldContext_Model_id(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) {
1405 fc = &graphql.FieldContext{
1406 Object: "Model",
1407 Field: field,
1408 IsMethod: false,
1409 IsResolver: false,
1410 Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) {
1411 return nil, errors.New("field of type ID does not have child fields")
1412 },
1413 }
1414 return fc, nil
1415}
1416
1417func (ec *executionContext) _Model_type(ctx context.Context, field graphql.CollectedField, obj *model.Model) (ret graphql.Marshaler) {
1418 fc, err := ec.fieldContext_Model_type(ctx, field)

Calls

no outgoing calls

Tested by

no test coverage detected