-
Notifications
You must be signed in to change notification settings - Fork 293
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-sqlite 2.10.2/3 should be deprecated #933
Comments
Ping @parsonsmatt |
I can easily PR the fix (it's pretty trivial), but I'd like to avoid this sorta "discovery right after release" and add tests... |
Move fast and break things 😂 Can you describe the change in |
Versions are deprecated on Hackage. |
It used to only accept "ReaderT SqlBackend IO r" and then it'd use It's trivial to fix, see the new PR. I'm just unsure how to reuse the existing tests with |
honestly i'd love to remove the |
Looks like that'd be rather tricky to implement, a lot of the classes (for example I'm not entirely sure what the impact/ramifications of removing that type equality from the various classes would be. |
Perhaps the best option is to merge #934, make a new persistent-sqlite release that replaces 2.10.2/2.10.3 with one that actually works and make a new/separate issue for refactoring |
As mentioned in #932 (comment) the instances for RawSqlite were (unfortunately) broken, because the functionality of
liftPersist
changed between the original patch and persistent 2.10I fixed the instances and am adding tests, but I hit a snag with the tests. The tests defined in
persistent-test
all seem to have abackend ~ BaseBackend backend
constraint, so I can't simply rerun those tests with the RawSqlite backend without modifyingpersistent-test
. This isn't a hard problem to fix, but I'm not sure if removing that constraint from the variousspecsWith
definitions will break anything...The text was updated successfully, but these errors were encountered: