Skip to content

Check some constraints when evaluating a expression to make code strong #52140

@lcwangchao

Description

@lcwangchao

Enhancement

Currently, there are some constraints we need to follow when coding with expressions. For if a builtinFunc uses an optional property when evaluating, it should declare it in the method RequiredOptionalEvalProps. To make sure the coder does not forget to declaring corresponding property key, we should add some asserts in test.

Metadata

Metadata

Assignees

No one assigned

    Labels

    type/enhancementThe issue or PR belongs to an enhancement.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions