Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove rerebase from the internal library deps #161

Merged
merged 2 commits into from
Apr 28, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion hasql.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -151,14 +151,18 @@ library testing-kit
hs-source-dirs: testing-kit
exposed-modules:
Hasql.TestingKit.Constants
Hasql.TestingKit.Preludes.Base
Hasql.TestingKit.Statements.BrokenSyntax
Hasql.TestingKit.Statements.GenerateSeries
Hasql.TestingKit.Statements.WrongDecoder
Hasql.TestingKit.TestingDsl

build-depends:
base,
bytestring,
hasql,
rerebase <2,
transformers,
uuid,

test-suite tasty
import: base
Expand Down
13 changes: 13 additions & 0 deletions testing-kit/Hasql/TestingKit/Preludes/Base.hs
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
module Hasql.TestingKit.Preludes.Base
( module Exports,
)
where

import Control.Monad.Trans.Class as Exports
import Control.Monad.Trans.Except as Exports (Except, ExceptT (ExceptT), catchE, except, finallyE, mapExcept, mapExceptT, runExcept, runExceptT, throwE, withExcept, withExceptT)
import Data.Bifunctor as Exports
import Data.ByteString as Exports (ByteString)
import Data.Functor.Contravariant as Exports
import Data.Int as Exports
import Data.UUID as Exports (UUID)
import Prelude as Exports
2 changes: 1 addition & 1 deletion testing-kit/Hasql/TestingKit/Statements/BrokenSyntax.hs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import Hasql.Encoders qualified as Encoders
import Hasql.Pipeline qualified as Pipeline
import Hasql.Session qualified as Session
import Hasql.Statement qualified as Statement
import Prelude
import Hasql.TestingKit.Preludes.Base

data Params = Params
{ start :: Int64,
Expand Down
2 changes: 1 addition & 1 deletion testing-kit/Hasql/TestingKit/Statements/GenerateSeries.hs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import Hasql.Encoders qualified as Encoders
import Hasql.Pipeline qualified as Pipeline
import Hasql.Session qualified as Session
import Hasql.Statement qualified as Statement
import Prelude
import Hasql.TestingKit.Preludes.Base

data Params = Params
{ start :: Int64,
Expand Down
2 changes: 1 addition & 1 deletion testing-kit/Hasql/TestingKit/Statements/WrongDecoder.hs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import Hasql.Encoders qualified as Encoders
import Hasql.Pipeline qualified as Pipeline
import Hasql.Session qualified as Session
import Hasql.Statement qualified as Statement
import Prelude
import Hasql.TestingKit.Preludes.Base

data Params = Params
{ start :: Int64,
Expand Down
2 changes: 1 addition & 1 deletion testing-kit/Hasql/TestingKit/TestingDsl.hs
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ import Hasql.Pipeline qualified as Pipeline
import Hasql.Session qualified as Session
import Hasql.Statement qualified as Statement
import Hasql.TestingKit.Constants qualified as Constants
import Prelude
import Hasql.TestingKit.Preludes.Base

data Error
= ConnectionError (Connection.ConnectionError)
Expand Down
Loading