You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/var/stackage/work/unpack-dir/unpacked/yesod-persistent-1.6.0.7-3778ef2964e1a3890afc22cc9124eacb40e64b62b
ed4983a85d3b99897f54c5c/Yesod/Persist/Core.hs:212:20: error:
• Could not deduce (Database.Persist.Class.PersistEntity.SafeToInsert
val)
arising from a use of ‘insert’
from the context: (MonadIO m, PersistUniqueWrite backend,
PersistRecordBackend val backend)
bound by the type signature for:
insert400 :: forall (m :: * -> *) backend val.
(MonadIO m, PersistUniqueWrite backend,
PersistRecordBackend val backend) =>
val -> ReaderT backend m (Key val)
at Yesod/Persist/Core.hs:(191,1)-(193,40)
/var/stackage/work/unpack-dir/unpacked/persistent-redis-2.13.0.1-366a1b4df248740afd15f64f4d87242c55958af1
ab34b2fdd88bcc1e24733112/Database/Persist/Redis/Store.hs:60:17: error:
• Could not deduce (MonadFail m)
arising from a do statement
with the failable pattern ‘Entity _ val’
from the context: (MonadIO m,
PersistRecordBackend record R.Connection)
bound by the type signature for: get :: forall record (m :: * -> *). (MonadIO m, PersistRecordBackend record R.Connection) =>
Key record
-> Control.Monad.Trans.Reader.ReaderT R.Connection m (Maybe record)
at Database/Persist/Redis/Store.hs:55:5-7
/var/stackage/work/unpack-dir/unpacked/persistent-mongoDB-2.13.0.1-8ad57ef8c280ac172ab91e2892bc6e7d00a458
ca736105572a033923a5e382e5/Database/Persist/MongoDB.hs:581:13: error:
• Could not deduce (MonadFail m)
arising from a do statement
with the failable pattern ‘Entity _ rec’
from the context: (Trans.MonadIO m,
PersistRecordBackend record DB.MongoContext)
bound by the type signature for:
updateGet :: forall record (m :: * -> *).
(Trans.MonadIO m, PersistRecordBackend record DB.MongoContext) =>
Key record
-> [Update record]
-> Control.Monad.Trans.Reader.ReaderT DB.MongoContext m record
at Database/Persist/MongoDB.hs:575:5-13
/var/stackage/work/unpack-dir/unpacked/graphula-2.0.1.1-adf27c90457ad03fee53b2e72180272b784868e7e72ae18ef
1fcb4a3bdda3027/src/Graphula.hs:215:18: error:
• Could not deduce (Database.Persist.Class.PersistEntity.SafeToInsert
a)
arising from a use of ‘insertUnique’
from the context: (MonadIO m, MonadIO n)
bound by the instance declaration at src/Graphula.hs:211:10-87
or from: (PersistEntityBackend a ~ SqlBackend, PersistEntity a,
Monad (GraphulaT n m))
bound by the type signature for:
insert :: forall a.
(PersistEntityBackend a ~ SqlBackend, PersistEntity a,
Monad (GraphulaT n m)) =>
Maybe (Database.Persist.Class.PersistEntity.Key a)
-> a
-> GraphulaT
n m (Maybe (Database.Persist.Class.PersistEntity.Entity a))
The text was updated successfully, but these errors were encountered: