-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Validate members once, in NewMember
#2522
Merged
MrAlias
merged 9 commits into
open-telemetry:main
from
dmathieu:validate-member-once-take-2
Feb 4, 2022
Merged
Validate members once, in NewMember
#2522
MrAlias
merged 9 commits into
open-telemetry:main
from
dmathieu:validate-member-once-take-2
Feb 4, 2022
Commits on Feb 4, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 521e305 - Browse repository at this point
Copy the full SHA 521e305View commit details -
Configuration menu - View commit details
-
Copy full SHA for b5e1d96 - Browse repository at this point
Copy the full SHA b5e1d96View commit details -
Configuration menu - View commit details
-
Copy full SHA for ef06555 - Browse repository at this point
Copy the full SHA ef06555View commit details -
Configuration menu - View commit details
-
Copy full SHA for 51fb015 - Browse repository at this point
Copy the full SHA 51fb015View commit details -
So by default, an empty struct really is marked as having no data
Configuration menu - View commit details
-
Copy full SHA for 3bcf764 - Browse repository at this point
Copy the full SHA 3bcf764View commit details -
Update baggage/baggage_test.go
Co-authored-by: Aaron Clawson <Aaron.Clawson@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for a4509ec - Browse repository at this point
Copy the full SHA a4509ecView commit details -
don't validate the member in parseMember, we alredy ran that validation
We also don't want to use NewMember, as that runs the property validation again, making the benchmark quite slower
Configuration menu - View commit details
-
Copy full SHA for 01c595b - Browse repository at this point
Copy the full SHA 01c595bView commit details -
Configuration menu - View commit details
-
Copy full SHA for e4c535f - Browse repository at this point
Copy the full SHA e4c535fView commit details -
Configuration menu - View commit details
-
Copy full SHA for b3d6bb7 - Browse repository at this point
Copy the full SHA b3d6bb7View commit details
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.