graphql-engine/server/src-lib/Hasura/Backends/Postgres
Antoine Leblanc 609cab89e6 Backend-agnostic custom scalars
### Description

This small clean-up PR makes one further step towards backend-agnostic actions: it makes all the code parsing custom types backend agnostic. Surprisingly, this could be done *without* the need to finish generalizing the column parser. The remaining sore point is async queries, that still target Postgres explicitly.

In theory, this is enough to start allowing non-Postgres scalars in custom types. In practice, however:
- no other backend exposes scalars in a way that would allow users to do that as of this PR;
- we currently have no strategy to avoid / detect scalar collisions across backends.

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4691
GitOrigin-RevId: bfe63fb131e306663d4406697ce23c02736566c5
2022-06-22 13:14:40 +00:00
..
Connection server: migrate to aeson-2 in preparation for ghc 9.2 upgrade 2022-06-08 15:32:27 +00:00
DDL Backend-agnostic custom scalars 2022-06-22 13:14:40 +00:00
Execute Remove resolveUnpreparedValue 2022-06-15 18:17:23 +00:00
Instances Remove resolveUnpreparedValue 2022-06-15 18:17:23 +00:00
Schema Make on_conflict schema available abstract of update permissions 2022-06-07 23:25:48 +00:00
SQL server/postgres: test identifier uniqueness rewrite 2022-06-17 10:44:18 +00:00
Translate server: Fix a bunch of HLint suggestions 2022-06-21 11:12:42 +00:00
Types server: add infrastructure to write runit tests for update parsers 2022-05-26 14:06:24 +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