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

Gdamore/sub api #1924

Merged
merged 3 commits into from
Nov 11, 2024
Merged

Gdamore/sub api #1924

merged 3 commits into from
Nov 11, 2024

Conversation

gdamore
Copy link
Contributor

@gdamore gdamore commented Nov 9, 2024

fixes #

Note that the above format should be used in your git commit comments.
You agree that by submitting a PR, you have read and agreed to our
contributing guidelines.

These functions were added in the main branch for NNG 2.0, and
we add them here to facilitate converting any code that happened
to use the options (`NNG_OPT_PROTO`, `NNG_OPT_PROTONAME`,
`NNG_OPT_PEER`, `NNG_OPT_PEERNAME`, and `NNG_OPT_RAW`.

Its unlikely that many applications need this, but providing these
as a transition aid may help applications start adopting new APIs now.
These are new functions that replace `NNG_OPT_SUBSCRIBE` and
`NNG_OPT_UNSUBSCRIBE`.  They are provided here as a transition
aid before those options are removed in NNG 2.0.
Copy link

codecov bot commented Nov 9, 2024

Codecov Report

Attention: Patch coverage is 80.45977% with 17 lines in your changes missing coverage. Please review.

Project coverage is 79.54%. Comparing base (4cf963e) to head (144afd9).
Report is 4 commits behind head on stable.

Files with missing lines Patch % Lines
src/sp/protocol/pubsub0/sub.c 72.72% 12 Missing ⚠️
src/nng.c 85.71% 5 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           stable    #1924      +/-   ##
==========================================
+ Coverage   78.10%   79.54%   +1.44%     
==========================================
  Files          93       95       +2     
  Lines       20657    21716    +1059     
==========================================
+ Hits        16134    17275    +1141     
+ Misses       4523     4441      -82     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@gdamore gdamore merged commit 3163a56 into stable Nov 11, 2024
16 checks passed
@gdamore gdamore deleted the gdamore/sub-api branch November 11, 2024 18:33
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.

1 participant