Skip to content

feat(sentry-types): Add Envelope::into_items method#983

Draft
szokeasaurusrex wants to merge 1 commit intomasterfrom
szokeasaurusrex/envelope-into_items
Draft

feat(sentry-types): Add Envelope::into_items method#983
szokeasaurusrex wants to merge 1 commit intomasterfrom
szokeasaurusrex/envelope-into_items

Conversation

@szokeasaurusrex
Copy link
Member

Add a new method called into_items to the Envelope type. This method is similar to the existing items method, except that it yields owned EnvelopeItems rather than references.

Also, refactor a test where we can use this new method to avoid a clone.

I intend to use this method elsewhere in the future, that is why I am adding it.

@github-actions
Copy link

github-actions bot commented Feb 5, 2026

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

Generated by 🚫 dangerJS against 5e15229

Add a new method called `into_items` to the `Envelope` type. This method is similar to the existing `items` method, except that it yields owned `EnvelopeItem`s rather than references.

Also, refactor a test where we can use this new method to avoid a clone.

I intend to use this method elsewhere in the future, that is why I am adding it.
@szokeasaurusrex szokeasaurusrex force-pushed the szokeasaurusrex/envelope-into_items branch from 7bad21d to 5e15229 Compare February 5, 2026 13:51
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.

1 participant