graphql-engine/server/src-lib/Hasura/Backends/Postgres/DDL
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
..
Source Yeet some default-extensions 2022-03-16 00:40:17 +00:00
BoolExp.hs server: migrate to aeson-2 in preparation for ghc 9.2 upgrade 2022-06-08 15:32:27 +00:00
ComputedField.hs server/bigquery: generate graphql schema for table computed fields 2022-05-25 10:25:38 +00:00
EventTrigger.hs server: Use quote_ident for quoting table name when using regclass 2022-05-02 13:16:55 +00:00
Function.hs server: naming conventions for auto generated fields 2022-05-26 11:55:29 +00:00
RunSQL.hs Remove unrelated functions from GraphQL.Schema.Common 2022-05-27 15:41:06 +00:00
Source.hs Backend-agnostic custom scalars 2022-06-22 13:14:40 +00:00
Table.hs Evie/postgres/module docs 2022-02-08 09:25:35 +00:00