Move from store to flat
This commit is contained in:
@@ -1,8 +1,11 @@
|
||||
{-# LANGUAGE DeriveGeneric #-}
|
||||
{-# LANGUAGE DeriveAnyClass #-}
|
||||
{-# LANGUAGE StrictData #-}
|
||||
{-# LANGUAGE TemplateHaskell #-}
|
||||
|
||||
module Dodge.Data.Modification where
|
||||
|
||||
import Flat
|
||||
import LinearHelp
|
||||
import Control.Lens
|
||||
import Data.Aeson
|
||||
@@ -27,8 +30,7 @@ data Modification
|
||||
, _mdExternalID2 :: Int
|
||||
, _mdUpdate :: MdWdWd
|
||||
}
|
||||
deriving (Eq, Ord, Show, Read)
|
||||
deriving (Eq, Ord, Show, Read, Generic, Flat)
|
||||
|
||||
makeLenses ''Modification
|
||||
deriveJSON defaultOptions ''Modification
|
||||
$($(derive [d| instance Deriving (Store Modification) |]))
|
||||
|
||||
Reference in New Issue
Block a user