graphql-engine/server/src-lib/Hasura/Backends/Postgres/Instances
Samir Talwar ee995aacc1 Extract out functions from columnParser in Backend.
The intent is to generalize `columnParser` to the point where it is the same across all backends, and then remove the interface in favor of a single implementation.

This extracts out `enumParser` and `possiblyNullable` as the two main areas that differ across backends. We may split `possiblyNullable` further so that we can extract some of that logic out into a common function too.

With these changes, the various `columnParser` implementations become semantically equivalent. They still do different things, and so reconciling them will require further changes.

Co-Authored-By: Antoine Leblanc <antoine@hasura.io>

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5841
GitOrigin-RevId: eec1770931eed5d72da70c97d7d0f00e33fa15d2
2022-09-13 21:22:25 +00:00
..
API.hs server: add PostgresKind for CockroachDB 2022-08-19 14:21:09 +00:00
Execute.hs server: skip SOH header in FromCol EncJSON instance 2022-09-05 15:04:32 +00:00
Metadata.hs Push capabilities resolution code into BackendMetadata type class 2022-09-05 02:44:10 +00:00
Schema.hs Extract out functions from columnParser in Backend. 2022-09-13 21:22:25 +00:00
SchemaCache.hs refactor: Enable Aggregation Predicates IR for Postgres 2022-08-24 12:00:11 +00:00
Transport.hs server: Reorganize quasi-quoted names. 2022-06-23 09:15:31 +00:00
Types.hs server: prune health check from codecs for backends that don't support it 2022-09-09 13:07:33 +00:00