solnic/dm-session — comment on commit 97704151ea3328867f255a8b195e989d39ee1e92
File: lib/data_mapper/session.rb line 12
By solnic:

Hmm how would you set dependencies if it was all in one UoW instance? As I understand it in that situation you would have to order inserts, updates and deletes and also take care of dependencies between them so that a) all three groups are executed in correct order b) in each group commands are also executed in correct order. This is basically what current implementation is supposed to do. I just figured it will be convenient to put the 3 groups into separate UoW instances which are managed by the main UoW instance too.

Not sure if you get what I mean :) We should talk on #datamapper about that probably