yesodweb / persistent

Persistence interface for Haskell allowing multiple storage methods.
MIT License
467 stars 297 forks source link

persistent-template without persistent #960

Open mikelpr opened 5 years ago

mikelpr commented 5 years ago

I had been using persistFileWith the same model I used for my backend on my miso app perfectly, until I updated to newer miso and ghcjs and my nix pins in general.

Unfortunately, network-2.8 doesn't build with ghcjs so it fails. after many hours debugging, I found out the culprit was monad-loggers due to conduit-extra.

I don't actually need persistent for the frontend I only need its template parsing to produce the data definitions

parsonsmatt commented 5 years ago

This should be relatively straightforward, but it would require work to factor out a persistent-core package that only defines the relevant data types and class instances.