many to many relationships management.
I couldnt find clear way but got it working. Eventually i got it working, but i would like to get some tips/tricks, if this they way, or am i missing something obvious?
and in
Also just wanted to document this, so after a year when i need it agin, i can find it 😄
3 Replies
Looks about right to me
Rebecca has a great blog post about this fyi 🤠: Modelling
through
relationships with AshModelling
through
relationships with Ash | sevenseacat.netThey're not natively supported, but you can still make them!
If all walues are deselected, there is issue.
transform_params: fn form, params, -> update_in(params, ["fetchers"], &List.wrap/1) end
this helps. this helps even for selects without multiselect enabled.