ash-project / ash_json_api

The JSON:API extension for the Ash Framework
https://hexdocs.pm/ash_json_api
MIT License
56 stars 40 forks source link

Change how relationship routes work #56

Closed zachdaniel closed 5 months ago

zachdaniel commented 2 years ago

Right now, relationship routes use changeset level escape hatches like Ash.Changeset.append_to_relationship. What we should do, instead, is require that an action exists that accepts the relevant input. This allows customizing the behavior, and also makes it much more conventional.