Skip to content

[BUG] Failed to pickup Components declaration with double layer spread[BUG] #979

Closed

Description

@rexebin
Overview of the issue

Components and providers declared with below structure are not showing in the module structure.
If no spread operations in components or providers array, compodoc works perfectly.

const components = [
  ...productComponents,
  ...serviceComponents,
];

const providers = [  
  ...productProviders,
  ...serviceProviders
];

@NgModule({
   ...
  declarations: [...components],
  providers: [...providers]
})

No error. Components are not linked to their parent module, which make the structure of generated doc very messy and less useful.

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

"@compodoc/compodoc": "^1.1.11"
Windows 10, node v 12.13.1, npm v 6.13.4, yarn v1.22.4

Activity

  1. rexebin commented on Aug 6, 2020

    @rexebin
    Author

    For now, the work around solution is to moved the spread operations from const to module declarations

  2. stale commented on Oct 6, 2020

    @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.

  3. stale commented on Oct 13, 2020

    @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.

  4. changed the title [-]Failed to pickup Components declaration with double layer spread[BUG][/-] [+][BUG] Failed to pickup Components declaration with double layer spread[BUG][/+] on Oct 16, 2020
  5. added this to the 1.2.0 milestone on Oct 16, 2020
  6. stale commented on Dec 16, 2020

    @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.

  7. stale commented on Dec 24, 2020

    @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.

  8. 3 remaining items

  9. modified the milestones: 1.1.15, 1.1.16 on Sep 15, 2021
  10. modified the milestones: 1.1.16, 1.1.17 on Oct 12, 2021
  11. stale commented on Jan 8, 2022

    @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.

  12. modified the milestones: 1.1.17, 1.1.18 on Jan 9, 2022
  13. modified the milestones: 1.1.18, 1.1.19 on Jan 10, 2022
  14. added a commit that references this issue on Jul 15, 2024
    e25a4ee
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions