Closed elliotcmorris closed 9 months ago
This is behaviour is required to test https://github.com/OpenAssetIO/OpenAssetIO/issues/1016, and is wanted in general for BAL.
Can we park this issue for now. This behaviour is only required to test the concept, not the implementation in the core API (a test for that is that the enums exist).
Adding a little more context:
preflight
API is currently a blocker for these investigations.Relationship
behaviour configurable so that a Host integration can test the matrix of failure modes too, this increases the scope of this some. Though not particularly complex, this increases the total effort and risk, so I'd like to decouple this from getting the change to the constants in the core API merged so we can facilitate community discussion.Probably part of #88
Closing however as this isn't neccesarily the way we want BAL, or any manager, to behave. It's certain a way it could behave, but not the canonical way, so we don't need to prioritise explicit support.
https://github.com/OpenAssetIO/OpenAssetIO/issues/1016#issuecomment-1669903074
Currently BAL when registering dosen't do the check where it sees if the Traitsets are the same, and then branches to either do a new version if they are, or a new entity if they are not.
This is behaviour allows us to demonstrate the canonical behaviour defined by https://github.com/OpenAssetIO/OpenAssetIO/issues/1016.
To do this, we'll need some sort of relationship trait to create a relationship when a new entity is made. We've been planning to integrate mediacreation with bal anyway (See https://github.com/OpenAssetIO/OpenAssetIO-Manager-BAL/issues/49), so we can use the mediacreation
Relationship
trait for this.ACs
When
register
is called against an entityRef that already exists:Relationship
trait.