Angular - Sonar - Constructor has too many parameters (8). Maximum allowed is 7
You can use dynamic service injection in the component. In that case it will have one parameter and you can inject as many service as you want.
import { Component, Injector } from '@angular/core';import { MyService } from './my.service';@Component({ selector: 'my-app', templateUrl: './app.component.html', styleUrls: [ './app.component.css' ]})export class AppComponent { name = 'Angular'; myService : MyService; constructor(private injector : Injector){ this.myService = injector.get<MyService>(MyService); }}