{"id":20537953,"url":"https://github.com/dmjio/persistent-generic","last_synced_at":"2026-02-14T20:34:51.858Z","repository":{"id":146242362,"uuid":"252467376","full_name":"dmjio/persistent-generic","owner":"dmjio","description":" Generic facilities for working with Persistent classes","archived":false,"fork":false,"pushed_at":"2024-12-14T00:53:59.000Z","size":4,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-09-25T15:43:10.476Z","etag":null,"topics":["database","generics","ghc","ghc-generics","haskell","persistent"],"latest_commit_sha":null,"homepage":null,"language":"Haskell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dmjio.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-04-02T13:45:06.000Z","updated_at":"2024-12-14T00:54:03.000Z","dependencies_parsed_at":null,"dependency_job_id":"fa02a3e0-24ea-4200-8687-3da1473a1318","html_url":"https://github.com/dmjio/persistent-generic","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/dmjio/persistent-generic","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dmjio%2Fpersistent-generic","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dmjio%2Fpersistent-generic/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dmjio%2Fpersistent-generic/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dmjio%2Fpersistent-generic/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dmjio","download_url":"https://codeload.github.com/dmjio/persistent-generic/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dmjio%2Fpersistent-generic/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29455358,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-14T15:52:44.973Z","status":"ssl_error","status_checked_at":"2026-02-14T15:52:11.208Z","response_time":53,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["database","generics","ghc","ghc-generics","haskell","persistent"],"created_at":"2024-11-16T00:43:41.585Z","updated_at":"2026-02-14T20:34:51.840Z","avatar_url":"https://github.com/dmjio.png","language":"Haskell","funding_links":[],"categories":[],"sub_categories":[],"readme":"persistent-generic\n==========================\n\nGeneric facilities for working with `Persistent` classes.\n\n```haskell\n{-# language DeriveGeneric #-}\n\nmodule Main where\n\nimport Database.Persist.Generic\n\ndata StopLight = Red | Yellow | Green\n  deriving (Show, Eq, Generic)\n\ninstance PersistField StopLight where\n  toPersistValue = genericToPersistValue\n  fromPersistValue = genericFromPersistValue\n```\n\n### Limitations\n\n  - Only `PersistField` is currently supported.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdmjio%2Fpersistent-generic","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdmjio%2Fpersistent-generic","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdmjio%2Fpersistent-generic/lists"}