RCommon-Team / RCommon

A cohesive set of .NET 8+ infrastructure libraries that utilizes abstractions for persistence, unit of work/transactions, distributed event handling, CQRS, and more.
https://rcommon.com
Apache License 2.0
13 stars 3 forks source link

Fixed DI scope issue with ScopedDataStoreEnlistementProvider. (#121) #122

Closed jasonmwebb-lv closed 8 months ago

jasonmwebb-lv commented 8 months ago

The StaticDataStore can be a singleton and still accessed through the StaticDataStoreRegistry with is now "Scoped" rather than a singleton to prevent root scope resolver issues. Updated example application and added some better exception handling around this area.