Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
rexebin opened this issue Aug 6, 2020 · 6 comments
Closed

Comments

@rexebin
Copy link

rexebin commented Aug 6, 2020

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

@rexebin
Copy link
Author

rexebin commented Aug 6, 2020

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

@stale
Copy link

stale bot commented Oct 6, 2020

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.

@stale stale bot added the wontfix label Oct 6, 2020
@stale
Copy link

stale bot commented Oct 13, 2020

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.

@stale stale bot closed this as completed Oct 13, 2020
@vogloblinsky vogloblinsky reopened this Oct 16, 2020
@stale stale bot removed the wontfix label Oct 16, 2020
@vogloblinsky vogloblinsky changed the title Failed to pickup Components declaration with double layer spread[BUG] [BUG] Failed to pickup Components declaration with double layer spread[BUG] Oct 16, 2020
@vogloblinsky vogloblinsky added this to the 1.2.0 milestone Oct 16, 2020
@stale
Copy link

stale bot commented Dec 16, 2020

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.

@stale stale bot added the wontfix label Dec 16, 2020
@stale
Copy link

stale bot commented Dec 24, 2020

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.

@stale stale bot closed this as completed Dec 24, 2020
@vogloblinsky vogloblinsky modified the milestones: 1.2.0, 1.1.15 Jul 15, 2021
@vogloblinsky vogloblinsky reopened this Jul 15, 2021
@stale stale bot removed the wontfix label Jul 15, 2021
@vogloblinsky vogloblinsky modified the milestones: 1.1.15, 1.1.16 Sep 15, 2021
@vogloblinsky vogloblinsky modified the milestones: 1.1.16, 1.1.17 Oct 12, 2021
@stale
Copy link

stale bot commented Jan 8, 2022

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.

@stale stale bot added the wontfix label Jan 8, 2022
@vogloblinsky vogloblinsky modified the milestones: 1.1.17, 1.1.18 Jan 9, 2022
@stale stale bot removed the wontfix label Jan 9, 2022
@vogloblinsky vogloblinsky removed this from the 1.1.18 milestone Jan 10, 2022
@vogloblinsky vogloblinsky added this to the 1.1.19 milestone Jan 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants