-
Notifications
You must be signed in to change notification settings - Fork 2
Make {Trace|Span}ID conform to Collection
#19
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
And remove `bytes`
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #19 +/- ##
==========================================
+ Coverage 99.50% 99.54% +0.04%
==========================================
Files 6 6
Lines 402 442 +40
==========================================
+ Hits 400 440 +40
Misses 2 2 ☔ View full report in Codecov by Sentry. |
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.
LGTM 👍 I agree that this feels even better than the previous approach. Could you please run the soundness script on the PR? Then it should work on CI as well.
I am still not sure if we really want |
Wouldn't this cause an allocation when accessing the bytes by creating an instance of the struct wrapper? |
I think I found a way to make #18 nicer |
Cool! Please ping me on the other PR once there's something new to review 🙏 |
And remove
bytes
.Alternative to #18
Avoids a bunch of code and should yield the same results and be even easier to use. Still need to run the benchmark.