Skip to content

"at least one operator should not be static" not triggered for 2 static arrays #17

Open
@matthiaskrgr

Description

@matthiaskrgr

Usually a rule like 1 has to be 1 triggers an error on the playground "at least one operator should not be static" however this is not the case for two equal arrays:
The validation rule 0,0 has to be 0,0 generates the code

huml.appendRule("",
    new String[]{  },
    "0,0 has to be 0,0",
    ( model) -> huml.NONE_OF("0","0", "0","0"),
    false
)

Is this a bug?

Metadata

Metadata

Assignees

No one assigned

    Labels

    OV-langconcerns the openVALIDATION languagebugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions