yesod/yesod-auth/Yesod
Manuel Gómez 9729cd9d15 Default type instance for AuthEntity
`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).
2014-09-12 13:18:51 +00:00
..
Auth Added missing pragma 2014-09-08 07:11:38 +03:00
Auth.hs Default type instance for AuthEntity 2014-09-12 13:18:51 +00:00
PasswordStore.hs Include patched pwstore-fast implementation. 2014-05-11 15:43:06 +03:00