on master help sign in
Add DBEq instances.
commit52b42d16e98f47f7c73e06bf5b72bd73eed5f1de authorNick <nick@typeable.io> dateSun 11 Dec 2022, 23:05 (4 years ago) parent4bf4fc3
2 files changed+5−5
src/Data/Id.hs+4−4 stack.yaml+1−1
src/Data/Id.hs+4−4
@@ -53,7 +53,7 @@ import Flat as F
5353import qualified Data.Store
5454#endif
5555#ifdef USE_REL8
56−import Rel8 (DBType(..))
56+import Rel8 (DBType(..), DBEq(..))
5757#endif
5858
5959newtype Id t = Id { unId :: UUID }
@@ -65,7 +65,7 @@ newtype Id t = Id { unId :: UUID }
6565 , PG.ToField, PG.FromField
6666#endif
6767#ifdef USE_REL8
68− , DBType
68+ , DBType, DBEq
6969#endif
7070#endif
7171 , FromJSON, ToJSON, NFData, Hashable, FromJSONKey, ToJSONKey
@@ -166,7 +166,7 @@ newtype IntId t = IntId Int64
166166 , Data.Store.Store
167167#endif
168168#ifdef USE_REL8
169− , DBType
169+ , DBType, DBEq
170170#endif
171171#endif
172172 , FromJSON, ToJSON, NFData, Hashable, FromJSONKey, ToJSONKey
@@ -223,7 +223,7 @@ newtype Name t = Name { unName :: Text }
223223 , Data.Store.Store
224224#endif
225225#ifdef USE_REL8
226− , DBType
226+ , DBType, DBEq
227227#endif
228228#endif
229229 , FromJSON, ToJSON, NFData, Hashable, FromJSONKey, ToJSONKey
stack.yaml+1−1
@@ -8,7 +8,7 @@ nix:
88
99flags:
1010 id:
11− rel8: false
11+ rel8: true
1212 openapi: false
1313 lens: false
1414 cassava: false