graphql-engine/server/src-lib/Hasura/Backends/Postgres
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
..
Connection server: codecs for postgres connection configuration types 2022-09-12 21:46:33 +00:00
DDL server, pro: event trigger auto cleanup (increment 2) 2022-09-13 08:34:52 +00:00
Execute server: skip SOH header in FromCol EncJSON instance 2022-09-05 15:04:32 +00:00
Instances Extract out functions from columnParser in Backend. 2022-09-13 21:22:25 +00:00
Schema Use a different reader context for sources and remote schemas with new SchemaT monad. 2022-09-06 16:49:23 +00:00
SQL server/postgres: fix string literals in arrays 2022-08-26 09:42:26 +00:00
Translate refactor: Enable Aggregation Predicates IR for Postgres 2022-08-24 12:00:11 +00:00
Types Simplify instance boilerplate 2022-08-11 16:32:41 +00:00
Connection.hs server: split the Postgres Connection module 2022-03-09 07:15:17 +00:00
DDL.hs Evie/postgres/module docs 2022-02-08 09:25:35 +00:00