graphql-engine/server/src-test
David Overton 5c7489cc23 Flesh out capabilities types
>

## Description ✍️
->

Fleshes out the Capabilities types used by Data Connector agents.

### Related Issues ✍
->

https://hasurahq.atlassian.net/browse/GDW-85

### Solution and Design ✍
>

Capabilities are divided into sections for queries, mutation, subscriptions, filtering and relationships:
```haskell
data Capabilities = Capabilities
  { cQueries :: Maybe QueryCapabilities,
    cMutations :: Maybe MutationCapabilities,
    cSubscriptions :: Maybe SubscriptionCapabilities,
    cFiltering :: Maybe FilteringCapabilities,
    cRelationships :: Maybe RelationshipCapabilities
  }
```

Each section is optional. If the section is absent it means the the related capabilities are not supported by the agent.
The types for each section can contain additional details about exactly what is supported. E.g.
```haskell
data QueryCapabilities = QueryCapabilities
  { qcSupportsPrimaryKeys :: Bool
  }
```

These are currently mostly empty, but will be filled in later.

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4671
GitOrigin-RevId: 3d48570266bfce5e177a543a0ed6f63a7b450f0b
2022-06-16 08:31:07 +00:00
..
Control/Concurrent server: parallelize buildGQLContext to improve replace_metadata perfo… 2022-03-09 02:27:42 +00:00
Data Weeding (2/?) 2022-06-09 16:40:49 +00:00
Database/MSSQL server/mssql: improve database exception handling and better API errors 2022-02-07 14:12:55 +00:00
Hasura Flesh out capabilities types 2022-06-16 08:31:07 +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: migrate to aeson-2 in preparation for ghc 9.2 upgrade 2022-06-08 15:32:27 +00:00
Main.hs server: add default naming convention to TenantConfig 2022-06-14 09:18:20 +00:00