Open yujonglee opened 1 month ago
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.
Ecto
drop_param
Describe the solution you'd like Same or similar to Ecto's.
Describe alternatives you've considered I can workaround with update_form.
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)
👍 this is on the short list of things to add.
Is your feature request related to a problem? Please describe.
Ecto
hasdrop_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
.