yesodweb / yesodweb/persistent
Unify BaseBackend and BackendCompatible
Open
Nobody has claimed this yet.
- Dominant language
- Haskell
- Stars
- 486
- Forks
- 306
- PR merge metrics
- No merged PRs in 30d
Description
There should only be one way to do subtyping of SqlBackends.
All uses of BaseBackend should be refactored to BackendCompatible.
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 definitions and usages of BaseBackend and BackendCompatible in the persistent codebase, then inspect how SqlBackends use them for subtyping. Replace the BaseBackend usage path with BackendCompatible across the affected code and verify that no BaseBackend uses remain and the project still builds.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- haskell
- Domain
- backend, databases
- Issue type
- Refactor
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100