Ash Update Many with Different Values
Hi there! I'm a bit new to Ash so apologies if I am missing something, but I couldn't find this use case in Discord or Elixir Forum.
Let's say I have a Todo List with many Items. The items are ordered 1..n and I have to maintain the order when any items are updated or deleted and the user can control the order.
For example,
and the user deletes the item with
1. Can I make the update part of it atomic and is it worth it?
2. How do folks typically handle auth in nested cases?
This works, but at what cost??!
Thanks in advance!
Let's say I have a Todo List with many Items. The items are ordered 1..n and I have to maintain the order when any items are updated or deleted and the user can control the order.
For example,
and the user deletes the item with
id: "B", the result should be1. Can I make the update part of it atomic and is it worth it?
2. How do folks typically handle auth in nested cases?
This works, but at what cost??!
Thanks in advance!
