Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
Documentation
newtype CreateCommentAction Source #
Instances
handleCommentCreation :: ScottyT AppM () Source #
createComment :: (AquireComment m, CreateComment m) => CreateCommentAction -> Slug -> UserID -> m (Either ArticleError OneComment) Source #
class Monad m => CreateComment m where Source #
insertComment :: CommentInfo -> m (Either ArticleError CommentID) Source #
Instances
(Monad m, MonadDB m, MonadUnliftIO m) => CreateComment m Source # | |
Defined in Conduit.Features.Articles.Comments.AddComment insertComment :: CommentInfo -> m (Either ArticleError CommentID) Source # |
data CommentInfo Source #