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

Removed Scope.Platform as it would never be applied. #2695

Merged
merged 2 commits into from
Oct 5, 2023

Conversation

jamescrosswell
Copy link
Collaborator

@jamescrosswell jamescrosswell commented Oct 4, 2023

closes #1590

The Platform property is set in the constructor of SentryEvent, Transaction and TransactionTracer so it would never be applied by the scope:

other.Platform ??= Platform;

As such, this has been removed from Scope and the IEventLike interface (which Scope implements). It now exists on both SentryEvent and ITransactionData (which is implemented by both Transaction and TransactionTracer).

@github-actions
Copy link
Contributor

github-actions bot commented Oct 4, 2023

Messages
📖 Do not forget to update Sentry-docs with your feature once the pull request gets approved.

Generated by 🚫 dangerJS against 0740bde

@jamescrosswell jamescrosswell marked this pull request as ready for review October 4, 2023 10:35
@jamescrosswell jamescrosswell added this to the 4.0.0 milestone Oct 4, 2023
@bitsandfoxes bitsandfoxes merged commit 82d90cb into feat/4.0.0 Oct 5, 2023
14 checks passed
@bitsandfoxes bitsandfoxes deleted the feat/4.0.0-remove-scope-platform branch October 5, 2023 11:26
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