graphql-engine/server/src-lib/Hasura/RQL/IR
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
..
BoolExp.hs Remove several outdated backend constraints 2021-07-27 13:52:20 +00:00
Delete.hs [gardening] remove all traverse functions from RQL.IR 2021-07-08 15:42:53 +00:00
Insert.hs [gardening] remove all traverse functions from RQL.IR 2021-07-08 15:42:53 +00:00
OrderBy.hs Remove several outdated backend constraints 2021-07-27 13:52:20 +00:00
Returning.hs [gardening] remove all traverse functions from RQL.IR 2021-07-08 15:42:53 +00:00
Root.hs server: add IR support for DB-to-DB joins 2021-07-26 13:05:53 +00:00
Select.hs server: add IR support for DB-to-DB joins 2021-07-26 13:05:53 +00:00
Update.hs [gardening] remove all traverse functions from RQL.IR 2021-07-08 15:42:53 +00:00