Closed dfenerski closed 2 years ago
There is warning from the generator when this occurs:
Well, in general it is better to use an aggregation of Elements instead of an array property, so changes within the array/list also trigger invalidation, but yeah, in some cases arrays are needed, so this needs to be fixed. Thanks for reporting!
I've just fixed it, so it will be in the next release of the tool (some time after UI5con). Thanks again!
Thank you and sorry for the continued spam in the Eve of UI5Con ^^.
FYI: the "next release" (0.5.1) was done this week.
Consider the following class:
The
MyComboBox.gen.d.ts
file has then this auto-generated line:import Filter[] from "sap/ui/model/Filter[]";
, i.e. when the aggregation is of typeSomething[]
, the generator considers the characters[
and]
to be part of the name.