How do you handle multiple changes without using multiple database requests? - Questions / Help - Elixir Programming Language Forum
How do y’all handle multiple changes without using multiple database requests. This is something I came up with but I am wondering if there’s already a solution I just haven’t found. I made a fancy diagram but I am not allowed to post it. ☹ The Draft module implements an optimistic UI pattern where changes are buffered in memory and persisted as a single, atomic unit. Component Description %Draft{} The Draft stores the original data in source and keeps track of mutations in...