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

Add table ID to row deletion requests that only contain string IDs #14601

Merged
merged 2 commits into from
Sep 19, 2024

Conversation

aptkingston
Copy link
Member

@aptkingston aptkingston commented Sep 18, 2024

Description

Fixes an issue where the row deletion trigger does not work when the bulk request rows endpoint is used with only string IDs. The endpoint accepts an array of either rows or row IDs, and when row IDs are passed they are not enriched enough to trigger row deletion automations, which depend on a table ID property being present.

This PR adds the table ID property to the enrich row objects created when only IDs are passed in.

Also added a test to cover this case.

Addresses

@aptkingston aptkingston marked this pull request as ready for review September 18, 2024 14:15
@aptkingston aptkingston requested a review from a team as a code owner September 18, 2024 14:15
@aptkingston aptkingston requested review from adrinr and removed request for a team September 18, 2024 14:15
Copy link
Collaborator

@samwho samwho left a comment

Choose a reason for hiding this comment

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

Great work, thanks for jumping on this <3

@aptkingston aptkingston merged commit 96f92b0 into master Sep 19, 2024
12 checks passed
@aptkingston aptkingston deleted the fix-row-delete-trigger branch September 19, 2024 12:01
@github-actions github-actions bot locked and limited conversation to collaborators Sep 19, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants