graphql-engine/server/src-lib/Hasura
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
..
Backends Upgrade Ormolu to v0.5. 2022-11-02 20:55:13 +00:00
Base Upgrade Ormolu to v0.5. 2022-11-02 20:55:13 +00:00
Cache server, pro: actually reformat the code-base using ormolu 2021-09-23 22:57:37 +00:00
Eventing Upgrade Ormolu to v0.5. 2022-11-02 20:55:13 +00:00
GraphQL Upgrade Ormolu to v0.5. 2022-11-02 20:55:13 +00:00
Incremental Upgrade Ormolu to v0.5. 2022-11-02 20:55:13 +00:00
Metadata server: codecs for object & array relationships, and computed fields 2022-10-13 17:57:23 +00:00
RemoteSchema Upgrade Ormolu to v0.5. 2022-11-02 20:55:13 +00:00
RQL Upgrade Ormolu to v0.5. 2022-11-02 20:55:13 +00:00
Server Upgrade Ormolu to v0.5. 2022-11-02 20:55:13 +00:00
SQL Support MetadataDefaults Options - GDC-108 2022-10-20 12:46:45 +00:00
Tracing server: support 128-bit trace ids 2022-09-20 02:50:06 +00:00
App.hs Upgrade Ormolu to v0.5. 2022-11-02 20:55:13 +00:00
EncJSON.hs [server] Fix CockroachDB live queries 2022-11-02 11:41:02 +00:00
GC.hs Upgrade Ormolu to v0.5. 2022-11-02 20:55:13 +00:00
HTTP.hs Add Data Connector agent request logging, improve error messages, and add tracing support [GDW-83] 2022-07-11 08:05:40 +00:00
Incremental.hs Data connector cache invalidations 2022-09-14 13:00:47 +00:00
Logging.hs Upgrade Ormolu to v0.5. 2022-11-02 20:55:13 +00:00
Name.hs server/postgres: fix the schema types conflict between aggregation predicates and table selection aggregates 2022-10-21 13:28:43 +00:00
QueryTags.hs server: support query tags for MSSQL data sources 2022-04-28 19:34:45 +00:00
Session.hs Upgrade Ormolu to v0.5. 2022-11-02 20:55:13 +00:00
Tracing.hs Upgrade Ormolu to v0.5. 2022-11-02 20:55:13 +00:00