Skip to content

[BUG] providers are not added under "injectables" #549

@Arikael

Description

@Arikael
Overview of the issue

given the following module

@NgModule({
  providers: [
    {
      provide: PermissionGuard,
      useClass: PermissionGuard,
      deps: [AuthService, Router, AppConfig]
    },
{
      provide: AuthService,
      useFactory: AuthServiceFactory
    },
    SimpleService
  ]
})
export class MyModule{
}

only SimpleService is put under MyModule -> Injectables in the left menu.
The other PermissionGuard and AuthService are not and only be found under the the global Injectable menu item.

EDIT:
They are also not added to the module's graph

Operating System, Node.js, npm, compodoc version(s)

node: 8.9.4
npm: 5.6.0
compodoc: 1.1.2

Angular configuration, a package.json file in the root folder

package.json.txt

Compodoc installed globally or locally ?

locally

Motivation for or Use Case

all providers defined in a module should be put under injectables of that module.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions