Thomvis/BrightFutures

Update to Result 4.0.0 (or not)

phimage opened this issue · 2 comments

I try to do it just right now, but there is some major change in Result 4.0.0

.../AsyncType+ResultType.swift:13:22: Value of type 'Self.Value' has no member 'analysis'
.../AsyncType+ResultType.swift:18:22: Value of type 'Self.Value' has no member 'analysis'
.../AsyncType+ResultType.swift:98:13: Value of type 'Self.Value' has no member 'analysis'
.../SequenceType+BrightFutures.swift:115:24: Value of type 'Self.Element' has no member 'analysis'

.../AsyncType+ResultType.swift:35:61: Extra argument 'ifFailure' in call
.../AsyncType+ResultType.swift:47:61: Extra argument 'ifFailure' in call
.../AsyncType+ResultType.swift:126:28: Extra argument 'ifFailure' in call
.../AsyncType+ResultType.swift:147:28: Extra argument 'ifFailure' in call
.../AsyncType+ResultType.swift:206:27: Extra argument 'ifFailure' in call

.../Result+BrightFutures.swift:19:16: Use of unresolved identifier 'analysis'
.../Result+BrightFutures.swift:32:16: Use of unresolved identifier 'analysis'
.../Result+BrightFutures.swift:49:13: Use of unresolved identifier 'analysis'

.../AsyncType+ResultType.swift:22:22: Value of type 'Self.Value' has no member 'value'
.../AsyncType+ResultType.swift:26:22: Value of type 'Self.Value' has no member 'error'

some method seem to be only on Result enum but no more on protocol

@phimage Did you find a solution for this ?

@omarojo I make the PR #193
I did not use it yet, I just launch the test.
I will wait some other frameworks to update before using it