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

Document MonoFlatMapToFlux Refaster rule limitation #473

Merged
merged 2 commits into from
Jan 24, 2023

Conversation

Stephan202
Copy link
Member

@Stephan202 Stephan202 commented Jan 22, 2023

Suggested commit message:

Document `MonoFlatMapToFlux` Refaster rule limitation (#473)

For those wishing to attach a debugger: the type against which Refaster matches is retrieved here. I suppose that at the place where the binding is stored, we can inspect the lambda expression/method reference and perhaps construct a more accurate type, but that's a rabbit hole I'd rather not jump in right now.

@Stephan202 Stephan202 requested a review from rickie January 22, 2023 15:56
@github-actions
Copy link

Looks good. No mutations were possible for these changes.
Mutation testing report by Pitest. Review any surviving mutants by inspecting the line comments under Files changed.

Copy link
Member

@rickie rickie left a comment

Choose a reason for hiding this comment

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

That sounds like an interesting problem 😋.

Added a commit.

@@ -474,6 +474,11 @@ Flux<S> after(
* Flux}.
*/
abstract static class MonoFlatMapToFlux<T, S> {
// XXX: I'd be more expressive if this `@Placeholder` were replaced with a `Function<? super T,
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
// XXX: I'd be more expressive if this `@Placeholder` were replaced with a `Function<? super T,
// XXX: It'd be more expressive if this `@Placeholder` were replaced with a `Function<? super T,

Copy link
Member

Choose a reason for hiding this comment

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

Maybe writing it out is also fine :).

@rickie rickie requested a review from werli January 24, 2023 13:49
@github-actions
Copy link

Looks good. No mutations were possible for these changes.
Mutation testing report by Pitest. Review any surviving mutants by inspecting the line comments under Files changed.

@rickie rickie force-pushed the sschroevers/document-MonoFlatMapToFlux-limitation branch from ea3b285 to da82ae0 Compare January 24, 2023 14:24
@Stephan202
Copy link
Member Author

Change LGTM :)

@github-actions
Copy link

Looks good. No mutations were possible for these changes.
Mutation testing report by Pitest. Review any surviving mutants by inspecting the line comments under Files changed.

@rickie rickie merged commit 3a94aad into master Jan 24, 2023
@rickie rickie deleted the sschroevers/document-MonoFlatMapToFlux-limitation branch January 24, 2023 14:38
@rickie rickie added the documentation A documentation update label Jan 24, 2023
@rickie rickie added this to the 0.8.0 milestone Jan 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation A documentation update
Development

Successfully merging this pull request may close these issues.

3 participants