graphql-engine/server/src-lib/Hasura/RQL
Antoine Leblanc a978b6d683 Remove several outdated backend constraints
## Description

This PR removes as many constraints as possible from Backend without refactoring the code. Thanks to #1844, a few ToJSON functions can be removed from the IR, and several constraints were simply redundant.

This PR borrows from similar work done as part of #1666.

## Note

To remove constraints more aggressively, I have explored the possibility of _removing Representable altogether_, in a [separate commit](https://github.com/hasura/graphql-engine-mono/compare/nicuveo/remove-extension-constraints..nicuveo/tentative-remove-representable). I am not convinced it's a good idea in terms of readability of the code, but it's a possibility.

Further work includes deciding what we want to do with `Show` and `ToTxt`; see #1747.

https://github.com/hasura/graphql-engine-mono/pull/1843

GitOrigin-RevId: 337324ad90cb8f86f06e1c5a36aa44bb414e195a
2021-07-27 13:52:20 +00:00
..
DDL server: remove remnants of query plan caching (fix #1795) 2021-07-27 11:52:43 +00:00
DML Clean metadata arguments 2021-07-27 10:42:51 +00:00
IR Remove several outdated backend constraints 2021-07-27 13:52:20 +00:00
Types Remove several outdated backend constraints 2021-07-27 13:52:20 +00:00
IR.hs server: support remote relationships on SQL Server and BigQuery (#1497) 2021-06-11 03:27:39 +00:00
Types.hs server: add metadata for DB-DB remote joins 2021-07-22 23:07:10 +00:00