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

Deprecate onSubscribe() in favor or onSubscription() #563

Merged
merged 4 commits into from
May 17, 2021

Conversation

jponge
Copy link
Member

@jponge jponge commented May 17, 2021

No description provided.

@jponge jponge linked an issue May 17, 2021 that may be closed by this pull request
@jponge jponge added this to the 0.18.0 milestone May 17, 2021
@jponge jponge requested a review from cescoffier May 17, 2021 09:34
implementation/src/main/java/io/smallrye/mutiny/Uni.java Outdated Show resolved Hide resolved
implementation/src/main/java/io/smallrye/mutiny/Multi.java Outdated Show resolved Hide resolved
@@ -22,9 +22,9 @@
*
* <pre>
Copy link
Contributor

Choose a reason for hiding this comment

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

should we rename this class to UniOnSubscription?

Copy link
Member Author

Choose a reason for hiding this comment

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

That'd break runtime compatibility.

@@ -22,9 +22,9 @@
*
Copy link
Contributor

Choose a reason for hiding this comment

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

should we rename this class to MultiOnSubscription?

Copy link
Member Author

Choose a reason for hiding this comment

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

That'd break runtime compatibility.

@codecov
Copy link

codecov bot commented May 17, 2021

Codecov Report

Merging #563 (6b72813) into main (5378833) will increase coverage by 0.39%.
The diff coverage is 50.00%.

❗ Current head 6b72813 differs from pull request most recent head e0a7d82. Consider uploading reports for the commit e0a7d82 to get more accurate results
Impacted file tree graph

@@             Coverage Diff              @@
##               main     #563      +/-   ##
============================================
+ Coverage     89.67%   90.06%   +0.39%     
- Complexity     2915     2929      +14     
============================================
  Files           380      380              
  Lines         11513    11515       +2     
  Branches       1450     1452       +2     
============================================
+ Hits          10324    10371      +47     
+ Misses          610      588      -22     
+ Partials        579      556      -23     
Impacted Files Coverage Δ Complexity Δ
...tation/src/main/java/io/smallrye/mutiny/Multi.java 100.00% <ø> (ø) 14.00 <0.00> (ø)
...entation/src/main/java/io/smallrye/mutiny/Uni.java 96.29% <ø> (ø) 22.00 <0.00> (ø)
...va/io/smallrye/mutiny/groups/MultiOnSubscribe.java 100.00% <ø> (ø) 7.00 <0.00> (ø)
...java/io/smallrye/mutiny/groups/UniOnSubscribe.java 100.00% <ø> (ø) 7.00 <0.00> (ø)
...ain/java/io/smallrye/mutiny/helpers/spies/Spy.java 100.00% <ø> (ø) 23.00 <0.00> (ø)
...va/io/smallrye/mutiny/operators/AbstractMulti.java 97.29% <0.00%> (-2.71%) 29.00 <0.00> (ø)
...java/io/smallrye/mutiny/operators/AbstractUni.java 90.00% <0.00%> (-3.11%) 22.00 <0.00> (ø)
...e/mutiny/subscription/UniSerializedSubscriber.java 92.00% <ø> (ø) 14.00 <0.00> (ø)
...lrye/mutiny/helpers/spies/MultiOnSubscribeSpy.java 100.00% <100.00%> (ø) 6.00 <1.00> (ø)
...allrye/mutiny/helpers/spies/UniOnSubscribeSpy.java 100.00% <100.00%> (ø) 6.00 <0.00> (ø)
... and 16 more

@jponge jponge requested a review from cescoffier May 17, 2021 10:31
@cescoffier cescoffier merged commit d25fbea into main May 17, 2021
@cescoffier cescoffier deleted the rename-onSubscribe branch May 17, 2021 11:44
@cescoffier cescoffier added enhancement New feature or request noteworthy-feature Noteworthy feature labels May 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request noteworthy-feature Noteworthy feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Rename the onSubscribe group to onSubscription
2 participants