We want to return a Result<Blog>, instead of a QueryResult<Blog>. We can use map_err() to map it to the desired error type. thanks to review from @BaptisteGelez & @fdb-hiroshima.
We want to return a Result<Blog>, instead of a QueryResult<Blog>. We can use map_err() to map it to the desired error type. thanks to review from @BaptisteGelez & @fdb-hiroshima.