Error when using before_action hook to set required relationship attribute
I'm using a before action to lookup and set the
However, the change doesn't seem to be running as I never see the Logger.debugs and I get changeset errors that
Have I misconfigured this hook?
Action
Change Module
:state_id by the state's name or code.However, the change doesn't seem to be running as I never see the Logger.debugs and I get changeset errors that
:state_id is required.Have I misconfigured this hook?
Action
Change Module
Solution
Reproduction added to https://github.com/ash-project/ash/issues/2170
GitHub
Versions erlang 27.3.4.1 elixir 1.18.4 ash 3.5.12 ash_postgres 2.5.22 ecto 3.12.5 ecto_sql 3.12.1 Originally found and reported in Discord Support on 6/16/2025 and tried upgrading the latest versio...
