This repository was archived by the owner on Aug 13, 2025. It is now read-only.

Description
Overview
Make sure domain objects are consistently referencing other domain objects across the code base. For example, either go with:
export class Workflow {
....
@AutoMap()
bpiAccountId: string;
@AutoMap(() => BpiAccount)
bpiAccount: BpiAccount;
....
}
or with:
export class Workflow {
....
@AutoMap(() => BpiAccount)
bpiAccount: BpiAccount;
....
}
Second option is better if it works with Prisma as it reduces code duplication and room for err. Validate and implement