Closed gnikolaidis closed 4 years ago
@gnikolaidis I'm not really sure, but I think that the problem is that you defined some attributes ( check, nullable ) to the icon property.
All examples I've found (not have opened all interface definitions, but most) in the framework and in the documentation are defining the properties in an interface with an empty definition, like this:
properties: {
/** Some documentation */
icon: { },
See http://www.qooxdoo.org/devel/pages/core/interfaces.html , where it is documented that the property definition may
be empty.
Please try with the empty definition and report back. thank you.
a. With the attributes removed, the behavior is still the same.
b. With or without the attributes, with a non-array extend
I get the correct behavior.
I really like those attributes! They constraint what a class can or cannot do when it implements the interface. If I recall correctly, there are even some runtime checks for that.
Should be tested with the new apiviewer
python toolchain is dead. Website is new
Suppose you have an interface definition with an array in extend key and one or more properties:
Then the generator.py
api-verify
job cannot correctly create documentation for the interface properties. The error message, which appears multiple times for each property, is