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

feat: nolocal flag support for bridges #737

Merged
merged 14 commits into from
May 12, 2022
Merged

Conversation

oldrich-s
Copy link
Contributor

@robertsLando robertsLando changed the title Fixes "Nolocal flag for bridges is not respected" fix: nolocal flag for bridges is not respected Apr 26, 2022
lib/handlers/subscribe.js Show resolved Hide resolved
lib/client.js Outdated Show resolved Hide resolved
@robertsLando
Copy link
Member

robertsLando commented Apr 26, 2022

Also please add a unit test that covers this and fix broken tests

@robertsLando
Copy link
Member

@gnought Opinions on this one?

@coveralls
Copy link

Pull Request Test Coverage Report for Build 2232406743

  • 0 of 13 (100.0%) changed or added relevant lines in 3 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage decreased (-0.2%) to 99.736%

Totals Coverage Status
Change from base Build 2231280775: -0.2%
Covered Lines: 808
Relevant Lines: 808

💛 - Coveralls

@coveralls
Copy link

coveralls commented Apr 27, 2022

Pull Request Test Coverage Report for Build 2312799555

  • 13 of 13 (100.0%) changed or added relevant lines in 3 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage decreased (-0.09%) to 99.824%

Totals Coverage Status
Change from base Build 2231280775: -0.09%
Covered Lines: 808
Relevant Lines: 808

💛 - Coveralls

Copy link
Member

@robertsLando robertsLando left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Thanks for this PR @oldrich-s ! Is it ready to merge?

test/bridge.js Outdated Show resolved Hide resolved
@oldrich-s
Copy link
Contributor Author

LGTM. Thanks for this PR @oldrich-s ! Is it ready to merge?

I have just added qos 1 test (just to be sure that persistence works as expected). But otherwise I believe it is ready to be merged.

test/bridge.js Outdated Show resolved Hide resolved
lib/client.js Show resolved Hide resolved
test/bridge.js Show resolved Hide resolved
oldrich-s and others added 4 commits May 12, 2022 12:20
Co-authored-by: Daniel Lando <daniel.sorridi@gmail.com>
Co-authored-by: Daniel Lando <daniel.sorridi@gmail.com>
Copy link
Member

@robertsLando robertsLando left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Good to merge?

@oldrich-s
Copy link
Contributor Author

LGTM. Good to merge?

yeps 👍

@robertsLando robertsLando changed the title fix: nolocal flag for bridges is not respected feat: nolocal flag support for bridges May 12, 2022
@robertsLando robertsLando merged commit f82b8f8 into moscajs:main May 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants