Setting up a has_many relationship through another resource?
For instance, how do you translate this Ecto query?
I couldn't find any mention of this in the docs (only for
many_to_many
)2 Replies
this might be useful https://sevenseacat.net/posts/2024/through-relationships-with-ash/
Oh, so the idea is to use
no_attributes?
and a filter to get the same behavior. I'll try that later, thanks!