Skip to content

fix(utils): Update eventFromUnknownInput to avoid scope pollution & getCurrentHub #9868

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

Merged
merged 3 commits into from
Dec 15, 2023

Conversation

mydea
Copy link
Member

@mydea mydea commented Dec 15, 2023

Instead we can pass a client directly, and I refactored the method to avoid setting extra on the scope, and just set it on the event directly - as this is also kind of leaking right now, because the extra may also be applied to other events using the same scope.

Instead we can pass a client directly, and I refactored the method to avoid setting extra on the scope, and just set it on the event directly.
@mydea mydea requested review from lforst and AbhiPrasad December 15, 2023 13:14
@mydea mydea self-assigned this Dec 15, 2023
@mydea mydea merged commit 5bc9a38 into develop Dec 15, 2023
@mydea mydea deleted the fn/eventFromUnknownInput branch December 15, 2023 13:54
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