Description
some classes have only optional arguments/properties.
for some reason, they throw NoPropertiesProvidedException('At least one of ... must be provided for ...')
.
this is (at least with CDX 1.6) not true for most data models. Per spec, most models really dont require any properties.
This is especially annoying when you wanted to start with an empty object and add properties later. You simply cant, starting with an empty one will just throw an Error and that is it.
goal
allow creation of empty objects/model where the spec allows it.
implementation
make all these NoPropertiesProvidedException
warnings.
or remove them entirely.
Known Exceptions:
Licenses
: eitherid
orname
must be given
Activity