Skip to content

Commit

Permalink
Merge pull request #7 from ferologics/patch-1
Browse files Browse the repository at this point in the history
Fix typo
  • Loading branch information
dannyhertz authored Jan 20, 2021
2 parents b2dc668 + dc01fb9 commit f30505e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

## RxSwift Caveats

Do to the lack of typed errors in RxSwift (which are heavily relied upon in ReactiveSwift and Combine) we lose some safety in this port, and it is on the consumer to take extra precautions to ensure an error never makes its way into the `Store`. One way to achieve this is with the [Materialize](https://github.com/ReactiveX/RxSwift/blob/master/RxSwift/Observables/Materialize.swift) operator or several other [popular error handling techniques](http://dukhovich.net/rxswift/error-handling/). An `assertionFailure` has been added to the `Store` class in order to prevent errors from unintentionally propagating further. An `_XCTFail` has also been added to the `TestStore` to ensure errors thrown during testing are caught early on as well.
Due to the lack of typed errors in RxSwift (which are heavily relied upon in ReactiveSwift and Combine) we lose some safety in this port, and it is on the consumer to take extra precautions to ensure an error never makes its way into the `Store`. One way to achieve this is with the [Materialize](https://github.com/ReactiveX/RxSwift/blob/master/RxSwift/Observables/Materialize.swift) operator or several other [popular error handling techniques](http://dukhovich.net/rxswift/error-handling/). An `assertionFailure` has been added to the `Store` class in order to prevent errors from unintentionally propagating further. An `_XCTFail` has also been added to the `TestStore` to ensure errors thrown during testing are caught early on as well.

## TODOs

Expand Down

0 comments on commit f30505e

Please sign in to comment.