MarimerLLC / csla

A home for your business logic in any .NET application.
https://cslanet.com
MIT License
1.25k stars 402 forks source link

Fix selection of custom ContextManager through CslaOptions #4049

Closed rockfordlhotka closed 3 months ago

rockfordlhotka commented 3 months ago

Fixes #4047

This pull request addresses the issue of ApplicationContextAccessor not selecting the ContextManager specified in CslaOptions.ContextManagerType over the default one. The changes ensure that custom ContextManager types are prioritized and registered before the default types, allowing for the correct ContextManager to be used according to the configuration.


For more details, open the Copilot Workspace session.

rockfordlhotka commented 3 months ago

This isn't complete. It is my first attempt at using the new GH Copilot workspace preview feature. Not entirely sure the AI did the right thing, and in any case, it didn't generate (or allow me to add) any unit tests.