Skip to content

Commit

Permalink
chore(workspace): document circular dependency workaround
Browse files Browse the repository at this point in the history
Added an explanatory comment detailing the specific circular dependency path to improve code readability and maintenance. This change does not affect functionality but aims to assist future developers in understanding the issue
  • Loading branch information
AMoreaux committed Dec 20, 2024
1 parent bef5132 commit 4400f5e
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ import { PostgresCredentials } from 'src/engine/core-modules/postgres-credential
import { WorkspaceSSOIdentityProvider } from 'src/engine/core-modules/sso/workspace-sso-identity-provider.entity';
import { UserWorkspace } from 'src/engine/core-modules/user-workspace/user-workspace.entity';
// This line is necessary to avoid a circular dependency issue. Need to deep dive
// ../app-token/app-token.entity.ts > ../user/user.entity.ts > ../key-value-pair/key-value-pair.entity.ts > workspace.entity.ts
// eslint-disable-next-line
import { User } from 'src/engine/core-modules/user/user.entity';

Expand Down

0 comments on commit 4400f5e

Please sign in to comment.