(ctx context.Context, client *ent.Client, orgID uuid.UUID, contractID *uuid.UUID, name *string, opts ...biz.ContractQueryOpt)
| 423 | } |
| 424 | |
| 425 | func contractInOrg(ctx context.Context, client *ent.Client, orgID uuid.UUID, contractID *uuid.UUID, name *string, opts ...biz.ContractQueryOpt) (*ent.WorkflowContract, error) { |
| 426 | return contractInOrgQuery(ctx, client.Organization.Query(), orgID, contractID, name, opts...) |
| 427 | } |
| 428 | |
| 429 | // It can be loaded via by ID or name |
| 430 | func contractInOrgQuery(ctx context.Context, q *ent.OrganizationQuery, orgID uuid.UUID, contractID *uuid.UUID, name *string, opts ...biz.ContractQueryOpt) (*ent.WorkflowContract, error) { |
no test coverage detected