keiro-dsl-0.7.0.0: test/conformance-skeletons/SkelAggregate/Generated/MyService/Nominals.hs
{-# LANGUAGE DeriveAnyClass #-}
{-# LANGUAGE DeriveGeneric #-}
{-# LANGUAGE LambdaCase #-}
-- @generated by keiro-dsl; do not edit. Regenerated from the .keiro spec.
module SkelAggregate.Generated.MyService.Nominals where
import Data.Aeson (FromJSON, ToJSON)
import Data.Text (Text)
import GHC.Generics (Generic)
import Keiki.Shape (CanonicalTypeName)
newtype ThingId = ThingId Text
deriving stock (Generic, Eq, Ord, Show)
deriving anyclass (ToJSON, FromJSON)
instance CanonicalTypeName ThingId
thingIdText :: ThingId -> Text
thingIdText (ThingId value) = value