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

Result & Sequence missing deprecation and revert post-fixed names #3015

Merged
merged 7 commits into from
Mar 31, 2023

Conversation

nomisRev
Copy link
Member

This PR adds missing deprecations for Result, and Sequence.

As discussed on Slack it also reverts the Sequence methods that were duplicated with post fixes, in favour of breaking the API in 2.0 from Sequence to List since those are mostly source-compatible for most intents and purposes. This allows us to keep the original names, instead of names with postfixes after 2.0

Copy link
Collaborator

@franciscodr franciscodr left a comment

Choose a reason for hiding this comment

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

Looks good to me. I think we need to update the knit files, don't we?

@github-actions
Copy link
Contributor

Kover Report

File Coverage [57.96%]
arrow-libs/core/arrow-core/src/commonMain/kotlin/arrow/core/Result.kt 40.00%
arrow-libs/core/arrow-core/src/commonMain/kotlin/arrow/core/Sequence.kt 65.16%
Total Project Coverage 44.56%

@nomisRev nomisRev merged commit 152469f into main Mar 31, 2023
@nomisRev nomisRev deleted the sb-missing-deprecation-and-fixes branch March 31, 2023 15:07
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.

3 participants