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

4747 create deleted listener on blocklist #5067

Merged
merged 21 commits into from
Apr 24, 2024

Conversation

bosiraphael
Copy link
Contributor

Closes #4747

@bosiraphael bosiraphael linked an issue Apr 19, 2024 that may be closed by this pull request
@bosiraphael bosiraphael marked this pull request as ready for review April 23, 2024 12:49
@bosiraphael bosiraphael requested a review from Weiko April 23, 2024 12:49
@@ -432,6 +433,12 @@ export class WorkspaceQueryRunnerService {
workspaceId,
objectMetadataItem,
);

const deletedBlocklistItem = await this.handleDeleteBlocklistItem(
Copy link
Member

Choose a reason for hiding this comment

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

Ideally we would like this in the deleteMany for API users but since this is a temporary implementation I guess it's fine!

@@ -615,4 +623,36 @@ export class WorkspaceQueryRunnerService {

return workspaceMemberResult.edges?.[0]?.node;
}

async handleDeleteBlocklistItem(
Copy link
Member

Choose a reason for hiding this comment

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

To replace with ObjectMetadataORM when implemented, LGTM for now!

bosiraphael and others added 3 commits April 24, 2024 14:07
@bosiraphael bosiraphael requested a review from Weiko April 24, 2024 13:47
@Weiko Weiko merged commit 0f47426 into main Apr 24, 2024
5 checks passed
@Weiko Weiko deleted the 4747-create-deleted-listener-on-blocklist branch April 24, 2024 14:10
arnavsaxena17 pushed a commit to arnavsaxena17/twenty that referenced this pull request Oct 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Create deleted listener on blocklist
2 participants