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

[Search] Fix tests #7471

Merged
merged 1 commit into from
Oct 7, 2024
Merged

[Search] Fix tests #7471

merged 1 commit into from
Oct 7, 2024

Conversation

ijreilly
Copy link
Collaborator

@ijreilly ijreilly commented Oct 7, 2024

No description provided.

Copy link
Contributor

@greptile-apps greptile-apps bot left a comment

Choose a reason for hiding this comment

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

PR Summary

This pull request modifies the WorkspaceModule and WorkspaceService to use FeatureFlagService instead of directly accessing FeatureFlagEntity.

  • Removed FeatureFlagEntity from NestjsQueryTypeOrmModule in packages/twenty-server/src/engine/core-modules/workspace/workspace.module.ts
  • Updated packages/twenty-server/src/engine/core-modules/workspace/services/workspace.service.spec.ts to use FeatureFlagService instead of FeatureFlagEntity
  • Added FeatureFlagService provider in the test file, replacing the FeatureFlagEntity repository token
  • These changes align the workspace module with the FeatureFlagService architecture, potentially improving modularity and encapsulation

2 file(s) reviewed, no comment(s)
Edit PR Review Bot Settings

@thomtrp thomtrp merged commit 8b716f9 into main Oct 7, 2024
8 checks passed
@thomtrp thomtrp deleted the fix-feature-flag-service-import branch October 7, 2024 14:02
harshit078 pushed a commit to harshit078/twenty that referenced this pull request Oct 14, 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.

2 participants