Skip to content

Remove transformOutput combinator #5

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

Merged
merged 1 commit into from
Apr 29, 2025
Merged

Conversation

mkantor
Copy link
Owner

@mkantor mkantor commented Apr 28, 2025

The fact that transformOutput required an InvalidInputError to be explicitly created in order to model failure made this function difficult to use (you had to keep track of your own input, etc). I considered changing the signature to instead only require an error message, but ultimately decided to ditch it entirely for now. Either change is semver-major and I don't currently use transformOutput at all (and I believe I'm still the sole consumer of this package).

The fact that `transformOutput` required an `InvalidInputError` to be
explicitly created in order to model failure made this function
difficult to use (you had to keep track of your own `input`, etc). I
considered changing the signature to instead only require an error
message, but ultimately decided to ditch it entirely for now. Either
change is semver-major and I don't currently use `transformOutput` at
all (and I believe I'm still the sole consumer of this package).
@mkantor mkantor force-pushed the nuke-transform-output-combinator branch from 422557e to 7efa7c7 Compare April 28, 2025 16:14
@mkantor mkantor merged commit b0e5217 into main Apr 29, 2025
1 check passed
@mkantor mkantor deleted the nuke-transform-output-combinator branch April 29, 2025 01:08
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