Ash FrameworkAF
Ash Framework3y ago
18 replies
Bananoid

Does Api.bulk_create support action's arguments?

I'm try to create items that are related to the workspace by using bulk_create

    create :create do
      primary? true
      accept [:start, :result]

      argument :workspace_id, :uuid do
        allow_nil? false
      end

      change manage_relationship(:workspace_id, :workspace, type: :append_and_remove)
    end

but I don't know how to pass workspace_id as an argument
Was this page helpful?