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

docs: retained message config example #967

Closed
wants to merge 2 commits into from
Closed

Conversation

MBerka
Copy link

@MBerka MBerka commented Jun 26, 2019

Initially, ran into a TypeScript compilation problem where {retain: true} would not compile (and provided an unhelpful "does not match the callback type" message) because it was missing the qos property and therefore not recognized as the IClientPublishOptions type. Wanted to add documentation for this niche, then found that the basic examples did not say much about defining remote broker paths via URL string. Add the responsibility of clearing the retained message on the test broker, and this is is the result.

Happy to adjust for clarity, or write about the TypeScript pitfall elsewhere if there is a better spot. Thanks!

Covers connecting via url string, TS options obj format
@codecov
Copy link

codecov bot commented Jun 26, 2019

Codecov Report

Patch coverage has no change and project coverage change: +0.10 🎉

Comparison is base (98e9a46) 93.63% compared to head (849d947) 93.73%.

❗ Current head 849d947 differs from pull request most recent head 9d01518. Consider uploading reports for the commit 9d01518 to get more accurate results

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #967      +/-   ##
==========================================
+ Coverage   93.63%   93.73%   +0.10%     
==========================================
  Files           8        8              
  Lines         942      942              
  Branches      249      249              
==========================================
+ Hits          882      883       +1     
+ Misses         60       59       -1     

see 1 file with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@robertsLando
Copy link
Member

If you wish to continue with this PR please remember to change destination branch from master to main 🙏🏼

@robertsLando robertsLando changed the title Retained message config example docs: retained message config example Jun 30, 2023
@MBerka
Copy link
Author

MBerka commented Sep 8, 2023

Not worth it for something that no one looked at for 3 years.

@robertsLando
Copy link
Member

@MBerka I started maintaining this PR so now I will check all issues/PR :)

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.

2 participants