Skip to content
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

Merged
merged 8 commits into from
Dec 1, 2022
Merged

Conversation

KhudaDad414
Copy link
Member

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.

  • glee will support multiple messages in channels.
  • the glee types will be available for typescript projects.

@coveralls
Copy link

coveralls commented Nov 28, 2022

Pull Request Test Coverage Report for Build 3574061757

Warning: 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.
To ensure accuracy in future PRs, please see these guidelines.
A quick fix for this PR: rebase it; your next report should be accurate.

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 87.321%

Totals Coverage Status
Change from base Build 3563180767: 0.0%
Covered Lines: 286
Relevant Lines: 310

💛 - Coveralls

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 })
Copy link
Member

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.

src/index.ts Outdated Show resolved Hide resolved
src/index.ts Outdated Show resolved Hide resolved
src/lib/configs.ts Outdated Show resolved Hide resolved
src/lib/lifecycleEvents.ts Outdated Show resolved Hide resolved
@sonarcloud
Copy link

sonarcloud bot commented Nov 29, 2022

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

Copy link
Member

@fmvilas fmvilas left a 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.

@KhudaDad414
Copy link
Member Author

/rtm

@asyncapi-bot asyncapi-bot merged commit b4e3d9e into asyncapi:master Dec 1, 2022
@asyncapi-bot
Copy link
Contributor

🎉 This PR is included in version 0.11.2 🎉

The release is available on:

Your semantic-release bot 📦🚀

Ruchip16 pushed a commit to Ruchip16/glee that referenced this pull request Jan 12, 2023
@coveralls
Copy link

coveralls commented Nov 24, 2024

Pull Request Test Coverage Report for Build 3572416881

Warning: 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

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 87.321%

Totals Coverage Status
Change from base Build 3563180767: 0.0%
Covered Lines: 286
Relevant Lines: 310

💛 - Coveralls

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants