Skip to content

Support boolean and number value for feel: static property #195

@barmac

Description

@barmac

Is your feature request related to a problem? Please describe.

Before bug described in #192 (comment) was introduced, user had to set value field to =true in both template property and condition to achieve correct values.

Describe the solution you'd like

Allow to use boolean and number values in the JSON for feel: static properties:

{
    "id" : "input.grounding",
    "label" : "Grounding",
    "description" : "Customize grounding by Vertex AI Search.",
    "optional" : false,
    "value" : false,
    "feel" : "static",
    "group" : "input",
    "binding" : {
      "name" : "input.grounding",
      "type" : "zeebe:input"
    },
    "type" : "Boolean"
  }, {
    "id" : "input.dataStorePath",
    "label" : "Vertex AI data store path",
    "group" : "input",
    "binding" : {
      "name" : "input.dataStorePath",
      "type" : "zeebe:input"
    },
    "condition" : {
      "property" : "input.grounding",
      "equals" : true,
      "type" : "simple"
    },
    "type" : "String"
  }

This way I don't need to know that feel: static results in an expression being written to the property.

Describe alternatives you've considered

Leave it as is, but warn about improper type.

Additional context

Related to #192

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions