Skip to content

newtype SqlPersistT #1038

@parsonsmatt

Description

@parsonsmatt

SqlPersistT is currently:

type SqlPersistT = ReaderT SqlBackend

It will become:

newtype SqlPersistT m a = SqlPersistT
  { unsafeRunSqlPersistT :: ReaderT SqlBackend m a
  }

This gives us the opportunity to provide better documentation and error messages for the type, along with better instances.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions