aloneguid / config

⚙ Config.Net - the easiest configuration framework for .NET developers. No BS.
MIT License
656 stars 86 forks source link

Support transactional IConfigStores #70

Open maelgrove opened 6 years ago

maelgrove commented 6 years ago

I've asked about this quite a while back (basically, why is there no Save method - and there are quite a few other issues covering this topic) and you answered me that there is no support for transactional configuration stores because some configuration stores are already transactional, which I can agree upon. Though it would still be nice to have some way to explicitly save the current configuration, for which I suggest the following implementation:

aloneguid commented 6 years ago

I totally see your point. I think one can implement transactions outside of the stores themselves, inside the core library, as long as store interface supports batched save.