GinLoginRouteService invoked by class resolver but also available as gin_login.route service
>>> [!note] Migrated issue
<!-- Drupal.org comment -->
<!-- Migrated from issue #3514143. -->
Reported by: [mglaman](https://www.drupal.org/user/2416470)
>>>
<h3 id="summary-problem-motivation">Problem/Motivation</h3>
<p>I wanted to decorate GinLoginRouteService but realized</p>
<p>- It's available as the service gin_login.route<br>
- .module file uses classResolver to create instance</p>
<p>classResolver will use the container service if defined, but the service isn't registered by its class name, so the class is always built on its own.</p>
<h4 id="summary-steps-reproduce">Steps to reproduce</h4>
<h3 id="summary-proposed-resolution">Proposed resolution</h3>
<p>Change the .module to load the service</p>
<h3 id="summary-remaining-tasks">Remaining tasks</h3>
<h3 id="summary-ui-changes">User interface changes</h3>
<h3 id="summary-api-changes">API changes</h3>
<h3 id="summary-data-model-changes">Data model changes</h3>
issue