graphql-engine/server
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
..
bench-wrk server/tests-py: Reduce the number of locations we check the status code. 2022-07-05 18:01:07 +00:00
benchmarks ci/benchmarks: fix division-by-zero in report generation, after e09406170e1 2022-09-06 20:29:22 +00:00
documentation server/postgres: test identifier uniqueness rewrite 2022-06-17 10:44:18 +00:00
lib Extract Hasura.Prelude from src-lib 2022-09-09 13:58:48 +00:00
src-dc-api Gdc capabilities scalar types - GDW-87 2022-09-06 04:26:03 +00:00
src-emit-metadata-openapi server: initial set of DTO types for metadata 2022-06-27 16:33:31 +00:00
src-exec server: accept extensions_schema while adding a source 2022-08-10 09:42:09 +00:00
src-lib Extract out functions from columnParser in Backend. 2022-09-13 21:22:25 +00:00
src-rsr server, pro: event trigger auto cleanup (increment 2) 2022-09-13 08:34:52 +00:00
src-test server: codecs for TableMetadata, FunctionMetadata, and permissions 2022-09-12 20:31:07 +00:00
tests-dc-api Fix DateTimes in expected test output 2022-09-06 07:00:33 +00:00
tests-hspec server, pro: event trigger auto cleanup (increment 2) 2022-09-13 08:34:52 +00:00
tests-py server/tests-py: Run tests locally in the same way as CI. 2022-09-09 05:03:23 +00:00
.dockerignore update packages (#251) 2018-08-08 13:10:13 +05:30
.gitignore server: Clean up Cabal project files 2022-04-07 07:16:12 +00:00
commit_diff.txt Rewrite GraphQL schema generation and query parsing (close #2801) (#4111) 2020-08-21 12:27:01 -05:00
COMPILING-ON-MACOS.md tooling: Opt-in shared tooling 2022-06-16 17:12:35 +00:00
CONTRIBUTING.md Use docker compose, not docker-compose. 2022-08-02 10:30:57 +00:00
graphql-engine.cabal server: event triggers should be dropped when a previously present source is dropped in replace_metadata 2022-09-13 04:18:21 +00:00
Makefile ci: misc. cleanup, naming 2022-01-03 06:26:39 +00:00
STYLE.md Nix: Use nixpkgs-fmt to format everything. 2022-06-20 13:02:45 +00:00
testing-guidelines.md server: testing guidelines 2022-03-08 09:53:27 +00:00
troubleshooting.md Create troubleshooting.md 2022-05-30 09:18:44 +00:00
VERSIONS.json server: Automate generation and verification of Cabal files from hpack. 2022-07-29 16:22:12 +00:00