mirror of
https://github.com/twentyhq/twenty.git
synced 2024-12-22 11:31:39 +03:00
chore(workspace): document circular dependency workaround
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
This commit is contained in:
parent
bef51323fb
commit
4400f5e2c1
@ -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';
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user