Skip to content

Add support for DomainType  #78

@outkaj

Description

@outkaj

now we have a DomainType in ol-core which can look something like

 [[Amount:DomainType(
  variableType: Number;
  condition: this > 0;
  errorMessage:"amount must be greater than 0!"
)]]
[[amount:Amount]]

it also works with expressions like

[[Amount:DomainType(
variableType: Number;
condition: this > 0;
errorMessage:"amount must be greater than 0!"
)]]
[[amount:Amount]]
[[amount2:Amount]]
[[@amount expression=amount - amount2]]
[[amount expression]]

@jtrein could you quickly look into adding support for this at some point before our next app release? many thanks!

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions