Skip to content
Snippets Groups Projects
Commit 3faec852 authored by Jens Nolte's avatar Jens Nolte
Browse files

Refactor Observable to directly return value instead of Maybe

There were some cases where the implicit Maybe was problematic, because
it was impossible to guarantee a value. This also improved the
`runQuery` return type (returning only an `Either` or an `Either e Maybe`
is semantically easier to understand than the old `Maybe Either`.

This introduced a lot of necessary changes, but the result is a better
`runQuery` API: Every Query is now answered with either an exception
detailing why the query failed, or with a result.
parent 04d5c60b
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment