When attempting to pull an invalid dependency, that is, a dependency that does not exist in the service collection, instead of throwing an exception at runtime, the command gets registered, but its implementation does not get constructed, and thus attempting to invoke it will always fail.
When attempting to pull an invalid dependency, that is, a dependency that does not exist in the service collection, instead of throwing an exception at runtime, the command gets registered, but its implementation does not get constructed, and thus attempting to invoke it will always fail.