bitemyapp / bitemyapp/esqueleto
use `decodeUtf8'` in JSONB's PersistField instance
Open
- Dominant language
- Haskell
- Stars
- 399
- Forks
- 107
- Avg merge
- 1d 17h
- Merged PRs (30d)
- 1
Description
```hs
first (badParse $ TE.decodeUtf8 bs) $ eitherDecodeStrict bs
```
could probably be
```hs
import Data.Either (fromRight)
...
first (badParse (fromRight "" $ TE.decodeUtf8' bs)) $ eitherDecodeStrict bs
```
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.