Merged
Conversation
|
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## master #874 +/- ##
==========================================
- Coverage 73.14% 73.13% -0.01%
==========================================
Files 64 64
Lines 7365 7366 +1
==========================================
Hits 5387 5387
- Misses 1978 1979 +1 🚀 New features to boost your workflow:
|
Member
szokeasaurusrex
left a comment
There was a problem hiding this comment.
Nice! Just a few questions:
- How is this new type supposed to be used? Does not look like we are using it in the SDK, is it something that users are just supposed to know how to set? Or, does the
into_context!stuff take care of setting it? - Do we anticipate ever needing to add more fields to this struct?
Member
Author
I'll make a PR on top of this to use this in the Actix Web integration. |
szokeasaurusrex
approved these changes
Jul 31, 2025
Member
szokeasaurusrex
left a comment
There was a problem hiding this comment.
Lgtm, maybe you could add an example to the changelog, though!
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds the
Reponsecontext, which can be attached to events.The implementation is adapted directly from the one in Relay, minus the
inferred_content_type, which as documented here can technically be sent by SDKs but will always be overridden by Relay.Part of #873