yesodweb / yesodweb/persistent

Is anyone actually using mpsGeneric ?

Open
#1,204 7 comments 0 reactions 0 assignees View on GitHub

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.