-
Notifications
You must be signed in to change notification settings - Fork 1
Don't destructure events when handling program triggers #475
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
This PR removes unnecessary destructuring of event objects when handling program triggers, simplifying the code by passing the entire event object directly instead of manually selecting specific properties.
Key Changes:
- Simplified event handling by removing manual property selection in trigger contexts
- Added trailing commas to function parameters for consistency with code style
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.
This commit was generated by GitHub Actions CI
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.
This commit was generated by GitHub Actions CI
Description of the change
Type of change
Links
Checklists
Development
Paperwork
Code review