-
Notifications
You must be signed in to change notification settings - Fork 74
Description
Is there an existing issue for this?
- I have searched the existing issues
Problem statement
Custom messages are currently supported only within sql_expression. However, this capability could be extended to other areas (such as regular expressions or general key-based validations) where the output would benefit from being translated into a more user-friendly field (for example, descriptive text).
Enabling custom messages in these contexts would allow for more meaningful and tailored feedback for end users when the check results are reported to the end users.
Currently, the only way to implement this is to build a custom check
Proposed Solution
Having a custom message for all the checks would be the solution. It can be auto-generated if the message is not provided (similar to all default behaviors in checks in the current codebase).
It would also be helpful to provide the facility to have placeholders in the custom message that can be automatically filled in from the record or context
Additional Context
No response