vorto icon indicating copy to clipboard operation
vorto copied to clipboard

Either document that enum type references in properties must use the fully qualified path, or remove the restriction

Open ghost opened this issue 5 years ago • 1 comments

As the title says:

value as double with { propertyAtribute: Enum.type }

--> will not validate.

value as double with { propertyAtribute: fully.qualified.path.to.Enum.type }

--> will validate.

Typical example with:

functionblock MyFb { status { value as double with { measurementUnit: Unit.second } } }

Need to either:

  • figure out why the fully qualified reference is required and find a way around if possible, or
  • document this requirement somewhere

See also #1375

ghost avatar Dec 17 '19 16:12 ghost

We still need to support the fully qualified path after the change for backward compatibility.

kolotu avatar Jan 29 '20 12:01 kolotu