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-mysql deprecation warnings #355
Comments
Looks like it could just be changed. On Sun, Feb 1, 2015, 5:59 PM Jakub Arnold notifications@github.com wrote:
|
Thanks! I have a related question though. By using At first I thought I could use Following the book, it seems something like this should be possible withMySQLConn defaultConnectInfo $ \c -> liftIO $ runSqlConn (runMigration migrateAll) c but at this point I just get a Is there some way in which I'm misusing the edit: One thing to note, if I could simply do |
I think you're overly constraining On Sun Feb 01 2015 at 6:19:44 PM Jakub Arnold notifications@github.com
|
Thanks for replying, I've written up everything in this StackOverflow question. I'd be really happy if you could point me in the right direction. |
…nonym for SqlBackend) * Fixes deprecation warning mentioned in #355
@darthdeus is there something that should be done for this issue or should it be closed? |
While trying to figure out how to use
persistent-mysql
I found out thatConnection
is deprecated in favor ofSqlBackend
, and is actually defined as a type alias, though it is still used in type declarations in persistent-mysql (https://github.com/yesodweb/persistent/blob/master/persistent-mysql/Database/Persist/MySQL.hs#L87).I'm not sure if I'm missing something, or if this can be just changed to
SqlBackend
?The text was updated successfully, but these errors were encountered: