Closed darky closed 9 months ago
Hi @darky I have converted gcanti's example on reader dependency injection to fp-go: https://github.com/IBM/fp-go/tree/main/samples/getting-started-with-fp-ts/reader
For the I/O related usecase I have added:
https://github.com/IBM/fp-go/tree/main/samples/readerioeither/example1
Is this what you had been looking for?
Hi @CarstenLeue Great! Thanks!
Would be nice to have sample for
ReaderIO
/ReaderIOEither
with Dependency injection It's very useful in Unit testing to useReader
for passing mocked IO