yesodweb / yesodweb/persistent
Persistent with pre-defined data types?
Nobody has claimed this yet.
- Dominant language
- Haskell
- Stars
- 486
- Forks
- 306
- PR merge metrics
- No merged PRs in 30d
Description
I have a bunch of already-defined data types using standard Haskell syntax. Can I use persistent without converting them into quasiquoters? It seems like it should be possible, but I can't find any documentation on how to do so. I think I'd like a version of mkPersist that does not generate the actual data statements but rather just the EntityDefs, but I'm not sure.
Any suggestions?
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 reviewing the persistent documentation and the mkPersist API named in the issue. Determine whether standard Haskell data declarations can be used without quasiquoters and whether EntityDefs can be generated separately; done when the supported approach or required API change is clearly established.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- haskell
- Domain
- databases
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100