Skip to content

Make Result KotlinConverting to Pair<Success?, Failure?>#14

Merged
aabewhite merged 3 commits intomainfrom
resultconverting
Jan 1, 2025
Merged

Make Result KotlinConverting to Pair<Success?, Failure?>#14
aabewhite merged 3 commits intomainfrom
resultconverting

Conversation

@aabewhite
Copy link
Contributor

@aabewhite aabewhite commented Dec 28, 2024

We chose not to covert to kotlin.Result because it is a value class, and these require too much special casing to use via reflection in our bridging framework

@cla-bot cla-bot bot added the cla-signed label Dec 28, 2024
kotlin.Result is a Kotlin value class that is almost impossible to use via
our bridging reflection. It requires too many special cases
@aabewhite aabewhite changed the title Make Result KotlinConverting to kotlin.Result Make Result KotlinConverting to Pair<Success?, Failure?> Jan 1, 2025
@aabewhite aabewhite merged commit 038a9db into main Jan 1, 2025
@aabewhite aabewhite deleted the resultconverting branch January 1, 2025 17:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant