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

Rework Processor-with-upstream case to be backward compatible #3065

Merged
merged 1 commit into from
Jun 7, 2022

Conversation

simonbasle
Copy link
Member

This commit reworks #3042 and reverts the changes to RootSpec returning
methods. These changes were binary incompatible with the previous
release of reactor, despite an API-compatible change.

What is reverted:

  • the UnsafeRootSpec and intermediate specs are removed
  • Sinks.unsafe() is back to returning RootSpec

What is kept:

  • RootSpec is dedicated to Sinks.unsafe()
  • Sinks.manyWithUpstream interface is still introduced

What is modified:

  • RootSpec receives an additional manyWithUpstream() method which
    is the one exposing Sinks.manyWithUpstream implementations

This commit reworks #3042 and reverts the changes to RootSpec returning
methods. These changes were binary incompatible with the previous
release of reactor, despite an API-compatible change.

What is reverted:
 - the `UnsafeRootSpec` and intermediate specs are removed
 - `Sinks.unsafe()` is back to returning `RootSpec`

What is kept:
 - `RootSpec` is dedicated to `Sinks.unsafe()`
 - `Sinks.manyWithUpstream` interface is still introduced

What is modified:
 - `RootSpec` receives an additional `manyWithUpstream()` method which
 is the one exposing `Sinks.manyWithUpstream` implementations
@simonbasle simonbasle requested a review from a team as a code owner June 7, 2022 09:03
@simonbasle simonbasle added this to the 3.4.19 milestone Jun 7, 2022
@simonbasle simonbasle added the type/enhancement A general enhancement label Jun 7, 2022
@simonbasle simonbasle self-assigned this Jun 7, 2022
@simonbasle simonbasle merged commit f215a64 into 3.4.x Jun 7, 2022
@simonbasle simonbasle deleted the fixSinkBackwardIncompatible branch June 7, 2022 14:10
@reactorbot
Copy link

@simonbasle this PR seems to have been merged on a maintenance branch, please ensure the change is merge-forwarded to intermediate maintenance branches and up to main 🙇

simonbasle added a commit that referenced this pull request Jun 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/enhancement A general enhancement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants