mu-persistent 0.1.0.0 → 0.2.0.0
raw patch · 1 files changed
+29/−24 lines, 1 filesdep ~mu-schemanew-uploaderPVP ok
version bump matches the API change (PVP)
Dependency ranges changed: mu-schema
API changes (from Hackage documentation)
- Mu.Adapter.Persistent: instance (GHC.Generics.Generic t, GHC.Base.Applicative w, (sch Mu.Schema.Definition.:/: sty) Data.Type.Equality.~ 'Mu.Schema.Definition.DRecord name (idArg : args), idArg Data.Type.Equality.~ 'Mu.Schema.Definition.FieldDef idArgName ('Mu.Schema.Definition.TPrimitive GHC.Int.Int64), GHC.Generics.Rep t Data.Type.Equality.~ GHC.Generics.D1 dInfo (GHC.Generics.C1 cInfo f), Mu.Schema.Class.GToSchemaRecord Data.Functor.Identity.Identity sch fmap args f, Database.Persist.Class.PersistStore.ToBackendKey (Database.Persist.Class.PersistEntity.PersistEntityBackend t) t, Database.Persist.Class.PersistEntity.PersistEntityBackend t Data.Type.Equality.~ Database.Persist.Sql.Types.Internal.SqlBackend) => Mu.Schema.Class.ToSchema w sch sty (Mu.Adapter.Persistent.WithEntityPlainId sty fmap (Database.Persist.Class.PersistEntity.Entity t))
- Mu.Adapter.Persistent: instance (GHC.Generics.Generic t, GHC.Base.Applicative w, (sch Mu.Schema.Definition.:/: sty) Data.Type.Equality.~ 'Mu.Schema.Definition.DRecord name (nestedIdArg : args), nestedIdArg Data.Type.Equality.~ 'Mu.Schema.Definition.FieldDef fname ('Mu.Schema.Definition.TSchematic idTy), (sch Mu.Schema.Definition.:/: idTy) Data.Type.Equality.~ 'Mu.Schema.Definition.DRecord idName '[idArg], idArg Data.Type.Equality.~ 'Mu.Schema.Definition.FieldDef idArgName ('Mu.Schema.Definition.TPrimitive GHC.Int.Int64), GHC.Generics.Rep t Data.Type.Equality.~ GHC.Generics.D1 dInfo (GHC.Generics.C1 cInfo f), Mu.Schema.Class.GToSchemaRecord Data.Functor.Identity.Identity sch fmap args f, Database.Persist.Class.PersistStore.ToBackendKey (Database.Persist.Class.PersistEntity.PersistEntityBackend t) t, Database.Persist.Class.PersistEntity.PersistEntityBackend t Data.Type.Equality.~ Database.Persist.Sql.Types.Internal.SqlBackend) => Mu.Schema.Class.ToSchema w sch sty (Mu.Adapter.Persistent.WithEntityNestedId sty fmap (Database.Persist.Class.PersistEntity.Entity t))
+ Mu.Adapter.Persistent: instance (GHC.Generics.Generic t, GHC.Base.Applicative w, (sch Mu.Schema.Definition.:/: sty) GHC.Types.~ 'Mu.Schema.Definition.DRecord name (idArg : args), idArg GHC.Types.~ 'Mu.Schema.Definition.FieldDef idArgName ('Mu.Schema.Definition.TPrimitive GHC.Int.Int64), GHC.Generics.Rep t GHC.Types.~ GHC.Generics.D1 dInfo (GHC.Generics.C1 cInfo f), Mu.Schema.Class.GToSchemaRecord Data.Functor.Identity.Identity sch fmap args f, Database.Persist.Class.PersistStore.ToBackendKey (Database.Persist.Class.PersistEntity.PersistEntityBackend t) t, Database.Persist.Class.PersistEntity.PersistEntityBackend t GHC.Types.~ Database.Persist.Sql.Types.Internal.SqlBackend) => Mu.Schema.Class.ToSchema w sch sty (Mu.Adapter.Persistent.WithEntityPlainId sty fmap (Database.Persist.Class.PersistEntity.Entity t))
+ Mu.Adapter.Persistent: instance (GHC.Generics.Generic t, GHC.Base.Applicative w, (sch Mu.Schema.Definition.:/: sty) GHC.Types.~ 'Mu.Schema.Definition.DRecord name (nestedIdArg : args), nestedIdArg GHC.Types.~ 'Mu.Schema.Definition.FieldDef fname ('Mu.Schema.Definition.TSchematic idTy), (sch Mu.Schema.Definition.:/: idTy) GHC.Types.~ 'Mu.Schema.Definition.DRecord idName '[idArg], idArg GHC.Types.~ 'Mu.Schema.Definition.FieldDef idArgName ('Mu.Schema.Definition.TPrimitive GHC.Int.Int64), GHC.Generics.Rep t GHC.Types.~ GHC.Generics.D1 dInfo (GHC.Generics.C1 cInfo f), Mu.Schema.Class.GToSchemaRecord Data.Functor.Identity.Identity sch fmap args f, Database.Persist.Class.PersistStore.ToBackendKey (Database.Persist.Class.PersistEntity.PersistEntityBackend t) t, Database.Persist.Class.PersistEntity.PersistEntityBackend t GHC.Types.~ Database.Persist.Sql.Types.Internal.SqlBackend) => Mu.Schema.Class.ToSchema w sch sty (Mu.Adapter.Persistent.WithEntityNestedId sty fmap (Database.Persist.Class.PersistEntity.Entity t))
- Mu.Adapter.Persistent: WithEntityNestedId :: a -> WithEntityNestedId a
+ Mu.Adapter.Persistent: WithEntityNestedId :: a -> WithEntityNestedId (ty :: Symbol) (fmap :: Mappings Symbol Symbol) a
- Mu.Adapter.Persistent: WithEntityPlainId :: a -> WithEntityPlainId a
+ Mu.Adapter.Persistent: WithEntityPlainId :: a -> WithEntityPlainId (ty :: Symbol) (fmap :: Mappings Symbol Symbol) a
- Mu.Adapter.Persistent: [unWithEntityNestedId] :: WithEntityNestedId a -> a
+ Mu.Adapter.Persistent: [unWithEntityNestedId] :: WithEntityNestedId (ty :: Symbol) (fmap :: Mappings Symbol Symbol) a -> a
- Mu.Adapter.Persistent: [unWithEntityPlainId] :: WithEntityPlainId a -> a
+ Mu.Adapter.Persistent: [unWithEntityPlainId] :: WithEntityPlainId (ty :: Symbol) (fmap :: Mappings Symbol Symbol) a -> a
Files
- mu-persistent.cabal +29/−24
mu-persistent.cabal view
@@ -1,30 +1,35 @@-name: mu-persistent-version: 0.1.0.0-synopsis: Utilities for interoperation between Mu and Persistent-description: Please see the <https://github.com/higherkindness/mu-haskell/persistent#readme readme file>.-homepage: https://github.com/higherkindness/mu-haskell/persistent#readme-license: Apache-2.0-license-file: LICENSE-author: Flavio Corpa, Alejandro Serrano-maintainer: flavio.corpa@47deg.com-copyright: Copyright © 2019-2020 <http://47deg.com 47 Degrees>-category: Network-build-type: Simple-cabal-version: >=1.10-extra-source-files: README.md-bug-reports: https://github.com/higherkindness/mu-haskell/issues+name: mu-persistent+version: 0.2.0.0+synopsis: Utilities for interoperation between Mu and Persistent+description:+ Please see the <https://github.com/higherkindness/mu-haskell/persistent#readme readme file>. +homepage:+ https://github.com/higherkindness/mu-haskell/persistent#readme++license: Apache-2.0+license-file: LICENSE+author: Flavio Corpa, Alejandro Serrano+maintainer: flavio.corpa@47deg.com+copyright: Copyright © 2019-2020 <http://47deg.com 47 Degrees>+category: Network+build-type: Simple+cabal-version: >=1.10+extra-source-files: README.md+bug-reports: https://github.com/higherkindness/mu-haskell/issues+ source-repository head type: git location: https://github.com/higherkindness/mu-haskell library- exposed-modules: Mu.Adapter.Persistent- hs-source-dirs: src- default-language: Haskell2010- build-depends: base >= 4.7 && < 5- , monad-logger- , mu-schema- , persistent- , resourcet- , transformers+ exposed-modules: Mu.Adapter.Persistent+ hs-source-dirs: src+ default-language: Haskell2010+ build-depends:+ base >=4.7 && <5+ , monad-logger+ , mu-schema >=0.2.0+ , persistent+ , resourcet+ , transformers