You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When you use the NMF API to set an attribut that has a cardinality greater than 1 (a list), if you give an empty list, the attribut is instead remove from the node.
The text was updated successfully, but these errors were encountered:
I think the issue is with the generated code. For exemple, this is the generated setter for an attribute that is a list of strings.
overrive fun setKeywords(v: List<String>?) {
when {
v == null || v.isEmpty() -> removeProperty("keywords")
v.size in 0..3 -> putProperty("keywords", v)
else -> throw Exception("bound limits: list size must be in 0..3")
}
}
When you use the NMF API to set an attribut that has a cardinality greater than 1 (a list), if you give an empty list, the attribut is instead remove from the node.
The text was updated successfully, but these errors were encountered: