You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
Changed
During a scenario, code that reads Arc's process-wide provider directly, such as the MongoDB and EF Core Observe() extensions, now sees the host's provider, or throws ServiceProviderNotConfigured when no host has set one, instead of using the scenario's provider. Command validation in a scenario is unaffected (#2763)
Fixed
CommandScenario<TCommand> no longer replaces Arc's process-wide service provider. A host that runs in-process specs keeps resolving services from its own provider after a scenario is disposed, and overlapping scenarios no longer interfere with each other (#2763)