Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

persistent 2.14 #6537

Closed
5 tasks
bergmark opened this issue Apr 12, 2022 · 0 comments
Closed
5 tasks

persistent 2.14 #6537

bergmark opened this issue Apr 12, 2022 · 0 comments

Comments

@bergmark
Copy link
Member

  • yesod-persistent (Grandfathered dependencies)
/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))
/var/stackage/work/unpack-dir/unpacked/experimenter-0.1.0.12-ede29f1706593b2da6fcf0ab88cb45e557042fa83bf7
8d260d39397e58bf7c9a/src/Experimenter/Models.hs:27:58: error:
    Variable not in scope:
      mkDeleteCascade
        :: MkPersistSettings
           -> [Database.Persist.Quasi.Internal.UnboundEntityDef]
           -> template-haskell-2.18.0.0:Language.Haskell.TH.Syntax.Q
                [template-haskell-2.18.0.0:Language.Haskell.TH.Syntax.Dec]
   |
27 | share [mkPersist sqlSettings {mpsGenerateLenses = True}, mkDeleteCascade sqlSettings, mkMigrate "mig
rateAll"]
   |
bergmark added a commit that referenced this issue Apr 12, 2022
@juhp juhp closed this as completed in c2757a9 Nov 18, 2022
juhp added a commit that referenced this issue Nov 18, 2022
fixes #6537, fixes #6573, fixes #6576, fixes #6588, fixes #6608, fixes #6613, fixes #6615, fixes #6616, fixes #6617, fixes #6621, fixes #6629, fixes #6669, fixes #6686, fixes #6756, fixes #6686, fixes #6672, fixes #6673, fixes #6677, fixes #6678, fixes #6683, fixes #6593, fixes #6698, fixes #6701, fixes #6704, fixes #6706, fixes #6706, fixes #6727, fixes #6728, fixes #6745, fixes #6748, fixes #6751
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant