graphql-engine/server/src-lib/Hasura/RQL/IR
Auke Booij 3c3ed55914 server: schema that grows (#105)
This PR makes a bunch of schema generation code in Hasura.GraphQL.Schema backend-agnostic, by moving the backend-specific parts into a new BackendSchema type class. This way, the schema generation code can be reused for other backends, simply by implementing new instances of the BackendSchema type class.

This work is now in a state where the schema generators are sufficiently generic to accept the implementation of a new backend. That means that we can start exposing MS SQL schema. Execution is not implemented yet, of course.
The branch currently does not support computed fields or Relay. This is, in a sense, intentional: computed field support is normally baked into the schema generation (through the fieldSelection schema generator), and so this branch shows a programming technique that allows us to expose certain GraphQL schema depending on backend support. We can write support for computed fields and Relay at a later stage.

Co-authored-by: Antoine Leblanc <antoine@hasura.io>
GitOrigin-RevId: df369fc3d189cbda1b931d31678e9450a6601314
2020-12-01 15:51:13 +00:00
..
BoolExp.hs server: schema that grows (#105) 2020-12-01 15:51:13 +00:00
Delete.hs server: all remaining IR changes (#75) 2020-11-25 14:19:50 +00:00
Insert.hs server: all remaining IR changes (#75) 2020-11-25 14:19:50 +00:00
OrderBy.hs server: remove a few unused Lift instances (#114) 2020-11-26 13:58:07 +00:00
RemoteJoin.hs Merge oss/master onto mono/main 2020-11-12 22:37:19 +05:30
Returning.hs server: all remaining IR changes (#75) 2020-11-25 14:19:50 +00:00
Select.hs server: all remaining IR changes (#75) 2020-11-25 14:19:50 +00:00
Update.hs server: all remaining IR changes (#75) 2020-11-25 14:19:50 +00:00