Linting errors prevent schema check approvals. This is the correct behavior, but the error returned to the client is generic.
Current error response is:
"error": {
"__typename": "ApproveFailedSchemaCheckError",
"message": "Schema check doesn't exist."
},
We should either:
- Display a custom error when failing to approve a schema check due to a linting policy error
- Modify the UI to disable schema approvals entirely for this check, with a clear explanation why.