Skip to content

Deduplicate common code between services #533

@a-stacey

Description

@a-stacey

There is a lot of common code copy pasted code between services, for instance:

appMToHandler :: (HasLogging context) => context -> AppM context TrailsServiceError x -> Handler x

appMToHandler :: (HasLogging context) => context -> AppM context ORError x -> Handler x

that could be refactored easily and put in mirza-common-haskell to avoid the duplication. Further we could refactor the services so that they realy more on common code (and therefore unify the way things are handled). I had hoped to do this, but have not found the time.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions