Closed pbrisbin closed 6 years ago
The upside is we can probably remove many SiteId
or Entity Site
arguments, and take the userCommentSite
field off of UserComment
. The downside is we can't remove them all (actions in DB
that need a Site
for example). And we'll have to call lift
constantly to perform Handler
actions.
This would give "global" access to a once-looked-up
Entity Site
by making actions in aSiteHandler
monad built withReaderT
: