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?
4 Replies
ZachDaniel
ZachDaniel2y ago
Hmm…smells like a bug potentially. Like that we aren’t using the throgh_relationship.api config somewhere properly
kernel
kernelOP2y ago
that's the general feeling I got
ZachDaniel
ZachDaniel2y ago
Can you open an issue for it on ash? Will take a look this evening or tomorrow, thanks
kernel
kernelOP2y ago
sure thang

Did you find this page helpful?