graphql-engine/server/lib/test-harness/test-harness.cabal
Philip Lykke Carlsen 1bad75e3d8 feat(logical models): Add validation of types and parameters
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8267
GitOrigin-RevId: 827852edf074eb72c95ac379fe3ac5d095fd26ab
2023-03-13 18:15:27 +00:00

164 lines
3.5 KiB
Plaintext

cabal-version: 2.2
name: test-harness
version: 0.1.0.0
library
build-depends:
, Spock-core
, aeson
, aeson-pretty
, aeson-qq
, async
, attoparsec
, base
, bytestring
, case-insensitive
, conduit
, containers
, data-has
, dc-api
, directory
, ekg-core
, fast-logger
, graphql-engine
, graphql-parser
, haskell-src-meta
, hasura-prelude
, hedgehog
, hspec
, hspec-core
, http-client
, http-conduit
, http-types
, insert-ordered-containers
, lens
, lens-aeson
, libyaml
, lifted-base
, managed
, morpheus-graphql
, mtl
, mysql-simple
, network
, odbc
, openapi3
, parsec
, pg-client
, postgres-options
, postgresql-simple
, pretty-show
, pretty-simple
, process
, refined
, resourcet
, safe
, safe-exceptions
, servant-server
, servant-client
, sop-core
, stm
, string-interpolate
, template-haskell
, text
, th-lift
, th-lift-instances
, these
, time
, typed-process
, unordered-containers
, uuid
, vector
, warp
, websockets
, yaml
hs-source-dirs: src
default-language: Haskell2010
default-extensions:
BangPatterns
BlockArguments
DeriveLift
DerivingStrategies
FlexibleContexts
FlexibleInstances
GADTs
GeneralisedNewtypeDeriving
ImportQualifiedPost
LambdaCase
MultiParamTypeClasses
NamedFieldPuns
NoImplicitPrelude
OverloadedStrings
RankNTypes
RecordWildCards
ScopedTypeVariables
StandaloneDeriving
TupleSections
TypeApplications
TypeSynonymInstances
ghc-options:
-Werror
-- Taken from https://medium.com/mercury-bank/enable-all-the-warnings-a0517bc081c3
-Weverything
-Wno-missing-exported-signatures
-Wno-missing-import-lists
-Wno-missed-specialisations
-Wno-all-missed-specialisations
-Wno-unsafe
-Wno-safe
-Wno-missing-local-signatures
-Wno-monomorphism-restriction
-Wno-missing-kind-signatures
-Wno-missing-safe-haskell-mode
-- We want these warnings, but the code doesn't satisfy them yet:
-Wno-missing-deriving-strategies
-Wno-unused-packages
-Wno-redundant-constraints
exposed-modules:
Harness.Backend.BigQuery
Harness.Backend.Citus
Harness.Backend.Cockroach
Harness.Backend.DataConnector.Chinook
Harness.Backend.DataConnector.Chinook.Reference
Harness.Backend.DataConnector.Chinook.Sqlite
Harness.Backend.DataConnector.Mock
Harness.Backend.DataConnector.Mock.Server
Harness.Backend.DataConnector.Sqlite
Harness.Backend.Postgres
Harness.Backend.Sqlserver
Harness.Constants
Harness.DataConnectorAgent
Harness.Env
Harness.Exceptions
Harness.GraphqlEngine
Harness.Http
Harness.Logging
Harness.Logging.Messages
Harness.PytestPortedCompat
Harness.Quoter.Graphql
Harness.Quoter.Yaml
Harness.Quoter.Yaml.InterpolateYaml
Harness.RemoteServer
Harness.Services.Composed
Harness.Services.GraphqlEngine
Harness.Services.Postgres
Harness.Subscriptions
Harness.Test.BackendType
Harness.Test.CustomOptions
Harness.Test.Fixture
Harness.Test.FixtureName
Harness.Test.Introspection
Harness.Test.Permissions
Harness.Test.Protocol
Harness.Test.Schema
Harness.Test.SchemaName
Harness.Test.SetupAction
Harness.Test.TestResource
Harness.TestEnvironment
Harness.Webhook
Harness.WebSockets
Harness.Yaml