NDAT-206 Disable the relay schema for cockroach sources

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6468
GitOrigin-RevId: 9c7735c2318580f1b853d6a8d2d586cffef72c59
This commit is contained in:
Abby Sassel 2022-10-21 20:10:28 +01:00 committed by hasura-bot
parent b8bbb8a621
commit 3427488c68

View File

@ -168,9 +168,9 @@ instance PostgresSchema 'Citus where
pgkBuildTableStreamingSubscriptionFields = GSB.buildTableStreamingSubscriptionFields pgkBuildTableStreamingSubscriptionFields = GSB.buildTableStreamingSubscriptionFields
instance PostgresSchema 'Cockroach where instance PostgresSchema 'Cockroach where
pgkBuildTableRelayQueryFields = buildTableRelayQueryFields pgkBuildTableRelayQueryFields _ _ _ _ _ _ = pure []
pgkBuildFunctionRelayQueryFields = buildFunctionRelayQueryFields pgkBuildFunctionRelayQueryFields _ _ _ _ _ _ = pure []
pgkRelayExtension = Just () pgkRelayExtension = Nothing
-- CockroachDB does not support subscriptions yet. -- CockroachDB does not support subscriptions yet.
pgkBuildTableQueryAndSubscriptionFields x1 x2 x3 x4 x5 = do pgkBuildTableQueryAndSubscriptionFields x1 x2 x3 x4 x5 = do
@ -313,7 +313,7 @@ instance
nodesAggExtension = Just () nodesAggExtension = Just ()
streamSubscriptionExtension = Just () streamSubscriptionExtension = Just ()
-- indivdual components -- individual components
columnParser = columnParser columnParser = columnParser
enumParser = enumParser @pgKind enumParser = enumParser @pgKind
possiblyNullable = possiblyNullable possiblyNullable = possiblyNullable