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.
There is a lot of common code copy pasted code between services, for instance:
Mirza/projects/trails/src/Mirza/Trails/Service.hs
Line 59 in 07ac1dc
Mirza/projects/or_scs/src/Mirza/OrgRegistry/Service.hs
Line 120 in 07ac1dc
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.