graphql-engine/server/src-lib/Hasura/GraphQL/Execute
Samir Talwar 9c4792c417 server: Shorten the init specs.
Makes the init specs shorter by using `shouldBe` instead of `shouldSatisfy` wherever possible. This also makes test failures more expressive.

It also simplifies boolean logic in most places, following HLint warnings. These changes brought to you by `hlint --refactor`, which is basically magic.

I have left some redundancy in the boolean logic for clarity, along with the appropriate HLint suppressions.

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5087
GitOrigin-RevId: 52bf3626be2615e6a32a0fc0e8be19cca31ee4ad
2022-07-18 22:13:31 +00:00
..
Action server: Adds support to return array of scalars in Actions 2022-05-31 05:23:47 +00:00
RemoteJoin Implement HLint suggestions and turn warnings into errors 2022-07-01 10:50:33 +00:00
Subscription server: Shorten the init specs. 2022-07-18 22:13:31 +00:00
Action.hs Remove or ignore all instances of unsafeMkName. 2022-07-18 17:02:15 +00:00
Backend.hs Move SchemaOptions to its own module, remove magic bools 2022-07-14 17:59:01 +00:00
Common.hs Remove RQL/Types.hs 2022-04-27 13:58:47 +00:00
Inline.hs Yeet some default-extensions 2022-03-16 00:40:17 +00:00
Instances.hs Rename Data Wrapper to Data Connector [GDW-89] 2022-05-02 05:04:07 +00:00
Mutation.hs server: runParse returns QErr 2022-06-16 12:22:30 +00:00
Query.hs server: runParse returns QErr 2022-06-16 12:22:30 +00:00
Remote.hs Remove RQL/Types.hs 2022-04-27 13:58:47 +00:00
RemoteJoin.hs server, pro: actually reformat the code-base using ormolu 2021-09-23 22:57:37 +00:00
Resolve.hs server: Metadata origin for definitions (type parameter version v2) 2022-06-28 15:53:44 +00:00
Types.hs server, pro: actually reformat the code-base using ormolu 2021-09-23 22:57:37 +00:00