packages feed

persistent-template 2.0.2.1 → 2.0.2.2

raw patch · 2 files changed

+4/−1 lines, 2 filesdep +ghc-prim

Dependencies added: ghc-prim

Files

Database/Persist/TH.hs view
@@ -1444,10 +1444,12 @@         Just entityJSON -> do             entityJSONIs <- if mpsGeneric mps               then [d|+#if MIN_VERSION_base(4, 6, 0)                 instance PersistStore backend => ToJSON (Entity $(pure typ)) where                     toJSON = $(varE (entityToJSON entityJSON))                 instance PersistStore backend => FromJSON (Entity $(pure typ)) where                     parseJSON = $(varE (entityFromJSON entityJSON))+#endif                 |]               else [d|                 instance ToJSON (Entity $(pure typ)) where
persistent-template.cabal view
@@ -1,5 +1,5 @@ name:            persistent-template-version:         2.0.2.1+version:         2.0.2.2 license:         MIT license-file:    LICENSE author:          Michael Snoyman <michael@snoyman.com>@@ -28,6 +28,7 @@                    , unordered-containers                    , tagged                    , path-pieces+                   , ghc-prim     exposed-modules: Database.Persist.TH     ghc-options:     -Wall     if impl(ghc >= 7.4)