We now restrict you from invoking dialog macros that violate a cardinality constraint of max(One)
.
For example, the following dialog and template-macro will no longer provide dialog when multiple values are invoked for the parameter value
:
Deprecated Template Macro Definition
template-macro-def (MyIntegerMacro) {
params {
param (value) {
type (MyInteger)
min (Required) max (One)
}
}
content {
template ("Number #{value(value)} Test")
}
}
Matched Dialog
dialog (Result) {
match: MyInteger(this)
template-macro (MyIntegerMacro) {
param (value) {
expression (this)
}
}
}
Learn more about the deprecation stages.
Copyright 2024 Samsung All rights reserved