{"record":{"id":"0d2a2ee8ff66b017","repo":"hasura/graphql-engine","slug":"field-level-comparison-operator-configuration-is-n","errorCode":null,"errorMessage":"Field level comparison operator configuration is not fully supported yet. Please use \\\"enableAll\\\":true.","messagePattern":"Field level comparison operator configuration is not fully supported yet\\. Please use \\\\\"enableAll\\\\\":true\\.","errorType":"validation","errorClass":"BooleanExpressionError::FieldLevelComparisonOperatorConfigurationNotSupported","httpStatus":null,"severity":"error","filePath":"v3/crates/metadata-resolve/src/stages/boolean_expressions/error.rs","lineNumber":150,"sourceCode":"    #[error(\n        \"The field {field_name:} has type {field_type:} but the field's boolean expression type {field_boolean_expression_type_name:} has type {underlying_type:}\"\n    )]\n    FieldTypeMismatch {\n        field_name: FieldName,\n        field_type: QualifiedTypeName,\n        field_boolean_expression_type_name: BooleanExpressionTypeIdentifier,\n        underlying_type: QualifiedTypeName,\n    },\n\n    #[error(\n        \"Scalar representations for data connector '{data_connector_name}' could not found for boolean expression type {boolean_expression_type}\"\n    )]\n    DataConnectorScalarRepresentationsNotFound {\n        data_connector_name: Qualified<DataConnectorName>,\n        boolean_expression_type: Qualified<CustomTypeName>,\n    },\n\n    #[error(\n        \"Field level comparison operator configuration is not fully supported yet. Please use \\\"enableAll\\\":true.\"\n    )]\n    FieldLevelComparisonOperatorConfigurationNotSupported,\n\n    #[error(\n        \"Field level comparison operator configuration is not fully supported yet. Please add all fields in filterable_fields.\"\n    )]\n    FieldLevelComparisonOperatorNeedsAllFields,\n\n    #[error(\"a source must be defined for model {model:} in order to use filter expressions\")]\n    CannotUseFilterExpressionsWithoutSource { model: Qualified<ModelName> },\n\n    #[error(\n        \"Target model {model_name:} not found, referenced in relationship {relationship_name:}\"\n    )]\n    TargetModelNotFound {\n        relationship_name: RelationshipName,\n        model_name: Qualified<ModelName>,","sourceCodeStart":132,"sourceCodeEnd":168,"githubUrl":"https://github.com/hasura/graphql-engine/blob/724551b9ae87845594ef0408cff0e50eb6c90dc5/v3/crates/metadata-resolve/src/stages/boolean_expressions/error.rs#L132-L168","documentation":"Indicates that per-field comparison operator configuration on a boolean expression type is not yet implemented; only enabling all operators for all fields is supported. Thrown when metadata restricts comparison operators on specific fields of a boolean expression type.","triggerScenarios":"Declaring a booleanExpressionType with per-field comparisonOperators configuration (e.g. enabling only _eq/_lt on a single field) instead of using the blanket operators option.","commonSituations":"Trying to fine-tune which GraphQL comparison operators are exposed per field; migrating metadata written against a spec that implied field-level operator control.","solutions":["Replace the per-field comparison operator configuration with the global option that enables all operators (e.g. operators: { enableAll: true } on the booleanExpressionType)","Remove the field-level operators block entirely"],"exampleFix":"// before\nbooleanExpressionType:\n  operators:\n    _eq: [rating]\n// after\nbooleanExpressionType:\n  operators:\n    enableAll: true","handlingStrategy":"validation","validationCode":"if (boolExpType.operators && !boolExpType.operators.enableAll && boolExpType.operators.fields) {\n  fail('per-field comparison operators are not supported; use enableAll: true');\n}","typeGuard":null,"tryCatchPattern":null,"preventionTips":["Use operators.enableAll for boolean expression types in current versions","Track release notes for when field-level operator support lands"],"tags":["hasura","boolean-expression","comparison-operators","unsupported-feature"],"backgroundTag":"unsupported-feature-configuration","analyzedSha":"724551b9ae87845594ef0408cff0e50eb6c90dc5","analyzedAt":"2026-08-28T07:32:55.105Z","schemaVersion":2},"datasetVersion":"2026-08-28T11:17:15.048Z"}