`AuthEntity` is now a type family associated to the `YesodAuthPersist` class, so its old type alias definition has now become its default type instance, which allows recovering the old behavior with minimal boilerplate: an empty instance declaration for `YesodAuthPersist` makes a Yesod application written with Persistent work just like before. Unfortunately, this requires enabling `UndecidableInstances` in the `Yesod.Auth` module since there is now a nested type family application (as `AuthEntity` is now itself a type family). This was tested with the scaffolded application with PostgreSQL, and it works (given another small change to make it work with Persistent 2 due to how `SqlPersistT` is now defined). |
||
|---|---|---|
| .. | ||
| Yesod | ||
| .gitignore | ||
| auth2.hs | ||
| browserid.hs | ||
| LICENSE | ||
| openid.hs | ||
| persona_sign_in_blue.png | ||
| README | ||
| Setup.lhs | ||
| yesod-auth.cabal | ||