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

Update RSocket to 1.0.1 #388

Merged
merged 3 commits into from
Jul 29, 2020
Merged

Update RSocket to 1.0.1 #388

merged 3 commits into from
Jul 29, 2020

Conversation

bsideup
Copy link
Owner

@bsideup bsideup commented Jul 28, 2020

No description provided.

@bsideup bsideup added dependencies Pull requests that update a dependency file java Pull requests that update Java code labels Jul 28, 2020
@bsideup bsideup added this to the next milestone Jul 28, 2020
@bsideup bsideup requested a review from lanwen July 28, 2020 19:48
.flatMapIterable(it -> it::iterator)
.flatMapIterable(it -> {
var iterator = it.iterator();
return () -> iterator;
Copy link
Collaborator

Choose a reason for hiding this comment

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

can you give some insights on this expansion?

Copy link
Owner Author

Choose a reason for hiding this comment

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

there was a change in Reactor that made it call Iterable#iterator two times (completely valid) but, in case of Streams, one can call Iterable#iterator only once, hence the change :)


public interface RSocketServerConfigurer {

void apply(RSocketServer server);
Copy link
Collaborator

Choose a reason for hiding this comment

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

oh, thats great, would simplify auth plugin 👍🏻

@bsideup bsideup merged commit 329aa38 into master Jul 29, 2020
@bsideup bsideup deleted the update_rsocket branch July 29, 2020 08:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file java Pull requests that update Java code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants