graphql-engine/server/src-lib/Hasura/Server
Antoine Leblanc 0e3beb028d Extract generic containers from the codebase
### Description

There were several places in the codebase where we would either implement a generic container, or express the need for one. This PR extracts / creates all relevant containers, and adapts the relevant parts of the code to make use of said new generic containers. More specifically, it introduces the following modules:
- `Data.Set.Extended`, for new functions on `Data.Set`
- `Data.HashMap.Strict.Multi`, for hash maps that accept multiple values
- `Data.HashMap.Strict.NonEmpty`, for hash maps that can never be constructed as empty
- `Data.Trie`, for a generic implementation of a prefix tree

This PR makes use of those new containers in the following parts of the code:
- `Hasura.GraphQL.Execute.RemoteJoin.Types`
- `Hasura.RQL.Types.Endpoint*`

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/3828
GitOrigin-RevId: e6c1b971bcb3f5ab66bc91d0fa4d0e9df7a0c6c6
2022-03-01 16:04:22 +00:00
..
API server: Renames the experimental backend modules 2022-02-25 16:09:17 +00:00
Auth server: assorted minor clean-up around HTTP managers 2022-02-16 07:09:47 +00:00
Init server: Fix experimental sql optimization read 2022-02-25 18:43:12 +00:00
Migrate Feature/webhook response transforms 2022-01-19 04:47:36 +00:00
Telemetry server, pro: actually reformat the code-base using ormolu 2021-09-23 22:57:37 +00:00
App.hs multitenant: support for starting multitenant in read only mode 2021-12-08 06:27:49 +00:00
Auth.hs server: assorted minor clean-up around HTTP managers 2022-02-16 07:09:47 +00:00
CheckUpdates.hs server: assorted minor clean-up around HTTP managers 2022-02-16 07:09:47 +00:00
Compression.hs server, pro: actually reformat the code-base using ormolu 2021-09-23 22:57:37 +00:00
Cors.hs server, pro: actually reformat the code-base using ormolu 2021-09-23 22:57:37 +00:00
Init.hs server: remove cabal flag "developer" 2022-03-01 11:41:45 +00:00
Limits.hs server: add explicit export lists in OSS server and enforce with warning 2021-11-04 16:09:38 +00:00
Logging.hs server, pro: actually reformat the code-base using ormolu 2021-09-23 22:57:37 +00:00
Metrics.hs server, pro: actually reformat the code-base using ormolu 2021-09-23 22:57:37 +00:00
Middleware.hs server: assorted minor clean-up around HTTP managers 2022-02-16 07:09:47 +00:00
Migrate.hs server: provide option to recreate event triggers of specific or all sources in reload_metadata 2021-11-10 14:35:21 +00:00
OpenAPI.hs Extract generic containers from the codebase 2022-03-01 16:04:22 +00:00
Rest.hs Fixing REST Enpoints list variable bug 2021-12-03 21:57:25 +00:00
SchemaUpdate.hs server: fix multiple calls to database on startup 2022-02-09 05:14:29 +00:00
Telemetry.hs server: Support returning scalar types in actions 2022-02-15 14:40:34 +00:00
Types.hs Make optimize_permission_filters an --experimental-features flag 2022-02-07 18:05:39 +00:00
Utils.hs server: add explicit export lists in OSS server and enforce with warning 2021-11-04 16:09:38 +00:00
Version.hs server: drop HasVersion implicit parameter (closes #2236) 2021-10-13 16:39:58 +00:00