-
Story
-
Resolution: Done
-
Medium
-
None
-
None
-
None
Where relationship types are retrieved for use in a component, only types applicable to the model defined for that component should be retrieved.
Where relationship type is retrieved by UID, it must be updated to ensure
- if the UID is generated for the call ensure the model name of the relationship type (where model is set) is included in the UID generation,
- if the model name is not knowable, the relationship must be fetched by another criteria, e.g. combination of type and model
- note the model name for the relationship is not necessarily the same model name as for the type the relationship is being used in (e.g. the model for a node type could be different from the model of the relationship used in the node type) where one model extends another model.
Where the relationship type is retrieved by some other property, e.g. type, it must be updated to also include the model
Where all relationship types are read, consideration must be given to the model that is relevant to the request