Skip to content

[FEATURE]: Enable custom message for all the checks #958

@moattarwork

Description

@moattarwork

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions