Closed AaronAllBright closed 4 years ago
I've been scratching my head over this for a good hour or two trying to figure out what I was doing wrong in my registration. +1 to getting this fixed ASAP. It's critical for vertical slice integration tests that need to mock out one or two services.
When Lamar ingests the ServiceRegistry provided during construction, it triggers planning for the services registered. If any dependencies of any of these services are missing, they are still marked as "planned". If the required service is later added by a call to container.Configure, it will be accessible in the container, but not to previously planned services.