aboutsummaryrefslogtreecommitdiffstats
path: root/app/History/IssueEvent.hs
diff options
context:
space:
mode:
Diffstat (limited to 'app/History/IssueEvent.hs')
-rw-r--r--app/History/IssueEvent.hs4
1 files changed, 3 insertions, 1 deletions
diff --git a/app/History/IssueEvent.hs b/app/History/IssueEvent.hs
index 93bd133..932cfd9 100644
--- a/app/History/IssueEvent.hs
+++ b/app/History/IssueEvent.hs
@@ -1,5 +1,7 @@
module History.IssueEvent (IssueEvent (..)) where
+import Data.Binary (Binary)
+import GHC.Generics (Generic)
import History.CommitHash (CommitHash)
import Issue (Issue)
import Issue.Render qualified as I
@@ -24,7 +26,7 @@ data IssueEvent
issue :: Issue,
patch :: Patch
}
- deriving (Show)
+ deriving (Show, Generic, Binary)
instance P.Render IssueEvent where
render = P.render . P.Detailed