graphql-engine/server/src-lib/Hasura/RQL
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
..
DDL Backend-agnostic custom scalars 2022-06-22 13:14:40 +00:00
DML Make on_conflict schema available abstract of update permissions 2022-06-07 23:25:48 +00:00
IR Remove redundant strict data declartions 2022-06-13 13:18:17 +00:00
Types Backend-agnostic custom scalars 2022-06-22 13:14:40 +00:00
IR.hs Move Hasura.GraphQL.Parser.Column to .RQL.IR. and .GraphQL.Schema. 2022-05-30 22:07:57 +00:00