Skip to content

Add attribute "type" and let attribute "name" be user INPUT #36

Description

@maroshmka

We currently describe rules as follows:

{
        "name": NOT_NULL,
        "columns": ["status", "market", "src", "dst"], 
}

Which doesn't make sense, e.g. in case of sql rules, cause name is "SQL" and then user can't name their rule (only in description).

Lets rename "name" -> "type" as it is type. Lets keep "name" attribute for user input, also keep description, e.g.:

{
        "type": SQL,
        "name": "Margin is OK"
        "description": "we check if margin is bigger than blabla and also",
        "sql": "select 1", 
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions