graphql-engine/server/lib/pg-client
Samir Talwar be67b0db59 server: Make HLint pass, by hook or by crook.
This fixes the simple HLint warnings, and adds a few suppressions to avoid noise.

The suppressions don't really solve the problems, but I think the warnings here are quite benign and I'm uncomfortable with how likely I would be to introduce a bug during refactoring.

In the case of _pg-client_ and _resource-pool_, we can't use the recommended functions anyway, and there doesn't seem to be a way to tell HLint to ignore entire packages.

I have updated the `make` targets to only fail if errors or warnings are found, not suggestions. This brings it in line with the CI job.

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8910
GitOrigin-RevId: 596277b4ae5833876fc3f43875208c1279518a59
2023-04-25 14:03:02 +00:00
..
bench [ci] test the libraries in server/lib 2023-02-02 17:32:48 +00:00
ci CI: Get the GHC version from VERSIONS.json for all GitHub workflows. 2023-03-27 18:53:18 +00:00
src validate logical models custom return type against postgres 2023-04-04 14:02:59 +00:00
test server: Make HLint pass, by hook or by crook. 2023-04-25 14:03:02 +00:00
.gitignore [ci] test the libraries in server/lib 2023-02-02 17:32:48 +00:00
cabal.project [ci] test the libraries in server/lib 2023-02-02 17:32:48 +00:00
docker-compose.yml [ci] test the libraries in server/lib 2023-02-02 17:32:48 +00:00
LICENSE [ci] test the libraries in server/lib 2023-02-02 17:32:48 +00:00
Makefile [ci] test the libraries in server/lib 2023-02-02 17:32:48 +00:00
pg-client.cabal CI: Get the GHC version from VERSIONS.json for all GitHub workflows. 2023-03-27 18:53:18 +00:00
README.md [ci] test the libraries in server/lib 2023-02-02 17:32:48 +00:00
stack.yaml [ci] test the libraries in server/lib 2023-02-02 17:32:48 +00:00
stack.yaml.lock [ci] test the libraries in server/lib 2023-02-02 17:32:48 +00:00
weeder.dhall [ci] test the libraries in server/lib 2023-02-02 17:32:48 +00:00

pg-client

build status

A low level Postgres client library for Haskell. Used at Hasura in various production projects.

Style

This repository follows the graphql-engine style guide. Use make format to run the formatter.