In https://github.com/backstage/backstage/issues/1329 I see an example of using an EntityProcessor to emit relationships for multiple owners of a component.
I have the same use case but have an EntityProvider for creating catalog entities from an existing system which provides me with multiple owners for a component.
Single owner is a non-starter for us and I’m trying to figure out the correct way to do this. Adding an EntityProcessor seems like a wasteful way to do this as I’d be processing the same input data twice.
It doesn’t seem I can add relations to a ComponentEntity as it fails Policy check. Error: Malformed envelope, /relations/0 must have required property 'target' (using EntityRelation)
Is there a full Entity type I could emit?