yesodweb / yesodweb/persistent
Is anyone actually using mpsGeneric ?
Nobody has claimed this yet.
- Dominant language
- Haskell
- Stars
- 486
- Forks
- 306
- PR merge metrics
- No merged PRs in 30d
Description
The mpsGeneric flag complicates persistent-template considerably and has a dubious value proposition - it allows you to reuse a model in a SQL context and a Redis context and a MongoDB context.
This doesn't seem very useful. Removing it would be great. But I don't want to break people who need this for some reason.
Unfortunately, I can't just, like, collect data on this. What I can do, however, is deprecate the field, and link to this issue. Folks that upgrade will see the deprecation notice and be able to common on whether they use it or not.
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 mpsGeneric definition and its uses in persistent-template, then review how existing fields are deprecated. The work is complete when mpsGeneric has a deprecation notice that links to issue #1204 and users can comment on whether they rely on it.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- haskell
- Domain
- databases
- Issue type
- Refactor
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100