Real life example of "Transactions in context values" #15
-
|
From the comments section on youtube
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 7 replies
-
It depends, but the foundation would be to do something similar to what UserCloner.Clone does, which is effectively the orchestrator in this case. |
Beta Was this translation helpful? Give feedback.
Yes, agree this is not a pure storage layer; we have the same understanding of how repositories should work where they should only deal with data access, but considering the requirements you mentioned I think that's the "best" approach, I'm willing to make that tradeoff.
With that being said, historically when dealing with external data that requires to be saved I either do two things:
Those two options perhaps don't work in your case, and they have tradeoffs as well.
G…