Hello,
I find in various API user guides that CharacteristicSpecificationRelationship has attributes that allow it to easily link to CharacteristicSpecification of another specification:
- characteristicSpecificationId
- parentSpecificationHref
- parentSpecificationId
But CharacteristicRelationship does not have similar attributes, only id, which is not guaranteed to be unique between distinct object instances.
Indeed, it is possible to recover the related Characteristic through the CharacteristicSpecificationRelationship, but it requires to maintain the parent context when processing a Characteristic and its Relationship(s).
Wouldn't it be cleaner architecturally (and also more convenient...) to add to CharacteristicRelationship two similar attributes?
- parentHref
- parentId
Thanks you,
------------------------------
Opher Yaron
Proximus SA
------------------------------