graphql-engine/server/src-lib/Hasura/Backends/MySQL
Samir Talwar f01c7f4ee6 server: Remove QErr and Code dependencies from the schema parsers.
In the process of decoupling the schema parsers from the GraphQL Engine, we need to remove dependencies on `Hasura.Base.Error`.

First of all, we have avoided using `QErr` in schema parsers code, instead returning a more appropriate data type which can be converted to a `Hasura.Base.Error.QErr` later.

Secondly, we create a new `ParseErrorCode` type to represent parse failure types, which are then converted to a `Hasura.Base.Error.Code` later.

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5181
GitOrigin-RevId: 8655e26adb1e7d5e3d552c77a8a403f987b53467
2022-07-27 12:26:44 +00:00
..
DataLoader server: throw broken invariant on data loader error 2021-12-01 12:50:38 +00:00
Instances server: Remove QErr and Code dependencies from the schema parsers. 2022-07-27 12:26:44 +00:00
Types An ErrorMessage type, to encapsulate. 2022-07-18 20:27:06 +00:00
Connection.hs Increase timeout for DC Agents 2022-07-27 07:19:44 +00:00
FromIr.hs server: transform enum with upper for graphql-default 2022-07-19 06:56:45 +00:00
Meta.hs remove homebrew NESeq, use vendored 2022-07-19 08:42:28 +00:00
Plan.hs Move Hasura.GraphQL.Parser.Column to .RQL.IR. and .GraphQL.Schema. 2022-05-30 22:07:57 +00:00
SQL.hs Remove RQL/Types.hs 2022-04-27 13:58:47 +00:00
ToQuery.hs server: GHC 9.2 changes compatible with 8.10 (#3550) 2022-06-25 22:09:05 +00:00
Types.hs server, pro: actually reformat the code-base using ormolu 2021-09-23 22:57:37 +00:00