roookeee / datus

datus enables you to define a conversion process between two data structures in a fluent functional API
MIT License
41 stars 5 forks source link

Allow changing the type in then() and orElse() after a given()-call #10

Closed roookeee closed 5 years ago

roookeee commented 5 years ago

Pretty tricky as the given()-call does not determine the type of then() or orElse() :/ I don't want to implement it like given(Predicate, Function<CurrentType, IntermediateType>) though...

roookeee commented 5 years ago

But will do it anyway !

roookeee commented 5 years ago

Fixed in develop, see 4da6ff4d4fd9529b1fe695c7f3f89d1c278eab1a