feat: enable data filtering for batches#1245
feat: enable data filtering for batches#1245jaissica12 wants to merge 11 commits intodevelopmentfrom
Conversation
PR SummaryMedium Risk Overview Filtering logic previously inlined in Reviewed by Cursor Bugbot for commit 55c561f. Bugbot is set up for automated code reviews on this repo. Configure here. |
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, have a team admin enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit 49e0cc8. Configure here.
|



Background
What Has Changed
sendBatchToForwardersthat already exist insendEventToForwarders: attribute forwarding rules, event name/type filters, event attribute filters, user identity filters, and user attribute filtersisBlockedByForwardingRule,isBlockedByEventFilter,filterEventAttributes,filterUserIdentities) from inline code insendEventToForwardersso both event and batch paths reuse the same logicsdkToEventsApiConverter.ts(getMessageTypeFromEventType,getEventCategoryFromCustomEventType,getIdentityTypeFromBatchKey,getEventNameFromBatchEvent) to translate batch snake_case fields back to SDK numeric types needed by the filter functionsScreenshots/Video
Checklist
Additional Notes
Reference Issue (For employees only. Ignore if you are an outside contributor)