-
Notifications
You must be signed in to change notification settings - Fork 581
chore: consistent and typed use of instrumentation config #2289
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
Merged
Merged
Changes from all commits
Commits
Show all changes
20 commits
Select commit
Hold shift + click to select a range
57821ba
refactor(amqplib): use generic instrumentation config type
blumamir 94822ed
chore: consistent and typed use of instrumentation config
blumamir fc30c2c
Merge remote-tracking branch 'upstream/main' into generic-inst-config
blumamir 54bd60a
fix(amqplib): read config on each invocation of interval
blumamir 90d816d
fix(graphql): ts error
blumamir 41844e9
fix(undici): tests
blumamir e95d342
chore: lint fix
blumamir 077fda6
Merge remote-tracking branch 'upstream/main' into generic-inst-config
blumamir 40dd1c7
fix(graphql): remove uneeded non-null assertion operator
blumamir 60b8519
fix(graphql): move public type to right file
blumamir e30acbb
Merge remote-tracking branch 'upstream/main' into generic-inst-config
blumamir 2c27388
Merge remote-tracking branch 'upstream/main' into generic-inst-config
blumamir 97a749c
chore: lint fix
blumamir 709b15c
Merge branch 'main' into generic-inst-config
trentm 551c93c
Merge branch 'main' into generic-inst-config
blumamir f81916f
Merge branch 'main' into generic-inst-config
blumamir 3e537b4
Merge branch 'main' into generic-inst-config
blumamir bb42029
Merge branch 'main' into generic-inst-config
blumamir 381b94a
Merge branch 'main' into generic-inst-config
blumamir 693bcf1
Merge branch 'main' into generic-inst-config
blumamir File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
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
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
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
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.
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.
reviewer note: I think using the spread operator is more idiomatic way to achieve the merge of those objects in modern js.
We were using a mix of these patterns in the codebase, and I choose to align all those usages to the above syntax.
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.
Sounds good to me.
FWIW (only if bored, or nerd-sniped), https://stackoverflow.com/a/48582976 was the best comparison of the two that I found.