Runtime Warning for Overwriting Services with the Same Key

Is it possible to get a warning (at runtime) if multiple different services are provided for the same key? When overwriting happens.
Was this page helpful?