Closed
Description
When creating a service through a factory, the value chosen for the class
option has no actual effect since the final class only depends on the object returned by the factory. However, the configured class may be reused by compiler passed and therefore should be set to a sensible value. This should be made clear in the component's documentation about service factories.