Ash FrameworkAF
Ash Framework9mo ago
50 replies
zskreisz

nested form issue

Hi Guys!

I am trying to apply a simple nested form, and I can not get through.

The use-case is simple: I want to add supplier_prices to my users. I tried to do everything according to the docs, probably missed something.

user.ex:
    update :update_with_supplier_price do
      require_atomic? false
      argument :supplier_prices, {:array, :map}, allow_nil?: true

      change manage_relationship(:supplier_prices,
        type: :append_and_remove)
    end

follow up in comment(s)(?).
Was this page helpful?