Skip to content

Commit

Permalink
Add Show and Eq instances to :& (bitemyapp#317)
Browse files Browse the repository at this point in the history
* Add Show and Eq for testing

* changelog, cabal

* Changelog entry
  • Loading branch information
parsonsmatt authored Jun 2, 2022
1 parent 7c27b71 commit a25f2ee
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 1 deletion.
7 changes: 7 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@

3.5.5.0
=======
- @parsonsmatt
- [#317](https://github.com/bitemyapp/esqueleto/pull/317)
- Add `Eq` and `Show` instances to `:&`

3.5.4.2
=======
- @parsonsmatt
Expand Down
3 changes: 2 additions & 1 deletion esqueleto.cabal
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
cabal-version: 1.12

name: esqueleto
version: 3.5.4.2

version: 3.5.5.0
synopsis: Type-safe EDSL for SQL queries on persistent backends.
description: @esqueleto@ is a bare bones, type-safe EDSL for SQL queries that works with unmodified @persistent@ SQL backends. Its language closely resembles SQL, so you don't have to learn new concepts, just new syntax, and it's fairly easy to predict the generated SQL and optimize it for your backend. Most kinds of errors committed when writing SQL are caught as compile-time errors---although it is possible to write type-checked @esqueleto@ queries that fail at runtime.
.
Expand Down
1 change: 1 addition & 0 deletions src/Database/Esqueleto/Experimental/From/Join.hs
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ import GHC.TypeLits
-- See the examples at the beginning of this module to see how this
-- operator is used in 'JOIN' operations.
data (:&) a b = a :& b
deriving (Eq, Show)
infixl 2 :&

instance (ToMaybe a, ToMaybe b) => ToMaybe (a :& b) where
Expand Down

0 comments on commit a25f2ee

Please sign in to comment.