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