Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BC-8460 - Solve circular imports in board collaboration module #5359

Merged
merged 9 commits into from
Nov 27, 2024

Conversation

bischofmax
Copy link
Contributor

@bischofmax bischofmax commented Nov 27, 2024

Description

Links to Tickets or other pull requests

Changes

Datasecurity

Deployment

New Repos, NPM pakages or vendor scripts

Approval for review

  • DEV: If api was changed - generate-client:server was executed in vue frontend and changes were tested and put in a PR with the same branch name.
  • QA: In addition to review, the code has been manually tested (if manual testing is possible)
  • All points were discussed with the ticket creator, support-team or product owner. The code upholds all quality guidelines from the PR-template.

Notice: Please remove the WIP label if the PR is ready to review, otherwise nobody will review it.

@bischofmax bischofmax self-assigned this Nov 27, 2024
@bischofmax bischofmax changed the title BC-8460 - Fix resolving modules BC-8460 - Solve circular imports in board collaboration module Nov 27, 2024
import { LoggerModule } from '@src/core/logger';
import { RoomMemberModule } from '../room-member';
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Der Import verlässt das Module und muss mit @modules/room-member geschrieben werden.

import { createConfigModuleOptions, DB_PASSWORD, DB_URL, DB_USERNAME } from '@src/config';
import { CoreModule } from '@src/core';
import { RabbitMQWrapperModule } from '@src/infra/rabbitmq';
import { defaultMikroOrmOptions } from '@shared/common';
import { AuthenticationApiModule } from '../authentication/authentication-api.module';
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ modules

import { AuthorizationModule } from '../authorization';
import { serverConfig } from '../server';
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ modules ...aber kann im Kontext des TestHelper umbau auch raus.

imports: [
...imports,
ConfigModule.forRoot(createConfigModuleOptions(testConfig)),
AuthenticationApiModule,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Muss mit TestHelper Umbau wieder raus.

import { roomMemberFactory } from '@src/modules/room-member/testing';
import { columnFactory, columnBoardFactory } from '../../testing';
import { roomFactory } from '@src/modules/room/testing';
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@modules Zeile 8-10

@@ -12,8 +12,8 @@ import { ToolConfigurationStatusService } from './service/tool-configuration-sta

@Module({
imports: [
forwardRef(() => CommonToolModule),
forwardRef(() => ExternalToolModule),
CommonToolModule,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Uiii ich hoffe das geht gut. :D

@CeEv CeEv self-requested a review November 27, 2024 15:34
@CeEv CeEv merged commit 4b26336 into main Nov 27, 2024
75 checks passed
@CeEv CeEv deleted the BC-8460-fix-resolving-modules branch November 27, 2024 15:34
wolfganggreschus pushed a commit that referenced this pull request Nov 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants