Ash FrameworkAF
Ash Framework3y ago
5 replies
kernel

manage_relationship :remove across API's

I have a Tag resource that belongs in the Organization API, I have a
Transaction
resource that belongs in the Transactions API, there is a join resource between them called TransactionTag that is in the
Transaction
API registry.

I am unable to manage_relationship :remove a Tag from a
Transaction
resource unless I also include the TransactionTag resource in the Organization registry. (I get a ResourceNotAllowed error otherwise)

Is this expected behaviour?
Am I footgunning myself if I do this just because it works?
Was this page helpful?