yesodweb / yesodweb/persistent
PersistField instance for Data.Time.Calendar.DayOfWeek
Open
Nobody has claimed this yet.
- Dominant language
- Haskell
- Stars
- 486
- Forks
- 306
- PR merge metrics
- No merged PRs in 30d
Description
Might be nice to have a canonical PersistField instance for the "new" DayOfWeek type that was introduced in time-1.9.
This will increase the dependency boundary for time to >= 1.9, though. But that was released in 2018, so 🤷
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the existing PersistField instances and the dependency declarations in the persistent repository, then inspect how Data.Time.Calendar.DayOfWeek from time-1.9 should fit. Done means the canonical instance is available with the updated time dependency boundary and relevant tests pass.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- haskell
- Domain
- database
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100