ash_phoenix
ash_phoenix copied to clipboard
Support `drop_param`
Is your feature request related to a problem? Please describe.
Ecto
has drop_param
. (https://hexdocs.pm/ecto/Ecto.Changeset.html#cast_assoc/3-custom-actions) I want to do same thing with Ash, but I can't.
Describe the solution you'd like Same or similar to Ecto's.
Describe alternatives you've considered
I can workaround with update_form
.
AshPhoenix.Form.update_form(form, parent_path, fn form ->
params = AshPhoenix.Form.params(form)
new_params = modify_params(params)
AshPhoenix.Form.validate(form, new_params)
end)