-
Notifications
You must be signed in to change notification settings - Fork 34
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
fix: named client events #472
Conversation
toddbaert
commented
Jun 29, 2023
- fixed issues where named client wouldnt get events from a default provider
28269a5
to
72717b9
Compare
@lukas-reining I think this is a bug. I found it doing some integration testing. The new tests failed without my change. We still need to transfer the "unbound" emitters when the default provider is changed, I think. Please take a look and make sure the solution makes sense to you. If you think we need additional changes, feel free to push more to this branch. I did this pretty quickly to prove out the problem, so there's possibly things that can be improved. |
8990897
to
cda86f5
Compare
* fixed issues where named client wouldnt get events from a default provider Signed-off-by: Todd Baert <todd.baert@dynatrace.com>
cda86f5
to
c26b421
Compare
Signed-off-by: Lukas Reining <lukas.reining@codecentric.de>
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.
Oh yes that is a problem.
Your solution looks good and makes sense.
Just refactored a bit and used getAndCacheEventEmitterForClient
when getting the emitters.
What do you think @toddbaert?
@lukas-reining that makes sense, and I very much like your refactors! |
🤖 I have created a release *beep* *boop* --- ## [0.0.6](shared-v0.0.5...shared-v0.0.6) (2023-07-04) ### Bug Fixes * named client events ([#472](#472)) ([fb69b9d](fb69b9d)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
🤖 I have created a release *beep* *boop* --- ## [0.3.6-experimental](web-sdk-v0.3.5-experimental...web-sdk-v0.3.6-experimental) (2023-07-04) ### Bug Fixes * named client events ([#472](#472)) ([fb69b9d](fb69b9d)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
🤖 I have created a release *beep* *boop* --- ## [1.3.2](js-sdk-v1.3.1...js-sdk-v1.3.2) (2023-07-04) ### Bug Fixes * named client events ([#472](#472)) ([fb69b9d](fb69b9d)) * various event handler issues ([1dd1e17](1dd1e17)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). Signed-off-by: Todd Baert <todd.baert@dynatrace.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Todd Baert <todd.baert@dynatrace.com>