{"record":{"id":"a729fdfd32fc18e2","repo":"hasura/graphql-engine","slug":"predicate-types-in-data-connectors-are-unsupported","errorCode":null,"errorMessage":"Predicate types in data connectors are unsupported","messagePattern":"Predicate types in data connectors are unsupported","errorType":"validation","errorClass":"ScalarBooleanExpressionTypeError","httpStatus":null,"severity":"error","filePath":"v3/crates/metadata-resolve/src/stages/scalar_boolean_expressions/error.rs","lineNumber":48,"sourceCode":"        operator_name: OperatorName,\n        boolean_expression_type: Qualified<CustomTypeName>,\n    },\n    #[error(\"data connector {data_connector:} could not be found\")]\n    DataConnectorNotFound {\n        data_connector: Qualified<DataConnectorName>,\n    },\n    #[error(\"scalar representations for data connector {data_connector:} could not be found\")]\n    DataConnectorScalarRepresentationsNotFound {\n        data_connector: Qualified<DataConnectorName>,\n    },\n    #[error(\n        \"scalar type representation required for type {scalar_type:} in data connector {data_connector:}\"\n    )]\n    DataConnectorScalarRepresentationRequired {\n        data_connector: Qualified<DataConnectorName>,\n        scalar_type: DataConnectorScalarType,\n    },\n    #[error(\"Predicate types in data connectors are unsupported\")]\n    PredicateTypesUnsupported,\n    #[error(\"{0}\")]\n    GraphqlError(#[from] graphql_config::GraphqlConfigError),\n}\n\nimpl ContextualError for ScalarBooleanExpressionTypeError {\n    fn create_error_context(&self) -> Option<error_context::Context> {\n        None\n    }\n}\n\n#[derive(Debug, thiserror::Error)]\npub enum ScalarBooleanExpressionTypeIssue {\n    // Because the GraphqlConfig's filterInputConfig requires all properties to be set, the effective meaning of not\n    // having the is_null operator set is that the entire boolean expression cannot be rendered in GraphQL and so we\n    // communicate that effect here, even though this issue is only about logical operators specifically.\n    #[error(\n        \"a graphql section is defined in boolean expression type '{type_name}' but it will not appear in the GraphQL API unless logical operator field names are also configured in the GraphqlConfig in query.filterInputConfig\"","sourceCodeStart":30,"sourceCodeEnd":66,"githubUrl":"https://github.com/hasura/graphql-engine/blob/724551b9ae87845594ef0408cff0e50eb6c90dc5/v3/crates/metadata-resolve/src/stages/scalar_boolean_expressions/error.rs#L30-L66","documentation":"Indicates that predicate types (function-like boolean expression types) are not supported when resolving scalar boolean expressions against data connectors.","triggerScenarios":"Metadata declares a predicate-type boolean expression that requires data connector support, which the resolver explicitly rejects.","commonSituations":"Using experimental predicate types features that require a CLI/plugin feature flag that is not enabled in the current version.","solutions":["Remove the predicate type usage or replace it with a standard scalar boolean expression type","Enable the required feature flag / use a version that supports predicate types"],"exampleFix":null,"handlingStrategy":"validation","validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":["Avoid predicate types until the feature is flagged enabled in your CLI version"],"tags":["metadata","predicate-types","unsupported","feature-flag"],"backgroundTag":"unsupported-feature-used","analyzedSha":"724551b9ae87845594ef0408cff0e50eb6c90dc5","analyzedAt":"2026-08-28T07:32:55.105Z","schemaVersion":2},"datasetVersion":"2026-08-28T11:17:15.048Z"}