bitemyapp / bitemyapp/esqueleto
`toBaseIdMaybe`
Open
- Dominant language
- Haskell
- Stars
- 399
- Forks
- 107
- Avg merge
- 1d 17h
- Merged PRs (30d)
- 1
Description
`toBaseId :: ToBaseId ent => SqlExpr (Value (Key ent)) -> SqlExpr (Value (Key (BaseEnt ent)))` prevents us from using `Maybe` keys.
```haskell
toBaseIdMaybe :: ToBaseId ent => SqlExpr (Value (Maybe (Key ent))) -> SqlExpr (Value (Maybe (Key (BaseEnt ent))))
```
straightforward to add
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by locating the existing `toBaseId` definition and its related usages. Add the requested `toBaseIdMaybe` variant for nullable keys, then verify that the resulting type matches the signature shown in the issue and that existing checks still pass.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- haskell
- Domain
- databases
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 45/100