Skip to content

fix(grouper): fix some ts errors - #581

Merged
neSpecc merged 1 commit into
masterfrom
fix-ts
Jul 29, 2026
Merged

fix(grouper): fix some ts errors#581
neSpecc merged 1 commit into
masterfrom
fix-ts

Conversation

@neSpecc

@neSpecc neSpecc commented Jul 29, 2026

Copy link
Copy Markdown
Member

Just fix for minor ts errors

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

This pull request addresses minor TypeScript type-safety issues in the grouper worker’s DataFilter, tightening object traversal and avoiding unsafe assumptions when walking arbitrary event fields.

Changes:

  • Strengthened recursive traversal typing in forAll (including null guarding) to avoid TS errors and unsafe recursion.
  • Tightened processField to accept unknown and early-return on non-object inputs, preventing invalid calls into the traversal.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@neSpecc
neSpecc merged commit 8149ae0 into master Jul 29, 2026
6 checks passed
@neSpecc
neSpecc deleted the fix-ts branch July 29, 2026 15:54
neSpecc added a commit that referenced this pull request Jul 29, 2026
Co-authored-by: Peter <specc.dev@gmail.com>
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