Skip to content

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

Closed

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.

Activity

  1. changed the title [-]providers are not added under "injectables"[/-] [+][BUG] providers are not added under "injectables"[/+] on Apr 27, 2018
  2. added this to the 1.1.4 milestone on Apr 27, 2018
  3. modified the milestones: 1.1.4, 1.1.5 on Aug 24, 2018
  4. modified the milestones: 1.1.5, 1.1.7 on Oct 10, 2018
  5. modified the milestones: 1.1.7, 1.1.9 on Jan 29, 2019
  6. modified the milestones: 1.1.9, 1.2.0 on Mar 1, 2019
  7. stale commented on Sep 30, 2019

    @stale

    This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

  8. stale commented on Oct 7, 2019

    @stale

    This issue has been automatically closed because it has not had recent activity. Please file a new issue if you are encountering a similar or related problem. Thank you for your contributions.

  9. lock commented on Dec 6, 2019

    @lock

    This issue has been automatically locked due to inactivity. Please file a new issue if you are encountering a similar or related problem. Why locking ? Having issues with the most up-to-date context.

  10. locked as resolved and limited conversation to collaborators on Dec 6, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions