-
-
Notifications
You must be signed in to change notification settings - Fork 62
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: make some improvements #363
Conversation
Pull Request Test Coverage Report for Build 3574061757Warning: This coverage report may be inaccurate.We've detected an issue with your CI configuration that might affect the accuracy of this pull request's coverage report.
💛 - Coveralls |
src/adapters/ws/index.ts
Outdated
this.emit('message', msg, ws) | ||
}) | ||
|
||
this.emit('server:connection:open', { name: this.name(), adapter: this, connection: ws, channel: pathname, request }) | ||
}) | ||
|
||
this.emit('connect', { name: this.name(), adapter: this, connection: ws, channel: pathname }) |
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.
We should get rid of this connect
event. As per documentation, connect
is only triggered when Glee is a client but in this case it behaves as a server.
Co-authored-by: Fran Méndez <[email protected]>
Co-authored-by: Fran Méndez <[email protected]>
Co-authored-by: Fran Méndez <[email protected]>
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
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 👍
Pinging @Souvikns @sudoshreyansh @Ruchip16 @atharvagadkari05 too in case they want to review.
/rtm |
🎉 This PR is included in version 0.11.2 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Pull Request Test Coverage Report for Build 3572416881Warning: This coverage report may be inaccurate.This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.
Details
💛 - Coveralls |
Description
I was working on an example project to get myself familiarize with glee I think these changes will fix a few bugs and make some improvements.