graphql-engine/server/src-lib/Hasura/GraphQL/Schema
Samir Talwar 342391f39d Upgrade Ormolu to v0.5.
This upgrades the version of Ormolu required by the HGE repository to v0.5.0.1, and reformats all code accordingly.

Ormolu v0.5 reformats code that uses infix operators. This is mostly useful, adding newlines and indentation to make it clear which operators are applied first, but in some cases, it's unpleasant. To make this easier on the eyes, I had to do the following:

* Add a few fixity declarations (search for `infix`)
* Add parentheses to make precedence clear, allowing Ormolu to keep everything on one line
* Rename `relevantEq` to `(==~)` in #6651 and set it to `infix 4`
* Add a few _.ormolu_ files (thanks to @hallettj for helping me get started), mostly for Autodocodec operators that don't have explicit fixity declarations

In general, I think these changes are quite reasonable. They mostly affect indentation.

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6675
GitOrigin-RevId: cd47d87f1d089fb0bc9dcbbe7798dbceedcd7d83
2022-11-02 20:55:13 +00:00
..
BoolExp server: Add an ExperimentalFeatureFlag for Aggregation Predicates 2022-10-25 13:21:40 +00:00
Action.hs Resolve source customization at schema cache building time. 2022-09-12 16:07:26 +00:00
Backend.hs Extract out functions from columnParser in Backend. 2022-09-13 21:22:25 +00:00
BoolExp.hs Upgrade Ormolu to v0.5. 2022-11-02 20:55:13 +00:00
Build.hs Remove spaces before colons in error messages and descriptions 2022-10-01 14:48:58 +00:00
Common.hs Upgrade Ormolu to v0.5. 2022-11-02 20:55:13 +00:00
Instances.hs Rename Data Wrapper to Data Connector [GDW-89] 2022-05-02 05:04:07 +00:00
Introspect.hs Upgrade Ormolu to v0.5. 2022-11-02 20:55:13 +00:00
Mutation.hs Use a different reader context for sources and remote schemas with new SchemaT monad. 2022-09-06 16:49:23 +00:00
NamingCase.hs server: transform enum with upper for graphql-default 2022-07-19 06:56:45 +00:00
Node.hs Upgrade Ormolu to v0.5. 2022-11-02 20:55:13 +00:00
Options.hs server: Add an ExperimentalFeatureFlag for Aggregation Predicates 2022-10-25 13:21:40 +00:00
OrderBy.hs GDC-189 custom aggregations 2022-10-27 00:44:06 +00:00
Parser.hs refactor(tests): Expose more Parser types in Hasura.GraphQL.Schema.Parser 2022-09-08 13:57:18 +00:00
Postgres.hs Use a different reader context for sources and remote schemas with new SchemaT monad. 2022-09-06 16:49:23 +00:00
Relay.hs Upgrade Ormolu to v0.5. 2022-11-02 20:55:13 +00:00
Remote.hs Upgrade Ormolu to v0.5. 2022-11-02 20:55:13 +00:00
RemoteRelationship.hs Upgrade Ormolu to v0.5. 2022-11-02 20:55:13 +00:00
Select.hs Upgrade Ormolu to v0.5. 2022-11-02 20:55:13 +00:00
SubscriptionStream.hs server: add metadata origin in streaming subscription field parser 2022-09-27 15:56:46 +00:00
Table.hs Improve description for table select columns enum type 2022-10-03 11:00:10 +00:00
Typename.hs Move MkTypename and NamingCase into their own modules. 2022-07-12 14:01:28 +00:00
Update.hs Use a different reader context for sources and remote schemas with new SchemaT monad. 2022-09-06 16:49:23 +00:00