neverthrow
neverthrow copied to clipboard
OrElse callback should be able to change Ok type
- resolves #411
- resolves #437
Unfortunately this would be a breaking change, as anyone who explicitly annotated the types like orElse<A>(foo) will need to update their code to orElse<U, A>(foo)
https://github.com/supermacro/neverthrow/issues/496
@supermacro Any updates on this? Would be really great to have this behavior for orElse :)
+1