mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-15 09:22:43 +03:00
NDAT-295 Cleanup Tests.Subscriptions structure
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6882 GitOrigin-RevId: 854d30dc0a1859c08f082df4d3c375325c59cf9c
This commit is contained in:
parent
980813c4c5
commit
7df9dc5832
@ -62,6 +62,7 @@ Each ✅ below links **directly** to the feature within a particular type of dat
|
|||||||
| Data Validations | [✅](/schema/postgres/data-validations.mdx) | [✅](/schema/postgres/data-validations.mdx) | ✅ | [✅](/schema/bigquery/data-validations.mdx) | [✅](/schema/postgres/data-validations.mdx) |
|
| Data Validations | [✅](/schema/postgres/data-validations.mdx) | [✅](/schema/postgres/data-validations.mdx) | ✅ | [✅](/schema/bigquery/data-validations.mdx) | [✅](/schema/postgres/data-validations.mdx) |
|
||||||
| Relay Schema | [✅](/schema/postgres/relay-schema.mdx) | [✅](/schema/postgres/relay-schema.mdx) | ❌ | ❌ | ❌ |
|
| Relay Schema | [✅](/schema/postgres/relay-schema.mdx) | [✅](/schema/postgres/relay-schema.mdx) | ❌ | ❌ | ❌ |
|
||||||
| Naming Conventions | [✅](/schema/postgres/naming-convention.mdx) | ❌ | ❌ | ❌ | [✅](/schema/postgres/naming-convention.mdx) |
|
| Naming Conventions | [✅](/schema/postgres/naming-convention.mdx) | ❌ | ❌ | ❌ | [✅](/schema/postgres/naming-convention.mdx) |
|
||||||
|
| Custom Fields | [✅](/schema/postgres/custom-field-names.mdx) | [✅](/schema/postgres/custom-field-names.mdx) | [✅](/schema/ms-sql-server/custom-field-names.mdx) | [✅](/schema/bigquery/custom-field-names.mdx) | [✅](/schema/postgres/custom-field-names.mdx) |
|
||||||
|
|
||||||
#### Queries
|
#### Queries
|
||||||
|
|
||||||
@ -91,7 +92,7 @@ Each ✅ below links **directly** to the feature within a particular type of dat
|
|||||||
#### Subscriptions
|
#### Subscriptions
|
||||||
|
|
||||||
| | Postgres | Citus | SQL Server | BigQuery | CockroachDB |
|
| | Postgres | Citus | SQL Server | BigQuery | CockroachDB |
|
||||||
| ----------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | --------------------------------------------------------------------- | -------- | ----------- |
|
| ----------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | --------------------------------------------------------------------- | -------- | -------------------------------------------------------------------------- |
|
||||||
| Value of Field | [✅](/subscriptions/postgres/livequery/use-cases.mdx#pg-subscribe-field) | [✅](/subscriptions/postgres/livequery/use-cases.mdx#pg-subscribe-field) | [✅](/subscriptions/ms-sql-server/use-cases.mdx#pg-subscribe-field) | ❌ | [✅](/subscriptions/postgres/livequery/use-cases.mdx#pg-subscribe-field) |
|
| Value of Field | [✅](/subscriptions/postgres/livequery/use-cases.mdx#pg-subscribe-field) | [✅](/subscriptions/postgres/livequery/use-cases.mdx#pg-subscribe-field) | [✅](/subscriptions/ms-sql-server/use-cases.mdx#pg-subscribe-field) | ❌ | [✅](/subscriptions/postgres/livequery/use-cases.mdx#pg-subscribe-field) |
|
||||||
| Updates to Rows | [✅](/subscriptions/postgres/livequery/use-cases.mdx#pg-subscribe-table) | [✅](/subscriptions/postgres/livequery/use-cases.mdx#pg-subscribe-table) | ❌ | ❌ | [✅](/subscriptions/postgres/livequery/use-cases.mdx#pg-subscribe-table) |
|
| Updates to Rows | [✅](/subscriptions/postgres/livequery/use-cases.mdx#pg-subscribe-table) | [✅](/subscriptions/postgres/livequery/use-cases.mdx#pg-subscribe-table) | ❌ | ❌ | [✅](/subscriptions/postgres/livequery/use-cases.mdx#pg-subscribe-table) |
|
||||||
| Value of Derived Field | [✅](/subscriptions/postgres/livequery/use-cases.mdx#pg-subscribe-derived) | [✅](/subscriptions/postgres/livequery/use-cases.mdx#pg-subscribe-derived) | [✅](/subscriptions/ms-sql-server/use-cases.mdx#pg-subscribe-derived) | ❌ | [✅](/subscriptions/postgres/livequery/use-cases.mdx#pg-subscribe-derived) |
|
| Value of Derived Field | [✅](/subscriptions/postgres/livequery/use-cases.mdx#pg-subscribe-derived) | [✅](/subscriptions/postgres/livequery/use-cases.mdx#pg-subscribe-derived) | [✅](/subscriptions/ms-sql-server/use-cases.mdx#pg-subscribe-derived) | ❌ | [✅](/subscriptions/postgres/livequery/use-cases.mdx#pg-subscribe-derived) |
|
||||||
|
@ -149,6 +149,7 @@ executable api-tests
|
|||||||
Test.Schema.ConflictsSpec
|
Test.Schema.ConflictsSpec
|
||||||
Test.Schema.CustomFieldNames.MutationSpec
|
Test.Schema.CustomFieldNames.MutationSpec
|
||||||
Test.Schema.CustomFieldNames.QuerySpec
|
Test.Schema.CustomFieldNames.QuerySpec
|
||||||
|
Test.Schema.CustomFieldsSpec
|
||||||
Test.Schema.DataValidations.Permissions.InsertSpec
|
Test.Schema.DataValidations.Permissions.InsertSpec
|
||||||
Test.Schema.DataValidations.Permissions.SelectSpec
|
Test.Schema.DataValidations.Permissions.SelectSpec
|
||||||
Test.Schema.DefaultValuesSpec
|
Test.Schema.DefaultValuesSpec
|
||||||
@ -167,9 +168,8 @@ executable api-tests
|
|||||||
Test.SQLServer.DefaultValuesSpec
|
Test.SQLServer.DefaultValuesSpec
|
||||||
Test.SQLServer.InsertVarcharColumnSpec
|
Test.SQLServer.InsertVarcharColumnSpec
|
||||||
Test.SQLServer.VarcharLiteralsSpec
|
Test.SQLServer.VarcharLiteralsSpec
|
||||||
Test.Subscriptions.CustomFieldsSpec
|
|
||||||
Test.Subscriptions.DerivedDataSpec
|
Test.Subscriptions.DerivedDataSpec
|
||||||
Test.Subscriptions.LiveQueriesSpec
|
Test.Subscriptions.RowUpdatesSpec
|
||||||
Test.Subscriptions.StreamingSubscriptionsSpec
|
Test.Subscriptions.StreamingSubscriptionsSpec
|
||||||
|
|
||||||
executable render-feature-matrix
|
executable render-feature-matrix
|
||||||
|
@ -1,9 +1,9 @@
|
|||||||
{-# LANGUAGE QuasiQuotes #-}
|
{-# LANGUAGE QuasiQuotes #-}
|
||||||
|
|
||||||
-- | Testing custom root fields for subscriptions.
|
-- | Testing custom root fields
|
||||||
--
|
--
|
||||||
-- https://hasura.io/docs/latest/graphql/core/databases/postgres/schema/custom-field-names/#expose-table-root-fields-with-a-different-name-in-the-graphql-api
|
-- https://hasura.io/docs/latest/graphql/core/databases/postgres/schema/custom-field-names/
|
||||||
module Test.Subscriptions.CustomFieldsSpec (spec) where
|
module Test.Schema.CustomFieldsSpec (spec) where
|
||||||
|
|
||||||
import Data.Aeson (Value)
|
import Data.Aeson (Value)
|
||||||
import Data.Aeson.Key qualified as Key (toString)
|
import Data.Aeson.Key qualified as Key (toString)
|
@ -2,7 +2,9 @@
|
|||||||
|
|
||||||
-- | Test that each supported backend is able to do a simple live query /
|
-- | Test that each supported backend is able to do a simple live query /
|
||||||
-- subscription.
|
-- subscription.
|
||||||
module Test.Subscriptions.LiveQueriesSpec (spec) where
|
--
|
||||||
|
-- https://hasura.io/docs/latest/subscriptions/postgres/livequery/use-cases/#pg-subscribe-table
|
||||||
|
module Test.Subscriptions.RowUpdatesSpec (spec) where
|
||||||
|
|
||||||
import Data.Aeson
|
import Data.Aeson
|
||||||
import Data.List.NonEmpty qualified as NE
|
import Data.List.NonEmpty qualified as NE
|
Loading…
Reference in New Issue
Block a user