Nikita Shilnikov

Results 182 comments of Nikita Shilnikov

IMO not really, having something beyond a plain data structure may confuse people. On the one hand, we can have whatever behavior we want, on the other hand, this will...

@bilby91 sorry for this delay. I don't think it's a good idea to have it as it is because it assumes there's an exception in `Failure`. It's not always the...

@bilby91 two steps 1. You just add `value_or_raise` to `Try`'s `Value` and `Error` instead of `Result`. 1. a. In your code, you use `Value` instead of `Success` and `Error` instead...

The potential problem is if some API depends on this feature you won't be able to swap the container with a plain hash or something else.

smth like `valid?(gt?: 0, lteq?: 20)`. I'm not sure if it should be done in a single PR

I think it's better to make it more straight-forward, that is if a PK value passed explicitly we'll use it for returning inserted records, how about that? :) P.S. You...

@nixme using exceptions makes do notation transparent to transaction-like code (like one in AR and sequel), this is an important use case. We could have two versions of do notation...

Ugh, are there any examples? I don't quite get how dry-container uses thread local values

Please demonstrate a reproducible case, otherwise, I think this is an issue in your code. Keep in mind, 0.10 can have breaking changes compared to 0.8.