mirror of
https://github.com/nikita-volkov/hasql.git
synced 2024-11-22 18:22:05 +03:00
Merge branch 'clean-up-public-deps'
* clean-up-public-deps: Remove rerebase from the internal library deps
This commit is contained in:
commit
1b16da3f62
@ -151,14 +151,18 @@ library testing-kit
|
|||||||
hs-source-dirs: testing-kit
|
hs-source-dirs: testing-kit
|
||||||
exposed-modules:
|
exposed-modules:
|
||||||
Hasql.TestingKit.Constants
|
Hasql.TestingKit.Constants
|
||||||
|
Hasql.TestingKit.Preludes.Base
|
||||||
Hasql.TestingKit.Statements.BrokenSyntax
|
Hasql.TestingKit.Statements.BrokenSyntax
|
||||||
Hasql.TestingKit.Statements.GenerateSeries
|
Hasql.TestingKit.Statements.GenerateSeries
|
||||||
Hasql.TestingKit.Statements.WrongDecoder
|
Hasql.TestingKit.Statements.WrongDecoder
|
||||||
Hasql.TestingKit.TestingDsl
|
Hasql.TestingKit.TestingDsl
|
||||||
|
|
||||||
build-depends:
|
build-depends:
|
||||||
|
base,
|
||||||
|
bytestring,
|
||||||
hasql,
|
hasql,
|
||||||
rerebase <2,
|
transformers,
|
||||||
|
uuid,
|
||||||
|
|
||||||
test-suite tasty
|
test-suite tasty
|
||||||
import: base
|
import: base
|
||||||
|
13
testing-kit/Hasql/TestingKit/Preludes/Base.hs
Normal file
13
testing-kit/Hasql/TestingKit/Preludes/Base.hs
Normal file
@ -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
|
@ -5,7 +5,7 @@ import Hasql.Encoders qualified as Encoders
|
|||||||
import Hasql.Pipeline qualified as Pipeline
|
import Hasql.Pipeline qualified as Pipeline
|
||||||
import Hasql.Session qualified as Session
|
import Hasql.Session qualified as Session
|
||||||
import Hasql.Statement qualified as Statement
|
import Hasql.Statement qualified as Statement
|
||||||
import Prelude
|
import Hasql.TestingKit.Preludes.Base
|
||||||
|
|
||||||
data Params = Params
|
data Params = Params
|
||||||
{ start :: Int64,
|
{ start :: Int64,
|
||||||
|
@ -5,7 +5,7 @@ import Hasql.Encoders qualified as Encoders
|
|||||||
import Hasql.Pipeline qualified as Pipeline
|
import Hasql.Pipeline qualified as Pipeline
|
||||||
import Hasql.Session qualified as Session
|
import Hasql.Session qualified as Session
|
||||||
import Hasql.Statement qualified as Statement
|
import Hasql.Statement qualified as Statement
|
||||||
import Prelude
|
import Hasql.TestingKit.Preludes.Base
|
||||||
|
|
||||||
data Params = Params
|
data Params = Params
|
||||||
{ start :: Int64,
|
{ start :: Int64,
|
||||||
|
@ -5,7 +5,7 @@ import Hasql.Encoders qualified as Encoders
|
|||||||
import Hasql.Pipeline qualified as Pipeline
|
import Hasql.Pipeline qualified as Pipeline
|
||||||
import Hasql.Session qualified as Session
|
import Hasql.Session qualified as Session
|
||||||
import Hasql.Statement qualified as Statement
|
import Hasql.Statement qualified as Statement
|
||||||
import Prelude
|
import Hasql.TestingKit.Preludes.Base
|
||||||
|
|
||||||
data Params = Params
|
data Params = Params
|
||||||
{ start :: Int64,
|
{ start :: Int64,
|
||||||
|
@ -24,7 +24,7 @@ import Hasql.Pipeline qualified as Pipeline
|
|||||||
import Hasql.Session qualified as Session
|
import Hasql.Session qualified as Session
|
||||||
import Hasql.Statement qualified as Statement
|
import Hasql.Statement qualified as Statement
|
||||||
import Hasql.TestingKit.Constants qualified as Constants
|
import Hasql.TestingKit.Constants qualified as Constants
|
||||||
import Prelude
|
import Hasql.TestingKit.Preludes.Base
|
||||||
|
|
||||||
data Error
|
data Error
|
||||||
= ConnectionError (Connection.ConnectionError)
|
= ConnectionError (Connection.ConnectionError)
|
||||||
|
Loading…
Reference in New Issue
Block a user