ReactiveCouchbase / ReactiveCouchbase-core

Core library for ReactiveCouchbase
Apache License 2.0
64 stars 28 forks source link

Check if document is null before Json.parsing it. #68

Closed pcboy closed 8 years ago

pcboy commented 9 years ago

Fixes #52

mathieuancelin commented 8 years ago

Hi,

Returning null is not an option. You should flatmap the option and return None

mathieuancelin commented 8 years ago

I will add the flatMap