graphql-engine/server/src-test
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
..
Control Implement HLint suggestions and turn warnings into errors 2022-07-01 10:50:33 +00:00
Data server/parsers: Reduce usages of "utils"-like functions. 2022-07-06 07:56:35 +00:00
Database/MSSQL Use hspec-discover for src-test, remove unitSpecs list. 2022-07-18 14:15:17 +00:00
Hasura server: Remove QErr and Code dependencies from the schema parsers. 2022-07-27 12:26:44 +00:00
Network/HTTP/Client server: add explicit export lists in OSS server and enforce with warning 2021-11-04 16:09:38 +00:00
Test server: Remove QErr and Code dependencies from the schema parsers. 2022-07-27 12:26:44 +00:00
Discover.hs Use hspec-discover for src-test, remove unitSpecs list. 2022-07-18 14:15:17 +00:00
Main.hs Use hspec-discover for src-test, remove unitSpecs list. 2022-07-18 14:15:17 +00:00